/* ============================================================
   GeSIM — Colors & Type tokens
   ============================================================ */

/* Fonts loaded via <link> in HTML for non-blocking performance */

:root {
  --oxford-blue:       #0F172F;
  --yinmn-blue:        #4C5873;
  --anti-flash-white:  #F1F5F9;
  --seasalt:           #F7FAFB;
  --anti-flash-deep:   #F6F8FB;

  --grad-lilac:        #C7A6F2;
  --grad-periwinkle:   #A9B4F2;
  --grad-sky:          #7FC6F0;
  --grad-cyan:         #5BD6D6;
  --gradient-brand:    linear-gradient(135deg, var(--grad-lilac) 0%, var(--grad-periwinkle) 35%, var(--grad-sky) 70%, var(--grad-cyan) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(199,166,242,.18) 0%, rgba(91,214,214,.18) 100%);

  --success:           #10B981;
  --success-soft:      #D1FAE5;
  --warning:           #F59E0B;
  --warning-soft:      #FEF3C7;
  --danger:            #DC2626;
  --danger-soft:       #FEE2E2;
  --info:              #3B82F6;
  --info-soft:         #DBEAFE;

  --bg-page:           var(--anti-flash-white);
  --bg-surface:        #FFFFFF;
  --bg-surface-alt:    var(--seasalt);
  --bg-inverse:        var(--oxford-blue);

  --fg-1:              var(--oxford-blue);
  --fg-2:              var(--yinmn-blue);
  --fg-3:              #8894A8;
  --fg-4:              #B6BECB;
  --fg-inverse:        #FFFFFF;

  --border-1:          #E4E9F0;
  --border-2:          #D1D8E3;
  --border-focus:      var(--oxford-blue);

  --fg-on-dark-1:      #FFFFFF;
  --fg-on-dark-2:      #B6BECB;
  --fg-on-dark-3:      #6B7488;
  --border-on-dark:    rgba(255,255,255,0.08);
  --bg-on-dark-alt:    #1A2340;

  --font-serif:        "EB Garamond", "Garamond", "Times New Roman", serif;
  --font-sans:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:         "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs:   12px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  44px;
  --text-4xl:  60px;
  --text-5xl:  80px;

  --lh-tight:  1.08;
  --lh-snug:   1.25;
  --lh-normal: 1.45;
  --lh-loose:  1.65;

  --tracking-display: -0.02em;
  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-caps:    0.12em;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   14px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;

  --shadow-xs:  0 1px 2px rgba(15, 23, 47, 0.04);
  --shadow-sm:  0 2px 8px rgba(15, 23, 47, 0.06);
  --shadow-md:  0 8px 24px rgba(15, 23, 47, 0.08);
  --shadow-lg:  0 20px 48px rgba(15, 23, 47, 0.12);
  --shadow-inset: inset 0 0 0 1px var(--border-1);

  --glow-dark: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 50%);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    120ms;
  --dur-base:    200ms;
  --dur-slow:    360ms;
}

/* ============================================================
   GeSIM Marketing Site — Soar-inspired, editorial, bold
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
  background: var(--anti-flash-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; padding: 0; }

/* ---------- Grid background ---------- */
.grid-bg {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(197, 205, 216, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 205, 216, 0.22) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: 0 0;
}

