/* ============================================================
   Clicky Collect — landing + legal styles
   Restyled to the Clicky STAFF design system ("warm-stone", K33).
   Source of truth: packages/ui/src/tokens/tokens.css
   Rules honoured:
     - Warm stone is the ONLY neutral scale. NO blue anywhere.
     - Ink #1c1917 is the primary text AND the primary action colour.
     - Accent colours exist only as SEMANTIC states (green=ready,
       amber=pending/primed, red=danger). No decorative brand accent.
     - Inter only. Restrained weights (400–700). Warm-ink shadows.
     - Radii: card 12, input/button 8–10, badge pill 999.
   ============================================================ */

/* ---------- Design tokens (mirrored from @clicky/ui) ---------- */
:root {
  /* surfaces */
  --surface:        #ffffff;
  --surface-subtle: #fafaf9;
  --surface-inset:  #f5f5f4;
  --surface-ink:    #1c1917;   /* the one dark band (CTA + footer) */
  --surface-ink-2:  #292524;   /* raised card on ink */

  /* borders */
  --border:        #e7e5e4;
  --border-strong: #d6d3d1;
  --border-ink:    rgba(255, 255, 255, 0.12);

  /* text */
  --ink:            #1c1917;
  --ink-secondary:  #44403c;
  --ink-disabled:   #a8a29e;
  --on-ink:         #ffffff;
  --on-ink-muted:   #d6d3d1;
  --on-ink-faint:   #a8a29e;

  /* semantic states (fixed) */
  --success:    #15803d;  --success-bg: #f0fdf4;
  --warning:    #b45309;  --warning-bg: #fffbeb;
  --danger:     #b91c1c;  --danger-bg:  #fef2f2;

  /* marketing accent — terracotta (breaks the warm-stone monochrome).
     Primary actions stay ink; the accent lands on eyebrows, stats,
     highlights, phone mockups, links and active states. */
  --accent:        #c2410c;
  --accent-hover:  #9a3412;
  --accent-subtle: #fff7ed;
  --accent-border: #fed7aa;
  --accent-light:  #fdba74;

  /* elevation — warm-ink shadow (rgb 28,25,23) */
  --shadow-card:   0 1px 2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.08);
  --shadow-raised: 0 2px 8px rgba(28, 25, 23, 0.08);
  --shadow-modal:  0 8px 32px rgba(28, 25, 23, 0.18);

  /* type */
  --font: 'Inter', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* radius */
  --r-card: 12px;
  --r-btn: 10px;
  --r-input: 8px;
  --r-pill: 999px;

  /* rhythm */
  --maxw: 1120px;
  --section-y: clamp(56px, 8vw, 104px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--surface-subtle);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p  { margin: 0 0 1rem; }

.eyebrow {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.eyebrow--muted { color: var(--on-ink-faint); }
.section--ink .eyebrow { color: var(--accent-light); }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--ink-secondary); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }
.section--subtle  { background: var(--surface-subtle); }
.section--inset   { background: var(--surface-inset); }
.section--ink     { background: var(--surface-ink); color: var(--on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink .lead { color: var(--on-ink-muted); }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  padding: 0.72rem 1.35rem; border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.02rem; }

/* primary = ink fill, white text (the staff --color-action) */
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-secondary); }
/* ghost = warm-stone outline */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); }

