/* Tokens follow the ClaimJumper design system (Warm Modern / Human). */
@font-face { font-family: "General Sans"; src: url(/fonts/general-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/fonts/general-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/fonts/general-sans-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/fonts/general-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono-var.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --plum-700: #3E33B0;
  --plum-600: #4A3FCB;
  --plum-500: #5B4FE0;
  --plum-300: #A79FEE;
  --plum-100: #ECEAFB;
  --plum-050: #F5F3FD;
  --terracotta-600: #C96A4D;
  --terracotta-500: #E8896B;
  --terracotta-100: #FBE7DF;
  --sage-600: #7E977A;
  --sage-500: #A3B89B;
  --sage-100: #E9EFE5;
  --cream: #FBF7F0;
  --cream-deep: #F3EDE2;
  --white: #FFFFFF;
  --ink-900: #1C1A17;
  --ink-600: #5C564E;
  --ink-400: #736B61; /* a11y: darkened from #8A8175 for 4.5:1 text contrast on cream-deep */
  --line: #E7DFD2;
  --line-strong: #D8CDBA;
  --success-500: #6E9E78;
  --success-100: #E4EFE4;
  --warning-500: #E5A23B;
  --warning-100: #FBEFD7;
  --error-100: #F7E2DB;

  --sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --shadow-xs: 0 1px 2px rgba(60, 46, 28, .05);
  --shadow-sm: 0 2px 8px rgba(60, 46, 28, .06);
  --shadow-md: 0 8px 24px rgba(60, 46, 28, .08);
  --shadow-lg: 0 18px 48px rgba(60, 46, 28, .10);
  --shadow-xl: 0 30px 70px rgba(60, 46, 28, .12);
  --shadow-hover: 0 14px 34px rgba(60, 46, 28, .12);
  --ring: 0 0 0 4px var(--plum-100);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink-900); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; }
a { color: var(--plum-500); text-decoration: none; }
a:hover { color: var(--plum-600); text-decoration: underline; text-underline-offset: 3px; }
p a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.18; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--plum-500); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--plum-500); outline-offset: 2px; box-shadow: var(--ring); border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 10px 16px; border-radius: 12px; background: var(--white); color: var(--ink-900); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-600); }
.mono { font-family: var(--mono); }
section { padding: 112px 0; }
.band { background: var(--cream-deep); }

.eyebrow { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); }
.section-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em; max-width: 780px; }
.section-lede { margin-top: 20px; max-width: 640px; font-size: 20px; color: var(--ink-600); }
.lede { margin-top: 24px; font-size: 20px; color: var(--ink-600); max-width: 600px; }

/* Buttons: one radius (12px), plum primary. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--plum-500); color: var(--white); font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--plum-600); color: var(--white); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn:active { background: var(--plum-700); transform: none; box-shadow: var(--shadow-xs); }
.btn-ghost { background: var(--white); color: var(--ink-900); border: 1px solid var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { background: var(--white); color: var(--ink-900); border-color: var(--ink-400); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-full { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 78%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.logo:hover { color: var(--ink-900); text-decoration: none; }
.logo-mark { position: relative; width: 26px; height: 26px; flex: none; }
.logo-mark::before { content: ""; position: absolute; left: 0; bottom: 0; width: 16px; height: 16px; background: var(--plum-500); border-radius: 16px 0 0 0; }
.logo-mark::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; background: var(--terracotta-500); border-radius: 50%; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-600); font-size: 15px; font-weight: 500; }
.nav nav a:hover { background: var(--cream-deep); color: var(--ink-900); text-decoration: none; }
.nav .btn { margin-left: auto; }

/* Hero */
.hero { position: relative; padding: 88px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: 14px; font-weight: 500; color: var(--ink-600); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-600); flex: none; }
.proof { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--ink-600); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { color: var(--sage-600); }
.shape { position: absolute; pointer-events: none; opacity: .14; }
.shape-arch { width: 220px; right: -40px; top: 40px; }
.shape-leaf { width: 160px; left: -50px; bottom: 30px; }

