/* ===========================================================================
   Bini — thebiniapp.com
   Hand-written CSS. No frameworks, no external requests.

   1  Tokens              8  Trust strip
   2  Reset & base        9  Features
   3  Typography         10  Security & safety
   4  Layout            11  Premium
   5  Buttons & badges  12  Download & QR
   6  Navigation        13  Footer
   7  Hero & phones     14  Legal pages
                       14b  get.html
                        15  Motion & responsive
   =========================================================================== */

/* --- 1  Tokens ---------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-var.woff2?v=20261003') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-latin-var.woff2?v=20261003') format('woff2');
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces — this site is light paper. */
  --ground: #FAFAFC;
  --paper: #FFFFFF;
  --tint: #F3F4F9;
  --tint-warm: #FBF4F7;

  /* Ink. Ratios are against --paper (#FFFFFF); on --ground they lose ~4 %. */
  --ink: #14141A;          /* 18.35:1 */
  --ink-soft: #2F2F3B;     /* 13.20:1 */
  --ink-muted: #52525F;    /*  7.69:1 — body copy */
  --ink-dim: #67677A;      /*  5.53:1 — meta, captions */

  /* Pink — the second colourway. #FA1A79 is the icon pink and is DECORATIVE ONLY (3.83:1) —
     it may fill shapes and carry display type, never small text.
     The ink steps below are derived from it and all clear AA. */
  --pink: #FA1A79;
  --pink-ink: #D81B60;     /*  4.95:1 — links, small text, icons */
  --pink-deep: #C2185B;    /*  5.87:1 white-on-fill — solid buttons */
  --pink-press: #A9144E;   /*  7.25:1 white-on-fill — hover/active */
  --pink-soft: #FB77B7;    /* the front bubble of the mark */
  --pink-wash: rgba(250, 26, 121, 0.07);
  --pink-line: rgba(216, 27, 96, 0.22);

  /* Blue — the DEFAULT colourway since 2.0.2 (the store icon is blue). Same discipline. */
  --blue: #159FEF;
  --blue-ink: #0D6FBD;     /*  5.22:1 — links, small text, icons */
  --blue-deep: #0A5E9E;    /*  6.76:1 white-on-fill — solid buttons */
  --blue-press: #084B80;   /*  9.6:1 white-on-fill — hover/active */
  --blue-soft: #6FC9F7;    /* the front bubble of the mark */
  --blue-wash: rgba(21, 159, 239, 0.08);
  --blue-line: rgba(13, 111, 189, 0.20);

  /* Brand accent = the default colourway. Everything that is "the accent"
     (links, buttons, eyebrows, focus rings, rails) reads these; the two
     card colourways read --pink-* / --blue-* directly. Flip these six
     lines to move the site to the other colourway. */
  --brand: var(--blue);
  --brand-ink: var(--blue-ink);
  --brand-deep: var(--blue-deep);
  --brand-press: var(--blue-press);
  --brand-wash: var(--blue-wash);
  --brand-line: var(--blue-line);

  /* Hairlines and shadows — low opacity, wide, never heavy. */
  --line: rgba(20, 20, 26, 0.085);
  --line-strong: rgba(20, 20, 26, 0.14);
  --shadow-xs: 0 1px 2px rgba(20, 20, 26, 0.05);
  --shadow-sm: 0 1px 2px rgba(20, 20, 26, 0.04), 0 4px 12px rgba(20, 20, 26, 0.05);
  --shadow-md: 0 1px 2px rgba(20, 20, 26, 0.04), 0 10px 30px rgba(20, 20, 26, 0.07);
  --shadow-lg: 0 2px 8px rgba(20, 20, 26, 0.05), 0 28px 60px rgba(20, 20, 26, 0.11);
  --shadow-phone: 0 2px 6px rgba(20, 20, 26, 0.10), 0 30px 64px -18px rgba(28, 18, 44, 0.34);

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 0.35vw + 1.05rem, 1.25rem);
  --step-2: clamp(1.35rem, 0.6vw + 1.2rem, 1.6rem);
  --step-3: clamp(1.7rem, 1.2vw + 1.4rem, 2.25rem);
  --step-4: clamp(2.05rem, 2.2vw + 1.5rem, 3.1rem);
  --step-5: clamp(2.5rem, 4.2vw + 1.3rem, 4.5rem);

  /* Spacing & shape */
  --gutter: 24px;
  --measure: 62ch;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Legacy aliases — older markup referenced these names. */
  --dark: var(--ground);
  --dark-card: var(--paper);
  --card: var(--paper);
  --surface: var(--paper);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--ink-muted);
  --text-dim: var(--ink-dim);
  --white: #FFFFFF;
  --pink-accent: var(--pink-ink);
  --pink-subtle: var(--pink-wash);
}

