/* GPS Find My Device — website styles. Colors and type follow the app (Inter, green #01B361). */

:root {
  --green: #01b361;
  --green-d: #019a53;
  --green-dd: #0b7a45;
  --green-soft: #e9f8f0;
  --green-soft-2: #d3f2e2;
  --ink: #111827;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #f8faf9;
  --bg-2: #f1f5f3;
  --card: #ffffff;
  --line: #e2e8e5;
  --art-bg: #eef8f2;
  --blue: #2563eb;
  --purple: #7c3aed;
  --red: #ef4444;
  --orange: #f97316;
  --pink: #ec4899;
  --teal: #0d9488;
  --amber: #f59e0b;
  --sky: #0ea5e9;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow: 0 18px 40px -18px rgba(15, 23, 42, .22);
  --shadow-lg: 0 30px 70px -30px rgba(6, 78, 59, .35);
  --shadow-green: 0 8px 16px -4px rgba(16, 165, 87, .35);
  --radius: 24px;
  --radius-lg: 32px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-soft: #0f2a1e;
    --green-soft-2: #143826;
    --ink: #eef4f1;
    --ink-2: #c9d6d0;
    --muted: #93a69d;
    --bg: #0a1210;
    --bg-2: #0f1a16;
    --card: #111c18;
    --line: #21312b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--green); }
.grad-text {
  background: linear-gradient(100deg, #01b361 0%, #10b981 45%, #0ea5e9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.container { width: 100%; max-width: min(1600px, calc(50vw + 590px)); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(1, 179, 97, .55); outline-offset: 3px; border-radius: 6px; }

/* ---------- Icons: the app's own glyphs, tinted with currentColor ---------- */
.i {
  display: inline-block; width: 24px; height: 24px; flex: none;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.tile {
  --c: var(--green);
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 16px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c));
  box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--c) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.tile .i { width: 26px; height: 26px; }
.tile.sm { width: 42px; height: 42px; border-radius: 13px; }
.tile.sm .i { width: 21px; height: 21px; }
.c-green { --c: #01b361; } .c-blue { --c: #2563eb; } .c-purple { --c: #7c3aed; } .c-red { --c: #ef4444; }
.c-orange { --c: #f97316; } .c-pink { --c: #ec4899; } .c-teal { --c: #0d9488; } .c-amber { --c: #f59e0b; }
.c-sky { --c: #0ea5e9; } .c-slate { --c: #475569; } .c-indigo { --c: #4f46e5; } .c-rose { --c: #e11d48; }
.check {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--green-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301b361' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  font: 600 16px/1 "Inter", sans-serif; cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { color: #fff; background: linear-gradient(180deg, #08c06c, var(--green-d)); box-shadow: var(--shadow-green); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -8px rgba(16, 165, 87, .5); }
.btn-ghost { color: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.btn-sm { min-height: 42px; padding: 0 18px; border-radius: 13px; font-size: 15px; }
.btn .i { width: 20px; height: 20px; }
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .2s ease; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { height: 78px; width: auto; margin: -13px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .4); }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 17.5px; letter-spacing: -.02em; text-decoration: none !important; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 10px; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--green-soft); }
.nav-links a[aria-current="page"] { color: var(--green-dd); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; background: linear-gradient(180deg, #08c06c, var(--green-d)); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(1, 179, 97, .16), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(14, 165, 233, .10), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; margin-bottom: 22px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft-2); }
.eyebrow .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(1, 179, 97, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(1, 179, 97, 0); } }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; margin: 4px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .check { width: 20px; height: 20px; margin: 0; background-size: 12px; }

/* The art stage: the app's white-background artwork multiplied onto a soft mint map. */
.stage {
  position: relative; border-radius: var(--radius-lg); isolation: isolate;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(1, 179, 97, .16), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(14, 165, 233, .12), transparent 60%),
    var(--art-bg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(1, 179, 97, .10);
}
.stage::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(1, 122, 69, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 122, 69, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent);
}
.stage .art { mix-blend-mode: multiply; margin: 0 auto; }
.hero .stage { aspect-ratio: 1 / 1.02; display: grid; place-items: center; padding: 6% 10% 0; width: 100%; max-width: 640px; justify-self: end; }
.hero .stage .art { width: 74%; transform: translateY(2%); }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px; min-width: 210px;
  background: rgba(255, 255, 255, .92); color: #111827;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .05);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14.5px; line-height: 1.25; color: #111827; }
.float small { display: block; font-size: 12.5px; color: #64748b; line-height: 1.35; }
.float .avatar { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(1, 179, 97, .5); }
.float .tile { width: 42px; height: 42px; border-radius: 13px; }
.float .tile .i { width: 21px; height: 21px; }
.f1 { top: 9%; left: -6%; }
.f2 { top: 42%; right: -4%; animation-delay: -2s; }
.f3 { bottom: 9%; left: -3%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-d);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Numbers strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -28px; position: relative; z-index: 2; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--muted); }

/* Four pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: inherit; text-decoration: none !important;
}
.pillar::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); pointer-events: none;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.pillar h3 { margin: 18px 0 8px; }
.pillar p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.pillar .chips { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: color-mix(in srgb, var(--c, var(--green)) 80%, var(--ink)); background: color-mix(in srgb, var(--c, var(--green)) 11%, transparent); }

/* Split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 16px; }
.split .lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.rows { display: grid; gap: 12px; }
.row {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.row:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--c, var(--green)) 35%, var(--line)); }
.row h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.row p { margin: 0; color: var(--muted); font-size: 15px; }

/* Bento of artwork cards */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.art-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 20px 20px 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, var(--card)), var(--card) 70%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-card b { color: var(--ink); font-size: 1.02rem; }
.art-card small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.art-card img { margin: 10px auto 0; width: 82%; max-height: 190px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .14)); }
.art-card.tall img { max-height: 230px; }

