/* === Design Tokens — Calm Athletic Dark (default) === */
:root {
  /* --- Surfaces --- */
  --bg:          #0B1112;
  --surface:     #141F20;
  --card:        rgba(255, 255, 255, 0.04);
  --card-hover:  rgba(255, 255, 255, 0.07);
  --border:      rgba(36, 50, 51, 0.95);
  --border-hi:   rgba(50, 66, 67, 0.95);

  /* --- Brand --- */
  --primary:     #0E7C86;
  --primary-hi:  #2FC8C6;
  --accent:      #2FE0A8;
  --accent-hi:   #6BC2EE;

  /* Legacy aliases used by existing classes */
  --teal:        #0E7C86;
  --teal-hi:     #2FC8C6;
  --green:       #2FE0A8;
  --green-hi:    #2FE0A8;
  --sage:        #6BC2EE;

  --grad:        linear-gradient(135deg, #2FC8C6 0%, #2FE0A8 55%, #6BC2EE 100%);
  --grad-btn:    linear-gradient(135deg, #0E7C86 0%, #15C892 100%);

  /* --- Ink --- */
  --text:        #EAF2F1;
  --muted:       #A7B8B8;
  --subtle:      #6E8384;

  /* --- Phone mockup — always dark regardless of theme --- */
  --phone-bg:    #0A0F10;
  --phone-border: rgba(255,255,255,0.07);
  --screen-bg:   #0B1112;

  /* --- Radii --- */
  --r-sm:        10px;
  --r:           20px;
  --r-lg:        26px;
  --r-xl:        36px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* === Tokens — Calm Athletic Light === */
[data-theme="light"] {
  --bg:          #F3F6F6;
  --surface:     #FFFFFF;
  --card:        rgba(255, 255, 255, 0.80);
  --card-hover:  rgba(255, 255, 255, 0.98);
  --border:      rgba(227, 234, 234, 0.95);
  --border-hi:   rgba(206, 217, 217, 0.95);

  --primary:     #0E7C86;
  --primary-hi:  #0E7C86;
  --accent:      #15C892;
  --accent-hi:   #4FB0E0;

  --teal:        #0E7C86;
  --teal-hi:     #0E7C86;
  --green:       #15C892;
  --green-hi:    #15C892;
  --sage:        #4FB0E0;

  --grad:        linear-gradient(135deg, #0E7C86 0%, #15C892 55%, #4FB0E0 100%);
  --grad-btn:    linear-gradient(135deg, #0E7C86 0%, #15C892 100%);

  --text:        #0E1A1C;
  --muted:       #45575A;
  --subtle:      #7E9092;

  /* phone frame stays dark in light mode too */
  --phone-bg:    #0A0F10;
  --phone-border: rgba(255,255,255,0.07);
  --screen-bg:   #0B1112;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(243, 246, 246, 0.92);
  backdrop-filter: blur(22px) saturate(160%);
}
[data-theme="light"] .orb-1 { opacity: 0.09; }
[data-theme="light"] .orb-2 { opacity: 0.08; }
[data-theme="light"] .orb-3 { opacity: 0.05; }
[data-theme="light"] footer { background: rgba(14,124,134,0.05); }
[data-theme="light"] .gallery-strip {
  scrollbar-color: rgba(14,124,134,0.22) transparent;
}
[data-theme="light"] .gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(14,124,134,0.22);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* === Gradient text === */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Ambient orbs (fixed, behind everything) === */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 700px; height: 700px; background: var(--primary); top: -200px; right: -180px; opacity: 0.32; }
.orb-2 { width: 550px; height: 550px; background: var(--accent);  bottom: 5%;  left: -160px; opacity: 0.22; }
.orb-3 { width: 350px; height: 350px; background: var(--accent-hi); top: 40%; right: 15%;   opacity: 0.14; }

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.d1 { transition-delay: 0.10s; }
.reveal.d2 { transition-delay: 0.20s; }
.reveal.d3 { transition-delay: 0.32s; }
.reveal.d4 { transition-delay: 0.44s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2rem;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(11, 17, 18, 0.75);
  backdrop-filter: blur(22px) saturate(180%);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.btn-theme {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-theme:hover {
  background: rgba(14, 124, 134, 0.18);
  color: var(--primary-hi);
  border-color: rgba(14, 124, 134, 0.32);
}
[data-theme="light"] .btn-theme {
  background: rgba(0,0,0,0.05);
}
[data-theme="light"] .btn-theme:hover {
  background: rgba(14,124,134,0.10);
  color: var(--primary);
}

.btn-nav {
  background: var(--grad-btn);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-nav:hover { opacity: 0.85; transform: translateY(-1px); }

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-btn);
  color: #fff;
  padding: 0.9rem 1.875rem;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(14, 124, 134, 0.38);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0E1A1C;
  padding: 0.9rem 2rem;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.22); }

/* === Badge / Eyebrow === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(47, 200, 198, 0.10);
  border: 1px solid rgba(47, 200, 198, 0.22);
  color: var(--primary-hi);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
[data-theme="light"] .badge {
  background: rgba(14,124,134,0.08);
  border-color: rgba(14,124,134,0.20);
  color: var(--primary);
}
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.375rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 430px;
  margin-bottom: 2.5rem;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--subtle);
}

/* === Phone mockups === */
.phones-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.875rem;
  position: relative;
}
.phone-wrap { position: relative; flex-shrink: 0; }
.phone-wrap.up { transform: translateY(-36px); }

.phone {
  width: 185px;
  background: var(--phone-bg);
  border-radius: 42px 42px 20px 20px;
  border: 1.5px solid var(--phone-border);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.18),
    0 10px 30px rgba(14,124,134,0.10);
  position: relative;
  overflow: hidden;
  padding: 48px 8px 24px;

  /* Scale factor for iframe children — inner width = 185 - 16 = 169px */
  --phone-scale: 0.4333;
}
.phone.sm {
  width: 158px;
  border-radius: 36px 36px 16px 16px;
  padding: 42px 7px 20px;
  /* inner width = 158 - 14 = 144px */
  --phone-scale: 0.3692;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 22px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 11px;
  z-index: 3;
}
.phone.sm .phone-island { width: 60px; height: 18px; top: 12px; }

.phone-screen {
  overflow: hidden;
  background: var(--screen-bg);
  aspect-ratio: 9 / 19.5;
  position: relative;
}

/* Iframe screen rendering — scale from top-left to fit each phone size */
.phone-screen iframe,
.bc-phone-screen iframe,
.bc-preview-phone-screen iframe,
.g-phone-screen iframe {
  width: 390px;
  height: 845px;
  border: none;
  display: block;
  transform-origin: top left;
  transform: scale(var(--phone-scale));
  background: var(--screen-bg);
  pointer-events: none; /* prevent accidental interaction with phone mockups */
}

.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-glow {
  position: absolute;
  bottom: -20px;
  left: 50%; transform: translateX(-50%);
  width: 70%; height: 50px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.18;
  pointer-events: none;
}

/* ====================================================
   STATS STRIP
   ==================================================== */
.stats-strip {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(14,124,134,0.22);
  border-bottom: 1px solid rgba(47,224,168,0.16);
  background: linear-gradient(90deg,
    rgba(14,124,134,0.10) 0%,
    rgba(47,224,168,0.08) 50%,
    rgba(107,194,238,0.06) 100%);
  padding: 1.75rem 2rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.stat-num {
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-lbl { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ====================================================
   BENTO FEATURES
   ==================================================== */
.bento {
  position: relative; z-index: 1;
  padding: 8rem 2rem;
}
.bento-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.bento-header .eyebrow { color: var(--accent); }
[data-theme="light"] .bento-header .eyebrow { color: var(--primary); }
.bento-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 0.5rem;
}
.bento-header p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}

.bento-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Base card */
.bc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.bc:hover {
  border-color: var(--border-hi);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
[data-theme="light"] .bc { background: #FFFFFF; border-color: #E3EAEA; box-shadow: 0 1px 2px rgba(14,38,40,.04); }
[data-theme="light"] .bc:hover { box-shadow: 0 16px 48px rgba(14,60,64,.10); }

/* Tinted variants */
.bc.teal   { background: linear-gradient(135deg, rgba(14,124,134,0.32) 0%, rgba(14,124,134,0.08) 100%); border-color: rgba(14,124,134,0.30); }
.bc.purple { background: linear-gradient(135deg, rgba(47,224,168,0.26) 0%, rgba(47,224,168,0.06) 100%); border-color: rgba(47,224,168,0.24); }
.bc.sage   { background: linear-gradient(135deg, rgba(107,194,238,0.24) 0%, rgba(107,194,238,0.06) 100%); border-color: rgba(107,194,238,0.22); }
.bc.teal:hover   { background: linear-gradient(135deg, rgba(14,124,134,0.46) 0%, rgba(14,124,134,0.14) 100%); border-color: rgba(14,124,134,0.50); }
.bc.purple:hover { background: linear-gradient(135deg, rgba(47,224,168,0.40) 0%, rgba(47,224,168,0.10) 100%); border-color: rgba(47,224,168,0.44); }
.bc.sage:hover   { background: linear-gradient(135deg, rgba(107,194,238,0.36) 0%, rgba(107,194,238,0.10) 100%); border-color: rgba(107,194,238,0.40); }

[data-theme="light"] .bc.teal   { background: linear-gradient(135deg, rgba(14,124,134,0.10) 0%, rgba(14,124,134,0.03) 100%); border-color: rgba(14,124,134,0.18); }
[data-theme="light"] .bc.purple { background: linear-gradient(135deg, rgba(21,200,146,0.10) 0%, rgba(21,200,146,0.03) 100%); border-color: rgba(21,200,146,0.18); }
[data-theme="light"] .bc.sage   { background: linear-gradient(135deg, rgba(79,176,224,0.10) 0%, rgba(79,176,224,0.03) 100%); border-color: rgba(79,176,224,0.18); }

/* Wide card (spans 2 cols): text left, phone right */
.bc.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  min-height: 340px;
}
.bc-text {
  padding: 2.25rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.bc-phone-wrap {
  padding: 1.5rem 1.5rem 0 0;
  display: flex;
  align-items: flex-end;
}
.bc-phone {
  width: 130px;
  background: var(--phone-bg);
  border-radius: 26px 26px 0 0;
  border: 1.5px solid var(--phone-border);
  border-bottom: none;
  box-shadow: 0 -12px 32px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
  padding: 32px 7px 0;
  /* inner width = 130 - 14 = 116px */
  --phone-scale: 0.2974;
}
.bc-phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 14px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 7px;
  z-index: 3;
}
.bc-phone-screen {
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--screen-bg);
  position: relative;
}
.bc-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}

/* Narrow card: stacked, screenshot peeks from bottom */
.bc.narrow {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 2rem;
  position: relative;
}
.bc-preview {
  margin: 1.25rem -2rem -0px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
}
.bc-preview-phone {
  width: 105px;
  background: var(--phone-bg);
  border-radius: 20px 20px 0 0;
  border: 1.5px solid var(--phone-border);
  border-bottom: none;
  position: relative;
  overflow: hidden;
  padding: 26px 6px 0;
  /* inner width = 105 - 12 = 93px */
  --phone-scale: 0.2385;
}
.bc-preview-phone-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 11px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 6px;
  z-index: 3;
}
.bc-preview-phone-screen {
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--screen-bg);
  position: relative;
}
.bc-preview-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}

