/* Storybook Crochet — shared stylesheet (mockup)
   Navy-dominant: the deep navy of her brand sign carries the nav, hero, banded
   sections and footer; clay is the single accent (prices, buttons, eyebrows). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep:  #131C2E;  /* footer, deepest surfaces */
  --navy:       #1E2A44;  /* the sign lettering — primary brand color */
  --navy-mid:   #2A3A5C;
  --navy-soft:  #3C4A66;  /* body text on light */
  --navy-line:  rgba(255,255,255,0.14);
  --navy-tint:  #EDF0F7;  /* pale navy wash */

  --wool:       #FAF6EF;  /* cream page background */
  --wool-deep:  #F1E9DC;
  --clay:       #C97B5A;  /* the one accent */
  --clay-dark:  #A85F41;
  --clay-light: #E9A582;  /* accent on navy surfaces */
  --clay-tint:  #FBEFE8;
  --sage:       #8B9B7A;
  --dusty:      #7C93B0;
  --white:      #FFFFFF;
  --muted:      #6F7688;
  --border:     #E2DED4;

  --font-head: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(19, 28, 46, 0.09);
  --shadow-lift: 0 18px 46px rgba(19, 28, 46, 0.18);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--wool);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }

/* ---------- surfaces that go navy ---------- */
.on-navy, .hero, .page-header, .band, footer { color: #DCE3F0; }
.on-navy h1, .on-navy h2, .on-navy h3,
.hero h1, .hero h2, .page-header h1, .band h2, .band h3 { color: #fff; }
.hero .lbl, .page-header .lbl, .band .lbl, .on-navy .lbl { color: var(--clay-light); }

/* ---------- mockup banner ---------- */
.mock-banner {
  background: var(--clay-dark);
  color: #FFF1E8;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 1rem;
}
.mock-banner strong { color: #FFE1CD; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-right: auto; color: #fff;
  display: flex; align-items: center; gap: 0.6rem;
}
.brand .yarn {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #E2A183, var(--clay) 62%, var(--clay-dark));
  box-shadow: inset -3px -4px 8px rgba(0,0,0,0.22);
  flex: none;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: #B6C1D8;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--clay); font-weight: 600; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--clay); color: #fff;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
}
.cart-btn:hover { background: var(--clay-dark); }
.cart-count {
  background: #fff; color: var(--clay-dark);
  min-width: 20px; height: 20px; border-radius: 999px;
  display: inline-grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; padding: 0 5px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 8px 22px rgba(201,123,90,0.3); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,123,90,0.4); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(30,42,68,0.28); }
.btn-outline:hover { border-color: var(--navy); background: rgba(30,42,68,0.06); }
.on-navy .btn-outline, .hero .btn-outline, .band .btn-outline {
  color: #fff; border-color: rgba(255,255,255,0.42);
}
.on-navy .btn-outline:hover, .hero .btn-outline:hover, .band .btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: #fff;
}
.btn-ink { background: var(--navy); color: #fff; }
.btn-ink:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- eyebrow + section headers ---------- */
.lbl {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--clay-dark);
  display: block; margin-bottom: 0.7rem;
}
.section-head { max-width: 620px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 0.7rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.band .section-head p, .on-navy .section-head p { color: #B6C1D8; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(201,123,90,0.30) 0%, transparent 48%),
    radial-gradient(circle at 4% 82%, rgba(124,147,176,0.28) 0%, transparent 46%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 4rem 0 4.8rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-bottom: 1.1rem; }
.hero-copy h1 .accent { color: var(--clay-light); }
.hero-copy p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: #C3CDE1;
  margin-bottom: 2rem;
  max-width: 30ch;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 1.8rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--navy-line);
  font-size: 0.86rem; color: #9AA7C0;
}
.hero-meta strong {
  display: block; font-family: var(--font-head);
  font-size: 1.35rem; color: #fff; line-height: 1.1;
}

/* the framed "front cover" */
.cover {
  position: relative;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.4deg);
  border: 8px solid #fff;
  transition: transform 0.4s ease;
}
.cover:hover { transform: rotate(0deg) scale(1.012); }
.cover img { width: 100%; display: block; }
.cover-badge {
  position: absolute; right: -10px; bottom: 18px;
  background: var(--clay); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 0.6rem 1.2rem; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  transform: rotate(2.6deg);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-copy { text-align: center; }
  .hero-copy p { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; text-align: center; }
  .cover { transform: none; }
  .cover:hover { transform: none; }
}