/* ---------- Layout shells ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 960px; margin: 0 auto; padding: 0 32px; }

section { position: relative; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yinmn-blue);
  margin: 0 0 24px;
}

h1, h2, h3, h4 {
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--oxford-blue);
  margin: 0;
}
h1 { font-size: 88px; line-height: 1.01; letter-spacing: -1.5px; }
h2 { font-size: 56px; line-height: 1.05; }
h3 { font-size: 36px; line-height: 1.15; }

.sub-italic {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  color: var(--yinmn-blue);
  letter-spacing: -0.3px;
  margin: 0;
}

.body-serif {
  font-family: "EB Garamond", Garamond, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--oxford-blue);
  max-width: 560px;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 245, 249, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-1);
  transition: box-shadow 240ms;
}
.nav.nav-scrolled {
  box-shadow: 0 2px 20px rgba(15,23,47,0.08);
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; gap: 24px;
  transition: padding 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.nav-scrolled .nav-inner { padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; color: var(--oxford-blue); letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; display: block; }
.nav-links { display: flex; gap: 28px; font-family: "Inter", sans-serif; font-size: 14px; color: var(--yinmn-blue); }
.nav-links a { transition: color 120ms; }
.nav-links a:hover { color: var(--oxford-blue); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--oxford-blue); color: #fff;
  font-size: 13px; font-weight: 500; font-family: "Inter", sans-serif;
  transition: background 120ms;
  white-space: nowrap;
}
.nav-cta:hover { background: #1a2340; }
.nav-menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--oxford-blue);
  transition: background 120ms;
}
.nav-menu-btn:hover { background: rgba(15, 23, 47, 0.06); }

/* Mobile drawer — slides down with smooth animation, generous tap targets */
.nav-drawer {
  display: flex;
  flex-direction: column;
  padding: 4px 22px 28px;
  border-top: 1px solid var(--border-1);
  background: rgba(241, 245, 249, 0.98);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  /* Collapsed state */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 320ms var(--ease-out),
              opacity 240ms var(--ease-out),
              padding 320ms var(--ease-out);
  pointer-events: none;
}
.nav-drawer a {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--oxford-blue);
  padding: 18px 4px;
  min-height: 52px;
  border-bottom: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(15, 23, 47, 0.06);
  transition: padding-left 160ms var(--ease-out), color 160ms;
}
.nav-drawer a::after {
  content: '→';
  opacity: 0.4;
  font-size: 16px;
  transition: transform 160ms var(--ease-out), opacity 160ms;
}
.nav-drawer a:hover,
.nav-drawer a:active {
  padding-left: 8px;
  color: var(--oxford-blue);
}
.nav-drawer a:hover::after,
.nav-drawer a:active::after { opacity: 0.9; transform: translateX(3px); }
.nav-drawer a:last-of-type { border-bottom: 0; }
.nav-drawer .drawer-cta {
  margin-top: 22px;
  padding: 18px 22px;
  min-height: 56px;
  background: var(--oxford-blue);
  color: #fff;
  border-radius: 14px;
  border: 0;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-drawer .drawer-cta::after { display: none; }
.nav-drawer .drawer-cta:hover { padding-left: 22px; background: #1a2340; }
.nav-drawer.open {
  max-height: 90vh;
  opacity: 1;
  padding-top: 4px;
  padding-bottom: 28px;
  pointer-events: auto;
  overflow-y: auto;
}
/* Hamburger icon morphs to X when drawer is open */
.nav-menu-btn { transition: transform 220ms var(--ease-out); }
.nav-menu-btn[aria-expanded="true"] { transform: rotate(90deg); }
/* Backdrop behind drawer (subtle, on small screens only) */
@media (max-width: 640px) {
  .nav-drawer { padding-left: 20px; padding-right: 20px; }
  .nav-drawer a { font-size: 16px; padding: 17px 4px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500;
  transition: background 160ms, color 160ms, border-color 160ms, transform 160ms var(--ease-out), box-shadow 160ms;
  border: 1px solid transparent; cursor: pointer;
}
.btn:active { transform: scale(0.98) !important; }
.btn-primary { background: var(--oxford-blue); color: #fff; }
.btn-primary:hover { background: #1b2444; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,23,47,0.22); }
.btn-ghost { background: transparent; color: var(--oxford-blue); border: 1px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--oxford-blue); transform: translateY(-1px); }
.btn-on-dark-primary { background: #fff; color: var(--oxford-blue); }
.btn-on-dark-primary:hover { background: var(--seasalt); }
.btn-on-dark-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.btn-on-dark-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn .arrow { display: inline-block; transition: transform 160ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- App-store badges ---------- */
.badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-seeker {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1.5px solid rgba(15, 23, 47, 0.18);
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.badge-seeker:hover { border-color: var(--oxford-blue); box-shadow: 0 2px 8px rgba(15,23,47,0.08); }
.sk-logo { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sk-name {
  font-family: "Inter", sans-serif;
  font-size: 23px; font-weight: 900;
  letter-spacing: -0.5px; line-height: 1;
  color: #000;
}
.sk-brand { display: flex; align-items: center; gap: 5px; }
.sk-sub {
  font-family: "Inter", sans-serif;
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 2px; line-height: 1;
  color: #000; text-transform: uppercase;
}
.sk-mark { width: 17px; height: 11px; flex-shrink: 0; color: #000; }
.badge-app {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--oxford-blue); color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  transition: background 120ms;
  min-height: 52px;
}
.badge-app:hover { background: #1a2340; }
.badge-app .badge-icon { width: 26px; height: 26px; flex-shrink: 0; }
.badge-app .badge-copy { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge-app .badge-top { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.72; }
.badge-app .badge-bot { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.badge-app.coming-soon { background: transparent; color: var(--oxford-blue); border: 1px solid var(--border-2); }
.badge-app.coming-soon:hover { border-color: var(--yinmn-blue); background: transparent; }
.badge-app.coming-soon .badge-top { opacity: 0.55; }
.badge-app.on-dark { background: #fff; color: var(--oxford-blue); }
.badge-app.on-dark:hover { background: var(--seasalt); }
.badge-app.on-dark.coming-soon { background: transparent; color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.14); }
.badge-app.on-dark.coming-soon:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.32); }
.badge-app.on-dark.coming-soon .badge-icon { opacity: 0.5; }

/* ========================================================
   01 HERO — Soar-inspired, big, confident
   ======================================================== */
.hero {
  padding: 96px 0 120px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 65% -8%, rgba(199,166,242,0.16) 0%, transparent 62%),
    radial-gradient(ellipse 45% 40% at 90% 90%, rgba(91,214,214,0.09) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 28px; }
.hero .sub-italic { max-width: 560px; margin-bottom: 40px; }

.metrics-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 32px;
}
.metric {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid var(--border-1);
}
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; padding-right: 0; }
.metric-value {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--oxford-blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--yinmn-blue);
  line-height: 1.35;
}

.hero-ctas { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.trust-block { display: flex; flex-direction: column; gap: 14px; }
.trust-row {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
}
.trust-row .dot { color: var(--fg-4); margin: 0 8px; }

/* ========================================================
   Credentials card (Ownership Roadshow + Partners)
   ======================================================== */
.cred-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  background: #FAFBFC;
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 620px;
  align-items: center;
}
.cred-card-award {
  display: flex; align-items: center; gap: 16px;
}
.cred-card-logo {
  width: 64px; height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
}
.cred-card-content {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.cred-card-eyebrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "Inter", sans-serif;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-3);
}
.cred-trophy { font-size: 13px; line-height: 1; display: inline-block; }
.cred-card-title {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.1;
  color: var(--oxford-blue);
  letter-spacing: -0.2px;
}
.cred-card-link {
  font-family: "Inter", sans-serif;
  font-size: 12.5px; font-weight: 500;
  color: var(--yinmn-blue);
  text-decoration: none;
  width: fit-content;
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 3px;
  transition: color 0.15s;
}
.cred-card-link:hover { color: var(--oxford-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
.cred-card-link .cred-arrow { transition: transform 0.15s; }
.cred-card-link:hover .cred-arrow { transform: translate(2px, -2px); }
.cred-card-partners {
  display: flex; flex-direction: column; gap: 14px;
  padding-left: 24px;
  border-left: 1px solid var(--border-1);
}
.cred-partner-block { display: flex; flex-direction: column; gap: 6px; }
.cred-partner-label {
  font-family: "Inter", sans-serif;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-3);
}
.cred-partner-row { display: flex; align-items: center; gap: 8px; }
.cred-partner-row img {
  width: 22px; height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: cover;
}
.cred-partner-row span {
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--oxford-blue);
}

/* Phone float animation */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Floating phone collage — Soar-style */
.phone-collage {
  position: relative;
  height: 620px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Universal phone bezel: silver-aluminum outer ring, near-black inner ---- */
.phone {
  border-radius: 44px;
  background: #0D0D10;
  padding: 9px;
  box-shadow:
    /* inner glass edge */
    0 0 0 1px rgba(255,255,255,0.10) inset,
    /* silver-aluminum frame (light → mid → dark → edge shadow) */
    0 0 0 2px #E0E0E8,
    0 0 0 3px #AEAEBE,
    0 0 0 4px #D8D8E4,
    0 0 0 5.5px rgba(0,0,0,0.18),
    /* drop shadows */
    0 40px 80px -20px rgba(15, 23, 47, 0.40),
    0 16px 32px -8px rgba(15, 23, 47, 0.20);
  position: relative;
}
/* Sensor housing — thin pill */
.phone::before {
  content: "";
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 16px;
  background: #0A0A0C;
  border-radius: 8px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #0D0D10;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.phone-collage .phone-main {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  z-index: 3;
  position: relative;
  animation: phoneFloat 5s ease-in-out infinite;
}
.phone-collage .phone-back {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  position: absolute;
  z-index: 1;
  opacity: 0.88;
  transform: rotate(-8deg) translate(-130px, 20px);
  filter: saturate(0.85);
}
.phone-collage .phone-front {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  position: absolute;
  z-index: 2;
  transform: rotate(8deg) translate(130px, 40px);
}

/* ========================================================
   Section rhythm
   ======================================================== */
.section { padding: 128px 0; }
.section-header { max-width: 760px; margin-bottom: 72px; }
.section-header h2 { margin-bottom: 20px; }
.section-header .lead {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--yinmn-blue);
  max-width: 600px;
}

/* ========================================================
   02 PROBLEM
   ======================================================== */
.problem h2 { max-width: 780px; margin-bottom: 32px; }
.problem .body-serif { margin-bottom: 64px; }
.leak-diagram {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.leak-label {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yinmn-blue); white-space: nowrap;
}
.leak-items { display: flex; flex-wrap: wrap; gap: 10px; }
.leak-item {
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500;
  color: #b91c1c;
  padding: 10px 16px;
  border: 1px solid #fca5a5; border-radius: 999px;
  background: #fff5f5;
  transition: transform 160ms var(--ease-out), box-shadow 160ms;
}
.leak-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(220,38,38,0.15);
}

/* ========================================================
   03 PRODUCT
   ======================================================== */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.product h2 { margin-bottom: 24px; max-width: 500px; }
.product-list { margin-top: 48px; list-style: none; padding: 0; }
.product-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--border-1);
}
.product-list li:last-child { border-bottom: 1px solid var(--border-1); }
.product-list .icon { width: 22px; height: 22px; color: var(--oxford-blue); margin-top: 2px; }
.product-list .feat-name {
  font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600;
  color: var(--oxford-blue); margin-bottom: 4px; letter-spacing: -0.01em;
}
.product-list .feat-desc {
  font-family: "Inter", sans-serif; font-size: 14px;
  color: var(--yinmn-blue); line-height: 1.55;
}
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; padding: 24px 0; }
.phone-stage .phone { width: 300px; aspect-ratio: 9 / 19.5; }

/* ========================================================
   04 USE CASES
   ======================================================== */
.cases-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.case-card {
  padding: 36px 32px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(15,23,47,0.07), 0 0 0 1px rgba(15,23,47,0.04);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15,23,47,0.13), 0 0 0 1px rgba(15,23,47,0.04);
}
.case-card .mark {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 42px; line-height: 0.5;
  color: var(--border-2); margin-bottom: 18px; display: block;
}
.case-card .quote {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic; font-weight: 400;
  font-size: 19px; line-height: 1.4;
  color: var(--oxford-blue);
  letter-spacing: -0.2px; margin: 0;
}

