/* ============================================================
   Syncc — public homepage ("/") · design-mocks "Syncc — Home"
   Full-bleed responsive marketing landing: navy-aurora hero +
   floating glass My Day preview, feature grid, devices strip,
   trust line, footer. (Phone collapses to the single-column
   "Syncc — Home (iPhone)" shape.)

   Standalone page (index.html does NOT extend base.html). Loaded
   on top of brand.css, so the accent comes from the app's System-A
   brand tokens — pre-login has no per-user palette, so the mockup's
   [data-palette] layer is dropped and color follows the school/brand
   default (currently teal). The `--h-*` locals below are defined ONCE
   from those tokens (color-mix only); no component rule hard-codes a
   hex. The only literal hex are the OAuth provider logos (n/a here)
   and the rgba(255,255,255,…) glass tints the mockup uses.

   TOKEN MAPPING (mockup → brand.css):
     mock --navy           → --brand-navy / --brand-page-deep
     mock --accent         → --brand-teal
     mock --accent-bright  → --brand-teal-bright
     mock --card           → --h-card   (navy-derived)
     mock --ink / -2 / -3  → --h-ink*   (white-tint hierarchy)
     mock --hairline       → --h-hairline
   ============================================================ */

.landing-body {
  /* Surface tokens — the homepage is always the dark navy surface. */
  --navy: var(--brand-navy);
  --accent: var(--brand-teal);
  --accent-bright: var(--brand-teal-bright);

  --page: var(--brand-page-deep);
  --h-card: #111A2C;
  --h-card-border: rgba(255, 255, 255, 0.08);
  --h-card-glass: rgba(20, 29, 47, 0.62);
  --h-ink: #EAF0FA;
  --h-ink-2: #98A4BB;
  --h-ink-3: #5F6B82;
  --h-hairline: rgba(255, 255, 255, 0.08);
  --h-good: #34D399;

  /* iPhone device-frame chrome — fixed neutral (a real-device bezel),
     not a brand colour, so it stays constant across palette/theme. */
  --device-edge:  #2A2F3B;
  --device-bezel: #0A0C12;
  --device-notch: #05070C;

  --hero-on-navy: #F3F7FF;
  --hero-on-navy-2: rgba(243, 247, 255, 0.66);
  --hero-on-navy-3: rgba(243, 247, 255, 0.42);
  --hero-line: rgba(255, 255, 255, 0.07);

  --accent-on: #06121A;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--h-card));
  --accent-ink: color-mix(in srgb, var(--accent) 30%, var(--h-ink));
  --accent-ink-strong: color-mix(in srgb, var(--accent) 64%, var(--h-ink));
  --rail-line: color-mix(in srgb, var(--h-ink) 16%, var(--h-card));
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 44px -20px rgba(0, 0, 0, 0.78);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.landing-body {
  margin: 0; min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  background: var(--page); color: var(--h-ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.landing-body a { color: inherit; text-decoration: none; }
.landing-body button { font-family: inherit; }
.gut { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 64px; color: var(--hero-on-navy);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--page) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 var(--h-hairline);
  color: var(--h-ink);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); color: var(--accent-bright); position: relative; overflow: hidden;
  box-shadow: 0 4px 14px -5px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.brand .mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 100% 0%, color-mix(in srgb, var(--accent-bright) 55%, transparent), transparent 60%);
}
.brand .mark svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.brand .mark img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.brand .wm { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand .wm .s, .brand .wm em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

.topbar .nav-actions { display: flex; align-items: center; gap: 10px; }
.topbar .nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; height: 44px; padding: 0 13px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; color: inherit; opacity: 0.82;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.nav-link:hover { opacity: 1; background: color-mix(in srgb, var(--hero-on-navy) 10%, transparent); }
.topbar.scrolled .nav-link:hover { background: color-mix(in srgb, var(--h-ink) 6%, transparent); }
.lnk-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; min-height: 44px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  font-size: 14.5px; font-weight: 560; letter-spacing: -0.01em;
  background: transparent; border: 1px solid transparent; color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.topbar:not(.scrolled) .lnk-ghost { border-color: color-mix(in srgb, var(--hero-on-navy) 22%, transparent); }
.topbar:not(.scrolled) .lnk-ghost:hover { background: color-mix(in srgb, var(--hero-on-navy) 12%, transparent); }
.topbar.scrolled .lnk-ghost { border-color: var(--h-hairline); }
.topbar.scrolled .lnk-ghost:hover { background: color-mix(in srgb, var(--h-ink) 6%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; min-height: 44px; padding: 0 20px; border-radius: 13px; cursor: pointer;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border: 1px solid transparent;
  transition: transform 0.14s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 18px; height: 18px; }
.btn-fill { background: var(--accent); color: var(--accent-on); box-shadow: 0 12px 26px -14px var(--accent); }
.btn-fill:hover { filter: brightness(1.05); }
.btn-lg { height: 52px; min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 15px; }
.btn-onnavy-ghost {
  background: color-mix(in srgb, var(--hero-on-navy) 9%, transparent); color: var(--hero-on-navy);
  border: 1px solid color-mix(in srgb, var(--hero-on-navy) 22%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-onnavy-ghost:hover { background: color-mix(in srgb, var(--hero-on-navy) 15%, transparent); }

/* ============================================================
   HERO · navy aurora
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate; margin-top: -64px; padding-top: 64px;
  /* Full-bleed: cancel the .gut max-width/padding so the navy aurora spans
     the whole viewport; .hero-inner re-centers the content to match the
     rest of the page. */
  max-width: none; padding-inline: 0;
  color: var(--hero-on-navy);
  background:
    radial-gradient(70% 60% at 88% -8%, color-mix(in srgb, var(--accent-bright) 52%, transparent) 0%, transparent 56%),
    radial-gradient(54% 50% at 104% 6%, color-mix(in srgb, var(--accent) 46%, transparent) 0%, transparent 60%),
    radial-gradient(90% 80% at 6% 116%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 62%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--hero-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask: radial-gradient(70% 70% at 100% 0%, #000 0%, transparent 64%);
          mask: radial-gradient(70% 70% at 100% 0%, #000 0%, transparent 64%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(34px, 5vw, 72px);
  padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(64px, 9vw, 116px);
}
.hero-copy { max-width: 640px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 13px 0 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--hero-on-navy) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-on-navy) 18%, transparent);
  color: var(--hero-on-navy); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero .eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-bright); animation: hpulse 2.6s infinite;
}
@keyframes hpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-bright) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero h1 {
  margin-top: 22px; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02;
  font-weight: 720; letter-spacing: -0.03em; text-wrap: balance;
}
.hero h1 .ser, .hero h1 em {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  letter-spacing: 0; color: var(--accent-bright); padding-right: 0.04em;
  text-shadow: 0 0 38px color-mix(in srgb, var(--accent-bright) 42%, transparent);
}
.hero .sub {
  margin-top: 20px; font-size: clamp(16px, 1.5vw, 19.5px); line-height: 1.5; max-width: 482px;
  color: var(--hero-on-navy-2); font-weight: 440;
}
.hero-cta { display: flex; align-items: center; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--hero-on-navy-3); flex-wrap: wrap; }
.hero-trust svg { width: 16px; height: 16px; }
.hero-trust .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* ---------- floating glass My Day preview ---------- */
.preview-wrap { position: relative; justify-self: end; width: 100%; max-width: 392px; }
.preview-wrap .glow {
  position: absolute; inset: -12% -8% -16% -8%; z-index: 0; border-radius: 40px;
  background: radial-gradient(60% 50% at 70% 18%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  filter: blur(34px); opacity: 0.8;
}
/* iPhone device frame around the My Day preview — "the app, on your phone".
   The .preview becomes the screen; the frame carries the depth + the float. */
.iphone {
  position: relative; z-index: 1; width: 300px; max-width: 100%; margin: 0 auto;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(150deg, var(--device-edge), var(--device-bezel));
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    0 48px 90px -34px rgba(3, 7, 18, 0.85), 0 18px 44px -22px rgba(3, 7, 18, 0.6);
  animation: floaty 7s ease-in-out infinite;
}
.iphone-notch {
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 25px; border-radius: 13px; background: var(--device-notch); z-index: 3;
}
.preview {
  position: relative; z-index: 1; border-radius: 41px; overflow: hidden;
  background: var(--h-card);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hero-on-navy) 7%, transparent);
}
/* status-bar clearance so the greeting sits below the dynamic island */
.preview .pv-hero { padding-top: 40px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .iphone { animation: none; } .hero .eyebrow .dot { animation: none; } }