/* ---------- page header (inner pages) ---------- */
.page-header {
  background:
    radial-gradient(circle at 78% 24%, rgba(201,123,90,0.24) 0%, transparent 52%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 3.4rem 0 3rem;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.page-header p { color: #B6C1D8; max-width: 620px; margin: 0 auto; }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--navy); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--navy-tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--navy); }
.card-body .blurb { color: var(--muted); font-size: 0.92rem; line-height: 1.5; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.6rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--clay-dark); }
.price small { font-weight: 500; font-size: 0.78rem; color: var(--muted); font-family: var(--font-body); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.86rem; border-radius: 999px; }

.tag {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
  background: var(--navy); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.tag.sold { background: var(--clay-dark); }
.tag.oak { background: var(--sage); }
.tag.last { background: var(--clay); }

/* ---------- filter chips ---------- */
.chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip {
  padding: 0.5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white);
  font-size: 0.88rem; font-weight: 600; color: var(--navy-soft);
  cursor: pointer; transition: all 0.15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- split / feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 3rem;
  align-items: center;
}
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.split p { color: var(--navy-soft); margin-bottom: 1rem; }
.band .split p { color: #C3CDE1; }

.band {
  background:
    radial-gradient(circle at 12% 20%, rgba(124,147,176,0.22) 0%, transparent 48%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.band .care-item { background: rgba(255,255,255,0.055); border-color: var(--navy-line); }
.band .care-item h3 { color: #fff; }
.band .care-item p { color: #B6C1D8; }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 3rem; }
.detail-gallery { display: flex; flex-direction: column; gap: 0.9rem; }
.detail-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--white); }
.detail-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.thumbs img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 12px; border: 2px solid var(--border); cursor: pointer;
}
.thumbs img.sel { border-color: var(--navy); }
.detail-info h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.detail-price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--clay-dark); margin-bottom: 1.2rem; }
.detail-story { color: var(--navy-soft); font-size: 1.05rem; margin-bottom: 1.6rem; }
.spec-list { border-top: 1px solid var(--border); margin-bottom: 1.6rem; }
.spec-list div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.spec-list .k { color: var(--muted); font-weight: 500; }
.spec-list .v { font-weight: 600; text-align: right; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty button { width: 42px; height: 44px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--navy-soft); }
.qty button:hover:not(:disabled) { background: var(--navy-tint); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty span { width: 44px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.7rem; }
.stock-line { font-size: 0.88rem; color: var(--clay-dark); font-weight: 600; margin-bottom: 1.2rem; }

.note {
  background: var(--clay-tint);
  border-left: 3px solid var(--clay);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem; color: var(--navy-soft);
}

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(min(100%, 300px), 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.1rem; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; margin-bottom: 1rem;
}
.cart-row img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }
.cart-row h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.cart-row .meta { font-size: 0.86rem; color: var(--muted); }
.cart-row .line-total { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 520px) {
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row img { width: 72px; height: 72px; }
  .cart-row .line-total { grid-column: 2; text-align: left; }
}
.summary {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  position: sticky; top: 96px;
}
.summary h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.summary-line { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.96rem; color: var(--navy-soft); }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--border); margin-top: 0.7rem; padding-top: 0.9rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
}
.secure { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 0.85rem; }

/* ---------- fake stripe panel ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 15, 26, 0.7);
  display: none; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
}
.modal-back.open { display: flex; }
.stripe-card { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); overflow: hidden; }
.stripe-top { background: #F6F9FC; padding: 1.2rem 1.6rem; border-bottom: 1px solid #E3E8EE; display: flex; align-items: center; justify-content: space-between; }
.stripe-top .who { font-weight: 700; font-size: 0.95rem; }
.stripe-body { padding: 1.6rem; }
.stripe-body h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6B7C93; margin-bottom: 0.5rem; font-weight: 600; }
.stripe-amount { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 1.4rem; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: #3C4257; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid #D5DBE3; border-radius: 8px; background: #fff; font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,42,68,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.stripe-pay { width: 100%; background: #635BFF; color: #fff; border: none; padding: 0.85rem; border-radius: 8px; font-weight: 700; cursor: pointer; }
.stripe-pay:hover { background: #5348e8; }
.stripe-foot { text-align: center; font-size: 0.75rem; color: #8792A2; padding: 0 1.6rem 1.4rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #8792A2; line-height: 1; }

/* ---------- forms / editor ---------- */
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.login-wrap { max-width: 420px; margin: 0 auto; }
.login-wrap .panel { padding: 2.2rem; }
.login-wrap h2 { font-size: 1.7rem; margin-bottom: 0.4rem; text-align: center; }
.login-wrap .sub { text-align: center; color: var(--muted); font-size: 0.93rem; margin-bottom: 1.6rem; }