/* Product window (hero visual, after the app's session screen) */
.app { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-xl); overflow: hidden; font-size: 15px; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.app-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-title strong { font-size: 15px; font-weight: 600; }
.app-title span { font-size: 13px; color: var(--ink-400); }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--cream-deep); font-size: 13px; font-weight: 500; color: var(--ink-600); }
.seg span { padding: 5px 12px; border-radius: 8px; }
.seg .on { background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-xs); }
.app-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 20px; background: var(--cream); }
.bubble { align-self: flex-end; max-width: 86%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--plum-100); line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 12.5px; color: var(--ink-600); }
.chip svg { color: var(--plum-500); }
.app-table { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.app-table .row { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 8px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.app-table .head { border-top: 0; background: var(--cream); font-size: 12.5px; font-weight: 500; color: var(--ink-400); }
.app-table .row span:first-child { font-weight: 500; }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-sage { background: var(--sage-100); color: #4F6A4B; }
.badge-terra { background: var(--terracotta-100); color: #9A4A31; }
.badge-plum { background: var(--plum-100); color: var(--plum-600); }

/* Problem */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.plain h3 { font-size: 21px; }
.plain p { margin-top: 10px; color: var(--ink-600); }
.plain .num { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: #A4563F; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cases .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 21px; }
.card p { margin-top: 10px; color: var(--ink-600); font-size: 17px; }
.tile { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tile-sage { background: var(--sage-100); color: var(--sage-600); }
.tile-terra { background: var(--terracotta-100); color: var(--terracotta-600); }
.tile-plum { background: var(--plum-500); color: var(--white); }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--plum-100); color: var(--plum-600); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.steps h3 { font-size: 20px; margin-top: 7px; }
.steps p { margin-top: 6px; color: var(--ink-600); font-size: 17px; }
.proposal { position: sticky; top: 104px; }
.proposal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.proposal-head strong { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.proposal-head .tile { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.proposal-src { margin-top: 14px; font-size: 14px; color: var(--ink-400); }
.diff { margin: 16px 0 0; padding: 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); font: 13.5px/1.7 var(--mono); white-space: pre-wrap; }
.diff span { display: block; padding: 0 8px; border-radius: 6px; }
.diff .ctx { color: var(--ink-400); }
.diff .del { background: var(--error-100); color: #8A2E10; }
.diff .add { background: var(--success-100); color: #2F5A37; margin-top: 3px; }
.why { margin-top: 16px; font-size: 15px; color: var(--ink-600); }
.proposal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.proposal-actions .note { font-size: 13px; color: var(--ink-400); }

/* Straight answers */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* Pilot: the one filled plum band */
.apply { background: var(--plum-500); color: var(--white); position: relative; overflow: hidden; }
.apply .eyebrow { color: var(--plum-100); }
.apply .section-title { color: var(--white); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.apply-copy > p { margin-top: 24px; color: var(--plum-100); font-size: 18px; }
.apply .shape { opacity: .18; }
.apply .shape-quarter { width: 240px; right: -60px; bottom: -60px; filter: brightness(1.6); }

.form { display: flex; flex-direction: column; gap: 18px; color: var(--ink-900); box-shadow: var(--shadow-xl); padding: 32px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form .opt { font-weight: 400; color: var(--ink-400); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); color: var(--ink-900); font: 400 16px/1.4 var(--sans); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--plum-500); box-shadow: var(--ring); }
.fineprint { font-size: 13px; color: var(--ink-400); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; box-shadow: var(--shadow-xs); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--plum-500); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-600); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--ink-400); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer .logo { font-size: 17px; }
.footer .legal { flex-basis: 100%; }

/* Simple pages (privacy, thanks) */
.page { padding: 96px 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -.02em; }
.page p { margin-top: 18px; }

@media (max-width: 960px) {
  .hero-grid, .how-grid, .apply-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proposal { position: static; }
}
@media (max-width: 680px) {
  section { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
  .nav nav { display: none; }
  .grid-3, .grid-2, .form .row { grid-template-columns: minmax(0, 1fr); }
  .app-table .row { grid-template-columns: 1.4fr 1fr; }
  .app-table .row span:nth-child(2) { display: none; }
  .seg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