/* ========================================================
   05 HOW IT WORKS
   ======================================================== */
.how-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start;
}
.steps {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: 18px;
  overflow: hidden;
}
.step {
  background: #fff;
  padding: 40px 36px;
}
.step-num {
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--yinmn-blue); margin-bottom: 28px;
}
.step-name {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 22px; line-height: 1.2;
  color: var(--oxford-blue); letter-spacing: -0.3px; margin-bottom: 12px;
}
.step-desc {
  font-family: "Inter", sans-serif; font-size: 13.5px;
  line-height: 1.55; color: var(--yinmn-blue);
}
.how-summary {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic; font-size: 26px; line-height: 1.3;
  color: var(--oxford-blue); letter-spacing: -0.3px;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border-1); max-width: 640px;
}

/* ========================================================
   06 IN THE APP — phone grid
   ======================================================== */
.screens-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px; margin-top: 16px;
}
.screen { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.screen .phone-sm {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  background: #0D0D10;
  padding: 7px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 0 1.5px #E0E0E8,
    0 0 0 2.5px #AEAEBE,
    0 0 0 3.5px #D8D8E4,
    0 0 0 4.5px rgba(0,0,0,0.16),
    0 16px 32px -8px rgba(15, 23, 47, 0.26),
    0 6px 12px -3px rgba(15, 23, 47, 0.12);
  position: relative;
}
.screen .phone-sm::before {
  content: "";
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 12px;
  background: #0A0A0C;
  border-radius: 6px;
  z-index: 2;
}
.screen .phone-sm .phone-screen { border-radius: 27px; }
.screen-caption {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 13px; line-height: 1.5; color: var(--yinmn-blue);
  max-width: 220px;
}
.screen-caption strong {
  color: var(--oxford-blue); font-weight: 600;
  display: block; margin-bottom: 4px;
}

/* ========================================================
   07 MVNO VISION — dark, cinematic
   ======================================================== */
.vision {
  background: var(--oxford-blue);
  color: #fff;
  padding: 144px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-1);
}
.vision::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.vision .wrap { position: relative; }
.vision .eyebrow { color: rgba(255, 255, 255, 0.55); }
.vision h2 { color: #fff; max-width: 900px; margin-bottom: 28px; font-size: 64px; }
.vision .vision-sub {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic; font-size: 24px;
  color: rgba(255, 255, 255, 0.72); max-width: 640px; margin: 0 0 72px;
  line-height: 1.4;
}

.vision-globe {
  position: relative;
  margin: 48px 0 80px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.vision-globe img {
  width: 100%; height: auto; display: block;
  filter: brightness(0.85) contrast(1.05);
}
.vision-globe-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 47, 0.25) 0%, rgba(15, 23, 47, 0.85) 100%);
  pointer-events: none;
}
.vision-globe-caption {
  position: absolute;
  bottom: 32px; left: 32px;
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic; font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 440px;
  line-height: 1.35;
}

