/* Offerbird website. Brand: docs/superpowers/specs/2026-12-05-offerbird-site-design.md
   Light first, neutral greys, one accent (violet), Plus Jakarta Sans. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6c6c6c;
  --soft: #f5f5f5;
  --line: #e5e5e5;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-soft: #f3eefe;
  --radius: 0.875rem;
  --max: 88rem;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Everything is sized in rem, and the root size grows with the screen: 16px up to about 1440px wide, then
   smoothly larger: about 18px at 1920px, 21px at 2560px, at most 22px. Phones and laptops look as designed; big monitors get
   the same layout, scaled up, instead of a narrow column. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(16px, calc(9.6px + 0.45vw), 22px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 0.1875rem; border-radius: 0.375rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -10rem; background: var(--fg); color: #fff; padding: 0.5rem 0.875rem; border-radius: 0.5rem; z-index: 10; }
.skip:focus { top: 0.75rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(0.625rem); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.375rem; text-decoration: none; color: var(--fg); }
.brand-mark { width: 2.0625rem; height: 2.0625rem; }
.wordmark { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.brand-small { gap: 0.3125rem; }
.brand-small .brand-mark { width: 1.625rem; height: 1.625rem; }
.brand-small .wordmark { font-size: 1.1875rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.875rem; padding: 0 1.25rem; border-radius: 62.4375rem; border: 0;
  background: var(--accent); color: #fff; font: 600 0.9375rem/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { height: 2.375rem; padding: 0 1rem; font-size: 0.875rem; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--soft); }

/* Hero */
.hero { padding: 4.5rem 0 5.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.375rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.625rem; border-radius: 62.4375rem; background: var(--accent-soft);
  color: var(--accent); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: currentColor; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(2.75rem, 6.4vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.lede { margin: 1.375rem 0 2rem; max-width: 34ch; font-size: 1.25rem; color: var(--muted); }
.lede strong { color: var(--fg); font-weight: 600; }

/* Waitlist form */
.waitlist { max-width: 30rem; }
.waitlist-row { display: flex; gap: 0.5rem; padding: 0.375rem; border: 1px solid var(--line); border-radius: 62.4375rem; background: #fff; box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 0.5rem 1.5rem rgba(10, 10, 10, 0.05); }
.waitlist-row:focus-within { border-color: var(--accent); }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; height: 2.875rem; padding: 0 1rem; border: 0; background: transparent;
  font: 500 1rem var(--font); color: var(--fg); outline: none;
}
.waitlist input::placeholder { color: #9a9a9a; }
.form-note { margin: 0.75rem 0 0 1.125rem; font-size: 0.875rem; color: var(--muted); }
.form-note a { color: var(--fg); }
.form-status { margin: 0.625rem 0 0 1.125rem; font-size: 0.9375rem; font-weight: 600; min-height: 1px; }
.form-status.error { color: #b42318; }
.turnstile-slot:not(:empty) { margin: 0.75rem 0 0 0.375rem; }
.waitlist.done .waitlist-row, .waitlist.done .form-note, .waitlist.done .turnstile-slot { display: none; }
.waitlist.done .form-status { margin-left: 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--accent-soft); color: var(--fg); font-weight: 600; }

/* Product card (an illustration of the app's answer card) */
.demo { position: relative; margin: 0; }
.demo-card {
  border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; padding: 1.125rem;
  box-shadow: 0 2px 0.25rem rgba(10, 10, 10, 0.03), 0 1.5rem 3.75rem -12px rgba(10, 10, 10, 0.14);
  font-size: 0.9375rem;
}
.dc-top { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.875rem; }
.dc-top img { width: 1.5rem; height: 1.5rem; }
.dc-live { display: inline-flex; align-items: center; gap: 0.4375rem; padding: 0.25rem 0.6875rem; border-radius: 62.4375rem; background: var(--soft); font-size: 0.8125rem; font-weight: 600; }
.dc-live::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: #dc2626; animation: pulse 1.6s ease-in-out infinite; }
.dc-q { margin: 0 0 0.75rem; color: var(--muted); }
.dc-q b { color: var(--fg); font-weight: 600; }
.dc-answer { padding: 0.75rem 0.875rem; border-left: 0.1875rem solid var(--accent); border-radius: 0.25rem 0.75rem 0.75rem 0.25rem; background: var(--accent-soft); }
.dc-label { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.dc-answer p { margin: 0.25rem 0 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.dc-source { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.75rem 0 0.875rem; font-size: 0.8125rem; color: var(--muted); }
.chip { display: inline-flex; padding: 0.1875rem 0.625rem; border: 1px solid var(--line); border-radius: 62.4375rem; font-size: 0.8125rem; font-weight: 600; color: var(--fg); background: #fff; }
.dc-actions { display: flex; flex-wrap: wrap; gap: 0.375rem; padding-top: 0.875rem; border-top: 1px solid var(--line); }
.dc-actions span { padding: 0.375rem 0.6875rem; border-radius: 62.4375rem; background: var(--soft); font-size: 0.8125rem; font-weight: 600; }
.demo-caption { margin: 0.875rem 0 0; text-align: center; font-size: 0.8125rem; color: var(--muted); }

.reveal { animation: rise 0.7s 0.5s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: 0.35; } }

/* Sections */
section { scroll-margin-top: 5rem; }
.section { padding: 6rem 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 40rem; margin: 0 0 3rem; }
.section-head p { margin: 1rem 0 0; font-size: 1.1875rem; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Video (click to load) */
.video { position: relative; max-width: 68rem; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; background: #111; box-shadow: 0 1.5rem 3.75rem -16px rgba(10, 10, 10, 0.3); }
.video a, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 5.25rem; height: 5.25rem; margin: -2.625rem 0 0 -2.625rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); display: grid; place-items: center;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.25); transition: transform 0.15s ease;
}
.play::after { content: ""; margin-left: 0.375rem; border-style: solid; border-width: 0.875rem 0 0.875rem 1.375rem; border-color: transparent transparent transparent var(--accent); }
.video a:hover .play { transform: scale(1.06); }
.video-note { margin: 0.875rem 0 0; text-align: center; font-size: 0.875rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.125rem; height: 2.125rem; margin-bottom: 1.125rem;
  border-radius: 0.625rem; background: var(--accent-soft); color: var(--accent); font-weight: 800;
}
.steps p { margin: 0.625rem 0 0; color: var(--muted); }

/* Kinds of call */
.calls { display: flex; flex-wrap: wrap; gap: 0.625rem; padding: 0; margin: 0; list-style: none; }
.calls li { padding: 0.625rem 1.125rem; border: 1px solid var(--line); border-radius: 62.4375rem; background: #fff; font-weight: 600; }
.calls-note { margin: 1.5rem 0 0; max-width: 60ch; color: var(--muted); }

/* Closing call to action */
.cta { text-align: center; }
.cta .waitlist { margin: 2rem auto 0; text-align: left; }
.cta .form-note, .cta .form-status { text-align: center; margin-left: 0; }

/* Social links */
.socials { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; padding: 0; margin: 1.75rem 0 0; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; gap: 0.625rem; height: 2.875rem; padding: 0 1.125rem; border: 1px solid var(--line);
  border-radius: 62.4375rem; background: #fff; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.socials a:hover { border-color: #cfcfcf; background: var(--soft); }
.socials svg { width: 1.125rem; height: 1.125rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 0.9375rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.875rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: var(--fg); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.375rem; padding: 0; margin: 0; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 0.625rem; color: var(--muted); }
.footer-social a:hover { color: var(--fg); background: var(--soft); }
.footer-social svg { width: 1.125rem; height: 1.125rem; }
.footer-small { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.8125rem; }

/* Legal pages */
.legal { padding: 4rem 0 6rem; }
.legal .wrap { max-width: 47.5rem; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.legal .updated { margin: 0.875rem 0 2.5rem; color: var(--muted); }
.legal h2 { margin: 2.75rem 0 0.75rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.legal h3 { margin: 1.75rem 0 0.5rem; font-size: 1.125rem; }
.legal p, .legal li { color: #2b2b2b; }
.legal ul { padding-left: 1.375rem; }
.legal li { margin: 0.375rem 0; }
.legal a { color: var(--accent); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; background: var(--soft); }
.draft-banner { margin: 0 0 2rem; padding: 0.875rem 1.125rem; border: 1px solid #f5c26b; border-radius: 0.75rem; background: #fff8eb; color: #6b4500; font-size: 0.9375rem; }
.draft-banner strong { color: #4a3000; }

/* 404 */
.notfound { padding: 7.5rem 0 8.75rem; text-align: center; }
.notfound p { margin: 1rem auto 2rem; max-width: 40ch; color: var(--muted); font-size: 1.1875rem; }

/* Small screens */
@media (max-width: 900px) {
  .hero { padding: 2.5rem 0 4.5rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav .nav-video { display: none; }
  .lede { font-size: 1.125rem; }
  .waitlist-row { flex-direction: column; border-radius: 1.125rem; }
  .waitlist .btn { width: 100%; }
  .form-note, .form-status { margin-left: 0.25rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .legal thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal tr { padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
  .legal td { padding: 0.25rem 0; border: 0; }
  .legal td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
