/* =====================================================================
   Tethar — Premium Design System
   A refined, trustworthy visual language for a family safety product.
   ===================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand — Tethar Brand Book 1.0 (Halo Apps Ltd, July 2026) */
  --night: #130A1F;   /* deep backgrounds; working in the background */
  --plum:  #2A1240;   /* dark surfaces and cards */
  --paper: #F7F4FB;   /* light surfaces and space */

  --ink-900: #130A1F; /* Night */
  --ink-800: #2A1240; /* Plum */
  --ink-700: #35184d;
  --ink-600: #45215f;

  --purple-700: #4f1265;
  --purple-600: #6A1B87; /* Brand Purple — guardian; wordmark; headings */
  --purple-500: #832aa0;
  --purple-400: #A83DC4; /* Violet tint — purple on dark */

  --teal-600: #158a8a;
  --teal-500: #199c9c;
  --teal-400: #1FB6B6;  /* Brand Teal — the live signal; the mark; the tagline */
  --teal-300: #58cccc;

  --violet: #A83DC4;

  /* Legacy token names remapped onto the Tethar palette so every
     existing component adopts the brand colours automatically */
  --indigo-600: var(--purple-600);
  --indigo-500: var(--purple-500);
  --indigo-400: var(--purple-400);
  --violet-500: var(--purple-600);
  --violet-400: var(--purple-400);
  --sky-400: var(--teal-400);
  --mint-500: var(--teal-500);
  --mint-400: var(--teal-400);
  --coral-500: var(--purple-500);
  --amber-400: var(--teal-400);

  /* Neutrals — clean white surfaces, soft neutral greys */
  --bg: #FFFFFF;        /* white page */
  --bg-soft: #F5F6F8;
  --surface: #ffffff;
  --surface-2: #F7F8FA;
  --border: #ECEDF1;
  --border-strong: #DDDEE4;

  --text: #241533;      /* soft dark plum body text */
  --text-soft: #5b5170;
  --text-muted: #8b8299;
  --text-invert: #F7F4FB;

  /* Effects — Brand Purple → Brand Teal; darks are purple-black */
  --grad-brand: linear-gradient(120deg, #6A1B87, #1FB6B6);
  --grad-brand-soft: linear-gradient(120deg, #f1e7f8, #e2f6f6);
  --grad-ink: radial-gradient(120% 120% at 50% -10%, #2A1240 0%, #1c0e2e 55%, #130A1F 100%);

  --shadow-sm: 0 1px 2px rgba(19, 10, 31, .05), 0 2px 6px rgba(19, 10, 31, .05);
  --shadow-md: 0 10px 28px -10px rgba(42, 18, 64, .20);
  --shadow-lg: 0 32px 64px -22px rgba(42, 18, 64, .28);
  --shadow-glow: 0 22px 55px -18px rgba(106, 27, 135, .40);

  /* Soft premium — cashmere, not steel: generous rounding */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  --maxw: 1180px;
  --ease: cubic-bezier(.33, 0, .2, 1); /* gentle, unhurried; nothing bounces */

  --font-sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fredoka", var(--font-sans); /* rounded geometric sans — friendly, modern */
  --font-script: "Fredoka", var(--font-sans);
}

/* ----------  Reset & base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(106, 27, 135, .18); }

/* ----------  Typography  ---------- */
/* Optical sizing: big type wants tighter tracking and leading, small type wants looser. */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--purple-600); }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.14; letter-spacing: -.018em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.32; letter-spacing: -.005em; }
h4 { line-height: 1.32; letter-spacing: -.005em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-600);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-soft); }
.text-grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(48px, 5.5vw, 88px); position: relative; }
.section-head { max-width: 640px; margin: 0 auto clamp(28px, 3.5vw, 48px); text-align: center; }
.section-head .lead { margin-top: 16px; }
.card-title { font-size: clamp(1.3rem, 1.7vw, 1.5rem); margin-bottom: 6px; }
.grid { display: grid; gap: 24px; }
.center { text-align: center; }
@media (max-width: 640px) { body { font-size: 16px; } .container { padding-inline: 18px; } }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .96rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -16px rgba(99, 102, 241, .7); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--indigo-400); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ----------  Navbar  ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 74px; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px;
}
.nav.scrolled {
  background: rgba(251, 251, 254, .82);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo--footer { height: 76px; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: .5rem .85rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--text-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 74px; left: 12px; right: 12px; padding: 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links a { padding: .8rem 1rem; }
}

/* ----------  Hero  ---------- */
.hero { position: relative; padding-top: 150px; padding-bottom: 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(139, 92, 246, .14), transparent 60%),
    radial-gradient(55% 55% at 8% 12%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(50% 60% at 50% 110%, rgba(99, 102, 241, .10), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: normal; }
.hero .lead { margin-top: 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--text-soft); font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--mint-500); flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
}

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem .4rem .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--text-soft); box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-400); box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.pill b { color: var(--indigo-600); }