.vision-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  padding: 24px 0 64px;
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.vision-flow .flow-arrow { color: rgba(255, 255, 255, 0.3); font-size: 18px; }

.vision-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.vision-cell {
  padding: 40px 0 0;
}
.vision-cell h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.vision-cell p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ========================================================
   08 FAQ
   ======================================================== */
.faq-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--border-1); }
.faq-item { border-bottom: 1px solid var(--border-1); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--oxford-blue); transition: color 120ms;
}
.faq-q:hover { color: var(--oxford-blue); }
.faq-chev {
  width: 16px; height: 16px;
  color: var(--yinmn-blue); flex-shrink: 0; margin-left: 24px;
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a {
  padding: 0 48px 32px 0;
  font-family: "Inter", sans-serif;
  font-size: 15px; line-height: 1.65; color: var(--yinmn-blue);
  max-width: 640px; margin: 0;
}
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* ========================================================
   10 CTA — full-width Oxford Blue
   ======================================================== */
.cta {
  background: #0A1024; color: #fff;
  padding: 128px 0 96px; position: relative; overflow: hidden;
  border-bottom: none;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: 64px; max-width: 780px; margin-bottom: 28px; }
.cta .sub-italic { color: rgba(255, 255, 255, 0.72); max-width: 620px; margin-bottom: 48px; font-size: 22px; }
.cta-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.cta-ctas > * { min-height: 56px; }

/* ========================================================
   11 FOOTER — always-dark editorial brand finale
   ======================================================== */
.footer {
  background: #0A1024;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  position: relative;
  overflow: hidden;
  border-top: none;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.footer .wrap { position: relative; z-index: 1; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand {
  max-width: 240px;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-name::before {
  content: "";
  width: 20px; height: 20px;
  background-image: url("assets/logo-gradient.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}
.footer-tag {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 240px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}
.footer .col-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 28px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.footer ul a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  transition: color 120ms;
  display: inline-block;
  line-height: 1.4;
}
.footer ul a:hover { color: #fff; }

.footer-bottom {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.footer-bottom .dot {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* Nav: floating pill */
  .nav {
    margin: 12px 16px 0;
    border-radius: 20px;
    width: calc(100% - 32px);
    top: 12px;
    box-shadow: 0 4px 24px rgba(15,23,47,0.10), 0 1px 3px rgba(15,23,47,0.06);
  }
  .nav-inner { padding: 14px 18px; }
  .nav.nav-scrolled .nav-inner { padding: 11px 18px; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }

  /* Hero: phone below text, centered */
  .hero-grid { display: flex; flex-direction: column; gap: 40px; }
  .phone-collage {
    order: 1;
    height: auto;
    width: 100%;
    margin-left: 0;
    padding: 0 0 24px;
    justify-content: center;
    align-items: center;
  }
  .phone-collage .phone-back,
  .phone-collage .phone-front { display: none !important; }
  .phone-collage .phone-main {
    width: min(calc(100vw - 80px), 360px);
    position: relative;
    transform: none;
    animation: phoneFloat 5s ease-in-out infinite;
  }

  /* Layout */
  h1 { font-size: 64px; letter-spacing: -1px; }
  h2 { font-size: 44px; }
  .product-grid, .how-grid, .faq-grid { grid-template-columns: 1fr; gap: 56px; }
  .screens-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .vision-cell:nth-child(3), .vision-cell:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand { max-width: none; }
  .footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 32px 24px;
  }
}
@media (max-width: 640px) {
  .wrap, .wrap-wide, .wrap-tight { padding: 0 20px; }
  h1 { font-size: 44px; letter-spacing: -0.6px; line-height: 1.02; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  body { font-size: 15px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .cta { padding: 72px 0; }
  .vision { padding: 80px 0; }
  .vision h2 { font-size: 34px; }
  .cta h2 { font-size: 34px; }
  .sub-italic { font-size: 19px; line-height: 1.4; }
  .section-header { margin-bottom: 48px; }
  .cases-grid { grid-template-columns: 1fr; gap: 12px; }
  .case-card { padding: 24px 22px; }
  .case-card .quote { font-size: 17px; }
  .screens-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .screen-caption { font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 22px; }
  .step-num { margin-bottom: 18px; }
  .step-name { font-size: 19px; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-cell { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .vision-cell:first-child { border-top: 0; padding-top: 0; }
  .vision-globe-caption { font-size: 16px; bottom: 20px; left: 20px; right: 20px; max-width: none; }

  .metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 0;
    padding: 18px 0;
  }
  .metric { padding: 0 8px; border-right: 1px solid var(--border-1); border-bottom: 0; }
  .metric:last-child { border-right: 0; }
  .metric-value { font-size: 26px; letter-spacing: -0.5px; }
  .metric-label { font-size: 10.5px; line-height: 1.3; gap: 5px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; padding: 16px 22px; font-size: 15px; }
  .hero-badges { gap: 10px; }
  .badge-app { padding: 9px 14px 9px 12px; min-height: 48px; }
  .badge-app .badge-bot { font-size: 13px; }
  .badge-app .badge-top { font-size: 9px; }
  .badge-seeker { padding: 9px 16px; }
  .sk-name { font-size: 20px; }
  .sk-sub { font-size: 8px; letter-spacing: 1.8px; }
  .sk-mark { width: 11px; height: 9px; }
  /* Nav CTA — shrink on mobile */
  .nav-cta { padding: 8px 12px; font-size: 12px; border-radius: 10px; }
  .nav-cta .arrow { display: none; }

  .phone-collage { height: auto; padding: 0 0 16px; }
  .phone-collage .phone-main { width: min(calc(100vw - 48px), 300px); }

  .vision-flow { flex-wrap: wrap; gap: 10px; font-size: 10.5px; padding: 16px 0 48px; }

  .leak-diagram { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .leak-label { font-size: 11px; }
  .leak-item { padding: 8px 14px; font-size: 12.5px; }

  .product-list li { grid-template-columns: 24px 1fr; gap: 14px; padding: 20px 0; }

  .faq-grid { gap: 32px; }
  .faq-q { font-size: 16px; padding: 22px 0; }
  .faq-a { font-size: 14.5px; padding-right: 24px; }

  .cta-ctas { flex-direction: column; align-items: stretch; }
  .cta-ctas .badge-app { justify-content: flex-start; }
  .cta-ctas .btn { margin-left: 0 !important; justify-content: center; padding: 16px 22px; }

  /* Footer */
  .footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
  .footer-top { gap: 40px; margin-bottom: 40px; }
  .footer-brand-name { font-size: 18px; }
  .footer-brand-name::before { width: 18px; height: 18px; }
  .footer-tag { font-size: 13px; }
  .footer-cols { gap: 28px 20px; }
  .footer .col-title { font-size: 10.5px; margin-bottom: 20px; }
  .footer ul { gap: 12px; }
  .footer-bottom { font-size: 12px; }

  /* Credentials card — stack on mobile */
  .cred-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 18px;
  }
  .cred-card-award { gap: 14px; }
  .cred-card-logo { width: 54px; height: 54px; border-radius: 8px; }
  .cred-card-title { font-size: 22px; }
  .cred-card-eyebrow { font-size: 10px; letter-spacing: 1.2px; }
  .cred-card-partners {
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid var(--border-1);
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
  .cred-partner-block { flex: 1; min-width: 130px; }
  .cred-partner-row img { width: 20px; height: 20px; }
  .cred-partner-row span { font-size: 13px; }
}
@media (max-width: 420px) {
  h1 { font-size: 38px; }
  .metric-value { font-size: 22px; }
  .metric-label { font-size: 9.5px; }
  .metric { padding: 0 4px; }
  .phone-collage .phone-main { width: min(calc(100vw - 40px), 260px); }
  .nav-cta { padding: 7px 10px; font-size: 11px; }
  .footer-cols { gap: 24px 16px; }
  .footer-bottom .dot { margin: 0 6px; }
  .cred-card-title { font-size: 20px; }
  .cred-card-logo { width: 48px; height: 48px; }
  .cred-card-partners { flex-direction: column; gap: 14px; }
}

/* ========================================================
   12 PILLAR PAGES — long-form landing (/privacy-esim, /crypto-esim, /travel-esim)
   ======================================================== */
.pillar-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.pillar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 85% 0%, rgba(199,166,242,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 0% 100%, rgba(91,214,214,0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.pillar-hero .wrap { position: relative; z-index: 1; }
.pillar-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yinmn-blue);
  margin: 0 0 24px;
  display: inline-block;
}
.pillar-hero h1 {
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -1.6px;
  max-width: 880px;
  margin: 0 0 28px;
}
.pillar-lede {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 24px;
  line-height: 1.5;
  color: var(--yinmn-blue);
  max-width: 720px;
  margin: 0 0 40px;
  font-style: italic;
}
.pillar-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.pillar-section { padding: 88px 0; border-top: 1px solid var(--border-1); }
.pillar-section h2 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  max-width: 760px;
  margin: 0 0 24px;
}
.pillar-prose {
  max-width: 720px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--oxford-blue);
}
.pillar-prose p { margin: 0 0 20px; }
.pillar-prose p:last-child { margin-bottom: 0; }
.pillar-prose a {
  color: var(--oxford-blue);
  text-decoration: underline;
  text-decoration-color: var(--border-2);
  text-underline-offset: 3px;
  transition: text-decoration-color 120ms;
}
.pillar-prose a:hover { text-decoration-color: var(--oxford-blue); }
.pillar-prose ul, .pillar-prose ol { padding-left: 22px; margin: 0 0 20px; }
.pillar-prose li { margin-bottom: 8px; }
.pillar-prose strong { font-weight: 600; }

.pillar-compare {
  width: 100%;
  max-width: 880px;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  margin: 16px 0 0;
}
.pillar-compare th, .pillar-compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-1);
  vertical-align: top;
}
.pillar-compare thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yinmn-blue);
  border-bottom: 1px solid var(--border-2);
  padding-top: 0;
}
.pillar-compare tbody th {
  font-weight: 500;
  color: var(--oxford-blue);
  width: 28%;
}
.pillar-compare td.yes { color: var(--oxford-blue); font-weight: 500; }
.pillar-compare td.no  { color: #b91c1c; }
.pillar-compare td.partial { color: var(--yinmn-blue); }

.pillar-faq { display: grid; gap: 0; max-width: 820px; }
.pillar-faq details {
  border-top: 1px solid var(--border-1);
  padding: 22px 0;
}
.pillar-faq details:last-of-type { border-bottom: 1px solid var(--border-1); }
.pillar-faq summary {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--oxford-blue);
  transition: color 120ms;
}
.pillar-faq summary::-webkit-details-marker { display: none; }
.pillar-faq summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--yinmn-blue);
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}
.pillar-faq details[open] summary::after { transform: rotate(45deg); }
.pillar-faq details[open] summary { color: var(--oxford-blue); }
.pillar-faq .faq-body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--yinmn-blue);
  margin: 14px 0 0;
  max-width: 720px;
}

