/* Buko marketing site — self-contained, dark/tech aesthetic */
:root {
  --green: #6FC04C;
  --green-deep: #4FA838;
  --mint: #a7e58a;
  --navy: #0B1120;
  --navy-2: #111a2e;
  --navy-3: #0e1626;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #E7ECF3;
  --dim: #C6D0DD;
  --muted: #94A3B8;
  --max: 1120px;
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0B1120 0%, #0a0f1c 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main, header, footer, section { max-width: 100%; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Ambient background: soft, slow-flowing green aurora across independent
   blob layers (body::before + .bgflow and its pseudos), over a masked grid.
   All motion is transform/opacity only, so it stays on the compositor. */
body::before {
  content: "";
  position: fixed;
  inset: -30% -18%;
  z-index: -2;
  background:
    radial-gradient(48% 52% at 75% 2%, rgba(111, 192, 76, 0.30), transparent 60%),
    radial-gradient(44% 48% at 6% 16%, rgba(79, 168, 56, 0.22), transparent 58%);
  filter: blur(10px);
  animation: flowA 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.bgflow {
  position: fixed;
  inset: -30% -18%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(46% 50% at 90% 66%, rgba(167, 229, 138, 0.20), transparent 58%);
  filter: blur(12px);
  animation: flowB 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.bgflow::before, .bgflow::after { content: ""; position: absolute; inset: 0; will-change: transform, opacity; }
.bgflow::before {
  background: radial-gradient(42% 46% at 14% 84%, rgba(111, 192, 76, 0.20), transparent 60%);
  animation: flowC 20s ease-in-out infinite alternate;
}
.bgflow::after { /* teal-mint accent — drifts across the greens for a visible colour shift */
  background: radial-gradient(40% 44% at 58% -2%, rgba(88, 200, 164, 0.17), transparent 58%);
  animation: flowD 28s ease-in-out infinite alternate;
}
@keyframes flowA {
  0%   { transform: translate3d(-8%, -4%, 0) scale(1.00); opacity: .78; }
  50%  { transform: translate3d(9%, 6%, 0) scale(1.22);   opacity: 1; }
  100% { transform: translate3d(-4%, 9%, 0) scale(1.08);  opacity: .74; }
}
@keyframes flowB {
  0%   { transform: translate3d(7%, 3%, 0) scale(1.05);    opacity: .68; }
  50%  { transform: translate3d(-10%, -6%, 0) scale(1.26); opacity: 1; }
  100% { transform: translate3d(4%, -9%, 0) scale(1.10);   opacity: .8; }
}
@keyframes flowC {
  0%   { transform: translate3d(-6%, 7%, 0) scale(1.15);  opacity: .62; }
  50%  { transform: translate3d(11%, -4%, 0) scale(1.00); opacity: .95; }
  100% { transform: translate3d(-8%, -7%, 0) scale(1.20); opacity: .72; }
}
@keyframes flowD {
  0%   { transform: translate3d(5%, -6%, 0) scale(1.10);  opacity: .58; }
  50%  { transform: translate3d(-9%, 8%, 0) scale(1.28);  opacity: .92; }
  100% { transform: translate3d(9%, 4%, 0) scale(1.05);   opacity: .66; }
}
body::after { /* subtle grid */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1100px 760px at 50% 0%, #000 30%, transparent 80%);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.hero-copy, .device-stage, .dive-copy, .dive-visual, .dev-copy, .dev-visual, .mock, .code { min-width: 0; }

/* Scroll-reveal (only hidden when JS is present, so no-JS still shows everything) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-reveal-delay="1"] { transition-delay: .07s; }
.js .reveal[data-reveal-delay="2"] { transition-delay: .14s; }
.js .reveal[data-reveal-delay="3"] { transition-delay: .21s; }
.js .reveal[data-reveal-delay="4"] { transition-delay: .28s; }

/* ---- Nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(11, 17, 32, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
header.nav.scrolled {
  background: rgba(11, 17, 32, 0.85);
  border-bottom-color: var(--card-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; transition: height .3s var(--ease); }
header.nav.scrolled .nav-inner { height: 58px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: .2px; }
.logo-img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px rgba(79,168,56,.3); }
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--muted);
  border: 1px solid var(--card-border); border-radius: 999px;
  padding: 8px 30px 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color .2s, color .2s;
}
.lang-select:hover { color: var(--text); border-color: rgba(255,255,255,.24); }
.lang-select option { background: #111a2e; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a.navlink { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a.navlink:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-deep) 100%);
  color: #06210a; border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(79,168,56,.32);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79,168,56,.45); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.btn.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--card-border); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.03); }

/* ---- Hero ---- */
.hero { padding: 92px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
/* Editorial kicker: a short accent rule + tracked label — no pill. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 100%;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; flex: none; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(111,192,76,0), var(--green));
}
.eyebrow.eyebrow-sm { margin-bottom: 16px; }
.eyebrow.eyebrow-sm::before { width: 22px; }
/* Centered section kickers get a symmetric rule on both sides. */
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), rgba(111,192,76,0));
}
h1.title {
  font-size: clamp(40px, 6.2vw, 66px); line-height: 1.03; font-weight: 850; letter-spacing: -1.6px;
  max-width: 100%;
}
h1.title .grad {
  background: linear-gradient(120deg, var(--green) 0%, var(--mint) 46%, var(--green-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lede { color: var(--dim); font-size: 18.5px; margin: 22px 0 32px; max-width: 540px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.cta-center { justify-content: center; }
.cta-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* Phone device */
.device-stage { position: relative; justify-self: center; }
.device {
  position: relative; z-index: 2; width: 288px; height: 588px; border-radius: 46px;
  background: linear-gradient(160deg, #1a2233, #0c1220);
  border: 1px solid var(--card-border); padding: 12px;
  box-shadow: 0 44px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.03);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s var(--ease);
}
.device-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 116px; height: 26px; background: #0c1220; border-radius: 0 0 16px 16px; z-index: 3; }
.device-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #0e1626, #0b1120);
  display: flex; flex-direction: column;
}
.dvc-top { display: flex; align-items: center; gap: 11px; padding: 30px 18px 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
.dvc-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #06210a; background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.dvc-title { font-weight: 800; font-size: 16px; }
.dvc-sub { color: var(--green); font-size: 12px; }
.bubbles { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; }
.bubble.them { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: linear-gradient(145deg, var(--green), var(--green-deep)); color: #06210a; border-bottom-right-radius: 5px; font-weight: 600; }
/* typing indicator */
.bubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: inline-block; animation: typedot 1.2s infinite ease-in-out; }
.bubble.typing i:nth-child(2) { animation-delay: .18s; }
.bubble.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typedot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
/* JS-driven entrance for bubbles */
.bubbles.js .bubble { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.bubbles.js .bubble.show { opacity: 1; transform: none; }
.dvc-input { margin: 10px 16px 20px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 15px; color: var(--muted); font-size: 12.5px; }
.dvc-send { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(145deg, var(--green), var(--green-deep)); flex: none; position: relative; }
.dvc-send::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 2px solid #06210a; border-right: 2px solid #06210a; transform: translateX(-1px) rotate(45deg); }
.device-glow { position: absolute; inset: 6% 8%; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(111,192,76,.35), transparent 72%); filter: blur(30px); }

/* ---- Chips strip ---- */
.strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 56px; }
.chip { color: var(--muted); font-size: 13.5px; padding: 8px 14px; border: 1px solid var(--card-border); border-radius: 999px; background: var(--card); }
.chip b { color: var(--text); }

/* ---- Sections base ---- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 820; letter-spacing: -.8px; }
.section-head p { color: var(--dim); font-size: 17px; margin-top: 14px; }

/* ---- Platform band ---- */
.platband { padding: 30px 0; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: rgba(255,255,255,.015); }
.platband-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.platband-t { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.4px; }
.platband-s { color: var(--muted); font-size: 15px; margin-top: 4px; }
.platband-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.plat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--card-border); background: var(--card); font-size: 14px; font-weight: 650; color: var(--text); }
.plat-pill svg { width: 17px; height: 17px; color: var(--green); }

/* ---- Feature deep-dives ---- */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.dive + .dive { border-top: 1px solid var(--card-border); }
.dive-rev .dive-copy { order: 2; }
.dive-t { font-size: clamp(26px, 3.4vw, 36px); font-weight: 820; letter-spacing: -.7px; line-height: 1.12; }
.dive-d { color: var(--dim); font-size: 16.5px; margin: 16px 0 22px; max-width: 480px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.ticks + .btn { margin-top: 28px; } /* breathing room between the checklist and the CTA */
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(111,192,76,.14); border: 1px solid rgba(111,192,76,.28); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }

/* mock visuals shared */
.dive-visual { display: flex; justify-content: center; }
.mock { width: 100%; max-width: 420px; border: 1px solid var(--card-border); border-radius: 20px; background: linear-gradient(180deg, var(--navy-3), var(--navy)); box-shadow: 0 30px 60px rgba(0,0,0,.4); overflow: hidden; }
.mock-head { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
/* chat mock */
.mock-chatbody { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.mbubble { max-width: 74%; padding: 10px 14px; border-radius: 15px; font-size: 13.5px; }
.mbubble.them { align-self: flex-start; background: rgba(255,255,255,.06); border-bottom-left-radius: 5px; }
.mbubble.me { align-self: flex-end; background: linear-gradient(145deg, var(--green), var(--green-deep)); color: #06210a; border-bottom-right-radius: 5px; font-weight: 600; }
.ticks-read { display: inline-block; width: 14px; height: 9px; margin-left: 6px; vertical-align: -1px; position: relative; opacity: .8; }
.ticks-read::before, .ticks-read::after { content: ""; position: absolute; width: 7px; height: 4px; border-left: 2px solid #06210a; border-bottom: 2px solid #06210a; transform: rotate(-45deg); top: 1px; }
.ticks-read::after { left: 5px; }
/* call mock */
.mock-call { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; aspect-ratio: 4 / 3; }
.tile { border-radius: 14px; background: linear-gradient(160deg, #16223a, #0e1626); display: grid; place-items: center; border: 1px solid var(--card-border); }
.tile-ava { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #06210a; background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.tile.self .tile-ava { background: linear-gradient(145deg, #3a4a6a, #26304a); color: var(--text); font-size: 13px; }
.callbar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(11,17,32,.7); backdrop-filter: blur(8px); border: 1px solid var(--card-border); }
.cbtn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cbtn.cbtn-end { background: #e0413b; }
/* moments mock */
.mock-moments { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.moment { border: 1px solid var(--card-border); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.02); }
.moment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.m-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #06210a; background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.m-name { font-weight: 700; font-size: 14px; }
.m-time { color: var(--muted); font-size: 12px; }
.moment-text { font-size: 14px; color: var(--dim); }
.moment-photo { margin-top: 10px; height: 92px; border-radius: 10px; background: linear-gradient(120deg, rgba(111,192,76,.35), rgba(79,168,56,.15) 60%, rgba(255,255,255,.05)); }

/* ---- Developer section ---- */
.dev-card {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center;
  border: 1px solid var(--card-border); border-radius: 26px; padding: 44px;
  background:
    radial-gradient(700px 340px at 88% -10%, rgba(111,192,76,.14), transparent 70%),
    var(--card);
}
.code { border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); background: #0a0e19; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.code-head { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.code-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.code-dot:nth-child(1) { background: #e0413b88; }
.code-dot:nth-child(2) { background: #e6b34588; }
.code-dot:nth-child(3) { background: #4FA83888; }
.code-cap { margin-left: auto; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.code-body { margin: 0; padding: 18px 18px 20px; overflow-x: auto; }
.code-body code { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #cdd6e5; white-space: pre; }
.c-c { color: #5c6b82; }
.c-s { color: var(--mint); }
.c-p { color: #7fb0ff; }

/* ---- Privacy ---- */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.priv-card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.priv-card:hover { transform: translateY(-4px); border-color: rgba(111,192,76,.3); }
.priv-card h3 { font-size: 16px; font-weight: 750; margin-bottom: 6px; }
.priv-card p { color: var(--muted); font-size: 14px; }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(111,192,76,.12); border: 1px solid rgba(111,192,76,.2); }
.f-icon svg { width: 22px; height: 22px; stroke: var(--green); }
/* cursor spotlight */
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(111,192,76,.16), transparent 60%);
  transition: opacity .3s var(--ease);
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--card-border); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a p { overflow: hidden; color: var(--dim); font-size: 15px; padding: 0 20px; }
.faq-item[open] .faq-a p { padding: 0 20px 20px; }

/* ---- Final CTA band ---- */
.band {
  text-align: center; border: 1px solid var(--card-border); border-radius: 26px; padding: 60px 28px;
  background:
    radial-gradient(600px 320px at 50% -20%, rgba(111,192,76,.20), transparent 70%),
    var(--card);
}
.band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 820; letter-spacing: -.7px; }
.band p { color: var(--dim); margin: 14px auto 28px; max-width: 480px; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--card-border); padding: 56px 0 44px; margin-top: 20px; background: rgba(0,0,0,.16); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .copy { color: var(--muted); font-size: 13px; max-width: 260px; }
.foot-h { font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--muted); font-size: 14.5px; transition: color .2s; width: fit-content; }
.foot-col a:hover { color: var(--green); }
.copy { color: var(--muted); font-size: 13px; }

/* ---- Legal pages (unchanged) ---- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 36px; font-weight: 820; letter-spacing: -.6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 10px 0 36px; }
.legal h2 { font-size: 21px; font-weight: 760; margin: 34px 0 12px; color: var(--text); }
.legal p, .legal li { color: #C6D0DD; font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--green); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.back:hover { color: var(--text); }

/* Account deletion page */
.del-card { margin: 28px 0 18px; padding: 22px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); max-width: 460px; }
.del-label { display: block; font-size: 13.5px; color: var(--muted); margin: 6px 0 6px; font-weight: 600; }
.del-input { width: 100%; padding: 12px 14px; font-size: 16px; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--card-border); border-radius: 12px; outline: none; margin-bottom: 16px; }
.del-input:focus { border-color: var(--green); }
.del-btn { width: 100%; justify-content: center; text-align: center; border: none; cursor: pointer; }
.del-danger { background: #e0413b; box-shadow: 0 12px 28px rgba(224,65,59,.35); }
.del-danger:hover { box-shadow: 0 14px 32px rgba(224,65,59,.5); }
.del-sent, .del-ok { color: #C6D0DD; font-size: 14.5px; margin-bottom: 16px; }
.del-ok { color: var(--green); font-weight: 600; }
.del-msg { min-height: 20px; font-size: 14px; margin-top: 12px; }
.del-foot { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .device-stage { order: -1; }
  .dive, .dev-card { grid-template-columns: 1fr; gap: 32px; }
  .dive-rev .dive-copy { order: 0; }
  .dive-visual { order: 2; }
  .priv-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body::before,
  .bgflow {
    inset: -12% -8%;
    filter: blur(8px);
  }
  body::after { background-size: 44px 44px; }
  .nav-links .navlink { display: none; }
  .nav-links .btn-sm { display: none; } /* hero CTAs cover conversion; keeps nav from overflowing */
  .nav-links { gap: 12px; }
  .brand { font-size: 17px; gap: 9px; }
  .logo-img { width: 32px; height: 32px; }
  .lang-select { max-width: 112px; padding: 8px 29px 8px 13px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 34px 0 42px; }
  .hero-grid { gap: 30px; }
  .device-stage { order: 0; width: 100%; display: flex; justify-content: center; }
  .hero-copy { order: -1; width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .eyebrow { margin-bottom: 15px; font-size: 11px; letter-spacing: .14em; gap: 10px; }
  .eyebrow::before { width: 24px; }
  h1.title { font-size: clamp(31px, 9.3vw, 38px); line-height: 1.1; letter-spacing: -.45px; }
  .lede { font-size: 16px; margin: 17px 0 24px; max-width: 100%; }
  .cta-row { gap: 10px; }
  .cta-row .btn { flex: 1 1 150px; justify-content: center; padding: 11px 15px; }
  .cta-note { margin-top: 13px; }
  .device {
    width: min(272px, calc(100vw - 88px));
    height: min(556px, calc((100vw - 88px) * 2.04));
    border-radius: 42px;
  }
  .device-glow { inset: 8% 10%; filter: blur(24px); }
  .strip { margin-top: 34px; gap: 9px; }
  .chip { font-size: 12.5px; padding: 7px 12px; }
  section { padding: 64px 0; }
  .priv-grid { grid-template-columns: 1fr; }
  .dev-card { padding: 24px; border-radius: 22px; }
  .code-body { max-width: 100%; overflow-x: auto; }
  .platband-inner { justify-content: flex-start; }
  .platband-icons { width: 100%; }
  .plat-pill { flex: 1 1 auto; justify-content: center; padding: 8px 12px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  body::before, .bgflow, .bgflow::before, .bgflow::after { animation: none; transform: none; }
  h1.title .grad { animation: none; }
  .device { transform: none !important; }
  .bubbles.js .bubble { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
