/* MatterCent — style.css */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink:        #0A1015;
  --ink-2:      #3D4145;
  --ink-3:      #6B7177;
  --line:       #E3E5E8;
  --line-2:     #CECFD0;
  --bg:         #FFFFFF;
  --bg-soft:    #F7F8FA;
  --peach:      #FFE1CB;
  --sky:        #C5DFFB;
  --teal:       #0E7C7B;
  --teal-lt:    #12A89D;
  --amber:      #B45309;
  --amber-bg:   #FEF3C7;
  --green:      #047857;
  --green-bg:   #D1FAE5;
  --red:        #B91C1C;
  --red-bg:     #FEE2E2;
  --teal-bg:    #CCF0EC;

  --dark:       #0A1015;
  --dark-2:     #121A21;
  --dark-line:  rgba(255,255,255,.1);
  --dark-text:  rgba(255,255,255,.68);

  --f-display:  'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-serif:    'Instrument Serif', Georgia, serif;
  --f-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:     'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm:   8px;
  --r:      14px;
  --r-lg:   22px;
  --r-pill: 999px;
  --max:    1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(10,16,21,.04), 0 12px 32px -12px rgba(10,16,21,.14);
  --shadow-lg: 0 2px 4px rgba(10,16,21,.04), 0 30px 60px -20px rgba(10,16,21,.25);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }
em { font-style: normal; }
h1 em, h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--f-mono); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  font: 500 15px/1 var(--f-sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222A31; }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }

/* ── Eyebrows, tags ─────────────────────────────────────────────────────── */
.eyebrow {
  font: 400 12.5px/1.4 var(--f-mono);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow-light { color: rgba(255,255,255,.55); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: var(--r-pill); color: var(--ink-2);
  backdrop-filter: blur(6px);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-lt); box-shadow: 0 0 0 4px rgba(18,168,157,.18); }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); font: 500 11.5px/1 var(--f-sans);
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap; flex-shrink: 0;
}
.tag-amber { background: var(--amber-bg); color: var(--amber); border-color: transparent; }
.tag-green { background: var(--green-bg); color: var(--green); border-color: transparent; }
.tag-teal  { background: var(--teal-bg); color: var(--teal); border-color: transparent; }
.tag-red   { background: var(--red-bg); color: var(--red); border-color: transparent; }
.tag-dark  { background: var(--ink); color: #fff; border-color: transparent; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { display: block; height: 34px; width: auto; }
.logo-img--footer { height: 38px; padding: 6px 12px; background: #fff; border-radius: 10px; }
.logo-text { font: 600 19px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.nav nav { margin-left: auto; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { display: block; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--ink); background: rgba(10,16,21,.05); }
.nav-links-cta { display: none; }
.nav-switch { display: inline-flex; padding: 3px; margin-right: 10px; border-radius: var(--r-pill); background: rgba(10,16,21,.05); }
.nav-links .nav-switch a { padding: 6px 12px; font-size: 13.5px; color: var(--ink-3); }
.nav-links .nav-switch a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10,16,21,.1); }
.nav-links .nav-switch a[aria-current="page"]:hover { background: #fff; }
.nav-toggle { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 148px 0 72px; overflow: hidden; background: var(--bg-soft); }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 82% 30%, var(--sky) 0%, rgba(197,223,251,0) 70%),
    radial-gradient(45% 55% at 12% 10%, var(--peach) 0%, rgba(255,225,203,0) 70%),
    radial-gradient(30% 40% at 55% 85%, rgba(204,240,236,.9) 0%, rgba(204,240,236,0) 70%);
  filter: blur(10px);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, rgba(247,248,250,0), var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.display { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 560px; color: var(--ink-2); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* Product mocks */
.hero-visual { position: relative; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FCFCFD; }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-title { font: 400 12px/1 var(--f-mono); letter-spacing: .03em; color: var(--ink-3); text-transform: uppercase; }
.mock-body { padding: 8px 18px 18px; }

.dk-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dk-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.dk-date { width: 48px; flex-shrink: 0; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.dk-date b { display: block; font: 600 20px/1 var(--f-display); color: var(--ink); }
.dk-date span { font: 400 11px/1.6 var(--f-mono); text-transform: uppercase; color: var(--ink-3); }
.dk-main { flex: 1; min-width: 0; }
.dk-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.dk-meta { font-size: 13px; color: var(--ink-3); }
.dk-calc { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font: 400 11.5px/1.65 var(--f-mono); color: var(--ink-2); }
.dk-calc span { display: block; }
.dk-calc b { color: var(--ink); font-weight: 400; background: var(--teal-bg); padding: 0 4px; border-radius: 4px; }
.dk-rule { color: var(--teal) !important; margin-top: 2px; }

.mock-float {
  position: absolute; left: -36px; bottom: -28px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r);
  animation: floaty 6s ease-in-out infinite;
}
.float-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.float-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.float-meta { font-size: 12.5px; color: var(--ink-3); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.proof-strip {
  position: relative; z-index: 1;
  list-style: none; margin: 88px 0 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.proof-strip li { font-size: 14px; color: var(--ink-2); display: flex; gap: 12px; line-height: 1.45; }
.proof-strip .mono { font-size: 12px; color: var(--ink-3); padding-top: 2px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 136px) 0; position: relative; }
.section-tint { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 20px; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-3); }
.lead a { color: var(--ink); }
.section-dark .lead { color: var(--dark-text); }

/* ── Video ──────────────────────────────────────────────────────────────── */
#demo { overflow: hidden; }
#demo::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: 900px; height: 600px; transform: translate(-50%, 0);
  background: radial-gradient(closest-side, rgba(18,168,157,.18), rgba(18,168,157,0)); pointer-events: none;
}
.video-frame {
  position: relative; max-width: 1040px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.7);
  background: #0D1B2A;
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 20px 40px rgba(0,0,0,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.video-play svg { margin-left: 4px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 16px rgba(255,255,255,.12), 0 20px 40px rgba(0,0,0,.4); }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }
.video-caption { text-align: center; margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.45); letter-spacing: .04em; text-transform: uppercase; }