/* on the ink band, invert */
.section--ink .btn-primary { background: var(--on-ink); color: var(--ink); }
.section--ink .btn-primary:hover { background: var(--on-ink-muted); }
.section--ink .btn-ghost { color: var(--on-ink); border-color: var(--border-ink); }
.section--ink .btn-ghost:hover { border-color: var(--on-ink); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.beta-chip { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border); padding: 0.12rem 0.44rem; border-radius: 999px; margin-left: 0.3rem; vertical-align: middle; }
.site-footer .beta-chip { color: var(--accent-light); background: transparent; border-color: var(--border-ink); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { color: var(--ink-secondary); font-weight: 500; font-size: 0.95rem; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { max-width: 36ch; margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--ink-disabled); }

/* order card — a raised warm-stone card */
.order-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 1.4rem; box-shadow: var(--shadow-raised);
  max-width: 360px; margin-left: auto;
}
.order-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.order-card__id { font-weight: 700; letter-spacing: -0.01em; }
.badge { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: var(--r-pill); }
.badge--ready { background: var(--success-bg); color: var(--success); }   /* --color-status-ready */
.order-line { display: flex; justify-content: space-between; color: var(--ink-secondary); font-size: 0.92rem; padding: 0.35rem 0; }
.order-card__code { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border-strong); display: flex; justify-content: space-between; align-items: center; }
.order-card__code span { color: var(--ink-secondary); font-size: 0.9rem; }
.order-card__code b { font-family: var(--font-mono); font-size: 1.35rem; letter-spacing: 0.18em; color: var(--accent); }
.order-steps { display: flex; gap: 5px; margin-top: 1.1rem; }
.order-steps span { height: 5px; flex: 1; border-radius: var(--r-pill); background: var(--border); }
.order-steps span.done { background: var(--success); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--border); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.5rem; justify-content: center; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.trust p { margin: 0; color: var(--ink-disabled); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.trust .names { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }
.trust .names span { font-weight: 600; color: var(--ink-secondary); font-size: 1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.75rem; box-shadow: var(--shadow-card); }
.step__num { font-weight: 700; font-size: 0.95rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; margin-bottom: 1.1rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-secondary); margin: 0; font-size: 0.98rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 1.6rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.feature__icon { width: 42px; height: 42px; border-radius: var(--r-input); background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.feature p { color: var(--ink-secondary); margin: 0; font-size: 0.95rem; }

/* ---------- Comparison table ---------- */
.compare { max-width: 800px; margin: 0 auto; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 0.95rem 1.2rem; text-align: left; }
.compare thead th { font-weight: 700; font-size: 0.98rem; }
.compare thead th:nth-child(2) { background: var(--accent); color: #fff; text-align: center; }
.compare thead th:nth-child(3) { text-align: center; color: var(--ink-secondary); }
.compare tbody tr { border-top: 1px solid var(--border); }
.compare td:first-child { font-weight: 500; }
.compare td:nth-child(2) { text-align: center; background: var(--accent-subtle); }
.compare td:nth-child(3) { text-align: center; }
.tick { color: var(--success); font-weight: 700; }   /* semantic success */
.cross { color: var(--ink-disabled); font-weight: 700; }

/* ---------- Transparency cards ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mini-card { background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.4rem; }
.mini-card h4 { font-weight: 700; font-size: 1.02rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.mini-card p { color: var(--ink-secondary); font-size: 0.9rem; margin: 0; }

/* ---------- Stats + testimonials ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; text-align: center; margin-bottom: 3rem; }
.stat .num { font-weight: 700; font-size: clamp(2.1rem, 4.5vw, 3rem); color: var(--accent); line-height: 1; letter-spacing: -0.03em; }
.stat .label { color: var(--ink-secondary); font-size: 0.92rem; margin-top: 0.45rem; }
.disclaimer { text-align: center; color: var(--ink-disabled); font-size: 0.82rem; margin-top: -2rem; margin-bottom: 3rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.6rem; box-shadow: var(--shadow-card); }
.quote p { color: var(--ink); font-size: 0.98rem; }
.quote .who { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-inset); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.quote .who div { line-height: 1.3; }
.quote .who b { display: block; font-size: 0.92rem; }
.quote .who span { color: var(--ink-disabled); font-size: 0.83rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .plus { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .plus::before { left: 0; right: 0; top: 11px; height: 2px; }
.faq-q .plus::after { top: 0; bottom: 0; left: 11px; width: 2px; transition: transform .2s; }
.faq-item.open .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--ink-secondary); }
.faq-a p { padding-bottom: 1.3rem; margin: 0; }
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 1.2rem; }
.cta-band .lead { color: var(--on-ink-muted); }
.cta-band .btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--surface-ink); color: var(--on-ink-muted); padding: clamp(52px, 7vw, 80px) 0 2.5rem; }
.site-footer .brand { color: var(--on-ink); }
.site-footer .brand .dot { background: var(--on-ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.75rem; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; color: var(--on-ink-muted); }
.footer-col h5 { color: var(--on-ink); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-col a { display: block; padding: 0.32rem 0; font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--on-ink); }
.footer-contact { font-size: 0.9rem; line-height: 1.85; }
.footer-contact a { display: inline; }
.footer-bottom { border-top: 1px solid var(--border-ink); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.82rem; color: var(--on-ink-faint); }
.footer-bottom .legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { background: var(--surface); }
.legal-hero { background: var(--surface-ink); color: var(--on-ink); padding: clamp(52px, 8vw, 88px) 0 clamp(36px, 6vw, 56px); }
.legal-hero .brand { color: var(--on-ink); }
.legal-hero h1 { color: var(--on-ink); }
.legal-hero p { color: var(--on-ink-muted); margin: 0.5rem 0 0; }
.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(44px, 7vw, 72px) 24px; }
.legal-body h2 { font-size: 1.4rem; margin: 2.4rem 0 0.7rem; }
.legal-body h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.legal-body p, .legal-body li { color: var(--ink-secondary); font-size: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-toc { background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.4rem 1.6rem; margin-bottom: 2.4rem; }
.legal-toc h4 { font-weight: 700; margin: 0 0 0.7rem; }
.legal-toc a { color: var(--ink-secondary); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--on-ink-muted); margin-bottom: 1rem; font-size: 0.9rem; }
.legal-back:hover { color: var(--on-ink); }
.placeholder { background: var(--warning-bg); color: var(--warning); padding: 0.05em 0.35em; border-radius: 4px; font-weight: 600; }

/* ---------- Phone mockups ---------- */
.phone { width: 256px; background: #1c1917; border-radius: 38px; padding: 9px; box-shadow: var(--shadow-modal); position: relative; }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 108px; height: 20px; background: #1c1917; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { background: var(--surface); border-radius: 30px; overflow: hidden; height: 520px; display: flex; flex-direction: column; }
.phone__statusbar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 20px; font-size: 11px; font-weight: 600; color: var(--ink); }
.phone__statusbar .dots { display: flex; gap: 3px; }
.phone__statusbar .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); display: block; }

/* generic app pieces */
.p-head { padding: 4px 16px 10px; }
.p-loc { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.p-h { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; margin-top: 2px; color: var(--ink); }
.p-search { margin: 0 16px 10px; height: 32px; border-radius: 8px; background: var(--surface-inset); display: flex; align-items: center; padding: 0 12px; color: var(--ink-disabled); font-size: 12px; }
.p-chips { display: flex; gap: 6px; padding: 0 16px 12px; }
.p-chip { font-size: 11px; padding: 5px 11px; border-radius: 999px; background: var(--surface-inset); color: var(--ink-secondary); white-space: nowrap; }
.p-chip.on { background: var(--accent); color: #fff; }
.p-list { flex: 1; padding: 0 16px; display: flex; flex-direction: column; gap: 13px; }
.p-item { display: flex; align-items: center; gap: 9px; }
.p-thumb { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.p-item .n { flex: 1; min-width: 0; }
.p-item .n b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-item .n span { display: block; font-size: 11px; color: var(--ink-disabled); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-item .pr { font-size: 11px; font-weight: 700; color: var(--ink); flex: none; }
.p-add { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.p-bar { margin: 12px 16px 16px; height: 44px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-weight: 600; font-size: 12.5px; white-space: nowrap; }

/* wallet / checkout screen */
.p-wallet { margin: 0 16px 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 13px 16px; }
.p-wallet .lab { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-ink-faint); }
.p-wallet .bal { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.p-sum { margin: 0 16px; display: flex; flex-direction: column; gap: 9px; }
.p-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-secondary); }
.p-row.tot { border-top: 1px solid var(--border); padding-top: 9px; font-weight: 700; color: var(--ink); }
.p-note { margin: 11px 16px 0; font-size: 11px; color: var(--ink-disabled); display: flex; gap: 6px; align-items: flex-start; }

/* pickup screen */
.p-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22px; }
.p-check { width: 54px; height: 54px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin-bottom: 12px; }
.p-ready { font-weight: 700; font-size: 17px; color: var(--ink); }
.p-sub { font-size: 12px; color: var(--ink-disabled); margin-top: 4px; }
.p-codebox { margin-top: 16px; background: var(--accent-subtle); border: 1px dashed var(--accent-border); border-radius: 14px; padding: 14px 28px; }
.p-codebox .cl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; }
.p-codebox .cc { font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); margin-top: 2px; }

/* ---------- Hero visual (phone + floating chips) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.float-pill { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-raised); padding: 9px 13px; display: flex; gap: 9px; align-items: center; font-size: 12px; animation: floaty 5s ease-in-out infinite; }
.float-pill b { font-weight: 600; color: var(--ink); }
.float-pill span { color: var(--ink-disabled); font-size: 11px; }
.float-pill .pdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.float-pill--ready { top: 20%; right: 0; }
.float-pill--wallet { bottom: 16%; left: 0; animation-delay: 1.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Phone showcase ---------- */
.showcase { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.showcase figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 256px; }
.showcase figcaption { font-size: 0.92rem; color: var(--ink-secondary); text-align: center; }
.showcase figcaption b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; font-size: 1rem; }