.pv-hero {
  position: relative; overflow: hidden; padding: 20px 20px 34px; color: var(--hero-on-navy);
  background:
    radial-gradient(120% 90% at 92% -18%, color-mix(in srgb, var(--accent-bright) 58%, transparent) 0%, transparent 54%),
    radial-gradient(80% 64% at 106% 4%, color-mix(in srgb, var(--accent) 48%, transparent) 0%, transparent 60%),
    var(--navy);
}
.pv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--hero-line) 1px, transparent 1px), linear-gradient(to bottom, var(--hero-line) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask: radial-gradient(72% 72% at 100% -4%, #000 0, transparent 62%); mask: radial-gradient(72% 72% at 100% -4%, #000 0, transparent 62%);
}
.pv-hero > * { position: relative; z-index: 1; }
.pv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pv-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hero-on-navy-2); }
.pv-greet { margin-top: 6px; font-size: 21px; line-height: 1.06; font-weight: 680; letter-spacing: -0.015em; }
.pv-greet .name {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.22em;
  color: var(--accent-bright); letter-spacing: 0; text-shadow: 0 0 22px color-mix(in srgb, var(--accent-bright) 45%, transparent);
}
.pv-av {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--hero-on-navy) 14%, transparent); border: 1px solid color-mix(in srgb, var(--hero-on-navy) 26%, transparent);
  color: var(--hero-on-navy); font-weight: 650; font-size: 12.5px;
}
.pv-chips { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.pv-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 560; background: color-mix(in srgb, var(--hero-on-navy) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-on-navy) 18%, transparent); color: var(--hero-on-navy);
}
.pv-chip.day { background: color-mix(in srgb, var(--accent) 86%, var(--navy)); border-color: transparent; color: var(--navy); font-weight: 650; }
.pv-chip svg { width: 13px; height: 13px; }

