/* Claudia homepage. Brand system: paper, ink and copper (shared with the rest of the site).
   Fonts: Instrument Serif for display moments, Manrope for headings and interface text,
   Inter for reading, JetBrains Mono for anything that is a file. */

:root {
  --paper: #f8f6f2;
  --paper-soft: #f0ede7;
  --bone: #fffefa;
  --ink: #282923;
  --muted: #5b5c54;
  --quiet: #656660;
  --copper: #a54c30;
  --copper-dark: #833b26;
  --night: #1d1e1a;
  --night-raised: #272822;
  --line: #dedbd3;
  --line-night: #3a3b34;
  --moss: #42634f;
  --serif: 'Instrument Serif', Georgia, serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gut: clamp(20px, 4.2vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
code, kbd, pre { font-family: var(--mono); }
::selection { background: #e9c9b8; color: var(--ink); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 4px; }
.skill-code:focus-visible, .table-wrap:focus-visible { outline-offset: -3px; }
.on-night :focus-visible, .final :focus-visible { outline-color: #e8b9a6; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 12px 18px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.section[id] { scroll-margin-top: calc(40px - clamp(72px, 9vw, 128px)); }
@media (max-width: 759px) { html { scroll-padding-bottom: 84px; } }

/* ---------- Buttons and small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
  font: 600 16px/1 var(--display); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--copper); color: var(--bone); }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bone); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }
.text-link { color: var(--copper); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--copper-dark); }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
kbd {
  display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: .84em; line-height: 1.6;
  background: #eae6de; color: var(--ink); border: 1px solid #d9d4c9; box-shadow: 0 2px 0 #d9d4c9; white-space: nowrap;
}
code { font-size: .9em; color: var(--copper); overflow-wrap: anywhere; }
.nw { white-space: nowrap; }

/* ---------- Header (logo kept exactly as on the rest of the site) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 82px;
  background: #f8f6f2ed; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: calc(1280px + var(--gut) * 2); }
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -.055em; line-height: 1.65;
}
.logo-mark { position: relative; display: block; width: 20px; height: 20px; border-radius: 50%; border: 5px solid var(--copper); background: transparent; }
.logo-mark::after { content: ''; position: absolute; width: 8px; height: 8px; top: 1px; left: 8px; background: var(--paper); border-radius: 50%; }
.site-nav { display: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font: 500 13px/1 var(--display); color: #5c5b53; text-decoration: none; padding: 10px 2px; }
.nav-links a:hover { color: var(--copper); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.menu-btn:hover { background: var(--paper-soft); }
.menu-btn .ico { width: 26px; height: 26px; }
.mobile-menu { position: fixed; inset: 82px 0 auto 0; z-index: 40; max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(40, 41, 35, .4); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { padding: 8px var(--gut) 20px; }
.mobile-menu a { display: block; padding: 14px 0; font: 600 17px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: 0; }
body.menu-open { overflow: hidden; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1120px) {
  .site-nav { display: block; }
  .menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5.5vw, 80px) 0 clamp(52px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 {
  font: 400 clamp(48px, 6.6vw, 84px)/.98 var(--serif); letter-spacing: -.02em; color: var(--ink);
}
.hero .lead { margin-top: clamp(20px, 2.6vw, 28px); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.hero-promises li { display: flex; align-items: center; gap: 8px; }
.hero-promises .ico { width: 18px; height: 18px; color: var(--moss); stroke-width: 2.1; }

.stage { position: relative; display: grid; gap: 14px; width: 100%; max-width: 620px; margin: 0 auto; }
.stage-doc {
  position: relative; z-index: 1; width: 100%;
  background: var(--bone); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 24px;
  box-shadow: 0 40px 70px -40px rgba(40, 41, 35, .45);
}
.doc-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.doc-title { font: 700 22px/1.2 var(--display); letter-spacing: -.03em; }
.doc-meta { font-size: 13.5px; color: var(--quiet); }
.doc-shot { position: relative; margin: 16px 0 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f2f3f7; }
.doc-shot img { width: 100%; aspect-ratio: 700 / 480; object-fit: cover; }
.rec-chip {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(29, 30, 26, .88); color: #f8f6f2; font: 600 13px/1 var(--display);
}
.rec-chip i { width: 9px; height: 9px; border-radius: 50%; background: #ef6a4a; }
.doc-step { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 16.5px; line-height: 1.45; }
.doc-step + .doc-step { margin-top: 10px; }
.step-no {
  flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--copper); color: var(--copper); font: 700 12.5px/1 var(--display);
}
.stage-file {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bone); font: 500 13.5px/1.2 var(--display); box-shadow: 0 18px 30px -18px rgba(40, 41, 35, .7);
}
.stage-file .ico { color: #e8b9a6; width: 18px; height: 18px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
@media (max-width: 559px) { .stage-doc { padding: 16px; } .stage-file { justify-self: start; } }

/* Page-load sequence: the guide builds itself one step at a time. */
@media (prefers-reduced-motion: no-preference) {
  .stage-doc { animation: rise .7s both cubic-bezier(.2, .7, .2, 1); }
  .doc-shot, .doc-step, .doc-more { animation: write .6s both cubic-bezier(.2, .7, .2, 1); }
  .doc-shot { animation-delay: .7s; }
  .doc-step.d1 { animation-delay: 1.25s; }
  .doc-step.d2 { animation-delay: 1.75s; }
  .doc-more { animation-delay: 2.2s; }
  .stage-file { animation: rise .6s 2.5s both cubic-bezier(.2, .7, .2, 1); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes write { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- At a glance ---------- */
.glance { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.glance ul { display: grid; grid-template-columns: 1fr; }
.glance li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.glance li:last-child { border-bottom: 0; }
.glance strong { font: 700 17px/1.3 var(--display); letter-spacing: -.02em; }
.glance span { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) {
  .glance ul { grid-template-columns: 1fr 1fr; }
  .glance li { padding: 30px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .glance li:nth-child(even) { border-right: 0; }
  .glance li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .glance ul { grid-template-columns: repeat(4, 1fr); }
  .glance li { padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .glance li:first-child { padding-left: 0; }
  .glance li:last-child { border-right: 0; }
  .glance li:nth-child(even) { border-right: 1px solid var(--line); }
  .glance li:last-child { border-right: 0; }
}

/* ---------- Shared section parts ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-soft { background: var(--paper-soft); }
h2.title { font: 600 clamp(32px, 4.2vw, 54px)/1.06 var(--display); letter-spacing: -.04em; }
.title-serif { font: 400 clamp(38px, 5.6vw, 72px)/1.02 var(--serif); letter-spacing: -.02em; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 36em; line-height: 1.6; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; }
.problem-points { display: grid; gap: 0; align-content: start; }
.problem-points li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.55; }
.problem-points li:last-child { border-bottom: 1px solid var(--line); }
.problem-turn { margin-top: 28px; font: 600 clamp(20px, 2.1vw, 24px)/1.35 var(--display); letter-spacing: -.025em; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 80px; }
.how-intro { align-self: start; }
.steps { position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.steps li { position: relative; padding: 0 0 38px 62px; }
.steps li:last-child { padding-bottom: 0; }
.steps .step-no { position: absolute; left: 0; top: 0; width: 36px; height: 36px; background: var(--paper); font-size: 15px; border-width: 2.5px; }
.steps h3 { font: 700 21px/1.25 var(--display); letter-spacing: -.03em; padding-top: 3px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 17px; max-width: 34em; }
.steps kbd { font-size: .8em; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: .8fr 1.2fr; }
  .how-intro { position: sticky; top: 130px; }
}

/* ---------- Example (night) ---------- */
.on-night { background: var(--night); color: #ebe9e2; }
.on-night .sub { color: #b8b9ae; }
.on-night h2.title { color: #f8f6f2; }
.example-note { margin-top: 22px; font-size: 14.5px; color: #9a9b90; max-width: 38em; }
.example-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
.pane { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 24px; font: 700 15px/1.3 var(--display); letter-spacing: -.01em; }
.pane-head span { font: 400 14px/1.3 var(--sans); letter-spacing: 0; }
.pane-guide { background: var(--bone); color: var(--ink); }
.pane-guide .pane-head { border-bottom: 1px solid var(--line); }
.pane-guide .pane-head span { color: var(--quiet); }
.guide-body { padding: 8px 24px 26px; }
.guide-step { padding-top: 22px; }
.guide-step h3 { display: flex; gap: 12px; align-items: baseline; font: 600 16.5px/1.4 var(--display); letter-spacing: -.02em; }
.guide-step figure { margin: 12px 0 0 38px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f2f3f7; }
.guide-step img { width: 100%; aspect-ratio: 700 / 480; object-fit: cover; }
.pane-skill { background: var(--night-raised); border: 1px solid var(--line-night); }
.pane-skill .pane-head { border-bottom: 1px solid var(--line-night); color: #f8f6f2; }
.pane-skill .pane-head span { color: #9a9b90; }
.skill-code { margin: 0; padding: 22px 24px 8px; font-size: 13.5px; line-height: 1.75; color: #d4d3ca; overflow-x: auto; white-space: pre; }
/* skill code */
.skill-code code { color: inherit; font-size: inherit; overflow-wrap: normal; }
.skill-code .c-dim { color: #8c8d83; }
.skill-code .c-key { color: #e8b9a6; }
.skill-code .c-str { color: #b9d3c1; }
.skill-use { margin-top: auto; padding: 22px 24px 26px; border-top: 1px solid var(--line-night); font-size: 15.5px; line-height: 1.6; color: #c4c5ba; }
.skill-use code { color: #e8b9a6; }
.tree { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: #1d1e1a; font-size: 13px; line-height: 1.7; color: #b8b9ae; }
@media (min-width: 960px) { .example-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Features (bento) ---------- */
.features-head { max-width: 760px; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.cell { border: 1px solid var(--line); background: var(--bone); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cell h3 { font: 700 20px/1.25 var(--display); letter-spacing: -.03em; }
.cell p { color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.cell-tint { background: var(--paper-soft); }
.cell-ink { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.cell-ink p { color: #cbcabf; }
.cell-ink .text-link { color: #e8b9a6; }
.cell-copper { background: var(--copper); border-color: var(--copper); color: var(--bone); }
.cell-copper p { color: #f6e4db; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; }
.strip img { border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 700 / 480; object-fit: cover; background: #f2f3f7; }
.redact { margin-top: auto; padding-top: 12px; font: 500 14px/1.9 var(--mono); color: var(--ink); }
.redact i { font-style: normal; background: #e6e1d8; border-radius: 4px; padding: 2px 8px; }
.keys { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.keys kbd { font-size: 15px; padding: 6px 12px; }
.keys-note { font-size: 14px; color: var(--quiet); }
.cell-shot { padding-bottom: 0; overflow: hidden; }
.cell-shot img { margin-top: auto; width: 100%; height: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.cell-row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.cell-row .copy { max-width: 40em; display: grid; gap: 8px; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-wide, .b-full { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-wide { grid-column: span 4; }
  .b-third { grid-column: span 2; }
  .b-half { grid-column: span 3; }
  .b-full { grid-column: 1 / -1; }
}

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 72px; align-items: start; }
.ledger { display: grid; gap: 16px; }
.ledger-col { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bone); padding: 26px 28px; }
.ledger-col h3 { font: 700 18px/1.3 var(--display); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.ledger-col h3 .ico { color: var(--moss); stroke-width: 2.1; }
.ledger-col ul { margin-top: 14px; display: grid; gap: 10px; }
.ledger-col li { padding-left: 18px; position: relative; font-size: 16px; line-height: 1.5; color: var(--ink); }
.ledger-col li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--copper); }
.ledger-col.server h3 .ico { color: var(--copper); }
.ledger-col p.note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--quiet); line-height: 1.55; }
@media (min-width: 640px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: .85fr 1.15fr; } }
.frameworks { margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--line); }
.frameworks h3 { font: 700 24px/1.2 var(--display); letter-spacing: -.03em; }
.frameworks > p { margin-top: 10px; color: var(--muted); max-width: 44em; }
.fw-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fw-list li { border: 1px solid var(--line); background: var(--bone); border-radius: 999px; padding: 9px 18px; font: 600 15px/1 var(--display); letter-spacing: -.01em; }
.frameworks .more { margin-top: 24px; }
@media (min-width: 560px) { .fw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fw-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Desktop add-on ---------- */
.desktop-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.checks .ico { margin-top: 2px; width: 20px; height: 20px; color: var(--moss); stroke-width: 2.1; }
.fineprint { margin-top: 20px; font-size: 14.5px; color: var(--quiet); line-height: 1.55; }
.download-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bone); padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; }
.download-card .small { text-align: center; font-size: 14px; color: var(--quiet); line-height: 1.5; }
.download-card .strong { font-weight: 700; color: var(--ink); }
#download-counter { color: var(--moss); font-size: 14px; text-align: center; }
.setup { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.setup h3 { font: 700 15px/1.3 var(--display); letter-spacing: -.01em; }
.setup ol { display: grid; gap: 12px; }
.setup li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.setup .step-no { width: 24px; height: 24px; font-size: 12px; border-width: 1.8px; }
@media (min-width: 900px) { .desktop-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Comparison ---------- */
.compare-head { max-width: 760px; }
.compare-head .sub a { color: var(--copper); font-weight: 600; }
.table-wrap { margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bone); overflow-x: auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.compare-table caption { position: absolute; left: -9999px; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: var(--paper-soft); font: 700 15px/1.3 var(--display); letter-spacing: -.01em; }
.compare-table thead th.us { color: var(--copper); }
.compare-table tbody th { font-weight: 600; width: 32%; }
.compare-table td.us { font-weight: 600; background: #fbf4ef; }
.compare-table td.them { color: var(--muted); }
.compare-table a { color: inherit; text-decoration: underline; text-decoration-style: dotted; }
.compare-table a:hover { color: var(--copper); }
.table-note { margin-top: 14px; font-size: 14px; color: var(--quiet); }
.compare-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.compare-foot p { max-width: 38em; color: var(--muted); font-size: 16.5px; }

/* ---------- Pricing ---------- */
.pricing-head { max-width: 760px; }
.pledges { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.pledges li { display: flex; gap: 8px; align-items: center; }
.pledges .ico { width: 18px; height: 18px; color: var(--moss); stroke-width: 2.1; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bone); }
.plan.recommended { border: 2px solid var(--ink); box-shadow: 0 30px 50px -36px rgba(40, 41, 35, .5); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.plan-name { font: 700 17px/1.2 var(--display); letter-spacing: -.02em; margin: 0; }
.plan-flag { font: 600 12.5px/1 var(--display); padding: 6px 11px; border-radius: 999px; background: #e9eee7; color: var(--moss); white-space: nowrap; }
.recommended .plan-flag { background: var(--copper); color: var(--bone); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 22px; font: 500 64px/1 var(--display); letter-spacing: -.07em; }
.plan-price small { font: 500 17px/1 var(--sans); letter-spacing: 0; color: var(--quiet); }
.plan-sub { margin-top: 10px; min-height: 46px; font-size: 14.5px; color: var(--quiet); }
.plan-sub b { color: var(--moss); font-weight: 600; }
.plan ul { margin: 22px 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.plan li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--moss); stroke-width: 2.2; }
.plan .btn { white-space: normal; text-align: center; min-height: 54px; padding: 12px 18px; line-height: 1.25; }
.plan-foot { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--quiet); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan.recommended { margin-top: -14px; margin-bottom: -14px; padding-top: 47px; padding-bottom: 45px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; }
.faq-aside p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.faq-aside p + p { margin-top: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none;
  padding: 22px 0; font: 600 18px/1.35 var(--display); letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { transition: transform .2s; color: var(--copper); width: 22px; height: 22px; }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details > p { padding: 0 0 26px; max-width: 42em; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .7fr 1.3fr; } .faq-aside { position: sticky; top: 130px; align-self: start; } }

/* ---------- Final call to action ---------- */
.final { background: var(--night); color: #f8f6f2; padding: clamp(80px, 10vw, 140px) 0; }
.final .wrap { display: grid; gap: 34px; }
.final h2 { font: 400 clamp(48px, 8vw, 104px)/.98 var(--serif); letter-spacing: -.02em; max-width: 12em; }
.final p { color: #b8b9ae; font-size: 19px; max-width: 30em; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.final-actions span { font-size: 15px; color: #b8b9ae; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 56px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot-links a { font: 500 15px/1 var(--display); color: var(--muted); text-decoration: none; padding: 10px 0; }
.foot-links a:hover { color: var(--copper); }
.site-footer p { font-size: 14.5px; color: var(--quiet); }

/* ---------- Mobile call-to-action bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: #f8f6f2f2; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s; display: flex;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 50px; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
@media (max-width: 759px) { .site-footer { padding-bottom: 96px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta, .faq-list summary .ico, .btn { transition: none; }
}

@media (max-width: 639px) {
  .table-wrap { border: 0; background: none; overflow: visible; border-radius: 0; }
  .compare-table { min-width: 0; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table thead { position: absolute; left: -9999px; }
  .compare-table tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bone); overflow: hidden; padding-bottom: 6px; }
  .compare-table tbody th { width: auto; padding: 14px 18px 6px; border: 0; }
  .compare-table td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 18px; border: 0; }
  .compare-table td::before { content: attr(data-label); flex: none; font-weight: 600; color: var(--quiet); font-size: 14px; }
  .compare-table td.us { background: #fbf4ef; }
  .skill-code { white-space: pre-wrap; word-break: break-word; }
}