/* ---------- Order lifecycle flow ---------- */
.flow-wrap { max-width: 840px; margin: 0 auto; }
.flow { display: flex; align-items: flex-start; justify-content: space-between; }
.flow-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.flow-step::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--accent-border); z-index: 0; }
.flow-step:first-child::before { display: none; }
.flow-step .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-border); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; z-index: 1; }
.flow-step.is-capture .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow-step .lab { font-size: 12.5px; font-weight: 600; margin-top: 9px; color: var(--ink); }
.flow-step .sub { font-size: 11px; color: var(--ink-disabled); margin-top: 2px; max-width: 12ch; }
.flow-legend { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.75rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-secondary); }
.flow-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.flow-legend .key { width: 12px; height: 12px; border-radius: 3px; }

/* ---------- Investors / backed by ---------- */
.backers { max-width: 960px; margin: 0 auto; }
.backers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.backer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-card); text-align: center; }
.backer .mark { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 13px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; }
.backer .mark svg { width: 26px; height: 26px; }
.backer h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); letter-spacing: -0.01em; }
.backer p { font-size: 0.9rem; color: var(--ink-secondary); margin: 0; }
.backer .tag { display: inline-block; margin-top: 0.9rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-subtle); padding: 0.3rem 0.7rem; border-radius: 999px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   onepublicgrid-inspired layer — translated into warm-stone + terracotta.
   Ink slabs, two-tone uppercase display headings, arrow-chip pill CTAs,
   drag-to-compare, dot-texture accents, giant outlined footer wordmark.
   ============================================================ */