/* --- 2  Reset & base ---------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-press); }

::selection { background: rgba(250, 26, 121, 0.16); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- 3  Typography ------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.012em; }
h4 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.008em; }

p { text-wrap: pretty; }

.accent { color: var(--brand-ink); }
.accent-pink { color: var(--pink-ink); }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 18px;
}
.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head { max-width: 42rem; margin-bottom: 52px; }
.section-head.is-centred { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: var(--step-1); color: var(--ink-muted); }
.section-head.is-centred p { margin-left: auto; margin-right: auto; }

/* --- 4  Layout ---------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }

/* --- 5  Buttons & store badges ------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease,
              transform 0.18s ease;
}
.btn--primary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 26, 0.10), 0 6px 18px rgba(194, 24, 91, 0.22);
}
.btn--primary:hover { background: var(--brand-press); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-dim); }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.store-badge img { display: block; width: auto; }
/* Apple's badge artwork fills its viewBox, so the required clear space
   (10% of badge height) is added here. Google's PNG carries its own. */
.store-badge--apple { padding: 4px; }
.store-badge--apple img { height: 44px; }
.store-badge--play img { height: 66px; }
.store-badge:hover { transform: translateY(-1px); opacity: 0.88; }

.store-note {
  margin-top: 16px;
  font-size: var(--step--1);
  color: var(--ink-dim);
}
.store-note a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.store-note a:hover { color: var(--brand-ink); text-decoration-color: currentColor; }

/* --- 6  Navigation ------------------------------------------------------ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .navbar { -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(20, 20, 26, 0.05);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}
.nav-logo:hover { color: var(--ink); }
.nav-mark { width: 30px; height: 30px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--ink-muted);
  font-size: var(--step--1);
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(20, 20, 26, 0.045); }
.nav-links .nav-cta { margin-left: 8px; }

.nav-cta {
  background: var(--brand-deep);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 20px !important;
  box-shadow: 0 1px 2px rgba(20, 20, 26, 0.10), 0 5px 14px rgba(194, 24, 91, 0.20);
}
.nav-cta:hover { background: var(--brand-press) !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 1.8px;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(20, 20, 26, 0.08);
  padding: 14px var(--gutter) 26px;
  flex-direction: column;
  gap: 2px;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .mobile-menu { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  border-radius: var(--radius-pill);
  border-bottom: 0;
  padding: 14px 20px !important;
}

/* --- 7  Hero & the phone frame ------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5.5vw, 76px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-eyebrow {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  margin-bottom: 22px;
}
.hero-eyebrow .dot { display: none; }

.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }

.hero-sub {
  font-size: var(--step-1);
  line-height: 1.58;
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 32px;
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3% 0 6%;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  /* Each blob's transparent stop is set so its effective radius stays INSIDE
     this box; otherwise the element's own rectangle becomes visible. */
  inset: -22% -18% -12%;
  background:
    radial-gradient(44% 40% at 36% 34%, rgba(21, 159, 239, 0.34) 0%, rgba(21, 159, 239, 0) 78%),
    radial-gradient(40% 36% at 68% 70%, rgba(250, 26, 121, 0.30) 0%, rgba(250, 26, 121, 0) 80%),
    radial-gradient(34% 30% at 60% 26%, rgba(111, 201, 247, 0.22) 0%, rgba(111, 201, 247, 0) 78%);
  filter: blur(8px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 100%;
  padding: 2.4%;
  background: linear-gradient(160deg, #23232C 0%, #0E0E13 42%, #191921 100%);
  border-radius: 12.9% / 6.1%;
  box-shadow: var(--shadow-phone);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 12.8% / 6.05%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.phone img {
  width: 100%;
  border-radius: 11% / 5.06%;
  background: #fff;
}

.hero-phone-a { width: 54%; transform: rotate(-3.5deg); z-index: 1; }
.hero-phone-b { width: 48.5%; margin-left: -10%; margin-top: 11%; transform: rotate(4deg); z-index: 2; }

/* --- 8  Trust strip ----------------------------------------------------- */

.trust { padding-bottom: 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trust-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 20px 20px 18px;
}
.trust-tile strong {
  display: block;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 4px;
}
.trust-tile span { font-size: var(--step--1); color: var(--ink-dim); }

/* --- 9  Features -------------------------------------------------------- */

.f-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px 30px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: 0.975rem; line-height: 1.62; }
.card p + p { margin-top: 10px; }

.card--pink { --card-accent: var(--pink-ink); --card-wash: var(--pink-wash); }
.card--blue { --card-accent: var(--blue-ink); --card-wash: var(--blue-wash); }
.card--pink:hover { border-color: var(--pink-line); }
.card--blue:hover { border-color: var(--blue-line); }

.card-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--card-accent, var(--brand-ink));
  margin-bottom: 9px;
}