/* Code card used in the family block */
.code-card { position: absolute; left: 4%; bottom: 6%; z-index: 2; padding: 16px 18px; border-radius: 20px; background: #fff; color: #111827; box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .4); }
.code-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.code { display: flex; gap: 6px; margin-top: 8px; }
.code span { display: grid; place-items: center; width: 34px; height: 42px; border-radius: 10px; font: 800 20px/1 "Inter", sans-serif; color: #0b7a45; background: #e9f8f0; border: 1px solid #c9eedb; }
.family-stage { padding: 7% 6% 4%; }
.family-stage .art { width: 92%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px;
  font-weight: 800; color: #fff; background: linear-gradient(145deg, #22c97d, var(--green-d)); box-shadow: var(--shadow-green);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
.steps.flow .step:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 8px);
}

/* Dark band: offline security */
.band-dark {
  --card-d: rgba(255, 255, 255, .05);
  position: relative; overflow: hidden; color: #b7c9c0;
  background: radial-gradient(80% 60% at 85% 0%, rgba(1, 179, 97, .28), transparent 60%),
              radial-gradient(60% 50% at 0% 100%, rgba(124, 58, 237, .22), transparent 60%), #06110d;
}
.band-dark h2, .band-dark h3, .band-dark b { color: #fff; }
.band-dark .section-head p { color: #9fb5ab; }
.band-dark .kicker { color: #4ade80; }
.alarm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.alarm {
  position: relative; padding: 24px; border-radius: var(--radius); background: var(--card-d);
  border: 1px solid rgba(255, 255, 255, .08); transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.alarm:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.alarm h3 { margin: 16px 0 6px; }
.alarm p { margin: 0; font-size: 15px; color: #a9bdb3; }
.alarm .tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; color: #86efac; background: rgba(74, 222, 128, .12); padding: 3px 9px; border-radius: 999px; }
.band-art { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px; }
.band-art .alarm { display: flex; align-items: center; gap: 22px; }
.band-art img { width: 150px; flex: none; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }

/* Tool cards */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool h3 { font-size: 1.02rem; margin: 14px 0 4px; }
.tool p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* GPS bento */
.gps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gps-grid .art-card { grid-column: span 2; }
.gps-grid .art-card.wide { grid-column: span 3; }
.gps-grid .art-card p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }

/* Privacy promises */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.promise h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.promise p { margin: 0; font-size: 15px; color: var(--muted); }

/* Premium */
.premium {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 48px;
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: radial-gradient(70% 90% at 0% 0%, rgba(245, 158, 11, .16), transparent 60%),
              radial-gradient(70% 90% at 100% 100%, rgba(1, 179, 97, .18), transparent 60%), var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.premium img { filter: drop-shadow(0 30px 40px rgba(180, 120, 0, .25)); }
.premium ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 12px; }
.premium li { display: flex; gap: 12px; color: var(--ink-2); font-weight: 500; }
.fine { font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301b361' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child, .faq .answer ol:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 44px; }
.faq-group > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto 16px; }
.faq-tools { max-width: 860px; margin: 0 auto 36px; }
.search {
  display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 58px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.search:focus-within { border-color: var(--green); }
.search svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 16.5px "Inter", sans-serif; color: var(--ink); min-width: 0; }
.no-results { display: none; text-align: center; color: var(--muted); padding: 24px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.cat-nav a { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.cat-nav a:hover { border-color: var(--green); color: var(--green-dd); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 48px 210px; text-align: center;
  background: linear-gradient(180deg, #e4f6ff 0%, #f2fbf6 60%, #f2fbf6 100%);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(14, 165, 233, .15);
}
.cta-band h2 { color: #0f172a; max-width: 720px; margin: 0 auto 12px; }
.cta-band p { color: #475569; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .cta-row { justify-content: center; }
.cta-band .scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; object-fit: cover; object-position: center 70%; }
.cta-band .btn-ghost { background: #fff; color: #0f172a; border-color: #dbe5df; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); font-size: 15px; }
.site-footer a:hover { color: var(--green-d); }
.foot-about p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 14px 0 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-bottom p { margin: 0; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink) !important; }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: -50% 0 auto; height: 160%;
  background: radial-gradient(50% 50% at 50% 30%, rgba(1, 179, 97, .14), transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 680px; margin: 0 auto; }
.meta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.meta-pills span { font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }

/* Features page */
.feature-nav { position: sticky; top: var(--header-h); z-index: 30; padding: 12px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.feature-nav .cat-nav { margin: 0; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding: 2px; }
.feature-nav .cat-nav::-webkit-scrollbar { display: none; }
.feature-nav .cat-nav a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.feature-nav .cat-nav a.active { background: var(--green); border-color: var(--green); color: #fff; }
.cat { padding: 80px 0 24px; }
.cat-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 36px; }
.cat-head h2 { margin-bottom: 12px; }
.cat-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.cat-head .stage { padding: 6% 8%; min-height: 260px; display: grid; place-items: center; }
.cat-head .stage img { max-height: 300px; width: auto; filter: drop-shadow(0 24px 30px rgba(15, 23, 42, .18)); }
.cat-head .stage img.art { filter: none; max-height: 340px; }
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.fcard p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.fcard .how { margin-top: auto; font-size: 13.5px; color: var(--ink-2); padding-top: 12px; border-top: 1px dashed var(--line); }
.fcard .how b { color: var(--green-d); font-weight: 600; }
.badge-pro { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: #92400e; background: #fef3c7; padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }

/* ---------- Legal / document pages ---------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-layout .doc { max-width: 1000px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding-right: 6px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--green-dd); border-left-color: var(--green); font-weight: 600; }
.doc { min-width: 0; }
.doc section { padding-bottom: 12px; }
.doc h2 { font-size: 1.55rem; margin: 48px 0 14px; padding-top: 4px; letter-spacing: -.02em; }
.doc section:first-child h2 { margin-top: 0; }
.doc h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc li::marker { color: var(--green); }
.doc strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-2); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 600; color: var(--ink); }
.callout { display: flex; gap: 14px; padding: 18px 20px; margin: 20px 0; border-radius: 18px; background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }
.callout p:last-child { margin: 0; }
.callout.warn { background: color-mix(in srgb, var(--amber) 12%, var(--card)); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.callout .tile { width: 40px; height: 40px; border-radius: 12px; }
.callout .tile .i { width: 20px; height: 20px; }
.glance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
.glance div { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.glance b { display: block; color: var(--ink); margin-bottom: 2px; }
.glance p { margin: 0; font-size: 14.5px; color: var(--muted); }
.updated { font-size: 14px; color: var(--muted); }

/* Delete account page */
.request {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-bottom: 56px;
}
.request .body { padding: 40px; }
.request .side { padding: 40px; background: linear-gradient(160deg, #fff5f5, #fef2f2 60%, #fff); color: #7f1d1d; border-left: 1px solid var(--line); }
.request .side h3 { color: #7f1d1d; }
.request .side ol { padding-left: 1.2em; margin: 0; }
.request .side li { margin-bottom: 10px; color: #7f1d1d; }
.request .side li::marker { color: #ef4444; font-weight: 700; }
.mail-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 10px; }
.copy-btn { cursor: pointer; }
.copied { font-size: 13.5px; color: var(--green-d); font-weight: 600; opacity: 0; transition: opacity .2s; }
.copied.show { opacity: 1; }
.btn-danger { color: #fff; background: linear-gradient(180deg, #f05252, #dc2626); box-shadow: 0 8px 16px -6px rgba(220, 38, 38, .45); }
.btn-danger:hover { transform: translateY(-2px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 24px; }
.box { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.box h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.box ul { margin-bottom: 0; }

/* 404 */
.lost { text-align: center; padding: 72px 0 24px; }
.lost img { width: 260px; margin: 0 auto 24px; filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .2)); }
.lost .cta-row { justify-content: center; margin-top: 26px; }

/* ---------- Reveal on scroll (only once JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .f1 { left: -2%; } .f2 { right: 1%; } .f3 { left: 0; }
}
@media (max-width: 1080px) {
  .pillars, .tools, .promises { grid-template-columns: repeat(2, 1fr); }
  .gps-grid { grid-template-columns: repeat(2, 1fr); }
  .gps-grid .art-card, .gps-grid .art-card.wide { grid-column: span 1; }
  .gps-grid .art-card:last-child { grid-column: 1 / -1; }
  .fcards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-grid, .split, .cat-head, .premium, .request, .band-art { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-grid { gap: 40px; }
  .hero .stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .f1 { left: 2%; } .f2 { right: 2%; } .f3 { left: 4%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .alarm-grid, .steps { grid-template-columns: 1fr 1fr; }
  .steps.flow .step::after { display: none; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
  .premium { padding: 32px 24px; }
  .premium img { max-width: 360px; margin: 0 auto; }
  .request .side { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .pillars, .tools, .promises, .alarm-grid, .steps, .fcards, .gps-grid, .glance, .two-col, .bento { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .art-card { padding: 16px 14px 0; }
  .art-card img { width: 92%; max-height: 140px; }
  .float { min-width: 0; padding: 9px 12px 9px 9px; gap: 9px; border-radius: 14px; }
  .float b { font-size: 13px; } .float small { font-size: 11.5px; }
  .float .avatar, .float .tile { width: 34px; height: 34px; }
  .f2 { top: 46%; }
  .code-card { left: 3%; bottom: 3%; padding: 12px 14px; }
  .code span { width: 28px; height: 36px; font-size: 17px; }
  .cta-band { padding: 48px 20px 170px; }
  .cta-band .scene { height: 160px; }
  .request .body, .request .side { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-about { grid-column: 1 / -1; }
  .band-art .alarm { flex-direction: column; align-items: flex-start; }
  .band-art img { width: 120px; }
  .stat b { font-size: 1.5rem; }
}

[hidden] { display: none !important; }

/* ---------- Add friend (invite link) ---------- */
.invite { position: relative; overflow: hidden; padding: 48px 0 32px; }
.invite::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(1, 179, 97, .15), transparent 70%); pointer-events: none;
}
.invite-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.invite-card {
  position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.invite-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #01b361, #10b981, #0ea5e9); }
.invite-card h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.invite-card .lead { color: var(--muted); font-size: 1.06rem; margin: 0; }
.inviter { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.inviter .initial {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 800 24px/1 "Inter", sans-serif; color: #fff; background: linear-gradient(145deg, #22c97d, #019a53);
  box-shadow: 0 0 0 4px var(--green-soft-2), 0 10px 20px -8px rgba(1, 179, 97, .6);
}
.inviter .initial.icon { background: none; box-shadow: none; }
.inviter img { width: 58px; height: 58px; }
.inviter small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.inviter b { color: var(--ink); font-size: 1.05rem; }
.invite-code { display: flex; gap: 8px; margin: 26px 0 6px; }
.invite-code span {
  flex: 1; max-width: 60px; aspect-ratio: 5 / 6; display: grid; place-items: center; border-radius: 14px;
  font: 800 clamp(22px, 4.4vw, 30px)/1 "Inter", sans-serif; color: color-mix(in srgb, var(--green) 72%, var(--ink));
  background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
}
.code-label { font-size: 13.5px; color: var(--muted); }
.invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.invite-steps { list-style: none; padding: 22px 0 0; margin: 26px 0 0; display: grid; gap: 12px; counter-reset: s; border-top: 1px dashed var(--line); }
.invite-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.invite-steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: var(--green-dd); background: var(--green-soft-2);
}
.invite .stage { padding: 7% 6% 3%; }
.invite .stage .art { width: 92%; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 14px; background: #111827; color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Delete account flow ---------- */
.del-card { padding: 34px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.del-card h2 { margin-top: 0 !important; }
.gsi-slot { min-height: 44px; margin: 22px 0 8px; }
.account-chip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 18px 0; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.account-chip img { width: 46px; height: 46px; border-radius: 50%; }
.account-chip b { display: block; color: var(--ink); }
.account-chip span { font-size: 14.5px; color: var(--muted); word-break: break-all; }
.account-chip .switch { margin-left: auto; font-size: 14px; font-weight: 600; background: none; border: 0; color: var(--green-d); cursor: pointer; padding: 6px; }
.confirm-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line)); background: color-mix(in srgb, var(--red) 6%, var(--card)); cursor: pointer; font-size: 15px; color: var(--ink-2); }
.confirm-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #dc2626; flex: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; margin-top: 6px; }
.result.ok { background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); }
.result.err { background: color-mix(in srgb, var(--red) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--red) 30%, transparent); }
.result h3 { margin: 2px 0 4px; }
.result p { margin: 0; }

@media (max-width: 900px) {
  .invite-grid { grid-template-columns: 1fr; gap: 28px; }
  .invite .stage { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 620px) {
  .invite { padding-top: 24px; }
  .invite-card, .del-card { padding: 24px 18px; }
  .invite-code { gap: 6px; }
  .invite-actions .btn, .invite-actions .play-badge { width: 100%; }
  .invite-actions .play-badge { text-align: center; }
  .invite-actions .play-badge img { margin: -13px auto; }
}