/* ── Features ───────────────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 128px); }
.feature--flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.feature-copy > p:not(.eyebrow) { color: var(--ink-3); margin-bottom: 24px; }
.feature-visual {
  border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  display: grid; place-items: center; min-height: 420px;
  border: 1px solid var(--line);
}
.feature-visual--peach { background: linear-gradient(160deg, #FFF4EC 0%, var(--peach) 100%); }
.feature-visual--sky   { background: linear-gradient(160deg, #EEF6FE 0%, var(--sky) 100%); }
.feature-visual--mix   { background: linear-gradient(135deg, var(--peach) 0%, #F3EEF6 50%, var(--sky) 100%); }
.mock-sm { width: 100%; max-width: 440px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.svc-head { font: 400 12px/1.5 var(--f-mono); color: var(--ink-3); padding: 12px 0 8px; }
.svc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.svc-row em { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); margin-left: 6px; }
.svc-row b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.svc-foot { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: 13px; }

.ob-title { font-weight: 600; color: var(--ink); padding: 12px 0 10px; }
.ob-quote { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--teal); background: var(--bg-soft); border-radius: 0 10px 10px 0; font-family: var(--f-serif); font-size: 17px; line-height: 1.4; color: var(--ink); }
.ob-quote cite { display: block; margin-top: 8px; font: normal 400 11.5px/1.4 var(--f-mono); color: var(--ink-3); }
.ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ob-grid div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.ob-grid span { display: block; font: 400 11px/1.5 var(--f-mono); text-transform: uppercase; color: var(--ink-3); }
.ob-grid b { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.ob-grid b.hl { color: var(--teal); }
.ob-actions { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink); }
.pill-dark { background: var(--ink); color: #fff; border-color: var(--ink); }

.pb-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pb-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.pb-row b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.pb-row p { font-family: var(--f-serif); font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }

/* Business mocks */
.lg-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lg-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.lg-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.lg-meta { font-size: 13px; color: var(--ink-3); grid-column: 1; }
.lg-due { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.lg-due b { display: block; font: 600 14px/1.3 var(--f-sans); color: var(--ink); white-space: nowrap; }
.lg-due .tag { margin-top: 6px; }
.lg-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 6px; }
.lg-bar i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--teal-lt), var(--teal)); border-radius: 6px; }
.lg-dir { display: inline-block; font: 400 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding: 4px 6px; border-radius: 5px; margin-right: 6px; vertical-align: 2px; }
.lg-dir--owe { background: var(--amber-bg); color: var(--amber); }
.lg-dir--owed { background: var(--teal-bg); color: var(--teal); }