.pillar-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.pillar-related a {
  display: block;
  padding: 24px 22px;
  border: 1px solid var(--border-1);
  border-radius: 14px;
  background: #fff;
  transition: border-color 160ms, box-shadow 160ms, transform 160ms;
}
.pillar-related a:hover {
  border-color: var(--border-2);
  box-shadow: 0 2px 16px rgba(15,23,47,0.07);
  transform: translateY(-3px);
}
.pillar-related .rel-tag {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yinmn-blue);
  display: block;
  margin-bottom: 10px;
}
.pillar-related .rel-title {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--oxford-blue);
  letter-spacing: -0.2px;
}

@media (max-width: 1024px) {
  .pillar-hero { padding: 96px 0 64px; }
  .pillar-hero h1 { font-size: 56px; letter-spacing: -1px; }
  .pillar-lede { font-size: 22px; }
  .pillar-section { padding: 72px 0; }
  .pillar-section h2 { font-size: 36px; }
  .pillar-related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pillar-hero { padding: 64px 0 48px; }
  .pillar-hero h1 { font-size: 38px; letter-spacing: -0.6px; line-height: 1.04; }
  .pillar-lede { font-size: 18px; }
  .pillar-section { padding: 56px 0; }
  .pillar-section h2 { font-size: 28px; letter-spacing: -0.4px; }
  .pillar-prose { font-size: 16px; }
  .pillar-faq summary { font-size: 16px; }
  .pillar-faq .faq-body { font-size: 14.5px; }
  .pillar-compare { font-size: 13.5px; }
  .pillar-compare th, .pillar-compare td { padding: 12px 10px; }
}

