/* Pocketa website. Dark by default, light under prefers-color-scheme. */
:root {
  --bg: #070B14;
  --bg2: #0B111D;
  --surface: #101726;
  --surface2: #172033;
  --stroke: #1F2A40;
  --stroke2: rgba(255, 255, 255, 0.08);
  --text: #F2F5FA;
  --dim: #94A0B8;
  --faint: #5D6982;
  --mint: #2BE4A7;
  --cyan: #14B8E6;
  --violet: #8B7CFF;
  --amber: #FFB547;
  --on-accent: #04140E;
  --glass: rgba(16, 23, 38, 0.62);
  --grad: linear-gradient(135deg, var(--mint), var(--cyan));
  --pad: clamp(16px, 5vw, 80px);
  --radius: 24px;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F4F6FA;
    --bg2: #FFFFFF;
    --surface: #FFFFFF;
    --surface2: #EEF2F8;
    --stroke: #E2E7F0;
    --stroke2: rgba(11, 18, 32, 0.08);
    --text: #0B1220;
    --dim: #5A6680;
    --faint: #8C97AD;
    --mint: #0DBF85;
    --cyan: #0A9BCB;
    --violet: #6D5CF5;
    --amber: #D48806;
    --on-accent: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 30px 60px -30px rgba(16, 24, 40, 0.35);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { position: relative; padding: clamp(64px, 9vw, 130px) var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.h2 { font-size: clamp(32px, 4.6vw, 60px); margin-top: 14px; }
.lead { color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; max-width: 62ch; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 16px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--stroke); background: var(--surface); color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mint) 45%, var(--stroke)); }
.btn.primary { border: 0; background: var(--grad); color: var(--on-accent); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--mint) 70%, transparent); }
.btn.primary:hover { box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--mint) 85%, transparent); }
.btn.small { height: 42px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px 0 16px; border-radius: 14px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); transition: transform 0.18s ease, border-color 0.18s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.store-btn .i { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 11px; opacity: 0.85; }
.store-btn b { font-size: 19px; letter-spacing: -0.01em; }
.soon { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--amber); background: color-mix(in srgb, var(--amber) 15%, transparent); }
.ios-live .soon { display: none; }

/* ---------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 var(--pad);
  transition: background 0.25s ease, border-color 0.25s ease, height 0.25s ease; border-bottom: 1px solid transparent;
}
.nav.scrolled { height: 64px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--stroke2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14.5px; }
.menu { display: none; width: 42px; height: 42px; margin-left: auto; border-radius: 12px; border: 1px solid var(--stroke); background: var(--surface); color: var(--text); align-items: center; justify-content: center; }

/* ---------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 70px); padding: 120px var(--pad) 80px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform; }
.aurora span:nth-child(1) { width: 55vw; height: 55vw; left: 5%; top: 0; background: radial-gradient(circle, color-mix(in srgb, var(--mint) 70%, transparent), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 50vw; height: 50vw; right: 0; top: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--violet) 70%, transparent), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 45vw; height: 45vw; left: 35%; bottom: 0; background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 65%, transparent), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, 12vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-8vw, -14vh) scale(1.2); } }
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--stroke2) 1px, transparent 1px), linear-gradient(90deg, var(--stroke2) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); font-weight: 820; letter-spacing: -0.045em; line-height: 0.98; }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); max-width: 52ch; margin-top: 26px; }
.badge-line { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px; border: 1px solid var(--stroke2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.badge-line b { color: var(--on-accent); background: var(--grad); padding: 3px 10px; border-radius: 99px; font-size: 12px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--dim); font-size: 14.5px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { width: 18px; height: 18px; color: var(--mint); }

.phones { position: relative; height: min(76vh, 760px); perspective: 1800px; }
.phone {
  position: absolute; width: min(40%, 300px); aspect-ratio: 390 / 844; border-radius: 13% / 6%; padding: 2.6%;
  background: linear-gradient(160deg, #2a3550, #0b111d 45%, #1a2338); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), var(--shadow), 0 0 80px -20px color-mix(in srgb, var(--mint) 35%, transparent);
  transform-style: preserve-3d; will-change: transform; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11% / 5.2%; }
.phone.p1 { left: 31%; top: 6%; z-index: 3; width: min(44%, 330px); transform: translate3d(0, var(--py1, 0px), 60px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); }
.phone.p2 { left: 2%; top: 18%; z-index: 2; transform: translate3d(0, var(--py2, 0px), 0) rotateY(calc(var(--ry, -8deg) + 14deg)) rotateX(var(--rx, 4deg)) scale(0.9); opacity: 0.92; }
.phone.p3 { right: 0; top: 22%; z-index: 1; transform: translate3d(0, var(--py3, 0px), -40px) rotateY(calc(var(--ry, -8deg) - 10deg)) rotateX(var(--rx, 4deg)) scale(0.86); opacity: 0.85; }
.float { animation: float 7s ease-in-out infinite; }
.p2 .float, .float.d2 { animation-delay: -2.5s; }
.float.d3 { animation-delay: -4.5s; }
@keyframes float { 50% { translate: 0 -14px; } }
.chipcard {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--glass);
  border: 1px solid var(--stroke2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); font-size: 14px;
}
.chipcard .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); }
.chipcard b { display: block; font-size: 16px; }
.chipcard small { color: var(--dim); }
.chipcard.c1 { left: 0; bottom: 12%; }
.chipcard.c2 { right: 2%; top: 6%; }
.chipcard.c2 .ic { background: color-mix(in srgb, var(--violet) 18%, transparent); color: var(--violet); }

/* ---------- marquee strip */
.strip { display: flex; gap: 14px; padding: 0 var(--pad); flex-wrap: wrap; justify-content: space-between; margin-top: -30px; position: relative; z-index: 2; }
.strip div { flex: 1 1 200px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--stroke2); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.strip .i { color: var(--mint); width: 26px; height: 26px; }
.strip b { display: block; font-size: 16px; }
.strip small { color: var(--dim); font-size: 13.5px; }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; }
.step .n { font-size: 64px; font-weight: 850; line-height: 1; letter-spacing: -0.05em; opacity: 0.16; position: absolute; right: 22px; top: 14px; }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); margin-bottom: 22px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--dim); }