/* Cards with a screenshot: the shot sits in a washed well above the copy. */
.card--shot { padding: 0; display: flex; flex-direction: column; }
.card-well {
  position: relative;
  height: 262px;
  padding: 28px 24px 0;
  background:
    radial-gradient(74% 62% at 50% 6%, var(--card-wash, var(--brand-wash)) 0%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(180deg, var(--tint) 0%, rgba(255, 255, 255, 0) 92%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}
.card-well .phone { width: min(206px, 62%); }
.card--span3 .card-well { height: 372px; padding-top: 32px; }
.card--span3 .card-well .phone { width: min(226px, 44%); }
.card-body { padding: 20px 26px 28px; }

.card--span3 { grid-column: span 3; }
.card--span2 { grid-column: span 2; }
.card--wide { grid-column: span 6; }

/* The two wide cards run the shot beside the copy. */
.card--wide {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 0;
  padding: 0;
}
.card--wide .card-well {
  height: 408px;
  align-items: flex-start;
  padding: 40px 30px 0;
}
.card--wide .card-well .phone { width: min(242px, 62%); }

.card--wide .card-body { padding: 38px clamp(28px, 3.4vw, 46px); }
.card--wide h3 { font-size: var(--step-3); }
.card--wide p { font-size: var(--step-0); }
.card--flip .card-well { order: 2; }
.card--flip .card-body { order: 1; }

/* Icon cards */
.card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--card-wash, var(--brand-wash));
  color: var(--card-accent, var(--brand-ink));
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--brand-ink)) 20%, transparent);
}
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none;
                 stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.colourway-marks { display: flex; gap: 10px; margin-bottom: 18px; }
.colourway-marks svg { width: 40px; height: 40px; }

.card-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 0 6px; padding: 0; list-style: none; }
.card-list li { font-size: 0.8rem; color: var(--ink-muted); }
.card-list li + li::before { content: "\00B7"; margin-right: 6px; color: var(--ink-dim); }

/* --- 10  Security & safety ---------------------------------------------- */

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sec-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 28px 26px 30px;
}
.sec-card h3 { font-size: var(--step-1); margin-bottom: 10px; }
.sec-card p { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.64; }
.sec-card p + p { margin-top: 9px; }
.sec-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.87em;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}

.safety {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.safety-main { padding: 30px clamp(24px, 3vw, 34px); }
.safety-main h3 { font-size: var(--step-1); margin-bottom: 10px; }
.safety-main p { color: var(--ink-muted); font-size: 0.975rem; }
.safety-main p + p { margin-top: 10px; }
.safety-side {
  padding: 30px clamp(24px, 3vw, 34px);
  background: var(--tint-warm);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.safety-side dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 3px;
}
.safety-side dd { font-size: 0.975rem; color: var(--ink-soft); }
.safety-side dd + dt { margin-top: 12px; }

/* --- 11  Premium -------------------------------------------------------- */

.premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(38% 78% at 8% 16%, rgba(21, 159, 239, 0.055) 0%, rgba(250, 26, 121, 0) 72%),
    radial-gradient(36% 78% at 96% 92%, rgba(250, 26, 121, 0.06) 0%, rgba(21, 159, 239, 0) 74%),
    var(--paper);
  border-block: 1px solid var(--line);
}
.premium-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.premium h2 { font-size: var(--step-3); }
.premium p { margin-top: 14px; color: var(--ink-muted); font-size: var(--step-1); max-width: 34ch; }
.premium-unlocks { display: grid; gap: 12px; }
.premium-unlocks li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.premium-unlocks svg {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  stroke: var(--brand-ink); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.premium-unlocks strong { display: block; font-weight: 600; font-size: 0.98rem; }
.premium-unlocks span { font-size: 0.9rem; color: var(--ink-muted); }

/* --- 12  Download & QR -------------------------------------------------- */

.download-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.download-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 120%;
  background:
    radial-gradient(50% 50% at 30% 50%, rgba(21, 159, 239, 0.10) 0%, rgba(250, 26, 121, 0) 70%),
    radial-gradient(50% 50% at 78% 62%, rgba(250, 26, 121, 0.12) 0%, rgba(21, 159, 239, 0) 72%);
  pointer-events: none;
}
.download-card > * { position: relative; }
.download-card h2 { font-size: var(--step-4); }
.download-card > div > p { margin-top: 16px; color: var(--ink-muted); font-size: var(--step-1); max-width: 40ch; }
.download-card .store-row { margin-top: 30px; }