/* ========================================================
   App download popup — mobile bottom sheet
   ======================================================== */
.app-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms;
}
.app-popup.visible {
  pointer-events: auto;
  opacity: 1;
}
.app-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 47, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.app-popup-sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  transform: translateY(110%);
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 40px rgba(15,23,47,0.18);
}
.app-popup.visible .app-popup-sheet {
  transform: translateY(0);
}
.app-popup-handle {
  width: 36px; height: 4px;
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.app-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background 120ms;
}
.app-popup-close:hover { background: rgba(255,255,255,0.4); }
/* ── Media area — replace <img> with <video autoplay muted loop playsinline> when ready ── */
.app-popup-media {
  width: 100%;
  height: 260px;
  background: var(--oxford-blue);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding-top: 28px;
}
.app-popup-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199,166,242,0.2) 0%, transparent 60%),
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
}
.app-popup-media img,
.app-popup-media video {
  width: auto;
  height: 100%;
  max-height: 232px;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 -8px 40px rgba(0,0,0,0.35);
}
.app-popup-body {
  padding: 28px 24px max(40px, env(safe-area-inset-bottom, 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.app-popup-heading {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 30px;
  line-height: 1.15;
  color: var(--oxford-blue);
  letter-spacing: -0.5px;
  margin: 0;
}
.app-popup-cta {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 17px 24px;
  border-radius: 14px;
}
.app-popup-skip {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--yinmn-blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  transition: color 120ms;
}
.app-popup-skip:hover { color: var(--oxford-blue); }
@media (min-width: 769px) {
  .app-popup { display: none !important; }
}

/* ========================================================
   Scroll-triggered fade-up animations
   ======================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ========================================================
   Active nav link
   ======================================================== */
.nav-links a.nav-active {
  color: var(--oxford-blue);
  font-weight: 600;
}

/* ========================================================
   Live counter pulse dot
   ======================================================== */
.metric-live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  60%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
/* flash on increment */
@keyframes countFlash {
  0%   { color: #10B981; }
  100% { color: var(--oxford-blue); }
}
.metric-value.flash {
  animation: countFlash 600ms ease-out forwards;
}

/* ========================================================
   PROMO BANNER — top of every page when enabled
   ======================================================== */
.promo-banner {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 60;
}
.promo-banner .promo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  text-align: center;
}
.promo-banner a.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: opacity 120ms;
}
.promo-banner a.promo-link:hover { opacity: 0.85; }
.promo-banner .arrow { display: inline-block; transition: transform 160ms var(--ease-out); }
.promo-banner a.promo-link:hover .arrow { transform: translateX(2px); }
.promo-dark   { background: var(--oxford-blue); color: #fff; }
.promo-accent { background: linear-gradient(90deg, var(--grad-lilac), var(--grad-cyan)); color: var(--oxford-blue); }
.promo-soft   { background: var(--seasalt); color: var(--oxford-blue); border-bottom: 1px solid var(--border-1); }
@media (max-width: 640px) {
  .promo-banner { font-size: 12px; }
  .promo-banner .promo-inner { padding: 8px 16px; }
}

/* ========================================================
   PRESS STRIP — "As seen in"
   ======================================================== */
/* ========================================================
   PRESS STRIP — "As seen in"
   Narrow band. Each item: logo (left) + name/tagline (right).
   Subtle vertical dividers between items. Fully responsive.
   ======================================================== */
.press-strip {
  background: #fff;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding: 12px 0;
}
.press-strip .press-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  row-gap: 8px;
}
.press-strip .press-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0;
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid var(--border-1);
}
.press-strip .press-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  row-gap: 8px;
}
.press-strip .press-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 4px 18px;
  text-decoration: none;
  color: var(--oxford-blue);
  transition: opacity 180ms var(--ease-out);
  border-right: 1px solid var(--border-1);
}
.press-strip .press-items > .press-item:last-child {
  border-right: 0;
}
.press-strip a.press-item:hover,
.press-strip a.press-item:focus-visible {
  opacity: 0.7;
}
.press-strip .press-item img {
  width: auto;
  height: 22px;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.press-strip .press-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.press-strip .press-name {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--oxford-blue);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.press-strip .press-tagline {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-3);
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* Tablet — slightly tighter */
@media (max-width: 820px) {
  .press-strip { padding: 10px 0; }
  .press-strip .press-inner { gap: 12px; row-gap: 6px; }
  .press-strip .press-label { padding-right: 12px; }
  .press-strip .press-item { padding: 4px 12px; gap: 9px; }
  .press-strip .press-item img { height: 20px; max-width: 56px; }
}

/* Phone — single horizontal row of logos only, no text, dot separators
   between items (matches the site's editorial · motif). */
@media (max-width: 560px) {
  .press-strip { padding: 14px 0; }
  .press-strip .press-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    row-gap: 10px;
  }
  .press-strip .press-label {
    padding: 0;
    border: 0;
    width: auto;
    text-align: center;
    font-size: 9.5px;
  }
  .press-strip .press-items {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    gap: 0;
    row-gap: 0;
  }
  .press-strip .press-item {
    padding: 0 clamp(14px, 5vw, 22px);
    border: 0;
    gap: 0;
    position: relative;
    min-width: 0;
  }
  .press-strip .press-items > .press-item + .press-item::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--fg-3);
    opacity: 0.55;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }
  .press-strip .press-text { display: none; }
  .press-strip .press-item img {
    height: 22px;
    max-width: 70px;
    width: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

/* Very narrow phones — shrink logos slightly so 3+ items still fit */
@media (max-width: 360px) {
  .press-strip .press-item { padding: 0 clamp(10px, 4vw, 16px); }
  .press-strip .press-item img { height: 20px; max-width: 58px; }
}

/* ========================================================
   DEMO VIDEO SECTION
   ======================================================== */
.demo-video {
  padding: 64px 0 24px;
  text-align: center;
}
.demo-video .eyebrow { display: inline-block; }
.demo-video .video-title {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--oxford-blue);
  max-width: 720px;
  margin: 16px auto 32px;
}
.demo-video .video-frame {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0D0D10;
  box-shadow: 0 20px 48px rgba(15, 23, 47, 0.18);
}
.demo-video video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .demo-video { padding: 40px 0 8px; }
  .demo-video .video-title { font-size: 26px; margin: 12px 20px 24px; }
  .demo-video .video-frame { margin: 0 16px; border-radius: 14px; }
}