/* ---------- bento features */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mint) 35%, var(--stroke)); }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--mint); background: color-mix(in srgb, var(--mint) 14%, transparent); }
.tile.violet .ic { color: var(--violet); background: color-mix(in srgb, var(--violet) 15%, transparent); }
.tile.cyan .ic { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 15%, transparent); }
.tile.amber .ic { color: var(--amber); background: color-mix(in srgb, var(--amber) 15%, transparent); }
.tile h3 { font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 10px; }
.tile p { color: var(--dim); max-width: 46ch; }
.tile.big { grid-column: span 6; grid-row: span 2; }
.tile.wide { grid-column: span 6; }
.tile.third { grid-column: span 4; }
.tile .shot { position: relative; margin-top: 26px; flex: 1 1 0; min-height: 320px; border-radius: 20px 20px 0 0; overflow: hidden; margin-bottom: calc(-1 * clamp(22px, 2.4vw, 34px)); border: 1px solid var(--stroke2); border-bottom: 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.tile .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile .glow { position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mint) 22%, transparent), transparent 70%); pointer-events: none; }
.tile.violet .glow { background: radial-gradient(circle, color-mix(in srgb, var(--violet) 25%, transparent), transparent 70%); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: 5px 12px; border-radius: 99px; background: var(--surface2); color: var(--dim); font-size: 13px; font-weight: 600; }

/* ---------- gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 30px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: none; width: clamp(210px, 19vw, 280px); margin: 0; scroll-snap-align: center; }
.gallery .frame { border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #2a3550, #0b111d 45%, #1a2338); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), var(--shadow); transition: transform 0.3s ease; }
.gallery figure:hover .frame { transform: translateY(-8px) rotate(-1deg); }
.gallery img { border-radius: 27px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; height: auto; }
.gallery figcaption { margin-top: 14px; text-align: center; color: var(--dim); font-size: 14px; font-weight: 600; }

/* ---------- privacy */
#privacy { overflow: hidden; }
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.shield { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; display: grid; place-items: center; }
.shield .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--stroke2); }
.shield .ring.r2 { inset: 12%; }
.shield .ring.r3 { inset: 24%; background: radial-gradient(circle, color-mix(in srgb, var(--mint) 18%, transparent), transparent 70%); }
.shield .core { width: 34%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--mint) 70%, transparent); animation: pulse 4s ease-in-out infinite; }
.shield .core .i { width: 46%; height: 46%; stroke-width: 1.8; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.shield .spin { position: absolute; inset: 6%; animation: rot 18s linear infinite; }
.shield .spin.s2 { inset: 18%; animation-duration: 11s; animation-direction: reverse; }
.shield .orb { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 22px var(--mint); }
.shield .s2 .orb { top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; background: var(--violet); box-shadow: 0 0 22px var(--violet); }
@keyframes rot { to { transform: rotate(360deg); } }
.checks { display: grid; gap: 14px; margin-top: 30px; }
.checks div { display: flex; gap: 14px; align-items: flex-start; }
.checks .ok { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--mint) 15%, transparent); color: var(--mint); }
.checks .ok .i { width: 17px; height: 17px; stroke-width: 2.6; }
.checks b { display: block; }
.checks small { color: var(--dim); font-size: 14.5px; }

