/* =====================================================================
   Guarda landing page
   ===================================================================== */

:root {
  --bg: #0b0c12;
  --bg-2: #0f1017;
  --bg-3: #14151d;
  --card: #171821;
  --card-2: #1c1d27;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f5f9;
  --muted: #a3a8bb;
  --dim: #6e7389;
  --accent: #7190eb;
  --accent-2: #6d80e8;
  --accent-3: #9bb0ff;
  --up: #3dd68c;
  --dn: #ff5d6c;
  --radius: 18px;
  --nav-h: 76px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

.grad {
  background: linear-gradient(92deg, #c9d4ff 0%, var(--accent-3) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- reveal animation ---------- */
/* Only hide-then-reveal when JS is running (html.js is set inline in <head>). */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-a, .float-b, .float-c, .marquee__track, .shield__ring { animation: none !important; }
}

/* ---------- store style buttons ---------- */
.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #15161e;
  border: 1px solid var(--line-2);
  color: #fff;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.store b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.store:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: #1b1c26; }
.store--primary {
  background: linear-gradient(135deg, #7d95ed 0%, #6276e4 100%);
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(113, 144, 235, .8);
}
.store--primary small { color: rgba(255,255,255,.78); }
.store--primary:hover { background: linear-gradient(135deg, #88a0f3 0%, #6b7fe9 100%); box-shadow: 0 14px 34px -10px rgba(113, 144, 235, .9); }
.store--sm { height: 46px; padding: 0 16px 0 13px; border-radius: 12px; gap: 9px; }
.store--sm svg { width: 22px; height: 22px; }
.store--sm small { font-size: 10px; }
.store--sm b { font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(11, 12, 18, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 12, 18, .86); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-left: 12px; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .22s, opacity .22s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

html.drawer-open { overflow: hidden; }
.drawer {
  position: fixed;
  z-index: 49;
  inset: var(--nav-h) 0 0 0;
  background: #0d0e14;
  padding: 10px 24px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer > a { padding: 14px 6px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.drawer__cta .store { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.hero__glow--a { width: 720px; height: 720px; left: -200px; top: -260px; background: radial-gradient(closest-side, rgba(113,144,235,.42), transparent); }
.hero__glow--b { width: 820px; height: 820px; right: -260px; top: 40px; background: radial-gradient(closest-side, rgba(96, 72, 220, .30), transparent); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(113,144,235,.35);
  background: rgba(113,144,235,.10);
  color: #c7d2ff;
  font-size: 13px; font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(61,214,140,.18); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
}
.lead { margin-top: 22px; font-size: 18.5px; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__web {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  color: var(--accent-3);
  font-weight: 600; font-size: 15px;
}
.hero__web svg { width: 18px; height: 18px; transition: transform .18s; }
.hero__web:hover svg { transform: translateX(4px); }

.hero__proof { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.hero__proof span { font-size: 13px; color: var(--dim); font-weight: 500; }

/* ---------- hero visual / mock devices ---------- */
.hero__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;              /* nothing inside may widen the page */
  box-sizing: content-box;       /* JS sets the content height; padding is extra room for shadows */
  padding: 40px 0 60px;
  /* room for shadows + let the devices bleed into the page margin on wide screens (never past the viewport) */
  margin: -40px calc(-1 * clamp(0px, (100vw - 1180px) / 2 - 12px, 130px)) -60px 0;
}
.stage {
  position: relative;
  width: 760px;
  height: 520px;
  transform-origin: 0 0;
  line-height: 1.35;
}

.app {
  position: absolute;
  left: 0; top: 30px;
  width: 640px;
  height: 440px;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: var(--shadow), 0 0 120px -30px rgba(113,144,235,.55);
  overflow: hidden;
  font-size: 11px;
  color: #dfe2ec;
}
.app__top {
  height: 46px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 16px;
  background: #13141b;
  border-bottom: 1px solid var(--line);
}
.app__top > img { width: 22px; height: auto; }
.app__nav { display: flex; gap: 14px; font-weight: 600; color: var(--dim); }
.app__nav b { color: #fff; position: relative; }
.app__nav b::after { content: ''; position: absolute; left: 0; right: 0; bottom: -16px; height: 2px; background: var(--accent); border-radius: 2px; }
.app__ic { margin-left: auto; display: flex; gap: 12px; }
.app__ic i { width: 14px; height: 14px; border-radius: 50%; background: #2a2c38; }
.app__body { display: grid; grid-template-columns: 220px 1fr; gap: 10px; padding: 10px; height: calc(100% - 46px); }
.app__list { background: var(--card); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.app__total { position: relative; padding: 4px 6px 10px; }
.app__total small { font-size: 8.5px; letter-spacing: .08em; color: var(--dim); font-weight: 700; }
.app__total strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.app__total strong span { color: var(--accent); }
.app__total em { position: absolute; right: 4px; top: 16px; font-style: normal; font-size: 9px; background: #262835; padding: 3px 7px; border-radius: 6px; color: #c9ccd8; }
.coin { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; padding: 7px 8px; border-radius: 8px; }
.coin.is-on { background: #252a3f; }
.coin img { width: 24px; height: 24px; border-radius: 50%; }
.coin b { display: block; font-size: 11px; }
.coin b sup { font-size: 7px; color: var(--dim); margin-left: 2px; }
.coin small { display: block; font-size: 9px; color: var(--dim); }
.coin__r { text-align: right; }
.up { color: var(--up); font-style: normal; }
.dn { color: var(--dn); font-style: normal; }
.app__add { margin-top: auto; padding: 8px 6px 2px; font-size: 10px; color: var(--muted); }

.app__main { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--card); border-radius: 12px; padding: 12px 14px; }
.card small { display: block; font-size: 8.5px; letter-spacing: .08em; color: var(--dim); font-weight: 700; margin-top: 8px; }
.card small:first-child { margin-top: 0; }
.card > b { display: block; font-size: 13px; font-weight: 700; margin-top: 2px; }
.card > b span { color: var(--dim); font-weight: 500; }
.card code { display: block; font: 10.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c3c7d6; margin-top: 2px; }
.acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.acts span { height: 44px; display: grid; place-items: center; background: var(--card); border-radius: 10px; font-size: 10px; color: var(--muted); font-weight: 600; }
.acts span.on { background: #252a3f; color: #fff; outline: 1px solid rgba(113,144,235,.5); }
.hist { flex: 1; }
.hist > b { margin-bottom: 8px; }
.tx { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.tx b { display: block; font-size: 10.5px; }
.tx small { display: block; font-size: 9px; color: var(--dim); }
.tx__r { text-align: right; }
.tx__ic { width: 24px; height: 24px; border-radius: 50%; position: relative; }
.tx__ic.in { background: rgba(61,214,140,.15); }
.tx__ic.out { background: rgba(255,93,108,.15); }
.tx__ic.sw { background: rgba(113,144,235,.18); }
.tx__ic::after { content: ''; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 2px; }
.tx__ic.in::after { background: var(--up); }
.tx__ic.out::after { background: var(--dn); }
.tx__ic.sw::after { background: var(--accent); }

.phone {
  position: absolute;
  right: 0; top: 70px;
  width: 218px;
  height: 448px;
  border-radius: 34px;
  background: #0a0b10;
  padding: 10px;
  box-shadow: var(--shadow), 0 40px 90px -20px rgba(0,0,0,.8);
  outline: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  line-height: 1.35;
  color: #dfe2ec;
}
.phone__notch { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 70px; height: 20px; background: #0a0b10; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__scr { position: relative; width: 100%; height: 100%; border-radius: 26px; background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.phone__scr::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 2;
  background: linear-gradient(180deg, rgba(15,16,23,0) 0%, var(--bg-2) 70%);
  pointer-events: none;
}
.phone__scr::after {
  content: ''; position: absolute; left: 50%; bottom: 7px; z-index: 3;
  width: 70px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.55);
  transform: translateX(-50%);
}
.ph__top { display: flex; align-items: center; gap: 10px; padding: 32px 14px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.ph__top img { width: 20px; height: auto; }
.ph__burger { margin-left: auto; width: 16px; height: 2px; background: #fff; border-radius: 2px; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
.ph__total { padding: 14px 14px 8px; }
.ph__total small { font-size: 8px; letter-spacing: .08em; color: var(--dim); font-weight: 700; }
.ph__total strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.ph__total strong span { color: var(--accent); }
.ph__acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px 12px 10px; }
.ph__acts span { height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--card); font-size: 9px; font-weight: 600; color: var(--muted); }
.ph__row { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); }
.ph__row img { width: 24px; height: 24px; border-radius: 50%; }
.ph__row b { display: block; font-size: 11px; }
.ph__row small { display: block; font-size: 9px; color: var(--dim); }
.ph__row .r { text-align: right; }
.ph__send { padding: 14px; display: flex; flex-direction: column; }
.ph__send small { font-size: 8px; letter-spacing: .08em; color: var(--dim); font-weight: 700; margin-top: 12px; }
.ph__send small:first-child { margin-top: 4px; }
.ph__send b { font-size: 22px; letter-spacing: -.02em; }
.ph__send b span { font-size: 12px; color: var(--dim); font-weight: 600; }
.ph__send b.fee { font-size: 11px; }
.ph__send em { font-style: normal; font-size: 10px; color: var(--muted); }
.ph__send code { font: 9.5px/1.35 ui-monospace, Menlo, monospace; color: #c3c7d6; word-break: break-all; margin-top: 2px; }
.ph__btn { margin-top: 18px; height: 38px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 12px; }

.toast {
  position: absolute;
  left: 6px; top: 440px;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(23, 24, 33, .92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  font-size: 12px;
}
.toast i { width: 30px; height: 30px; border-radius: 10px; background: rgba(61,214,140,.18); position: relative; }
.toast i::after { content: ''; position: absolute; left: 9px; top: 7px; width: 7px; height: 12px; border: solid var(--up); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.toast b { display: block; font-size: 12px; }
.toast small { color: var(--dim); font-size: 10.5px; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 6s ease-in-out infinite 1s; }
.float-c { animation: floatC 5s ease-in-out infinite .5s; }

/* ---------- asset strip + marquee ---------- */
.strip { padding: 24px 0 56px; border-top: 1px solid var(--line); }
.strip__t { text-align: center; color: var(--dim); font-size: 14px; max-width: 720px; margin: 0 auto 28px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: #e7e9f1;
  white-space: nowrap;
}
.marquee__track img { width: 26px; height: 26px; border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.section__head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)) , var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(113,144,235,.45); box-shadow: 0 30px 60px -30px rgba(113,144,235,.45); }
.tile--wide { grid-column: span 2; }
.tile__ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(113,144,235,.14);
  border: 1px solid rgba(113,144,235,.3);
  display: grid; place-items: center;
  color: var(--accent-3);
  margin-bottom: 6px;
}
.tile__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.tile p { font-size: 15px; color: var(--muted); }
.tile__badge { position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 999px; background: rgba(61,214,140,.14); color: var(--up); font-size: 12px; font-weight: 700; }
.tile__art { margin-top: 10px; }
.tile__art--buy { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.bs { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bs small { display: block; font-size: 11px; color: var(--dim); font-weight: 600; }
.bs b { font-size: 18px; letter-spacing: -.01em; }
.bs b span { font-size: 12px; color: var(--accent-3); font-weight: 700; }
.bs__arrow { color: var(--dim); font-size: 18px; transform: rotate(-90deg); }
.pm { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pm span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.pm__bar { height: 8px; border-radius: 99px; background: rgba(255,93,108,.35); overflow: hidden; }
.pm__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--up), #7cf0b7); border-radius: 99px; }
.pm small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.pm small b { color: var(--up); }

/* ---------- split layout (security / mobile) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__copy { order: 2; }
.split--rev .split__visual { order: 1; }
.split__copy p { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 520px; }
.checks { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(61,214,140,.16); position: relative; margin-top: 1px; }
.checks i::after { content: ''; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid var(--up); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks b { display: block; font-size: 16px; }
.checks span { font-size: 14px; color: var(--muted); }
.checks--compact { gap: 12px; }
.split__cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.split__note { font-size: 13px; color: var(--dim); }

.shield { position: relative; height: 480px; display: grid; place-items: center; }
.shield > img { width: 150px; height: auto; filter: drop-shadow(0 20px 50px rgba(113,144,235,.55)); position: relative; z-index: 2; }
.shield__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(113,144,235,.28); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.shield__ring--1 { width: 240px; height: 240px; background: radial-gradient(closest-side, rgba(113,144,235,.22), transparent); animation: pulse 4s ease-in-out infinite; }
.shield__ring--2 { width: 360px; height: 360px; border-style: dashed; animation: spin 40s linear infinite; }
.shield__ring--3 { width: 480px; height: 480px; opacity: .5; }
@keyframes pulse { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.06); } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.chip {
  position: absolute; z-index: 3;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(23,24,33,.92); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
}
.chip b { display: block; font-size: 13px; }
.chip small { font-size: 11.5px; color: var(--dim); }
.chip--a { left: 6%; top: 18%; animation: floatA 6s ease-in-out infinite; }
.chip--b { right: 2%; top: 38%; animation: floatC 7s ease-in-out infinite 1s; }
.chip--c { left: 14%; bottom: 14%; animation: floatA 8s ease-in-out infinite .5s; }

.phones { position: relative; height: 580px; }
.phone--lg { width: 250px; height: 516px; top: 48px; left: 50%; right: auto; transform: translateX(-98%); border-radius: 38px; z-index: 2; }
.phone--lg .phone__scr { border-radius: 30px; }
.phone--back { top: 0; transform: translateX(0) scale(.94); transform-origin: top left; z-index: 1; filter: brightness(.8); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span { display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent-3); letter-spacing: .1em; margin-bottom: 14px; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- download ---------- */
.download { padding-top: 40px; }
.dl {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1d2b 0%, #12131b 100%);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.dl__glow { position: absolute; left: 50%; top: -220px; transform: translateX(-50%); width: 800px; height: 500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(113,144,235,.42), transparent); filter: blur(40px); pointer-events: none; }
.dl__logo { width: 64px; margin: 0 auto 20px; position: relative; }
.dl h2 { position: relative; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; font-weight: 800; }
.dl > p { position: relative; margin-top: 12px; color: var(--muted); font-size: 17px; }
.dl__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.dlcard {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  transition: transform .22s, border-color .22s, background .22s;
}
.dlcard:hover { transform: translateY(-4px); border-color: rgba(113,144,235,.5); background: rgba(113,144,235,.08); }
.dlcard svg { width: 34px; height: 34px; fill: currentColor; color: #fff; margin-bottom: 8px; }
.dlcard b { font-size: 19px; }
.dlcard small { font-size: 12.5px; color: var(--dim); }
.dlcard__btn {
  margin-top: 16px;
  padding: 10px 18px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px;
}
.dlcard:nth-child(3) .dlcard__btn { background: rgba(255,255,255,.1); }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600; font-size: 17px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-2); }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--dim); font-size: 14px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer__col a { color: #cfd3df; font-size: 14.5px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { max-width: 640px; }
  .hero__visual { min-height: 0; margin-right: 0; margin-top: -20px; padding-top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__copy { order: 1; }
  .split--rev .split__visual { order: 2; }
  .shield { height: 420px; }
  .shield__ring--3 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .dl__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .container, .container--narrow { width: min(1180px, 100% - 32px); }
  .nav__brand img { height: 28px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .lead { font-size: 16.5px; }
  .hero__cta .store { flex: 1 1 100%; justify-content: center; }
  .hero__proof { gap: 18px 28px; flex-wrap: wrap; }
  .hero__proof b { font-size: 22px; }
  .store { max-width: 100%; }
  /* phone-only hero visual */
  .stage .app, .stage .toast { display: none; }
  .stage { width: 300px; height: 480px; }
  .stage .phone { left: 40px; right: auto; top: 20px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile__art--buy { grid-template-columns: 1fr; }
  .bs__arrow { transform: none; text-align: center; }
  .phones { height: 540px; overflow: hidden; margin: 0 -16px; padding: 0 16px; }
  .phone--lg { width: 230px; height: 474px; transform: translateX(-78%); }
  .phone--back { transform: translateX(-22%) scale(.92); }
  .shield { overflow: hidden; margin: 0 -16px; }
  .shield__ring--2 { width: 300px; height: 300px; }
  .chip--a { left: 0; } .chip--b { right: 0; } .chip--c { left: 4%; }
  .dl { padding: 52px 22px; border-radius: 22px; }
  .footer__in { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; }
}