/* two-tone uppercase display headings */
.section-head h2, .cta-band h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; }
.hl { color: var(--accent); }
.section--ink .hl, .slab .hl { color: var(--accent-light); }

/* primary CTA — ink pill with a circular arrow chip (their button anatomy) */
.btn-primary { padding-right: 0.55rem; }
.btn-primary::after {
  content: "\2192"; display: inline-grid; place-items: center;
  width: 1.6em; height: 1.6em; border-radius: 50%;
  background: rgba(255, 255, 255, 0.20); font-size: 0.8em; line-height: 1; margin-left: 0.1em;
}
.section--ink .btn-primary::after, .slab .btn-primary::after { background: rgba(28, 25, 23, 0.14); }

/* ---------- Ink slab (the recurring dark rounded block) ---------- */
.slab { position: relative; background: var(--surface-ink); color: var(--on-ink); border-radius: clamp(22px, 3vw, 40px); overflow: hidden; }
.slab h1, .slab h2, .slab h3 { color: var(--on-ink); }
.slab .lead { color: var(--on-ink-muted); }
.slab .eyebrow { color: var(--accent-light); }
.slab .btn-primary { background: var(--on-ink); color: var(--ink); }
.slab .btn-primary:hover { background: var(--on-ink-muted); }
.slab .btn-ghost { color: var(--on-ink); border-color: var(--border-ink); }
.slab .btn-ghost:hover { border-color: var(--on-ink); }