.pv-body { padding: 0 14px 16px; }
.pv-now {
  margin-top: -14px; position: relative; z-index: 2; display: flex; align-items: center; gap: 13px;
  padding: 13px; border-radius: 18px; background: var(--h-card-glass); border: 1px solid var(--h-card-border);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.pv-ring { flex: 0 0 auto; width: 62px; height: 62px; position: relative; display: grid; place-items: center; }
.pv-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pv-ring .track { stroke: color-mix(in srgb, var(--h-ink) 12%, transparent); }
.pv-ring .prog { stroke: var(--accent); stroke-linecap: round; }
.pv-ring .num { font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pv-ring .unit { font-size: 8px; font-weight: 600; color: var(--h-ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1px; }
.pv-now-main { flex: 1; min-width: 0; }
.pv-pill {
  display: inline-flex; align-items: center; gap: 5px; height: 19px; padding: 0 8px; border-radius: 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-ink);
}
.pv-pill .pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.pv-now-title { margin-top: 7px; font-size: 15.5px; font-weight: 680; letter-spacing: -0.01em; }
.pv-now-sub { margin-top: 3px; font-size: 11.5px; color: var(--h-ink-2); }

.pv-pass {
  display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px 11px; border-radius: 14px;
  background: color-mix(in srgb, var(--h-good) 9%, var(--h-card)); border: 1px solid color-mix(in srgb, var(--h-good) 30%, var(--h-hairline));
}
.pv-pass .pt {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--h-good) 18%, var(--h-card)); color: var(--h-good);
}
.pv-pass .pt svg { width: 16px; height: 16px; }
.pv-pass .pinfo { flex: 1; min-width: 0; }
.pv-pass .pn { font-size: 12.5px; font-weight: 620; letter-spacing: -0.01em; }
.pv-pass .pm { font-size: 11px; color: var(--h-ink-2); margin-top: 1px; }
.pv-pass .pstat { font-size: 10.5px; font-weight: 650; color: var(--h-good); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pv-pass .pstat svg { width: 12px; height: 12px; }

.pv-sec {
  display: flex; align-items: center; gap: 7px; height: 26px; margin-top: 13px; padding: 0 10px; border-radius: 9px;
  background: var(--accent-soft); color: var(--h-ink); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.pv-sec svg { width: 13px; height: 13px; color: var(--accent-ink-strong); }
.pv-sched { margin-top: 8px; padding-left: 2px; }
.pv-row { position: relative; display: grid; grid-template-columns: 42px 16px 1fr; align-items: center; gap: 9px; padding: 6px 4px; }
.pv-row .t { text-align: right; font-size: 10.5px; color: var(--h-ink-2); font-variant-numeric: tabular-nums; line-height: 1.2; }
.pv-row .node { position: relative; display: flex; justify-content: center; align-self: stretch; }
.pv-row .node::before { content: ""; position: absolute; top: -8px; bottom: -8px; left: 50%; width: 2px; transform: translateX(-50%); background: var(--rail-line); }
.pv-row:first-child .node::before { top: 50%; }
.pv-row:last-child .node::before { bottom: 50%; }
.pv-row .dot { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--h-card); border: 2px solid var(--rail-line); }
.pv-row.past .dot { background: var(--h-ink-3); border-color: var(--h-ink-3); }
.pv-row .info .ti { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.pv-row .info .mi { font-size: 10px; color: var(--h-ink-3); margin-top: 1px; }
.pv-row.past .info .ti { color: var(--h-ink-2); }
.pv-row.now { background: var(--accent-soft); border-radius: 10px; }
.pv-row.now::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--accent); }
.pv-row.now .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.pv-row.now .info .ti { font-weight: 680; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: clamp(64px, 8vw, 116px); }
.sec-head { max-width: 680px; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-ink-strong);
}
.sec-kicker svg { width: 14px; height: 14px; }
.section h2 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.section h2 .ser { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-ink-strong); letter-spacing: 0; }
.section .lead { margin-top: 16px; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.5; color: var(--h-ink-2); max-width: 540px; }