/* ========================================================
   IN-THE-APP — grid row balancing for 7 items
   ======================================================== */
.screens-grid { grid-auto-rows: min-content; }

/* ========================================================
   FAQ ESCALATION — "Still have questions?"
   ======================================================== */
.faq-escalation { margin-top: 48px; }
.faq-escalation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border-1);
  border-radius: 16px;
  background: #fff;
  flex-wrap: wrap;
}
.faq-escalation-label {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--oxford-blue);
  letter-spacing: -0.2px;
}
.faq-escalation-card .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .faq-escalation { margin-top: 32px; }
  .faq-escalation-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; text-align: center; }
  .faq-escalation-card .btn { justify-content: center; padding: 14px 22px; }
  .faq-escalation-label { font-size: 19px; }
}

/* ========================================================
   FLOATING TELEGRAM BUBBLE — bottom-right of every page
   ======================================================== */
.tg-bubble {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.tg-bubble a {
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 56px;
  justify-content: center;
  border-radius: 999px;
  background: #229ED9;
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.40), 0 2px 6px rgba(15,23,47,0.15);
  transition: transform 160ms var(--ease-out), box-shadow 160ms;
  position: relative;
}
.tg-bubble a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.50), 0 3px 8px rgba(15,23,47,0.18);
}
.tg-bubble .tg-icon { width: 26px; height: 26px; }
.tg-bubble .tg-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--oxford-blue);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms, transform 160ms;
}
.tg-bubble a:hover .tg-tooltip,
.tg-bubble a:focus .tg-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.tg-bubble-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
@media (max-width: 640px) {
  .tg-bubble { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .tg-bubble a { width: 48px; height: 48px; }
  .tg-bubble .tg-icon { width: 22px; height: 22px; }
  .tg-bubble .tg-tooltip { display: none; }
}
/* Hide bubble when app popup is visible */
.app-popup.visible ~ .tg-bubble,
body:has(.app-popup.visible) .tg-bubble { opacity: 0; pointer-events: none; }

/* ========================================================
   SKIP LINK — keyboard accessibility
   ======================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--oxford-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ========================================================
   NEWSLETTER — utilities only.
   Layout/colors live in the page-specific style block (e.g. blog.html
   inline <style> for the dark sidebar card). Only honeypot + status
   states are kept here as they're universal.
   ======================================================== */
.newsletter-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.newsletter-submit:disabled { opacity: 0.6; cursor: wait; }
.newsletter-status {
  margin: 14px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 1.4em;
}
.newsletter-status-success { color: #5BD6D6; font-weight: 600; }
.newsletter-status-error   { color: #FCA5A5; }
