/* Values come from design/grade-check.pen frames "L1 Landing · Desktop 1280" (sfXFp) and "· Mobile 390" (OJxhM). */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/Inter_400Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/Inter_600SemiBold.woff') format('woff'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('/fonts/SpaceGrotesk_700Bold.woff') format('woff'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/fonts/JetBrainsMono_500Medium.woff') format('woff'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-display: swap; src: url('/fonts/JetBrainsMono_600SemiBold.woff') format('woff'); }

:root {
  --bg: #F3EEE4;
  --surface: #FFFFFF;
  --text: #17161A;
  --text-2: #6B655C;
  --line: #E2DBCD;
  --accent: #E8462B;
  --send: #1F8A5B;
  --cta-bg: #17161A;
  --cta-fg: #F3EEE4;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --num: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
/* Bands run full width; content keeps the 1120 column of the 1280 frame (80 + 1120 + 80). */
:root { --gutter: max(80px, calc((100% - 1120px) / 2)); }
h1, h2, h3, .head { font-family: var(--head); font-weight: 700; }
.num { font-family: var(--num); }

/* Nav: padding [24,80]; brand gap 10; links 15/600 secondary, gap 32. */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 22px; }
.mark { width: 30px; height: 42px; border-radius: 5px; background: var(--text); padding: 5px 4px 7px 6px; }
.mark span { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--accent); }
.links { display: flex; align-items: center; gap: 32px; }
.links a { font-size: 15px; font-weight: 600; color: var(--text-2); white-space: nowrap; }

/* Pill: 52 tall, radius 26, padding 0 26, icon 18, label 16/600. */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 26px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pill svg { width: 18px; height: 18px; }
.pill.primary { background: var(--cta-bg); color: var(--cta-fg); }
.pill.secondary { border: 1.5px solid var(--text); }
.pill[aria-disabled='true'] { cursor: default; }

/* Hero: padding [64,80,96,80], gap 64; copy gap 24. */
.hero { display: flex; align-items: center; gap: 64px; padding: 64px var(--gutter) 96px; }
.hero .copy { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; color: var(--accent); }
.hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -1.5px; }
.sub { font-size: 20px; line-height: 1.5; color: var(--text-2); }
.ctas { display: flex; align-items: center; gap: 14px; }
.note { font-size: 14px; color: var(--text-2); }

/* Visual: 480 × 520, children absolutely placed as drawn. Pen rotates about the top-left corner. */
.visual { position: relative; width: 480px; height: 520px; flex: none; }
.v-card { position: absolute; left: 20px; top: 40px; width: 200px; height: 280px; border-radius: 12px; background: #2B2A30; transform: rotate(-6deg); transform-origin: top left; }
.v-card i { position: absolute; left: 10px; top: 18px; width: 172px; height: 244px; border-radius: 4px; background: linear-gradient(200deg, #F0B34A 0%, #E8462B 55%, #5B2A86 100%); }
.v-tag { position: absolute; left: 20px; top: 350px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--cta-bg); color: var(--cta-fg); }
.v-tag b { font-size: 11px; letter-spacing: 1px; }
.v-tag span { font-family: var(--num); font-weight: 600; font-size: 26px; }
.receipt { position: absolute; left: 210px; top: 120px; width: 270px; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.receipt .verdict { font-family: var(--head); font-weight: 700; font-size: 34px; letter-spacing: -0.5px; color: var(--send); }
.receipt .delta { font-family: var(--num); font-weight: 600; font-size: 14px; }
.receipt .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; color: var(--text-2); }
.receipt .row > span:last-child { font-family: var(--num); font-weight: 500; color: var(--text); }
.receipt .row.sub-total { border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.receipt .row.sub-total > span:last-child { font-weight: 600; }

/* Sections: padding [88,80]; H2 40. */
section { padding: 88px var(--gutter); }
section h2 { font-size: 40px; }
.how { background: var(--surface); display: flex; flex-direction: column; gap: 40px; }
.steps { display: flex; gap: 32px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.step .n { width: 36px; height: 36px; border-radius: 18px; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 22px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--text-2); }

.pricing { display: flex; flex-direction: column; gap: 36px; }
.plans { display: flex; align-items: flex-start; gap: 24px; }
.plan { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.plan.dark { background: var(--cta-bg); color: var(--cta-fg); border-color: transparent; }
.plan .k { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--text-2); }
.plan.dark .k { color: var(--cta-fg); }
.plan .price { font-family: var(--head); font-weight: 700; font-size: 36px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.35; }
.plan li::before { content: '✓'; color: var(--send); font-weight: 700; width: 18px; text-align: center; }
.plan.dark li::before { color: var(--cta-fg); }

.faq { padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.faq div { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.faq h3 { font-family: var(--body); font-weight: 600; font-size: 18px; }
.faq p { font-size: 16px; line-height: 1.5; color: var(--text-2); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 28px var(--gutter); background: var(--cta-bg); color: var(--cta-fg); font-size: 13px; }
footer p { opacity: 0.7; }
footer nav { display: flex; gap: 24px; font-weight: 600; }

/* Privacy page. */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 88px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 12px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Side by side needs 80 + CTA row (≈525) + 64 + 480 visual + 80; below that the hero stacks. */
@media (max-width: 1239px) {
  .hero { flex-direction: column; align-items: flex-start; }
}

/* Tablets: the section links give way to the store pill rather than wrapping. */
@media (max-width: 1023px) {
  .links a { display: none; }
}

/* Mobile 390 frame: nav [16,20], links hidden; hero stacks, H1 44; sections [56,20], H2 30. */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav { padding: 16px 20px; }
  .links { display: none; }
  .hero { flex-direction: column; align-items: flex-start; gap: 32px; padding: 24px 20px 48px; }
  .hero h1 { font-size: 44px; letter-spacing: -1px; }
  .sub { font-size: 17px; }
  .ctas { flex-direction: column; align-items: flex-start; gap: 10px; }
  .visual { width: 350px; height: 400px; }
  .v-card { left: 10px; top: 20px; width: 160px; height: 224px; }
  .v-card i { width: 138px; height: 196px; }
  .receipt { left: 110px; top: 90px; width: 240px; }
  .wide-only { display: none; }
  .v-tag { left: 10px; top: 290px; }
  section { padding: 56px 20px; }
  section h2 { font-size: 30px; }
  .how { gap: 28px; }
  .steps, .plans { flex-direction: column; gap: 28px; }
  .plans { align-items: stretch; gap: 16px; }
  .pricing { gap: 24px; }
  .faq { padding: 16px 20px 56px; }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

/* Narrowest phones: the 350 visual shrinks to fit the 280 column instead of scrolling sideways. */
@media (max-width: 389px) {
  .visual { zoom: 0.8; }
  .pill { padding: 0 18px; font-size: 15px; }
}