/* Feature bullet list inside bento cards */
.bc-bullets {
  list-style: none;
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.bc-bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-hi);
  flex-shrink: 0;
  margin-top: 0.46em;
}
[data-theme="light"] .bc-bullets li::before {
  background: var(--primary);
}

/* Shared card text */
.bc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.bc-icon svg { color: #fff; }
.bc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.bc p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ====================================================
   PREMIUM
   ==================================================== */
.premium {
  position: relative; z-index: 1;
  padding: 8rem 2rem;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(47,224,168,0.10) 30%,
    rgba(47,224,168,0.07) 70%,
    transparent 100%);
  border-top: 1px solid rgba(47,224,168,0.14);
  border-bottom: 1px solid rgba(47,224,168,0.14);
}
[data-theme="light"] .premium {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(21,200,146,0.07) 30%,
    rgba(21,200,146,0.05) 70%,
    transparent 100%);
  border-color: rgba(21,200,146,0.14);
}
.premium-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.premium-phones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
}
.premium-text .eyebrow { color: var(--accent); }
[data-theme="light"] .premium-text .eyebrow { color: var(--primary); }
.premium-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.premium-text > p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
}
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.75rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.benefit-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-check svg { width: 11px; height: 11px; color: #fff; }
.benefit-text { font-size: 0.925rem; color: var(--muted); line-height: 1.5; }
.benefit-text strong { color: var(--text); font-weight: 600; }

/* ====================================================
   GALLERY
   ==================================================== */
.gallery {
  position: relative; z-index: 1;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(14,124,134,0.08) 40%,
    rgba(14,124,134,0.05) 80%,
    transparent 100%);
  border-top: 1px solid rgba(14,124,134,0.16);
  border-bottom: 1px solid rgba(14,124,134,0.10);
}
[data-theme="light"] .gallery {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(14,124,134,0.05) 40%,
    rgba(14,124,134,0.03) 80%,
    transparent 100%);
}
.gallery-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  text-align: center;
}
.gallery-header .eyebrow { color: var(--primary-hi); }
[data-theme="light"] .gallery-header .eyebrow { color: var(--primary); }
.gallery-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
}
.gallery-header p { color: var(--muted); margin-top: 0.875rem; font-size: 1rem; }
.gallery-strip {
  display: flex;
  justify-content: safe center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 2rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.10) transparent;
  scroll-snap-type: x mandatory;
}
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 10px; }
.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 175px;
}
.g-phone {
  background: var(--phone-bg);
  border-radius: 30px 30px 14px 14px;
  border: 1.5px solid var(--phone-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(14,124,134,0.06);
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  padding: 36px 7px 18px;
  /* inner width = 175 - 14 = 161px */
  --phone-scale: 0.4128;
}
.g-phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 16px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  z-index: 3;
}
.g-phone-screen {
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--screen-bg);
  position: relative;
}
.g-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.gallery-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ====================================================
   FINAL CTA
   ==================================================== */
