/* Beezifi Authenticator site: landing page, user guide, support and legal pages */

:root {
  --bg: #0b0d1e;
  --bg-2: #10122b;
  --surface: #161936;
  --surface-2: #1d2145;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5ff;
  --muted: #a9acd0;
  --faint: #7c80a8;
  --indigo: #5857f4;
  --violet: #8f5cfa;
  --cyan: #5ee0ff;
  --green: #3ddc97;
  --orange: #ffa94d;
  --red: #ff6b7a;
  --accent: #8f8cff;
  --grad: linear-gradient(90deg, #5ee0ff 0%, #8f8cff 50%, #b07cff 100%);
  --btn: linear-gradient(90deg, #5857f4, #8f5cfa);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(88, 87, 244, 0.55);
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan);
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; border-radius: 14px; padding: 14px 22px; border: 0; cursor: pointer;
  color: #fff; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--btn); box-shadow: 0 12px 30px -10px rgba(88, 87, 244, .8); }
.btn-ghost { background: rgba(255, 255, 255, .07); border: 1px solid var(--line-strong); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 11px; }
.btn-store {
  background: #000; border: 1px solid rgba(255, 255, 255, .28); padding: 10px 22px 10px 18px; border-radius: 14px;
  flex-direction: row; gap: 12px; text-align: left;
}
.btn-store svg { width: 26px; height: 26px; fill: #fff; }
.btn-store .store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-small { font-size: 0.72rem; font-weight: 500; opacity: .85; }
.store-big { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(11, 13, 30, .72); border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-family: var(--font-display); font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 600; font-size: 0.94rem; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 13, 30, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .btn { margin-top: 14px; }
}

/* Sections */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section.deep { background: linear-gradient(180deg, #0e0f2a, #090a18); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  background:
    radial-gradient(600px 420px at 12% 10%, rgba(88, 87, 244, .55), transparent 70%),
    radial-gradient(560px 420px at 92% 30%, rgba(143, 92, 250, .38), transparent 70%),
    radial-gradient(520px 380px at 40% 95%, rgba(94, 224, 255, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 30px 0 26px; }
.price-tag { display: flex; flex-direction: column; line-height: 1.2; }
.price-tag strong { font-size: 1.35rem; font-family: var(--font-display); }
.price-tag span { color: var(--muted); font-size: 0.88rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 220, 151, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-points { justify-content: center; }
}

/* Live phone in hero */
.phone {
  position: relative; width: min(340px, 86vw); aspect-ratio: 9 / 19.5; margin: 0 auto; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #6e7082, #24252e 35%, #55576a 70%, #1b1c24);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone-screen { position: relative; height: 100%; border-radius: 41px; background: #000; overflow: hidden; display: flex; flex-direction: column; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 34%; height: 28px; border-radius: 20px; background: #000; z-index: 3; box-shadow: 0 0 0 1px #111; }
.status { display: flex; justify-content: space-between; padding: 15px 28px 0; font-size: 0.78rem; font-weight: 700; height: 44px; }
.app-toolbar { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 0; z-index: 5; }
.tool-btn {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: #1c1c22; border: 1px solid rgba(255, 255, 255, .08); color: var(--accent);
}
.tool-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
button.tool-btn:hover, .tool-btn[aria-expanded="true"] { background: #2a2a33; }
.tool-add { cursor: default; background: var(--accent); color: #fff; border-color: transparent; }
.tool-add svg { stroke-width: 2.6; }
.code-menu {
  position: absolute; top: 42px; left: 12px; width: 212px; padding: 6px; border-radius: 16px;
  background: rgba(44, 44, 54, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  transform-origin: top left; animation: menu-in .18s ease-out;
}
.code-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.menu-label { margin: 4px 10px 4px 34px; font-size: 0.68rem; font-weight: 600; color: #9a9aa6; }
.code-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; color: #f2f2f7; font: 500 0.84rem var(--font); text-align: left; cursor: pointer;
}
.code-menu button:hover, .code-menu button:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.code-menu button svg { margin-left: auto; width: 17px; height: 17px; fill: none; stroke: #c9c9d2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-menu .check { width: 16px; flex: none; }
.code-menu [aria-checked="true"] .check::before { content: "✓"; font-weight: 700; }
.menu-sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 5px 4px; }
.code-value.masked { letter-spacing: 0.08em; }
@media (prefers-reduced-motion: reduce) { .code-menu { animation: none; } }
.app-title { padding: 8px 18px 6px; font: 800 1.7rem/1 var(--font-display); }
.app-search { margin: 6px 16px 12px; padding: 8px 12px; border-radius: 11px; background: #1c1c22; color: #8a8a95; font-size: 0.8rem; }
.app-section { padding: 0 26px 6px; font-size: 0.7rem; color: #8a8a95; font-weight: 600; }
.code-list { margin: 0 14px; background: #1c1c22; border-radius: 16px; overflow: hidden; }
.code-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); cursor: pointer; transition: background .15s; }
.code-row:last-child { border-bottom: 0; }
.code-row:hover { background: rgba(255, 255, 255, .04); }
.mono-avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 800 0.95rem var(--font-display); color: #fff; }
.code-meta { flex: 1; min-width: 0; }
.code-issuer { font-size: 0.74rem; font-weight: 700; }
.code-value { font: 700 1.45rem/1.15 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; transition: color .3s; }
.code-value.urgent { color: var(--orange); }
.code-user { font-size: 0.66rem; color: #8a8a95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring { flex: none; width: 30px; height: 30px; position: relative; }
.ring svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: rgba(255, 255, 255, .12); }
.ring .bar { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .3s; }
.ring.urgent .bar { stroke: var(--orange); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 0.6rem var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.ring.urgent span { color: var(--orange); }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 10px 22px; font-size: 0.6rem; color: #8a8a95; font-weight: 600; }
.tabbar span.on { color: var(--accent); }
.copied {
  position: absolute; left: 50%; top: 58px; transform: translate(-50%, -12px); opacity: 0; z-index: 4;
  background: rgba(40, 40, 52, .92); padding: 8px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap;
}
.copied.show { opacity: 1; transform: translate(-50%, 0); }
.hero-note { text-align: center; color: var(--faint); font-size: 0.86rem; margin: 18px auto 0; max-width: 360px; }
.hero-note strong { color: var(--muted); }

/* Trust strip */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); }
.strip svg { width: 22px; height: 22px; stroke: var(--cyan); }

/* Screenshot gallery */
.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px 34px; margin: 0 auto; max-width: 1400px; scrollbar-width: thin; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; }
.shot { flex: none; width: 250px; scroll-snap-align: center; text-align: center; margin: 0; }
.shot .frame { border-radius: 38px; padding: 8px; background: linear-gradient(145deg, #5a5c6e, #1f2028 40%, #474959); box-shadow: 0 24px 60px -24px rgba(88, 87, 244, .6); }
.shot img { border-radius: 31px; width: 100%; height: auto; }
.shot figcaption { margin-top: 16px; font-weight: 700; }
.shot figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 1500px) { .gallery { justify-content: center; } }

/* Feature cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-top: 18px; }
.card p, .card li { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1em; }
.card li { margin: 4px 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(88, 87, 244, .9), rgba(143, 92, 250, .9));
}
.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.cyan { background: linear-gradient(135deg, #1fb5e0, #3d6df2); }
.icon.green { background: linear-gradient(135deg, #22b07d, #138a8f); }
.icon.orange { background: linear-gradient(135deg, #f7a531, #ef6a3a); }
.icon.pink { background: linear-gradient(135deg, #e0508e, #a04ee8); }
.icon.slate { background: linear-gradient(135deg, #59607a, #2f3448); }

/* Sign-in choices */
.choice { text-align: center; }
.choice .icon { margin: 0 auto; width: 64px; height: 64px; border-radius: 18px; }
.choice .icon svg { width: 32px; height: 32px; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(94, 224, 255, .14); color: var(--cyan); margin-left: 6px; vertical-align: 2px; }

/* Security */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr; gap: 36px; } }
.layers { display: grid; gap: 12px; }
.layer { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.layer .icon { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.layer .icon svg { width: 20px; height: 20px; }
.layer h3 { margin: 0 0 4px; font-size: 1.02rem; }
.layer p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--muted); }
.checklist li::before { content: ""; flex: none; margin-top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 220, 151, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist strong { color: var(--text); }

/* Generator playground */
.playground { max-width: 760px; margin: 0 auto; }
.pw-output {
  display: flex; align-items: center; gap: 14px; background: #07081a; border: 1px solid var(--line-strong); border-radius: 18px; padding: 22px 22px;
}
.pw-text { flex: 1; min-width: 0; font: 600 clamp(1.05rem, 2.6vw, 1.45rem)/1.4 var(--mono); word-break: break-all; }
.pw-text .d { color: #6cb8ff; }
.pw-text .s { color: var(--orange); }
.icon-btn { flex: none; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.meter { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .1); margin: 16px 0 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .3s ease, background .3s; }
.meter-row { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 700; }
.meter-row span:last-child { color: var(--muted); font-weight: 500; }
.controls { margin-top: 26px; display: grid; gap: 18px; }
.segmented { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.segmented button { border: 0; background: none; color: var(--muted); font: 700 0.92rem var(--font); padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row label { font-weight: 700; min-width: 64px; }
.range-row output { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
input[type="range"] { flex: 1; accent-color: var(--indigo); }
.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; cursor: pointer; user-select: none; }
.chip-toggle input { accent-color: var(--indigo); width: 16px; height: 16px; margin: 0; }
.fine { color: var(--faint); font-size: 0.85rem; text-align: center; margin-top: 18px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 74px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font: 800 1rem var(--font-display); color: #fff; background: var(--btn);
}
.steps strong { color: var(--text); }

/* Requirements */
.req { list-style: none; padding: 0; margin: 0; }
.req li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.req li span:first-child { font-weight: 700; }
.req li span:last-child { color: var(--muted); text-align: right; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* CTA */
.buy { text-align: center; overflow: hidden; }
.buy::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 360px at 50% 100%, rgba(88, 87, 244, .45), transparent 70%);
}
.buy .app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.buy .cta-row { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.footer p { margin: 14px 0 0; width: 100%; }

/* Documents: guide, support and legal pages */
.doc-hero { padding: 64px 0 28px; }
.doc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.doc-hero p { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-bottom: 100px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 0.92rem; }
.toc p { font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-size: 0.74rem; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.toc a:hover, .toc a.active { background: var(--surface); color: var(--text); text-decoration: none; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } .toc ol { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.doc { max-width: 760px; }
.doc h2 { font-size: 1.6rem; margin: 2.2em 0 0.6em; padding-top: 4px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 1.6em 0 0.4em; }
.doc p, .doc li { color: #cfd1ee; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc kbd, .doc code { font: 600 0.88em var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.path { font-weight: 600; color: var(--text); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.callout.warn { border-left-color: var(--orange); }
.callout p:last-child { margin-bottom: 0; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 18px; }
.contact-box p { margin: 4px 0; }
.caps { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.01em; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 40px; }
@media (max-width: 760px) { .help-cards { grid-template-columns: 1fr; } }
.help-cards .card { padding: 22px; }
.help-cards .card h3 { margin-top: 0; }
.help-cards .card p { margin: 0 0 10px; }

/* Comparison */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.why { margin-bottom: 56px; }
.why .card p { margin: 0; }
.compare { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; font-size: 0.95rem; color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 800 0.95rem/1.25 var(--font-display); color: var(--text); padding-top: 22px; padding-bottom: 18px; }
.compare thead th:first-child, .compare tbody th { width: 34%; }
.compare tbody th { text-align: left; font-weight: 700; color: var(--text); padding-left: 24px; }
.compare .us { background: rgba(88, 87, 244, .13); color: var(--text); }
.compare thead .us { display: table-cell; }
.compare thead .us img { width: 28px; height: 28px; border-radius: 7px; margin: 0 auto 6px; }
.compare small { display: block; margin-top: 4px; font-size: 0.76rem; color: var(--faint); line-height: 1.3; }
.compare .us small { color: var(--muted); }
.compare i { display: inline-block; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.compare i.yes { background-color: rgba(61, 220, 151, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.compare i.no { background-color: rgba(255, 255, 255, .06); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c80a8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.compare-note { max-width: 760px; margin: 22px auto 0; }
@media (max-width: 640px) {
  .why { margin-bottom: 40px; }
  .compare th, .compare td { padding: 13px 6px; font-size: 0.8rem; }
  .compare thead th { font-size: 0.78rem; }
  .compare .long { display: none; }
  .compare thead th:first-child, .compare tbody th { width: 37%; }
  .compare tbody th { padding-left: 14px; }
  .compare small { font-size: 0.68rem; }
  .compare i { width: 22px; height: 22px; background-size: 12px; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ring .bar, .meter i { transition: none; }
}
