/* =========================================================================
   Ready File — Shared Design System
   Warm, calm, family-practical. Notion clarity × Stripe polish × Airbnb warmth.
   ========================================================================= */

:root {
  color-scheme: light;

  /* Palette (from brand direction) */
  --cream:        #F7F3EA;
  --soft-white:   #FFFDF8;
  --ink:          #17211B;
  --ink-soft:     #2E3A30;
  --muted:        #5E6B62;
  --sage:         #7D9277;
  --olive:        #A9B89E;
  --navy:         #243B53;
  --sand:         #E6D8C3;
  --accent:       #C97C5D;   /* gentle terracotta accent */
  --accent-deep:  #B5634A;

  /* Derived */
  --line:         #E2D9C8;
  --line-soft:    #ECE5D6;
  --card-bg:      #FFFDF8;
  --card-alt:     #FCF7EC;

  --shadow-sm: 0 1px 2px rgba(34,28,16,.04), 0 2px 8px rgba(34,28,16,.05);
  --shadow-md: 0 8px 30px rgba(34,28,16,.08);
  --shadow-lg: 0 24px 70px rgba(34,28,16,.12);

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;

  --maxw: 1140px;
  --maxw-narrow: 760px;

  --font-head: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--ink); }

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.bg-soft   { background: var(--soft-white); }
.bg-cream  { background: var(--cream); }
.bg-sand   { background: var(--card-alt); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.eyebrow.accent { color: var(--accent-deep); }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: .95rem; color: var(--ink-soft); font-weight: 500;
  padding: 8px 12px; border-radius: 10px;
}
.site-nav a:hover { background: rgba(125,146,119,.12); text-decoration: none; color: var(--ink); }
.site-nav .nav-cta { margin-left: 8px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #1c2f43; color: #fff; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--soft-white); border-color: var(--sand); color: var(--ink); }
.btn--soft { background: rgba(36,59,83,.07); color: var(--navy); }
.btn--soft:hover { background: rgba(36,59,83,.12); color: var(--navy); }
.btn--lg { padding: 16px 28px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 6px 0 22px; }
.hero .lead { margin-bottom: 30px; }
.hero__visual { position: relative; }
.hero__card {
  background: var(--card-bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card h4 { font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.hero__checklist { list-style: none; padding: 0; margin: 0; }
.hero__checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px dashed var(--line-soft);
  font-size: .98rem;
}
.hero__checklist li:last-child { border-bottom: 0; }
.hero__checklist .dot { flex: 0 0 auto; margin-top: 2px; color: var(--sage); font-weight: 800; }
.hero__badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 600;
  max-width: 220px;
}
.hero__badge strong { color: #fff; display: block; font-size: 1.15rem; font-family: var(--font-head); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.trust-row .pip { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { color: var(--sage); }

/* ----------------------------------------------------------------- cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--card-bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(125,146,119,.16); color: var(--sage);
}
.card__icon.accent { background: rgba(201,124,93,.14); color: var(--accent-deep); }
.card__icon.navy { background: rgba(36,59,83,.10); color: var(--navy); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__foot { margin-top: auto; padding-top: 18px; }

.card--featured { border-color: var(--sage); box-shadow: var(--shadow-md); position: relative; }
.card--featured::before {
  content: "Most popular"; position: absolute; top: -12px; left: 30px;
  background: var(--sage); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}

/* --------------------------------------------------------------- feature list */
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.feature-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--sage); }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ----------------------------------------------------------------- callout */
.callout {
  background: linear-gradient(135deg, rgba(125,146,119,.12), rgba(169,184,158,.10));
  border: 1px solid var(--olive); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); display: grid;
  grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
}
.callout--warm { background: linear-gradient(135deg, rgba(201,124,93,.10), rgba(230,216,195,.30)); border-color: var(--accent); }
.callout h2, .callout h3 { margin-bottom: 10px; }
.callout p { color: var(--ink-soft); margin-bottom: 0; }

/* --------------------------------------------------------------- pricing tag */
.price-tag { font-family: var(--font-head); color: var(--ink); }
.price-tag .amount { font-size: 1.6rem; font-weight: 600; }
.price-tag .note { display: block; font-family: var(--font-body); font-size: .82rem; color: var(--muted); font-weight: 500; }

/* -------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; max-width: var(--maxw-narrow); margin: 0 auto; }
.faq details {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: 0 0 auto;
  border-right: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* ------------------------------------------------------------ split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split--reverse .split__media { order: 2; }

/* ------------------------------------------------------------------ scope badge */
.scope-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card-alt); border: 1px dashed var(--sand);
  border-radius: var(--radius-sm); padding: 18px 22px; color: var(--muted); font-size: .92rem;
}
.scope-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent-deep); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #C8D0C3; padding: clamp(48px, 6vw, 72px) 0 36px; margin-top: 0; }
.site-footer a { color: #DCE4D6; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8FA089; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .92rem; }
.site-footer .brand { color: #fff; }
.site-footer__brand p { color: #9FB0A0; font-size: .92rem; margin-top: 12px; max-width: 34ch; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8FA089;
}
.site-footer__bottom .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ----------------------------------------------------------------- utility */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-xs { margin-top: 8px; } .mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; } .mt-lg { margin-top: 44px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600; color: var(--sage);
  background: rgba(125,146,119,.14); border-radius: 999px; padding: 4px 12px; letter-spacing: .02em;
}
.tag.warm { color: var(--accent-deep); background: rgba(201,124,93,.12); }
.tag.navy { color: var(--navy); background: rgba(36,59,83,.08); }

/* ------------------------------------------------------------- page intro */
.page-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 52px); }
.page-hero .lead { margin-bottom: 12px; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .callout { grid-template-columns: 1fr; }
  .callout .btn-group { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .site-nav.nav-mobile { display: flex; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
}
@media (max-width: 560px) {
  .site-header__inner { flex-wrap: wrap; padding-inline: 18px; }
  .container { padding-inline: 18px; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1 1 auto; white-space: normal; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
}

/* mobile nav toggle (no JS menu — progressive link list shown inline) */
.nav-toggle { display: none; }

/* ------------------------------------------------------------------ focus */
:focus-visible { outline: 3px solid rgba(201,124,93,.55); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