/* ---------- pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan { position: relative; padding: clamp(26px, 3vw, 42px); border-radius: 28px; background: var(--surface); border: 1px solid var(--stroke); }
.plan.plus { background: linear-gradient(160deg, color-mix(in srgb, var(--mint) 12%, var(--surface)), var(--surface) 55%); border-color: color-mix(in srgb, var(--mint) 40%, var(--stroke)); }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .price { font-size: clamp(40px, 4vw, 56px); font-weight: 820; letter-spacing: -0.04em; margin: 18px 0 4px; }
.plan .price small { font-size: 17px; color: var(--dim); font-weight: 600; letter-spacing: 0; }
.plan .alt { color: var(--dim); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li .i { width: 20px; height: 20px; color: var(--mint); margin-top: 2px; }
.pill { display: inline-flex; padding: 4px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 750; background: var(--grad); color: var(--on-accent); }
.fine { color: var(--faint); font-size: 13.5px; margin-top: 18px; }

/* ---------- download */
.download { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dl {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: clamp(24px, 3vw, 40px);
  border-radius: 28px; background: var(--surface); border: 1px solid var(--stroke); isolation: isolate;
}
.dl h3 { font-size: clamp(24px, 2.4vw, 32px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dl p { color: var(--dim); margin-top: 12px; max-width: 42ch; }
.dl .meta { margin-top: 14px; color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.dl .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.qr { width: clamp(140px, 13vw, 190px); padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.qr img { width: 100%; height: auto; image-rendering: pixelated; }
.qr-cap { text-align: center; color: var(--dim); font-size: 13px; margin-top: 10px; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.dl.lead-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 29px; padding: 1.5px;
  background: conic-gradient(from var(--angle), var(--mint), var(--cyan), var(--violet), var(--mint));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite;
}
.dl.lead-card::after { content: ""; position: absolute; inset: 10%; z-index: -2; border-radius: 40px; background: var(--grad); filter: blur(60px); opacity: 0.18; }
@keyframes spin { to { --angle: 360deg; } }
html[data-device="ios"] .dl-ios { order: -1; }
html[data-device="android"] .desk-only, html[data-device="ios"] .desk-only { display: none; }
html[data-device="android"] .dl-android .btn.primary, html[data-device="ios"] .dl-ios .store-btn { height: 60px; }

/* ---------- faq */
.faq { display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--surface); border: 1px solid var(--stroke); padding: 0 24px; transition: border-color 0.2s; }
details[open] { border-color: color-mix(in srgb, var(--mint) 35%, var(--stroke)); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary .i { margin-left: auto; transition: transform 0.2s; color: var(--dim); }
details[open] summary .i { transform: rotate(45deg); color: var(--mint); }
details .a { color: var(--dim); padding: 0 0 22px; max-width: 75ch; }
details .a p + p { margin-top: 10px; }

/* ---------- final cta and footer */
.final { position: relative; overflow: hidden; margin: 0 var(--pad); border-radius: 36px; padding: clamp(40px, 6vw, 90px); text-align: center; isolation: isolate; border: 1px solid var(--stroke2); background: var(--bg2); }
.final .aurora { inset: -40%; }
.final h2 { font-size: clamp(32px, 5vw, 66px); }
.final p { color: var(--dim); margin: 18px auto 0; max-width: 56ch; }
.final .cta { justify-content: center; }
.footer { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; padding: 50px var(--pad) 40px; color: var(--dim); font-size: 14.5px; border-top: 1px solid var(--stroke2); margin-top: clamp(60px, 8vw, 110px); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- legal and support pages */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; padding: 150px var(--pad) 60px; border-bottom: 1px solid var(--stroke2); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 80px); margin-top: 14px; }
.doc-hero p { color: var(--dim); margin-top: 16px; max-width: 64ch; font-size: 18px; }
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); padding: 60px var(--pad) 0; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--dim); font-size: 14.5px; padding: 6px 12px; border-radius: 10px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--surface); }
.prose { max-width: 75ch; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--dim); }
.prose p { margin: 12px 0; }
.prose ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--mint); }
.contact-card { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--stroke); display: grid; gap: 6px; color: var(--dim); }
.contact-card b { color: var(--text); }
.if-empty.empty { display: none; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding: 60px var(--pad) 0; align-items: start; }
.support-grid .contact-card { position: sticky; top: 96px; margin-top: 0; padding: 30px; }
.support-grid .contact-card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); margin-bottom: 10px; }

/* ---------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; padding-top: 110px; }
  .phones { height: min(110vw, 620px); }
  .tile.big, .tile.wide { grid-column: span 12; }
  .tile.third { grid-column: span 6; }
  .download, .plans { grid-template-columns: minmax(0, 1fr); }
  .privacy { grid-template-columns: minmax(0, 1fr); }
  .shield { max-width: 340px; }
}
@media (max-width: 820px) {
  .nav-links, .nav .btn.desk { display: none; }
  .menu { display: inline-flex; }
  .nav.open { background: var(--bg); height: auto; flex-wrap: wrap; padding-bottom: 18px; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 4px; margin: 0; order: 3; }
  .nav.open .nav-links a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--stroke2); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tile.third { grid-column: span 12; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .support-grid .contact-card { position: static; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl .qrbox { display: none; }
  html[data-device="desktop"] .dl .qrbox { display: block; }
}
@media (max-width: 560px) {
  .phone { width: 46%; }
  .phone.p1 { left: 27%; width: 52%; }
  .chipcard { display: none; }
  .strip { margin-top: 0; }
  .btn, .store-btn { height: 52px; }
  .cta .btn, .cta .store-btn { flex: 1 1 100%; justify-content: center; }
  .final { margin: 0 12px; border-radius: 28px; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