/* halftone dot-texture accent tab poking from the slab's top edge */
.dot-tab {
  position: absolute; top: 0; right: clamp(24px, 6vw, 72px);
  width: min(44%, 420px); height: 34px; border-radius: 0 0 14px 14px;
  background-image: radial-gradient(circle, var(--accent) 1.4px, transparent 1.7px);
  background-size: 9px 9px; opacity: 0.85;
}

/* ---------- Hero as an ink slab ---------- */
.hero::before { display: none; }
.hero-slab { padding: clamp(2.4rem, 5vw, 4rem); }
.hero-slab .hero-note { color: var(--on-ink-faint); }
.slab .phone { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* ---------- Reassurance pill chips ---------- */
.reassure { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.reassure .chip { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; padding: 0.4rem 0.8rem; border-radius: var(--r-pill); border: 1px solid var(--border-ink); color: var(--on-ink-muted); }
.reassure .chip svg { width: 14px; height: 14px; color: var(--accent-light); }
.section--surface .reassure .chip, .section--subtle .reassure .chip { border-color: var(--border); color: var(--ink-secondary); }
.section--surface .reassure .chip svg, .section--subtle .reassure .chip svg { color: var(--accent); }

/* ---------- Drag-to-compare ---------- */
.compare-drag {
  position: relative; max-width: 900px; margin: 0 auto; border-radius: 18px;
  overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-raised);
  touch-action: none; user-select: none; cursor: ew-resize;
}
.cd-panel { position: absolute; inset: 0; padding: clamp(1.3rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.cd-before { background: var(--surface-inset); align-items: flex-end; }
.cd-before .cd-card { text-align: right; }
.cd-after { background: var(--surface); clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); align-items: flex-start; }
.cd-tag { position: absolute; top: clamp(1.1rem, 3vw, 1.8rem); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cd-after .cd-tag { left: clamp(1.3rem, 3.5vw, 2.4rem); color: var(--accent); }
.cd-before .cd-tag { right: clamp(1.3rem, 3.5vw, 2.4rem); color: var(--ink-disabled); }
.cd-card { max-width: 300px; }
.cd-card b { display: block; font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.cd-before .cd-card b { color: var(--ink-secondary); }
.cd-meta { font-size: 0.9rem; color: var(--ink-disabled); margin-top: 0.4rem; }
.cd-cta { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); }
.cd-cta--go { background: var(--accent); color: #fff; }
.cd-cta--wait { background: var(--border-strong); color: #fff; }
.cd-ok { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--success); margin-left: 0.5rem; }
.cd-divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--accent); z-index: 3; transform: translateX(-1px); pointer-events: none; }
.cd-handle {
  position: absolute; top: 50%; left: var(--split, 50%); transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; z-index: 4; box-shadow: var(--shadow-raised); cursor: ew-resize;
}
.cd-handle svg { width: 22px; height: 22px; }

/* ---------- Folder-tab silhouette (signature card notch) ---------- */
.stat { position: relative; }

/* ---------- Giant outlined footer wordmark ---------- */
.footer-wordmark {
  font-weight: 900; text-transform: lowercase; font-style: italic; letter-spacing: -0.04em;
  line-height: 0.82; font-size: clamp(3.4rem, 15vw, 12rem); color: transparent;
  -webkit-text-stroke: 1px rgba(250, 249, 246, 0.13); margin: 1rem 0 0; white-space: nowrap;
  overflow: hidden; user-select: none; pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .order-card { margin: 0 auto; }
  .steps, .features, .mini-grid, .stats, .quotes { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.5rem 24px;
  }
  .nav-links.open a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .steps, .features, .mini-grid, .stats, .quotes, .footer-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 0.8rem 0.6rem; font-size: 0.9rem; }
  .compare-drag { aspect-ratio: 3 / 4; }
  .hero-slab { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
