/* ============================================================================
   BondR — shared design system. SINGLE SOURCE OF TRUTH for the marketing site.
   ----------------------------------------------------------------------------
   Every /bondr/*.html marketing page links this file:

       <link rel="stylesheet" href="/bondr/assets/bondr.css">

   WHY THIS EXISTS: until 2026-08-22 all 15 marketing pages each carried their
   OWN inline copy of these tokens and components. That is the same duplication
   that produced the drift documented in Uriel/Bondr/site/RETIRED.md — a mirror
   that looks current but has silently fallen behind. Tokens and shared
   components live HERE now. A page's <style> block should only contain layout
   rules unique to that page, and should reference these custom properties
   rather than hardcoding colour, radius, or shadow values.

   The header stays owned by /bondr/assets/bondr-header.js (namespaced .bhdr-*,
   self-contained by design so a page can never render an unstyled header).
   ============================================================================ */

@font-face{
  font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;
  src:url('/bondr/assets/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+2223,U+FEFF,U+FFFD;
}

/* ---------------------------------------------------------------- tokens -- */
:root{
  /* ink ------------------------------------------------------------------ */
  --navy:#0a1020;        /* legacy alias — kept so existing page CSS resolves */
  --navy-2:#0d1526;      /* footer ground, one step off --navy */
  --heading:#0a1020;     /* heading TEXT on light. Split from --band so a dark
                            theme can lighten type without lightening bands. */
  --band:#0a1020;        /* dark SECTION background */
  --ink:#182136;         /* body text on light */
  --slate:#4b5872;       /* secondary text */
  --muted:#6b788f;       /* tertiary / captions */

  /* brand ---------------------------------------------------------------- */
  --brand:#22d3ee;       /* cyan accent */
  --brand-ink:#032630;   /* text on cyan fills — dark ink, never white (a11y) */
  --brand-deep:#0e7490;  /* cyan as TEXT on white; contrast-safe */
  --brand-wash:#effcfe;  /* pale cyan section wash */
  --brand-line:#c3edf4;  /* hairline on a cyan wash */

  /* surfaces ------------------------------------------------------------- */
  --bg:#ffffff;
  --surface:#ffffff;     /* card / panel ground */
  --bg-soft:#fafbfd;     /* alt section band — near-white, not blue */
  --surface-2:#f4f6fa;   /* inset / recessed panel */

  /* lines ---------------------------------------------------------------- */
  --line:#e7ebf2;
  --line-soft:#f0f3f8;
  --line-strong:#d5dce8;
  --line-dark:#1b2438;   /* rules inside dark bands */

  /* status --------------------------------------------------------------- */
  --good:#0e9f6e;
  --warn:#b45309;
  --danger:#e11d48;

  /* radii — one consistent scale ---------------------------------------- */
  --r-xs:8px;
  --r-sm:10px;
  --radius:14px;
  --r-md:18px;
  --radius-lg:24px;
  --r-xl:32px;
  --r-full:999px;

  /* elevation ------------------------------------------------------------
     Layered hairline + micro-shadow. Deliberately NOT the single large blur
     these pages used to ship — a 48px blur at .28 alpha is the strongest
     visual "dated" signal on the page. Depth now comes from the 1px border
     plus a tight contact shadow. */
  --shadow-xs:0 1px 2px rgba(10,16,32,.05);
  --shadow-soft:0 1px 2px rgba(10,16,32,.04),0 2px 6px -2px rgba(10,16,32,.06);
  --shadow:0 1px 3px rgba(10,16,32,.05),0 10px 24px -12px rgba(10,16,32,.12);
  --shadow-lift:0 2px 4px rgba(10,16,32,.05),0 18px 34px -16px rgba(10,16,32,.17);

  /* motion --------------------------------------------------------------- */
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  --maxw:1140px;
}

/* ------------------------------------------------------------------ base -- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  font-synthesis-weight:none;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img,svg,video{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}

/* Visible focus for keyboard users only. The old sheets had no focus style at
   all outside the lead form, which fails WCAG 2.4.7. */
:focus-visible{outline:2px solid var(--brand-deep);outline-offset:2px;border-radius:4px}
:focus:not(:focus-visible){outline:none}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px;width:100%}
section{padding:96px 0}

/* ------------------------------------------------------------ typography -- */
/* Weight 700, not 800. At display sizes Inter 800 reads as a slab, and it is
   the second-strongest dated signal after the blur shadows. Tighter tracking
   compensates for the lighter weight so the headline keeps its authority. */
h1,h2,h3,h4{
  color:var(--heading);
  font-weight:700;
  letter-spacing:-.028em;
  line-height:1.1;
  text-wrap:balance;
}
h1{font-size:clamp(2.5rem,5vw,3.6rem);letter-spacing:-.035em}
h2{font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.032em}
h3{font-size:1.16rem;letter-spacing:-.02em;line-height:1.25}
p{text-wrap:pretty}

.eyebrow{
  display:inline-block;font-size:.78rem;font-weight:650;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--brand-deep);margin-bottom:14px;
}
.lead{font-size:1.1rem;color:var(--slate);max-width:44ch;line-height:1.6}
.sec-head{max-width:720px;margin:0 auto 56px;text-align:center}
.sec-head .lead{margin:14px auto 0}