.qr-block { text-align: center; }
.qr-frame {
  width: 176px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.qr-frame svg { width: 100%; height: auto; }
.qr-block figcaption {
  margin-top: 13px;
  font-size: var(--step--1);
  color: var(--ink-dim);
  max-width: 196px;
  line-height: 1.45;
}

/* --- 13  Footer --------------------------------------------------------- */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 54px 0 46px;
}
.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 30px;
  align-items: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}
.footer-brand svg, .footer-mark { width: 30px; height: 30px; flex: none; }
.footer-tag { margin-top: 12px; font-size: var(--step--1); color: var(--ink-dim); max-width: 30ch; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-content: start;
}
.footer-links a {
  color: var(--ink-muted);
  font-size: var(--step--1);
  font-weight: 500;
}
.footer-links a:hover { color: var(--brand-ink); }
.footer-legal {
  grid-column: 1 / -1;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: space-between;
}
.footer-operator, .footer-copy { font-size: var(--step--1); color: var(--ink-dim); }
.footer-operator strong { color: var(--ink-muted); font-weight: 600; }

/* --- 14  Legal pages ---------------------------------------------------- */

.legal-page { padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 8vw, 104px); }

.legal-header { text-align: center; margin-bottom: 40px; }
.legal-header h1 { font-size: var(--step-4); margin-bottom: 14px; }
.legal-meta { color: var(--ink-dim); font-size: var(--step--1); }

.legal-intro {
  font-size: var(--step-1);
  color: var(--ink-muted);
  line-height: 1.68;
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  text-wrap: pretty;
}

.legal-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 0 auto 52px;
  max-width: 720px;
}
.legal-toc-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.legal-toc ol { counter-reset: toc; }
.legal-toc ol li { counter-increment: toc; margin-bottom: 9px; }
.legal-toc ol li:last-child { margin-bottom: 0; }
.legal-toc ol li a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.legal-toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 22px;
  flex: none;
}
.legal-toc ol li a:hover { color: var(--brand-ink); }

.legal-content { max-width: 720px; margin: 0 auto; }
.legal-section { margin-bottom: 52px; scroll-margin-top: 100px; }
/* Specificity note: `.legal-section p` below would otherwise win over a bare
   class here, which is why the section number is qualified. */
.legal-section p.legal-section-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-ink);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.legal-section p.legal-section-num::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand-line);
}
.legal-section h2 { font-size: var(--step-2); margin-bottom: 16px; }
.legal-section h3 { font-size: 1.1rem; margin: 26px 0 11px; }
.legal-section p {
  color: var(--ink-muted);
  line-height: 1.78;
  margin-bottom: 14px;
  font-size: 0.975rem;
}
.legal-section ul, .legal-section ol { margin: 12px 0 18px 22px; }
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li {
  color: var(--ink-muted);
  line-height: 1.78;
  margin-bottom: 9px;
  font-size: 0.975rem;
  padding-left: 4px;
}
.legal-section li::marker { color: var(--ink-dim); }
.legal-section li strong, .legal-section p strong { color: var(--ink); font-weight: 600; }
.legal-section em { font-style: italic; }
.legal-section a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brand-line);
  text-underline-offset: 2px;
}
.legal-section a:hover { color: var(--brand-press); text-decoration-color: currentColor; }