/* ----------  Phone mockup  ---------- */
.phone {
  position: relative; width: 300px; margin-inline: auto;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #20264a, #0c1026);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0b0e1e; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 300 / 640;
  background: var(--grad-ink); color: #fff;
}
/* Phone holding a real app screenshot: no fake notch (the shot has its own status bar),
   and the true device aspect ratio so nothing is cropped. */
.phone--shot::before { display: none; }
.phone--shot .phone-screen { aspect-ratio: 1080 / 2340; background: #fff; }
.phone--shot .phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-visual { position: relative; }
.phone-float { animation: float 6s var(--ease) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* App UI inside phone */
.app {
  position: absolute; inset: 0; padding: 48px 20px 22px; display: flex; flex-direction: column; gap: 14px;
  background:
    radial-gradient(90% 60% at 20% 0%, rgba(129, 140, 248, .28), transparent 60%),
    var(--grad-ink);
}
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top .who { display: flex; align-items: center; gap: 9px; }
.app-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--coral-500), var(--amber-400)); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #2a1400; }
.app-top small { color: rgba(255, 255, 255, .55); font-size: .68rem; display: block; }
.app-top strong { font-size: .86rem; font-weight: 600; }
.app-shield { width: 30px; height: 30px; border-radius: 9px; background: rgba(52, 211, 153, .16); display: grid; place-items: center; color: var(--mint-400); }
.app-shield svg { width: 17px; height: 17px; }

.app-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 14px; backdrop-filter: blur(6px); }
.app-card .row { display: flex; align-items: center; justify-content: space-between; }
.app-card .label { font-size: .72rem; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.app-card .value { font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); }
.app-card .value span { font-size: .8rem; color: rgba(255, 255, 255, .55); font-weight: 500; }
.app-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 10px; }
.app-bar i { display: block; height: 100%; width: 62%; border-radius: 99px; background: linear-gradient(90deg, var(--mint-400), var(--sky-400)); }

.app-toggle { display: flex; align-items: center; gap: 11px; padding: 11px 12px; }
.app-toggle .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.app-toggle .ic svg { width: 17px; height: 17px; }
.app-toggle .tx { flex: 1; }
.app-toggle .tx b { font-size: .82rem; font-weight: 600; display: block; }
.app-toggle .tx small { font-size: .68rem; color: rgba(255, 255, 255, .5); }
.sw { width: 40px; height: 23px; border-radius: 99px; background: rgba(255, 255, 255, .16); position: relative; flex: none; transition: background .3s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.sw.on { background: linear-gradient(90deg, var(--mint-500), var(--mint-400)); }
.sw.on::after { transform: translateX(17px); }

/* ----------  Logo / trust strip  ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip .container { padding-block: 30px; }
.strip p { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 20px; }
.strip-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; opacity: .72; }
.strip-logos span { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-soft); }
.strip-logos svg { width: 22px; height: 22px; color: var(--indigo-500); }

/* ----------  Feature cards  ---------- */
.features-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }
/* Two-up variant. Base first, media last, so the stack still wins on small screens. */
.features-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .features-grid--2 { grid-template-columns: 1fr; } }