/* --------------------------------------------------------------- buttons -- */
/* No coloured glow under the primary button. A 24px cyan bloom is a 2020
   pattern; the modern affordance is a solid fill, a crisp edge, and a small
   lift on hover. Text on cyan stays dark ink (--brand-ink) for contrast. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:650;font-size:.98rem;padding:12px 22px;
  border-radius:var(--r-sm);border:1px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),
             background .18s var(--ease),border-color .18s var(--ease);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

.btn-primary{background:var(--brand);color:var(--brand-ink);box-shadow:var(--shadow-xs)}
.btn-primary:hover{background:#3fdcf3;box-shadow:var(--shadow-soft)}

.btn-ghost{background:var(--surface);color:var(--heading);border-color:var(--line-strong)}
.btn-ghost:hover{background:var(--bg-soft);border-color:var(--muted)}

.btn-navy{background:var(--band);color:#fff}
.btn-navy:hover{background:#17203a}

.btn.sm{padding:9px 16px;font-size:.9rem;border-radius:var(--r-xs)}
.btn.lg{padding:15px 28px;font-size:1.03rem;border-radius:var(--radius)}

.on-dark .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.22)}
.on-dark .btn-ghost:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.38)}

.cta-row{display:flex;flex-wrap:wrap;gap:12px}

/* -------------------------------------------------------------- surfaces -- */
/* Shared card primitive. Page sheets should use .card (or at least these
   tokens) rather than re-declaring background/border/shadow per component. */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-soft);
}
.card-lift{transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}
.card-lift:hover{border-color:var(--line-strong);box-shadow:var(--shadow);transform:translateY(-2px)}

/* Accent-edge panel. Replaces the old 4px solid colour bar, which reads heavy
   and dated at card scale — 2px, with the wash carrying the emphasis. */
.accent-edge{border-left:2px solid var(--brand)}

.tg{
  font-size:.78rem;font-weight:600;color:var(--slate);
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-full);padding:6px 13px;
}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}

.flink{display:inline-flex;align-items:center;gap:6px;font-weight:650;color:var(--brand-deep)}
.flink:hover{gap:10px}

/* ------------------------------------------------------ App Store button -- */
/* Sits in a .cta-row beside the primary CTA, so it is sized to match .btn.lg
   rather than the small footer .store-badge. Dark fill on purpose: the cyan is
   the trial CTA, and a second cyan control would flatten the hierarchy.
   NOTE: this is the same in-house lockup the footer badge uses. Apple's
   Marketing Resources ask for their supplied "Download on the App Store"
   artwork used unmodified — swap both for the official SVG to be strictly
   compliant. */
.btn-appstore{
  display:inline-flex;align-items:center;gap:11px;
  background:var(--band);color:#fff;
  border:1px solid var(--band);border-radius:var(--radius);
  padding:12px 22px;white-space:nowrap;
  transition:transform .18s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease);
}
.btn-appstore:hover{background:#17203a;transform:translateY(-1px);box-shadow:var(--shadow-soft)}
.btn-appstore:active{transform:translateY(0)}
.btn-appstore svg{width:25px;height:25px;flex:none}
.btn-appstore .as-t{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.btn-appstore .as-t small{font-size:.66rem;color:#a3b1c8;font-weight:500;letter-spacing:.01em}
.btn-appstore .as-t b{font-size:1.02rem;font-weight:650;letter-spacing:-.015em;color:#fff}

/* ------------------------------------------------------------------- FAQ -- */
.faq{max-width:760px;margin:0 auto}
.faq details{border-bottom:1px solid var(--line);padding:4px 0}
.faq summary{
  list-style:none;cursor:pointer;padding:18px 4px;font-weight:650;
  color:var(--heading);display:flex;justify-content:space-between;
  align-items:center;gap:12px;
}
.faq summary::-webkit-details-marker{display:none}
/* Chevron rather than a "+"/"–" glyph — the character swap jumps the baseline
   and cannot animate. */
.faq summary::after{
  content:"";flex:none;width:9px;height:9px;
  border-right:2px solid var(--brand-deep);border-bottom:2px solid var(--brand-deep);
  transform:rotate(45deg) translateY(-2px);transition:transform .22s var(--ease);
}
.faq details[open] summary::after{transform:rotate(-135deg) translateY(1px)}
.faq .a{padding:0 4px 20px;color:var(--slate)}

/* ------------------------------------------------- dark bands / final CTA -- */
.final{background:var(--band);color:#fff;text-align:center}
.final h2{color:#fff}
.final p{color:#a3b1c8;max-width:52ch;margin:14px auto 26px}

/* ---------------------------------------------------------------- footer -- */
footer{background:var(--navy-2);color:#c0cce0;padding:64px 0 34px;border-top:1px solid var(--line-dark)}
.foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;margin-bottom:36px}
.foot-brand b{font-size:1.2rem;color:#fff;font-weight:700;letter-spacing:-.02em}
.foot-brand .r{color:var(--brand)}
.foot-brand p{font-size:.9rem;color:#8493ac;margin-top:10px;max-width:30ch}
.foot-col h4{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:#8493ac;margin-bottom:14px;font-weight:650}
.foot-col a{display:block;font-size:.92rem;color:#c0cce0;padding:5px 0;transition:color .15s var(--ease)}
.foot-col a:hover{color:#fff}
.foot-bottom{border-top:1px solid var(--line-dark);padding-top:22px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.foot-bottom p{font-size:.82rem;color:#75849e}
.disclaimer{font-size:.76rem;color:#68778f;line-height:1.6;margin-top:16px;max-width:none}

/* ---------------------------------------------------------------- reveal -- */
.r-up{opacity:0;transform:translateY(14px);transition:opacity .55s var(--ease-out),transform .55s var(--ease-out)}
.r-up.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .r-up{opacity:1!important;transform:none!important;transition:none}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ------------------------------------------------------------ responsive -- */
@media (max-width:960px){
  section{padding:68px 0}
  .sec-head{margin-bottom:40px}
  .foot-top{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  section{padding:56px 0}
  .foot-top{grid-template-columns:1fr}
}