.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; }
.kit-field { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.kit-field span { display: block; font: 400 10.5px/1.5 var(--f-mono); text-transform: uppercase; color: var(--ink-3); }
.kit-field b { display: block; font-weight: 600; color: var(--ink); font-size: 14px; }
.kit-field cite { display: block; margin-top: 4px; font: normal 400 12.5px/1.35 var(--f-serif); color: var(--ink-3); }
.kit-field--wide { grid-column: 1 / -1; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(80px, 10vw, 128px); }
.extra { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--bg-soft); }
.extra h3 { margin: 18px 0 8px; }
.extra p { font-size: 15px; color: var(--ink-3); }
.extra .adv-icon { background: #fff; border-color: var(--line); color: var(--ink); margin: 0; }

.plan-enterprise { max-width: 1000px; margin: 20px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(90deg, #FFF6EF, #EEF5FD); }
.plan-enterprise h3 { font-size: 1.15rem; }
.plan-enterprise p { font-size: 14.5px; color: var(--ink-3); }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, var(--peach), rgba(255,225,203,0)); }
.step:nth-child(2)::after { background: radial-gradient(closest-side, var(--sky), rgba(197,223,251,0)); }
.step:nth-child(3)::after { background: radial-gradient(closest-side, var(--teal-bg), rgba(204,240,236,0)); }
.step-num { display: inline-block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 48px; }
.step h3 { font-size: 1.45rem; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ink-3); }