/* ---------- feature grid ---------- */
.feat-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  position: relative; padding: 24px; border-radius: 20px; background: var(--h-card); border: 1px solid var(--h-hairline);
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 32%, var(--h-hairline)); }
.feat .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink-strong); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin-top: 18px; font-size: 18.5px; font-weight: 660; letter-spacing: -0.02em; }
.feat p { margin-top: 7px; font-size: 14.5px; line-height: 1.45; color: var(--h-ink-2); }
.feat .arrow {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600;
  color: var(--accent-ink-strong); opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.feat .arrow svg { width: 15px; height: 15px; }
.feat:hover .arrow { opacity: 1; transform: translateX(0); }

/* ---------- devices strip ---------- */
.devices {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; color: var(--hero-on-navy);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px);
  background:
    radial-gradient(60% 80% at 92% 0%, color-mix(in srgb, var(--accent-bright) 40%, transparent) 0%, transparent 56%),
    var(--navy);
}
.devices::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--hero-line) 1px, transparent 1px), linear-gradient(to bottom, var(--hero-line) 1px, transparent 1px);
  background-size: 30px 30px; -webkit-mask: radial-gradient(60% 80% at 96% 0%, #000 0, transparent 60%); mask: radial-gradient(60% 80% at 96% 0%, #000 0, transparent 60%);
}
.devices > * { position: relative; z-index: 1; }
.devices .dv-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-bright); }
.devices h2 { margin-top: 14px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; max-width: 560px; }
.devices h2 .ser { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-bright); letter-spacing: 0; }
.dv-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.dv {
  flex: 1 1 180px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: color-mix(in srgb, var(--hero-on-navy) 7%, transparent); border: 1px solid color-mix(in srgb, var(--hero-on-navy) 14%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.dv .dvic {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--hero-on-navy) 10%, transparent); color: var(--accent-bright);
  border: 1px solid color-mix(in srgb, var(--hero-on-navy) 16%, transparent);
}
.dv .dvic svg { width: 24px; height: 24px; }
.dv .dvt { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.dv .dvm { font-size: 12.5px; color: var(--hero-on-navy-3); margin-top: 2px; }

/* ---------- trust line ---------- */
.trust { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--h-hairline); }
.trust .ti { display: flex; align-items: flex-start; gap: 13px; flex: 1 1 280px; }
.trust .ti .tic {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink-strong); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.trust .ti .tic svg { width: 21px; height: 21px; }
.trust .ti .tt { font-size: 15.5px; font-weight: 620; letter-spacing: -0.01em; }
.trust .ti .tm { font-size: 13.5px; line-height: 1.45; color: var(--h-ink-2); margin-top: 3px; max-width: 320px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--h-hairline); padding-block: 48px 40px; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand .wm { color: var(--h-ink); }
.foot-blurb { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--h-ink-3); max-width: 280px; }
.foot-cols { display: flex; gap: clamp(36px, 6vw, 88px); flex-wrap: wrap; }
.foot-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-ink-3); }
.foot-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 14px; color: var(--h-ink-2); transition: color 0.18s ease; }
.foot-col a:hover { color: var(--h-ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--h-hairline); }
.foot-bottom .cp { font-size: 13px; color: var(--h-ink-3); }
.foot-bottom .fl { display: flex; align-items: center; gap: 22px; }
.foot-bottom .fl a { font-size: 13px; color: var(--h-ink-3); }
.foot-bottom .fl a:hover { color: var(--h-ink); }

/* reveal on scroll — visible by default; animates only when JS opts in
   (html.anim). Keeps content visible if JS fails. */
.reveal { opacity: 1; transform: none; }
.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .reveal.d1 { transition-delay: 0.06s; }
.anim .reveal.d2 { transition-delay: 0.12s; }
.anim .reveal.d3 { transition-delay: 0.18s; }
.anim .reveal.d4 { transition-delay: 0.24s; }
.anim .reveal.d5 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .anim .reveal { transition: none; opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Center nav links collapse on tablet-portrait/phone — the footer
     carries About / Contact / Security & Privacy at those widths. */
  .topbar .nav-links { display: none; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: clamp(56px, 9vw, 90px); }
  .hero-copy { max-width: none; }
  .preview-wrap { justify-self: center; max-width: 380px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .topbar { height: 60px; }
  .topbar .lnk-ghost.hide-sm { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero .sub { max-width: none; }
  .foot-top { gap: 32px; }
}