.final-cta {
  position: relative; z-index: 1;
  padding: 6rem 2rem 8rem;
  text-align: center;
}
.cta-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--grad-btn);
  border-radius: var(--r-xl);
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 0.875rem;
}
.cta-card p {
  color: rgba(255,255,255,0.70);
  margin-bottom: 2.25rem;
  font-size: 1.025rem;
  line-height: 1.65;
}
.cta-note {
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.52);
  font-size: 0.8rem;
}

/* ====================================================
   FOOTER
   ==================================================== */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2.5rem;
  background: rgba(0,0,0,0.20);
}
[data-theme="light"] footer { background: rgba(14,124,134,0.04); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.footer-brand-col .brand { margin-bottom: 0.6rem; }
.footer-brand-col > p { font-size: 0.85rem; color: var(--muted); max-width: 230px; line-height: 1.55; }
.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--subtle);
}

/* ====================================================
   LEGAL PAGES
   ==================================================== */
.legal-header {
  position: relative; z-index: 1;
  padding: 9rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.legal-header-inner { max-width: 720px; margin: 0 auto; }
.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0.5rem 0 0.875rem;
}
.legal-date {
  color: var(--muted);
  font-size: 0.875rem;
}
.legal-main {
  position: relative; z-index: 1;
  padding: 4rem 2rem 8rem;
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 2.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul,
.legal-content ol {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.legal-content li { margin-bottom: 0.375rem; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--primary-hi); text-decoration: underline; }
[data-theme="light"] .legal-content a { color: var(--primary); }
.legal-content a:hover { color: var(--accent); }
.legal-content .steps { list-style: decimal; }
.legal-content .steps li {
  padding-left: 0.25rem;
  margin-bottom: 0.625rem;
  color: var(--muted);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bc.wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }
  .phones-group { margin-top: 0; }

  .premium-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .premium-phones { order: -1; }

  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .bento { padding: 5rem 1.25rem; }
  .premium { padding: 5rem 1.25rem; }
  .final-cta { padding: 4rem 1.25rem 6rem; }
  footer { padding: 3rem 1.25rem 2rem; }

  .bento-grid { grid-template-columns: 1fr; gap: 0.875rem; }
  .bc.wide { grid-column: span 1; display: flex; flex-direction: column; }
  .bc-phone-wrap { display: none; }

  .phone { width: 145px; border-radius: 34px 34px 16px 16px; --phone-scale: 0.3333; }
  .phone.sm { width: 122px; border-radius: 30px 30px 14px 14px; --phone-scale: 0.2769; }
  .phone-wrap.up { transform: translateY(-22px); }

  .stats-inner { gap: 1.25rem; }
  .stat-num { font-size: 1.5rem; }

  .cta-card { padding: 3rem 1.5rem; border-radius: var(--r-lg); }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