/* ── Calculator ─────────────────────────────────────────────────────────── */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: linear-gradient(120deg, #FFF6EF 0%, #F6F4F8 55%, #EAF3FD 100%);
  border: 1px solid var(--line);
}
.calc-copy h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.calc-fine { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.calc-form { background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-field + .calc-field { margin-top: 22px; }
.calc-field label { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.calc-field output { font-family: var(--f-mono); font-weight: 400; color: var(--teal); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--line); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.calc-result > div { background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px; }
.calc-num { display: block; font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--f-display); letter-spacing: -0.03em; }
.calc-label { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ── Advantage (dark) ───────────────────────────────────────────────────── */
#trust { overflow: hidden; }
#trust::before { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(197,223,251,.14), rgba(197,223,251,0)); pointer-events: none; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.adv { background: var(--dark); padding: 36px 32px 40px; transition: background .3s var(--ease); }
.adv:hover { background: var(--dark-2); }
.adv-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); color: #fff; margin-bottom: 28px; }
.adv-icon svg { width: 22px; height: 22px; }
.adv h3 { font-size: 1.15rem; margin-bottom: 10px; }
.adv p { font-size: 15px; color: var(--dark-text); }

/* ── Compare ────────────────────────────────────────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.compare-col { border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--line); background: var(--bg-soft); }
.compare-col h3 { font-size: 1.1rem; margin-bottom: 24px; color: var(--ink-3); font-weight: 500; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.compare-col li::before { content: "×"; position: absolute; left: 4px; top: 12px; font-size: 18px; color: var(--ink-3); }
.compare-col--mc { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.compare-col--mc h3 .logo-text { color: #fff; font-size: 22px; }
.compare-col--mc li { color: #fff; border-color: var(--dark-line); }
.compare-col--mc li::before { content: ""; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ── Editions ───────────────────────────────────────────────────────────── */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.edition { border-radius: 28px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.edition--legal { background: linear-gradient(160deg, #fff 0%, #FFF3EA 60%, var(--peach) 120%); }
.edition--biz   { background: linear-gradient(160deg, #fff 0%, #EEF5FD 60%, var(--sky) 120%); }
.edition-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.edition-top .eyebrow { margin: 0; color: var(--ink); }
.edition h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.edition > p { color: var(--ink-3); }
.edition .checks { margin-bottom: 8px; }
.edition .btn { align-self: flex-start; margin-top: auto; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--line); background: #fff; }
.plan h3 { font-size: 1.3rem; }
.plan-for { font-size: 14px; color: var(--ink-3); margin: 6px 0 24px; }
.plan-price { font: 500 3rem/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.plan-price span { font-size: 1rem; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.plan-limits { font: 400 12.5px/1.7 var(--f-mono); color: var(--ink-2); margin: 18px 0 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan .checks { margin-bottom: 32px; }
.plan .checks li { font-size: 14.5px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); border-color: var(--ink); color: var(--dark-text); box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .plan-price { color: #fff; }
.plan--featured .plan-for, .plan--featured .plan-price span { color: rgba(255,255,255,.55); }
.plan--featured .plan-limits { color: rgba(255,255,255,.8); border-color: var(--dark-line); }
.plan--featured .checks li { color: rgba(255,255,255,.85); }
.plan--featured .checks li::before { background-color: var(--teal-lt); }
.plan-badge { position: absolute; top: 28px; right: 24px; font: 400 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--peach), var(--sky)); color: var(--ink); }
.plans-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--ink-3); }
.plans-note a { color: var(--ink); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 1.08rem/1.4 var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1015' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq details p { padding: 0 56px 24px 0; color: var(--ink-3); }

/* ── Contact ────────────────────────────────────────────────────────────── */
.section-cta { overflow: hidden; background: var(--bg-soft); }
.cta-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 0% 100%, var(--peach) 0%, rgba(255,225,203,0) 70%),
    radial-gradient(40% 60% at 100% 0%, var(--sky) 0%, rgba(197,223,251,0) 70%);
}
.contact { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.contact-list svg { color: var(--ink-3); flex-shrink: 0; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; min-width: 0; }
.form-field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.label-optional { color: var(--ink-3); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: 400 15px/1.4 var(--f-sans); color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7177' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(10,16,21,.06); }
.form-field .is-invalid { border-color: var(--red); background-color: #FFF8F8; }
.hp-field { position: absolute; left: -9999px; }
.btn-submit { height: 52px; margin-top: 6px; }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-error { margin-top: 14px; font-size: 14px; color: var(--red); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.form-success { text-align: center; padding: 40px 12px; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-3); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.55); padding: 72px 0 36px; font-size: 14.5px; }
.footer .logo-text { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-brand p { margin-top: 18px; max-width: 340px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { font: 400 12px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-cols a { display: block; text-decoration: none; color: rgba(255,255,255,.8); padding: 4px 0; overflow-wrap: anywhere; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mock-float { animation: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links a:not(.btn) { padding: 8px 8px; font-size: 14px; }
  .nav-switch { margin-right: 4px; }
}
@media (max-width: 1080px) {
  .mock-float { left: 12px; }
}

@media (max-width: 960px) {
  .nav-cta { display: none; }
  .nav nav { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
    background: rgba(255,255,255,.7); cursor: pointer; padding: 0 13px;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; top: 72px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 10px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav-links-cta { display: block; padding: 8px 4px 4px; }
  .nav-switch { display: flex; margin: 0 0 6px; }
  .nav-links .nav-switch a { flex: 1; text-align: center; padding: 10px 12px; font-size: 15px; }
  .nav-links-cta .btn { width: 100%; height: 48px; }
  .nav.menu-open { background: rgba(255,255,255,.95); }

  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-visual { max-width: 560px; }
  .proof-strip { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature-copy { order: 0; }
  .feature-visual { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-num { margin-bottom: 24px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .editions { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section-head { position: static; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hero-actions .btn { flex: 1 1 auto; }
  .mock-float { position: relative; left: auto; bottom: auto; margin: -20px 16px 0 auto; width: fit-content; max-width: calc(100% - 32px); }
  .dk-row { flex-wrap: wrap; gap: 12px; }
  .dk-row .tag { margin-left: 64px; }
  .dk-calc { font-size: 11px; }
  .proof-strip { grid-template-columns: 1fr; gap: 14px; }
  .adv-grid { grid-template-columns: minmax(0, 1fr); }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-col { padding: 28px 22px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kit-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .faq details p { padding-right: 0; }
  .video-play { width: 64px; height: 64px; }
  .video-frame { border-radius: var(--r); }
}

/* ── Business page ──────────────────────────────────────────────────────── */
.extras--flush { margin-top: 0; }
.kit-h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }

/* ── Lifecycle pages (legal-lifecycle.html, business-lifecycle.html) ────── */
.flow-legal    { --accent: #0F2747; --accent-bg: #E6EBF3; }
.flow-business { --accent: var(--teal); --accent-bg: var(--teal-bg); }
.flow-hero { background: var(--bg-soft); padding: clamp(120px, 14vw, 168px) 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.flow-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 22ch; text-wrap: balance; margin-bottom: 22px; }
.flow-hero .lead { max-width: 640px; }
.flow-page #flow.section { padding-top: clamp(64px, 8vw, 104px); }

.flow { position: relative; display: grid; grid-template-columns: 1fr 48px 1fr; row-gap: 28px; margin-top: 8px; }
.flow::before { content: ""; position: absolute; left: 50%; top: 16px; bottom: 16px; width: 2px; background: var(--line-2); transform: translateX(-1px); }
.flow .stage { display: contents; }
.flow .dot { grid-column: 2; grid-row: var(--r); justify-self: center; margin-top: 14px; width: 26px; height: 26px; box-sizing: content-box; border-radius: 50%; background: var(--accent); color: #fff; font: 500 14px/1 var(--f-mono); display: grid; place-items: center; position: relative; z-index: 1; border: 4px solid #fff; }
.flow .card { grid-row: var(--r); padding: 2px 0; }
.flow .stage:nth-child(odd) .card { grid-column: 1; text-align: right; }
.flow .stage:nth-child(even) .card { grid-column: 3; }
.flow .card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.flow .card p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }
.flow .card p.lead { margin-top: 0; color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.flow .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.flow .stage:nth-child(odd) .chips { justify-content: flex-end; }
.flow .chip { font-size: 12.5px; padding: 4px 11px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }

.flow .split { grid-column: 1 / -1; grid-row: var(--r); position: relative; z-index: 1; margin-top: 6px; }
.flow .lane { max-width: 880px; margin: 0 auto; padding: 32px 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.flow .lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.flow .lane .tag { height: 26px; background: var(--accent-bg); color: var(--accent); border-color: transparent; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.flow .lane h3 { font-size: 1.9rem; margin: 14px 0 8px; }
.flow .lane .lead { color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.flow .lane ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; font-size: 15px; color: var(--ink-3); }
.flow .lane li { margin: 6px 0; break-inside: avoid; }
.flow .lane li strong { color: var(--ink); font-weight: 500; }
.flow .stat { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.flow .stat b { display: block; font: 500 2rem/1 var(--f-display); color: var(--accent); }
.flow .stat span { font-size: 13px; color: var(--ink-3); }
.flow-loop { max-width: 640px; margin: 40px auto 0; text-align: center; color: var(--ink-3); }
.flow-loop strong { color: var(--ink); font-weight: 500; }

.flow-cta { text-align: center; }
.flow-cta h2 { margin-bottom: 18px; }
.flow-cta .lead { max-width: 560px; margin: 0 auto; }
.flow-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.flow-note { margin-top: 32px; font-size: 13px; color: var(--ink-3); }

.how-more { text-align: center; margin-top: 36px; }

@media (max-width: 760px) {
  .flow { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .flow::before { left: 17px; }
  .flow .dot { grid-column: 1 !important; margin-top: 10px; }
  .flow .card, .flow .stage:nth-child(odd) .card, .flow .stage:nth-child(even) .card { grid-column: 2 !important; text-align: left !important; }
  .flow .stage:nth-child(odd) .chips { justify-content: flex-start; }
  .flow .split { grid-column: 1 / -1 !important; }
  .flow .lane { padding: 24px 20px 22px 24px; }
  .flow .lane ul { columns: 1; }
}

/* ── Blog ───────────────────────────────────────────────────────────────── */
.blog-page .chip { font-size: 12.5px; padding: 4px 11px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.blog-index.section { padding-top: clamp(56px, 7vw, 88px); }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.post-card a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.post-card a:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h2 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.25; }
.post-card p { color: var(--ink-3); font-size: 15px; }
.post-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 400 12.5px/1.4 var(--f-mono); color: var(--ink-3) !important; }
.post-card-more { margin-top: auto; font-weight: 500; font-size: 14.5px; color: var(--teal); }
.post-card-more::after { content: " →"; }

.post-container { max-width: 760px; }
.post-hero { background: var(--bg-soft); padding: clamp(120px, 14vw, 160px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.post-hero .eyebrow a { text-decoration: none; color: var(--teal); }
.post-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); text-wrap: balance; margin-bottom: 20px; }
.post-meta { margin-top: 22px; font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); }

.post-figure { margin: clamp(32px, 5vw, 48px) 0 0; }
.post-figure img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }

.post-toc { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.post-toc .eyebrow { margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 20px; }
.post-toc li { padding: 3px 0; }
.post-toc a { color: var(--ink); text-decoration: none; }
.post-toc a:hover { text-decoration: underline; }

.prose { margin-top: 40px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.2; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal); color: var(--ink); }
.prose .checklist { list-style: none; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.prose .check { position: relative; padding-left: 32px; }
.prose .check .box { position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--bg); }
.prose .check.is-done .box { background: var(--teal); border-color: var(--teal); }

.post-cta { margin-top: 64px; padding: clamp(28px, 5vw, 44px); border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.post-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: 14px; }
.post-cta .lead { max-width: 480px; margin: 0 auto 24px; }
.post-cta { margin-bottom: clamp(64px, 9vw, 112px); }

/* ── Module pages ───────────────────────────────────────────────────────── */
.module-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.module-section.section { padding: clamp(64px, 8vw, 104px) 0; }
.module-section .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.module-section .section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.module-page .extra h3 { margin-top: 0; }
.module-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.module-split .checks li { font-size: 16px; }
.module-aside { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); }
.module-aside h3 { font-size: 1.05rem; margin-bottom: 10px; }
.module-aside h3 + p { color: var(--ink-3); font-size: 15px; }
.module-aside p + h3 { margin-top: 24px; }
.module-related { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.module-related a { color: var(--teal); font-weight: 500; text-decoration: none; }
.module-related a:hover { text-decoration: underline; }
.module-related a::after { content: " →"; }
@media (max-width: 960px) { .module-split { grid-template-columns: minmax(0, 1fr); } }

/* ── Privacy and terms ──────────────────────────────────────────────────── */
.footer-bottom a { color: inherit; text-underline-offset: 3px; margin-left: 10px; }
.footer-bottom a + a { margin-left: 0; }
.policy { margin-bottom: clamp(64px, 9vw, 112px); }
.policy .policy-callout { padding: 20px 24px; border-left: 3px solid var(--teal); background: var(--bg-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }
.policy .policy-callout p + p { margin-top: .8em; }