/* Three-up stat row */
.stats-grid { grid-template-columns: repeat(3, 1fr); text-align: center; max-width: 820px; margin-inline: auto; }
@media (max-width: 620px) { .stats-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Contact page: details column + form */
.contact-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; max-width: 980px; margin-inline: auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 26px; } }
.field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-brand-soft); color: var(--indigo-600); border: 1px solid var(--border);
}
.card-ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-soft); font-size: .96rem; }
.card.i-1 .card-ic { background: linear-gradient(135deg, #eef0ff, #e6e9ff); color: var(--indigo-600); }
.card.i-2 .card-ic { background: linear-gradient(135deg, #eafaf3, #dcf7ec); color: var(--mint-500); }
.card.i-3 .card-ic { background: linear-gradient(135deg, #fff1ef, #ffe6e9); color: var(--coral-500); }
.card.i-4 .card-ic { background: linear-gradient(135deg, #eaf6ff, #dcefff); color: var(--sky-400); }
.card.i-5 .card-ic { background: linear-gradient(135deg, #f4ecff, #ece0ff); color: var(--violet-500); }
.card.i-6 .card-ic { background: linear-gradient(135deg, #fff7e6, #fdeecb); color: #d99616; }
.card.i-7 .card-ic { background: linear-gradient(135deg, #e5f6f6, #d3f0f0); color: var(--teal-600); }

/* ----------  How it works  ---------- */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--grad-brand);
  box-shadow: var(--shadow-glow);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .96rem; }

/* ----------  Two-app system  ---------- */
.twoapp-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .twoapp-grid { grid-template-columns: 1fr; gap: 34px; } }
.twoapp {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.twoapp:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.twoapp-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px; }
.twoapp-badge svg { width: 15px; height: 15px; }
.twoapp-badge.parent { background: #f2e8f8; color: var(--purple-600); }
.twoapp-badge.child { background: #e5f6f6; color: var(--teal-600); }
.twoapp .phone { width: 210px; margin-bottom: 22px; }
.twoapp h3 { margin-bottom: 8px; }
.twoapp > p { color: var(--text-soft); font-size: .96rem; max-width: 340px; }
.twoapp-list { margin-top: 18px; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 320px; }
.twoapp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.twoapp-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.twoapp.is-parent .twoapp-list svg { color: var(--purple-500); }
.twoapp.is-child .twoapp-list svg { color: var(--teal-500); }

/* Connector between the two apps */
.twoapp-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-muted); }
.twoapp-link .line { width: 2px; flex: 1; background: linear-gradient(var(--purple-400), var(--teal-400)); border-radius: 2px; min-height: 40px; }
.twoapp-link .pair { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--purple-500); }
.twoapp-link .pair svg { width: 24px; height: 24px; }
.twoapp-link small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .twoapp-link { flex-direction: row; } .twoapp-link .line { width: 40px; height: 2px; flex: none; min-height: 0; background: linear-gradient(90deg, var(--purple-400), var(--teal-400)); } }

/* Child (kid) app home screen */
.kid { position: absolute; inset: 0; padding: 46px 16px 18px; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(90% 55% at 80% 0%, rgba(32,181,182,.28), transparent 60%), var(--grad-ink); color: #fff; }
.kid-top { display: flex; align-items: center; justify-content: space-between; }
.kid-top b { font-size: .92rem; font-weight: 700; display: block; }
.kid-top small { font-size: .66rem; color: rgba(255,255,255,.6); }
.kid-safe { display: inline-flex; align-items: center; gap: .3rem; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .5rem; border-radius: 99px; background: rgba(52,211,153,.18); color: var(--mint-400); }
.kid-safe svg { width: 11px; height: 11px; }
.kid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; margin-top: 4px; }
.kid-app { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.kid-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.kid-app span { font-size: .58rem; color: rgba(255,255,255,.7); }
.kid-req { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .78rem; font-weight: 600; }
.kid-req svg { width: 15px; height: 15px; }

/* ----------  Lifestyle image band  ---------- */
.lifestyle-grid { grid-template-columns: repeat(3, 1fr); }
.lifestyle-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.lifestyle-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 20px 18px; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(to top, rgba(19, 10, 31, .72), transparent); }
@media (max-width: 760px) { .lifestyle-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }
.lifestyle-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--surface-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.lifestyle-img:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lifestyle-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----------  Split / showcase band  ---------- */
.showcase { background: var(--grad-ink); color: var(--text-invert); border-radius: var(--radius-xl); overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(36px, 6vw, 76px); }
@media (max-width: 860px) { .showcase-grid { grid-template-columns: 1fr; gap: 40px; } }
.showcase h2 { color: #fff; }
.showcase .lead { color: rgba(246, 247, 255, .72); margin-top: 16px; }
.showcase-list { margin-top: 26px; display: grid; gap: 16px; }
.showcase-list li { display: flex; gap: 13px; align-items: flex-start; }
.showcase-list .tick { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(52, 211, 153, .18); color: var(--mint-400); flex: none; }
.showcase-list .tick svg { width: 15px; height: 15px; }
.showcase-list b { font-weight: 600; display: block; font-size: .98rem; }
.showcase-list small { color: rgba(246, 247, 255, .6); font-size: .86rem; }

/* ----------  Pricing  ---------- */
.pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
@media (max-width: 680px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 1.5px solid transparent; background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box; box-shadow: var(--shadow-glow); }
.price-tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--grad-brand); color: #fff; }
/* Plan name reads as a label above the price, not as body copy. */
.price-card h3 { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.price { display: flex; align-items: baseline; gap: .3rem; margin: 14px 0 4px; }
.price .amt { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -.03em; }
.price .per { color: var(--text-muted); font-weight: 500; }
.price-sub { color: var(--mint-500); font-weight: 600; font-size: .9rem; min-height: 1.2em; }
.price-list { margin: 22px 0 26px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-soft); }
.price-list svg { width: 18px; height: 18px; color: var(--mint-500); flex: none; margin-top: 2px; }

/* ----------  Testimonials  ---------- */
.quotes { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { display: flex; gap: 3px; color: var(--amber-400); margin-bottom: 14px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { color: var(--text); font-size: 1rem; }
.quote .who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .9rem; }
.quote .who b { font-size: .92rem; display: block; }
.quote .who small { color: var(--text-muted); font-size: .82rem; }

/* ----------  FAQ  ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex: none; color: var(--text-muted); transition: transform .3s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); color: var(--indigo-500); }
.faq-item .ans { padding: 0 22px 20px; color: var(--text-soft); font-size: .97rem; }

/* ----------  CTA band  ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(44px, 7vw, 84px) 28px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(139, 92, 246, .35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(246, 247, 255, .74); max-width: 560px; margin: 16px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Waitlist form */
.waitlist-form { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 28px auto 0; flex-wrap: wrap; }
.waitlist-form input { flex: 1; min-width: 240px; padding: 1rem 1.25rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 1rem; transition: border-color .2s, background .2s; }
.waitlist-form input::placeholder { color: rgba(255, 255, 255, .6); }
.waitlist-form input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.waitlist-form .btn { flex: none; }
.waitlist-note { color: rgba(246, 247, 255, .6); font-size: .82rem; margin-top: 16px; }
.waitlist-success { display: inline-flex; align-items: center; gap: .5rem; color: var(--mint-400); font-weight: 600; margin-top: 22px; font-size: 1.05rem; }
.waitlist-success svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .waitlist-form .btn { width: 100%; } }

/* ----------  Footer  ---------- */
.footer { background: var(--ink-900); color: rgba(246, 247, 255, .66); padding-block: 64px 34px; }
.footer a { color: rgba(246, 247, 255, .66); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 16px; }
.footer .brand-logo { filter: brightness(0) invert(1); opacity: .92; }
.footer-about p { font-size: .92rem; max-width: 300px; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; }

/* ----------  Reveal on scroll  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----------  Page hero (interior pages)  ---------- */
.page-hero { padding-top: 140px; padding-bottom: 40px; text-align: center; position: relative; }
.page-hero .lead { max-width: 620px; margin: 18px auto 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% -10%, rgba(139, 92, 246, .12), transparent 65%); }

/* ----------  Forms  ---------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo-400); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.field textarea { resize: vertical; min-height: 130px; }

/* ----------  Legislation / "Why now" page  ---------- */
.law-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .law-grid { grid-template-columns: 1fr; } }
.law-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.region-tag { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.region-tag .flag { font-size: 1.15rem; line-height: 1; }
.law-date { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 99px; background: var(--grad-brand-soft); color: var(--purple-600); white-space: nowrap; border: 1px solid var(--border); }
.law-card p { color: var(--text-soft); font-size: .96rem; }
.src-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--teal-600); margin-top: 16px; transition: gap .2s var(--ease); }
.src-link:hover { gap: .6rem; }
.src-link svg { width: 14px; height: 14px; flex: none; }
.stat-tiles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .stat-tiles { grid-template-columns: 1fr; } }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.stat-tile .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; }
.stat-tile p { color: var(--text-soft); font-size: .95rem; margin-top: 12px; }
.stat-tile .src-link { justify-content: center; }
.disclaimer { text-align: center; color: var(--text-muted); font-size: .84rem; max-width: 620px; margin: 40px auto 0; }
.news-callout { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.news-callout:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.news-callout .news-tag { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .38rem .7rem; border-radius: 99px; background: var(--grad-brand); color: #fff; }
.news-callout .news-text { flex: 1; font-weight: 600; color: var(--text); font-size: .98rem; }
.news-callout .news-arrow { width: 20px; height: 20px; color: var(--teal-600); flex: none; }
@media (max-width: 520px) { .news-callout { flex-wrap: wrap; } }

/* ----------  Interactive product tour embed  ---------- */
.tour-embed { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
/* Height is set by the tour itself via postMessage; this is the pre-load fallback. */
.tour-embed iframe { display: block; width: 100%; border: 0; height: 900px; }
.tour-alt { text-align: center; margin-top: 18px; }
.tour-alt a { display: inline-block; padding: 10px 14px; color: var(--purple-600); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.tour-alt a:hover { border-bottom-color: var(--purple-600); }
@media (max-width: 900px) { .tour-embed iframe { height: 1320px; } }

/* Comfortable touch targets for secondary text links on small screens */
@media (max-width: 640px) {
  .src-link { padding-block: 9px; }
  .footer-col a, .footer-about a { display: inline-block; padding-block: 4px; }
}

/* ----------  Utility  ---------- */
.mt-s { margin-top: 10px; } .mt-m { margin-top: 22px; } .mt-l { margin-top: 40px; }
.hide { display: none !important; }
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; background: var(--grad-brand-soft); color: var(--indigo-600); font-size: .8rem; font-weight: 600; border: 1px solid var(--border); }

/* ----------  Cookie consent bar (dormant until analytics is added)  ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 30px -12px rgba(42, 18, 64, .25); animation: cookieUp .35s var(--ease); }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 24px; }
.cookie-text { flex: 1 1 340px; font-size: .9rem; color: var(--text-soft); line-height: 1.5; margin: 0; }
.cookie-text a { color: var(--purple-600); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn { padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; border: 1px solid var(--border-strong); transition: transform .2s var(--ease), border-color .2s, filter .2s; }
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-reject { background: var(--surface); color: var(--text); }
.cookie-reject:hover { border-color: var(--purple-400); }
.cookie-accept { background: var(--grad-brand); color: #fff; border-color: transparent; }
.cookie-accept:hover { filter: brightness(1.06); }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }

/* ----------  Legal / policy pages  ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal .updated { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 34px 0 10px; text-align: left; letter-spacing: -.01em; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.7; font-size: 1rem; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 16px; padding-left: 0; }
.legal li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
.legal a { color: var(--purple-600); font-weight: 600; text-decoration: underline; }
.legal .callout { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; }
.legal .callout p:last-child { margin-bottom: 0; }

/* ----------  Waitlist: hero inline form + confirmation + share  ---------- */
.hero-waitlist-wrap { margin-top: 28px; max-width: 480px; }
.hero-waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-waitlist input { flex: 1; min-width: 220px; padding: .95rem 1.2rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.hero-waitlist input::placeholder { color: var(--text-muted); }
.hero-waitlist input:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 4px rgba(106, 27, 135, .12); }
.hero-waitlist .btn { flex: none; }
.hero-waitlist-note { margin-top: 12px; font-size: .84rem; color: var(--text-muted); }

.wl-success { max-width: 520px; }
.hero-waitlist-wrap .wl-success { margin-top: 4px; }
.wl-success-msg { display: flex; align-items: flex-start; gap: .5rem; font-weight: 700; color: var(--purple-600); font-size: 1.05rem; margin: 0; }
.wl-success-msg svg { width: 22px; height: 22px; color: var(--teal-500); flex: none; margin-top: 2px; }
.wl-success-next { margin-top: 8px; color: var(--text-soft); font-size: .95rem; }
.wl-share { display: inline-flex; align-items: center; gap: .5rem; margin-top: 16px; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .92rem; background: #25D366; color: #fff; }
.wl-share svg { width: 20px; height: 20px; }
.wl-share:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta-band .wl-success { margin: 22px auto 0; text-align: center; }
.cta-band .wl-success-msg { color: #fff; justify-content: center; }
.cta-band .wl-success-msg svg { color: var(--teal-300); }
.cta-band .wl-success-next { color: rgba(246, 247, 255, .72); }

/* ----------  "In the headlines" media strip  ---------- */
.media-strip { border-block: 1px solid var(--border); background: var(--surface); }
.media-strip .container { padding-block: 20px; display: flex; align-items: center; justify-content: center; gap: 12px 28px; flex-wrap: wrap; }
.media-strip .ms-label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.media-strip a { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-soft); opacity: .82; transition: opacity .2s, color .2s; }
.media-strip a:hover { opacity: 1; color: var(--purple-600); }

/* ----------  Sticky mobile waitlist bar  ---------- */
.sticky-waitlist { display: none; }
@media (max-width: 768px) {
  .sticky-waitlist { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px -10px rgba(42, 18, 64, .25); transition: transform .3s var(--ease); }
  .sticky-waitlist.hide { transform: translateY(130%); }
  .sticky-waitlist p { flex: 1; font-size: .82rem; font-weight: 600; color: var(--text); line-height: 1.25; margin: 0; }
  .sticky-waitlist .btn { flex: none; padding: .7rem 1.1rem; font-size: .9rem; }
}

/* ----------  Samsung-style home screen (Tethar for Kids card)  ---------- */
.phone--home::before { display: none; }
.phone--home .phone-screen { background: radial-gradient(130% 100% at 22% 4%, #7d6cb6 0%, #4a3a7a 46%, #241533 100%); }
.hs { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 13px 13px 12px; color: #fff; }
.hs-status { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; font-weight: 600; padding: 0 3px; opacity: .95; }
.hs-status .hs-sys { display: inline-flex; gap: 3px; align-items: center; }
.hs-status .hs-sys svg { width: 12px; height: 12px; display: block; }
.hs-clock { text-align: center; margin: 13px 0 8px; }
.hs-clock b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 33px; line-height: 1; letter-spacing: .5px; }
.hs-clock span { font-size: 10.5px; opacity: .9; }
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 2px; margin-top: auto; }
.hs-app { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hs-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; box-shadow: 0 4px 9px rgba(0, 0, 0, .28); overflow: hidden; }
.hs-ic svg { width: 56%; height: 56%; display: block; }
.hs-ic.full svg { width: 100%; height: 100%; }
.hs-app small { font-size: 9px; opacity: .96; white-space: nowrap; }
.hs-dock { margin-top: 12px; background: rgba(255, 255, 255, .15); border-radius: 22px; padding: 9px 8px; display: flex; justify-content: space-around; }
.hs-dock .hs-app small { display: none; }
.hs-dock .hs-ic { box-shadow: none; }