.legal-highlight {
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-left: 3px solid var(--brand-deep);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-highlight p { color: var(--ink-soft); }
.legal-highlight p:last-child { margin-bottom: 0; }

.legal-caps { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.015em; line-height: 1.9; }

.legal-divider { height: 1px; background: var(--line); margin: 52px auto; max-width: 720px; }

.legal-back-top { display: inline-block; font-size: 0.78rem; color: var(--ink-dim); margin-top: 8px; }
.legal-back-top:hover { color: var(--brand-ink); }

/* --- 14b  get.html ------------------------------------------------------ */

.get-body { background: var(--ground); }

.get-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  background:
    radial-gradient(46% 34% at 26% 10%, rgba(21, 159, 239, 0.16) 0%, rgba(250, 26, 121, 0) 70%),
    radial-gradient(44% 34% at 82% 92%, rgba(250, 26, 121, 0.16) 0%, rgba(21, 159, 239, 0) 72%);
}

.get-card {
  width: 100%;
  max-width: 460px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(30px, 6vw, 46px) clamp(22px, 5vw, 40px) clamp(26px, 5vw, 38px);
}

.get-mark { width: 62px; height: 62px; margin: 0 auto 20px; }
.get-card h1 { font-size: var(--step-3); margin-bottom: 12px; }
.get-lede { color: var(--ink-muted); font-size: var(--step-0); margin: 0 auto 26px; max-width: 34ch; }

.get-store-row { justify-content: center; }
.get-qr { margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
.get-qr .qr-frame { width: 158px; }
.get-back { margin-top: 28px; font-size: var(--step--1); }
.get-back a { color: var(--ink-dim); }
.get-back a:hover { color: var(--brand-ink); }

.get-noscript {
  text-align: center;
  font-size: var(--step--1);
  color: var(--ink-dim);
  padding: 0 var(--gutter) 40px;
}

/* --- 15  Motion & responsive -------------------------------------------- */

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.has-js .reveal--d1 { transition-delay: 70ms; }
.has-js .reveal--d2 { transition-delay: 140ms; }
.has-js .reveal--d3 { transition-delay: 210ms; }
body.is-locked { overflow: hidden; }
.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s cubic-bezier(0.22, 0.68, 0.32, 1),
              transform 0.55s cubic-bezier(0.22, 0.68, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal, .has-js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .card--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .card--wide .card-well .phone { width: min(206px, 74%); }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { text-align: center; }
  .hero-sub, .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-copy .store-row { justify-content: center; }
  .hero-phones { max-width: 460px; margin: 22px auto 0; }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-inner { grid-template-columns: 1fr; }
  .premium p { max-width: none; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-card > div > p { margin-left: auto; margin-right: auto; }
  .download-card .store-row { justify-content: center; }
  .qr-block { display: flex; flex-direction: column; align-items: center; }
  .safety { grid-template-columns: 1fr; }
  .safety-side { border-left: 0; border-top: 1px solid var(--line); }
  .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card--span3, .card--span2 { grid-column: span 1; }
  .card--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .card--wide .card-well { order: 2; height: 300px; min-height: 0; padding: 30px 30px 0;
                           align-items: flex-start; }
  .card--wide .card-body { order: 1; padding: 28px 26px 0; }
  .card--wide .card-well .phone { width: min(214px, 56%); margin-bottom: 0; }
  .card--span3 .card-well { height: 300px; }
  .card--span3 .card-well .phone { width: min(206px, 62%); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .trust-tile { padding: 17px 17px 16px; }
  .trust-tile strong { font-size: 1.16rem; }
  .f-grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .sec-grid { grid-template-columns: 1fr; }
  .card-well .phone,
  .card--span3 .card-well .phone,
  .card--wide .card-well .phone { width: min(216px, 58%); }
  .card-well, .card--span3 .card-well, .card--wide .card-well { height: 288px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .store-badge--apple img { height: 40px; }
  .store-badge--play img { height: 60px; }
  .legal-toc { padding: 22px 22px; }
  .legal-intro { text-align: left; }
  .legal-header { text-align: left; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 420px) {
  .store-row { width: 100%; justify-content: center; }
}

@media (max-width: 359px) {
  .trust-grid { grid-template-columns: 1fr; }
}
