/* CheapAPI Labs. One typeface (Geist), Geist Mono only for prices. Sizes snap to the Tailwind scale,
   spacing to 2/4/8/12/16/24/32/40/48/64/80/96. Flat backgrounds; the only gradient is the hero heading text. */
@font-face { font-family: "Geist"; src: url("/assets/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("/assets/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F4F5F1;      /* page */
  --card: #FFFFFF;
  --ink: #000000;
  --ink-2: #4A4D48;      /* secondary text */
  --ink-3: #7B7F78;      /* captions, struck prices */
  --line: #DCDED7;
  --tag: #FFD43B;        /* the sale sticker */
  --tag-ink: #000000;
  --focus: #2457D6;
  --head-from: #000000;
  --head-to: #666666;
  --muted-word: rgba(0, 0, 0, 0.28);
  --nav-bg: rgba(244, 245, 241, 0.72);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181818; --card: #1F1F1F; --ink: #FFFFFF; --ink-2: #C4C4BE; --ink-3: #8D8D87; --line: #313131;
    --tag: #FFD43B; --tag-ink: #000000; --focus: #8AB0FF; --head-from: #FFFFFF; --head-to: #9B9B9B;
    --muted-word: rgba(255, 255, 255, 0.28); --nav-bg: rgba(24, 24, 24, 0.72); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Geist", system-ui, sans-serif; font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; }

/* named text styles (landing-page-design B1) */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.015em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.secondary { color: var(--ink-2); }
.tertiary { color: var(--ink-3); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease), opacity 300ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { opacity: 0.86; }
.btn-tag { background: var(--tag); color: var(--tag-ink); }
.btn-tag:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn .icon { width: 16px; height: 16px; }

/* floating nav */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px; border-radius: 16px; background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); width: max-content; max-width: calc(100% - 32px); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 4px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); background: var(--card); }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 24px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 15; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 96px 24px 40px; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.sheet a { font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; padding: 8px 0; opacity: 0; transform: translateY(24px); transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
.sheet .btn { margin-top: 24px; align-self: flex-start; font-size: 16px; line-height: 24px; }
.menu-open .sheet { opacity: 1; pointer-events: auto; }
.menu-open .sheet a { opacity: 1; transform: none; }
.menu-open .sheet a:nth-child(2) { transition-delay: 60ms; } .menu-open .sheet a:nth-child(3) { transition-delay: 120ms; }
.menu-open .sheet a:nth-child(4) { transition-delay: 180ms; } .menu-open .sheet a:nth-child(5) { transition-delay: 240ms; }

/* hero */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.hero h1 { max-width: 680px; background: linear-gradient(90deg, var(--head-from), var(--head-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 680px; margin-top: 24px; font-size: 20px; line-height: 28px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.proof { display: flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--ink-2); }
.proof b { color: var(--ink); font-weight: 600; }

/* the price tag board: the one loud thing on the page */
.board { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.jobs button { font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; padding: 4px 12px; border-radius: 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.jobs button:hover { color: var(--ink); }
.jobs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.job { margin-top: 24px; }
.job-label { color: var(--ink-2); }
.rival { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 24px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.rival .was { font-size: 24px; line-height: 32px; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.tag { position: relative; margin-top: 24px; background: var(--tag); color: var(--tag-ink); border-radius: 16px 40px 40px 16px; padding: 24px 64px 24px 24px; transform: rotate(-1.5deg);
  transition: transform 500ms var(--ease); }
.tag::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2); }
.tag .now { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.03em; }
.tag .who { display: block; margin-bottom: 8px; }
.tag .off { position: absolute; right: 16px; bottom: -16px; background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 8px; transform: rotate(3deg); }
.job.swap .tag { animation: tagin 500ms var(--ease); }
.job.swap .num { animation: numin 500ms var(--ease); }
@keyframes tagin { from { transform: rotate(-6deg) translateY(8px); opacity: 0.4; } to { transform: rotate(-1.5deg); opacity: 1; } }
@keyframes numin { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.board-note { margin-top: 40px; color: var(--ink-3); }

/* tagline reveal (B11) */
.reveal-line { padding: 128px 0; }
.reveal-line p { max-width: 880px; font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.reveal-line .w { color: var(--muted-word); transition: color 500ms var(--ease); }
.reveal-line .w.on { color: var(--ink); }

/* section heads */
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head p { margin-top: 16px; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.benefits li { padding-top: 24px; border-top: 2px solid var(--ink); }
.benefits .icon { width: 24px; height: 24px; margin-bottom: 16px; }
.benefits h3 { margin-bottom: 8px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--tag); color: var(--tag-ink); font-weight: 600; margin-bottom: 24px; }
.steps h3 { margin-bottom: 8px; }

/* catalog */
.cat { margin-top: 48px; }
.cat:first-of-type { margin-top: 0; }
.cat h3 { margin-bottom: 16px; }
.actors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.actor { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease); }
.actor:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.actor:active { transform: translateY(1px); }
.actor-top { display: flex; justify-content: space-between; gap: 8px; }
.actor-top .icon { width: 16px; height: 16px; color: var(--ink-3); margin-top: 4px; }
.actor p { color: var(--ink-2); flex: 1; }
.price-chip { align-self: flex-start; background: color-mix(in srgb, var(--tag) 60%, var(--card)); color: var(--ink); padding: 2px 8px; border-radius: 8px; }
@media (prefers-color-scheme: dark) { .price-chip { background: var(--tag); color: var(--tag-ink); } }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--ink-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
td s { color: var(--ink-3); }
td .save { display: inline-block; margin-left: 8px; background: var(--tag); color: var(--tag-ink); padding: 0 8px; border-radius: 4px; }
.table-note { margin-top: 16px; max-width: 760px; }

/* faq */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform 500ms var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding: 0 0 24px; max-width: 680px; color: var(--ink-2); }

/* final cta */
.final { text-align: left; }
.final-box { background: var(--tag); color: var(--tag-ink); border-radius: 24px; padding: 64px 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.final-box h2 { max-width: 680px; }
.final-box p { margin-top: 16px; max-width: 560px; }
.final-box .btn-primary { background: #000; color: #fff; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .fine { margin-top: 8px; max-width: 560px; }

/* scroll reveal */
.rise { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* legal + 404 pages */
.page { padding: 160px 0 96px; }
.prose { max-width: 680px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 40px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 24px; }
.prose a { text-underline-offset: 2px; }
.lost { min-height: 100vh; display: grid; place-items: center; padding: 96px 24px; }
.lost .tag { display: inline-block; transform: rotate(-3deg); padding: 24px 64px 24px 24px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .board { max-width: 520px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav { gap: 8px; width: calc(100% - 32px); justify-content: space-between; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 112px 0 64px; }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .hero .lede { font-size: 18px; line-height: 28px; }
  .reveal-line { padding: 64px 0; }
  .reveal-line p { font-size: 30px; line-height: 36px; }
  .tag .now { font-size: 48px; line-height: 48px; }
  .benefits, .steps, .actors { grid-template-columns: 1fr; }
  .final-box { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .rise { transform: none; transition: opacity 300ms linear; }
  .reveal-line .w { color: var(--ink); transition: none; }
  .tag, .btn, .actor, .sheet a { transition: opacity 300ms linear; transform: none; }
}