.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.editor-row {
  display: grid; grid-template-columns: 88px minmax(0,1fr) 108px 96px auto auto; gap: 0.9rem;
  align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 0.85rem; margin-bottom: 0.85rem;
}
.editor-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.editor-row input[type="text"], .editor-row input[type="number"] {
  width: 100%; padding: 0.55rem 0.7rem;
  border: 1px solid transparent; border-radius: 8px; background: var(--wool); font-weight: 600;
}
.editor-row input:hover { border-color: var(--border); }
.editor-row input:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,42,68,0.13); }
.field-mini { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 0.25rem; }
@media (max-width: 900px) {
  .editor-row { grid-template-columns: 72px 1fr 1fr; row-gap: 0.7rem; }
  .editor-row img { width: 72px; height: 72px; grid-row: span 2; }
  .editor-row > *:nth-child(2) { grid-column: 2 / -1; }
}
@media (max-width: 560px) {
  .editor-row { grid-template-columns: 64px 1fr; }
  .editor-row img { width: 64px; height: 64px; grid-row: auto; }
  .editor-row > *:nth-child(n+2) { grid-column: 2; }
}
.toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.toggle input { display: none; }
.track { width: 42px; height: 24px; border-radius: 999px; background: #C6CBD6; position: relative; transition: background 0.18s; flex: none; }
.track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.18s; }
.toggle input:checked + .track { background: var(--sage); }
.toggle input:checked + .track::after { transform: translateX(18px); }
.icon-btn { background: none; border: 1px solid var(--border); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; color: var(--muted); font-size: 1rem; }
.icon-btn:hover { border-color: var(--clay); color: var(--clay-dark); }

.dropzone {
  border: 2px dashed #B9C2D4; border-radius: 14px;
  padding: 2.2rem 1.2rem; text-align: center; color: var(--muted);
  background: var(--navy-tint); cursor: pointer; transition: all 0.15s;
}
.dropzone:hover { border-color: var(--navy); background: #E3E9F4; color: var(--navy); }
.dropzone .big { font-size: 1.7rem; margin-bottom: 0.4rem; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1rem; margin-bottom: 1.8rem; }
.stat { background: var(--navy); color: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; }
.stat .n { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.stat .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: #9AA7C0; font-weight: 600; margin-top: 0.35rem; }

/* editable site copy */
.text-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.1rem; }
.text-grid .field { margin-bottom: 0; }
.field textarea { resize: vertical; }
.page-group { border-top: 1px solid var(--border); padding-top: 1.3rem; margin-top: 1.3rem; }
.page-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.page-group > h3 { font-size: 1.05rem; margin-bottom: 0.9rem; color: var(--navy); }

/* ---------- prose (privacy / terms) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--navy-soft); margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--navy); }
.updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------- steps / care list ---------- */
.care { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.care-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.care-item .ico { font-size: 1.6rem; margin-bottom: 0.6rem; }
.care-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.care-item p { font-size: 0.92rem; color: var(--muted); }

/* ---------- footer ---------- */
footer { background: var(--navy-deep); color: #A9B5CC; padding: 3.5rem 0 2rem; }
footer .brand { color: #fff; margin-bottom: 1rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.foot-grid h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #7F8CA6; margin-bottom: 0.9rem; font-weight: 700; }
.foot-grid a, .foot-grid p { display: block; font-size: 0.93rem; padding: 0.22rem 0; color: #A9B5CC; }
.foot-grid a:hover { color: var(--clay-light); }
.foot-bottom { border-top: 1px solid var(--navy-line); padding-top: 1.4rem; font-size: 0.82rem; color: #7F8CA6; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- scroll reveal ---------- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  section { padding: 3.2rem 0; }
  .nav-inner { min-height: 60px; flex-wrap: wrap; padding-bottom: 0.5rem; }
  .nav-links { gap: 1.1rem; order: 3; width: 100%; padding-bottom: 0.4rem; }
  .nav-links a { font-size: 0.88rem; }
  .split { gap: 2rem; }
  .detail { gap: 2rem; }
}
