/* Hostdeck landing page (templates/landing.html, static/landing.js).
 * Three themes, matching the three screenshot sets in LandingPage/screenshots:
 * dark (default), light and ash — stored in localStorage "Hostdeck_theme",
 * the same key the app uses. */

*, *::before, *::after { box-sizing: border-box; }

:root, [data-theme="dark"] {
  --bg: #070b16;
  --bg-band: #0a1020;
  --card: #0d1424;
  --card-2: #111a2e;
  --border: rgba(148, 163, 184, .16);
  --border-strong: rgba(148, 163, 184, .28);
  --text: #e8edf6;
  --muted: #98a4b8;
  --accent: #60a5fa;
  --accent-2: #a855f7;
  --accent-solid: #3b82f6;
  --accent-soft: rgba(96, 165, 250, .14);
  --ok: #34d399;
  --warn: #fbbf24;
  --glow-1: rgba(59, 130, 246, .38);
  --glow-2: rgba(168, 85, 247, .30);
  --shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(148, 163, 184, .10);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, .35);
  --nav-bg: rgba(7, 11, 22, .72);
  --code-bg: rgba(148, 163, 184, .10);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f9fc;
  --bg-band: #eef2f9;
  --card: #ffffff;
  --card-2: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #526077;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-solid: #2563eb;
  --accent-soft: rgba(37, 99, 235, .10);
  --ok: #059669;
  --warn: #d97706;
  --glow-1: rgba(59, 130, 246, .20);
  --glow-2: rgba(124, 58, 237, .16);
  --shadow: 0 30px 70px rgba(15, 23, 42, .14), 0 0 0 1px rgba(15, 23, 42, .06);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, .08);
  --nav-bg: rgba(247, 249, 252, .80);
  --code-bg: rgba(15, 23, 42, .06);
  color-scheme: light;
}

[data-theme="ash"] {
  --bg: #d8d3cb;
  --bg-band: #cec8be;
  --card: #e8e4dd;
  --card-2: #efebe5;
  --border: #bdb5a8;
  --border-strong: #a79e8f;
  --text: #25211b;
  --muted: #5d564b;
  --accent: #4b55c8;
  --accent-2: #7a4fb8;
  --accent-solid: #4b55c8;
  --accent-soft: rgba(75, 85, 200, .12);
  --ok: #2f7d57;
  --warn: #a8660b;
  --glow-1: rgba(75, 85, 200, .18);
  --glow-2: rgba(122, 79, 184, .14);
  --shadow: 0 28px 64px rgba(60, 52, 40, .20), 0 0 0 1px rgba(60, 52, 40, .08);
  --shadow-soft: 0 12px 30px rgba(60, 52, 40, .12);
  --nav-bg: rgba(216, 211, 203, .82);
  --code-bg: rgba(60, 52, 40, .08);
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
code, kbd { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; }
code { background: var(--code-bg); padding: .1em .35em; border-radius: 5px; }
kbd { border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 0 .35em; border-radius: 5px; background: var(--card); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .72rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-solid), var(--accent-2));
  box-shadow: 0 8px 24px rgba(59, 130, 246, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(99, 102, 241, .38); }
.btn-ghost { color: var(--text); background: var(--card); border-color: var(--border); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--accent); }
.btn-outline { color: var(--text); background: transparent; border-color: var(--border-strong); }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand b { font-weight: 700; color: #f2a93b; }
[data-theme="light"] .brand b, [data-theme="ash"] .brand b { color: #c47a12; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-signin { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 0 6px; }
.nav-signin:hover { color: var(--text); }
.theme-btn, .nav-burger {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-btn:hover, .nav-burger:hover { color: var(--text); border-color: var(--border-strong); }
.theme-btn svg, .nav-burger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-light, .theme-btn .i-ash { display: none; }
[data-theme="light"] .theme-btn .i-dark, [data-theme="ash"] .theme-btn .i-dark { display: none; }
[data-theme="light"] .theme-btn .i-light { display: block; }
[data-theme="ash"] .theme-btn .i-ash { display: block; }
.nav-burger { display: none; }
.nav-drawer { display: grid; gap: 2px; padding: 8px 16px 16px; border-top: 1px solid var(--border); }
.nav-drawer[hidden] { display: none; }
@media (min-width: 961px) { .nav-drawer { display: none; } }
.nav-drawer a { padding: 10px 8px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.nav-drawer a:hover { background: var(--card); }

/* ── Hero ── */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, var(--glow-1), transparent 70%),
    radial-gradient(35% 45% at 72% 22%, var(--glow-2), transparent 70%);
  filter: blur(10px);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  font-size: .85rem; font-weight: 600; color: var(--text);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--card);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 800;
  margin: 0 0 22px;
}
.grad { background: linear-gradient(95deg, var(--accent), var(--accent-2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; color: var(--muted); font-size: .88rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-shot {
  position: relative; margin: 56px auto 0; max-width: 1120px;
  border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
  cursor: zoom-in;
}
.hero-shot::before {
  content: ""; position: absolute; inset: -1px; border-radius: 17px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(96, 165, 250, .6), rgba(168, 85, 247, .45) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.hero-shot img { width: 100%; aspect-ratio: 16 / 9.2; object-fit: cover; object-position: top left; border-radius: 0 0 16px 16px; background: var(--card-2); }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: .82rem; line-height: 1.3; text-align: left;
  background: var(--card); border: 1px solid var(--border-strong); box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 600; }
.float small { color: var(--muted); }
.float-a { left: -28px; top: 22%; }
.float-b { right: -32px; bottom: 16%; animation-delay: -3s; }
.float-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.float-dot.ok { background: var(--ok); box-shadow: 0 0 0 5px rgba(52, 211, 153, .18); }
.float-dot.warn { background: var(--warn); box-shadow: 0 0 0 5px rgba(251, 191, 36, .18); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Facts ── */
.facts { padding: 36px 0 12px; }
.facts-grid { max-width: 1132px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.facts-grid > div { background: var(--card); padding: 22px 16px; text-align: center; display: grid; gap: 2px; }
.facts-grid b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.facts-grid span { color: var(--muted); font-size: .86rem; }

/* ── Sections ── */
.section { padding: 96px 0; scroll-margin-top: 60px; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.06rem; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 750; margin: 0 0 16px; }
h3 { font-size: 1.08rem; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 8px; }
.plan-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--muted); border: 1px solid var(--border-strong); background: var(--card); }
.plan-tag.pro { color: var(--accent); border-color: rgba(96, 165, 250, .45); background: var(--accent-soft); }
.plan-tag.ultra { color: var(--accent-2); border-color: rgba(168, 85, 247, .45); background: rgba(168, 85, 247, .12); }

.q-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.q-card { display: block; text-decoration: none; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); transition: transform .15s ease, border-color .15s ease; }
.q-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.q-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.q-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; background: linear-gradient(135deg, var(--accent-soft), rgba(168, 85, 247, .14)); }
.q-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Feature rows ── */
.feature-alt { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature-grid.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-grid.reverse .feature-copy { order: 2; }
.feature-copy .kicker { justify-content: flex-start; }
.feature-copy > p:not(.kicker) { color: var(--muted); margin: 0 0 18px; }
.feature-copy strong { color: var(--text); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.shot {
  margin: 0; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.shot:hover { transform: translateY(-3px); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--card-2); }
.stack { position: relative; padding-bottom: 12%; }
.stack .shot-small { position: absolute; right: -4%; bottom: 0; width: 52%; }
.stack .shot-small img { aspect-ratio: 4 / 3; }

/* ── Bento ── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento-card { margin: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--border); cursor: zoom-in; transition: transform .15s ease, border-color .15s ease; }
.bento-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.bento-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--card-2); border-bottom: 1px solid var(--border); }
.bento-wide { grid-column: span 2; }
.bento-wide img { aspect-ratio: 16 / 7.4; }
.bento-card figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; }
.bento-card figcaption b { font-size: 1rem; }
.bento-card figcaption em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-left: 6px; vertical-align: 2px; }
.bento-card figcaption span { color: var(--muted); font-size: .9rem; }

/* ── Mini grid ── */
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini { padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.mini h3 em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-left: 4px; vertical-align: 2px; }
.mini p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ── Tour ── */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.tab { border: 1px solid var(--border); background: var(--card); color: var(--muted); font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent-solid), var(--accent-2)); }
.shot-tour img { aspect-ratio: 16 / 9; }
.tab-caption { text-align: center; color: var(--muted); margin: 16px 0 0; }
.tab-caption::first-letter { text-transform: uppercase; }

/* ── Steps ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { min-width: 0; }
.steps li { padding: 26px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent-solid), var(--accent-2)); }
.cmd { display: block; margin-top: 14px; padding: 10px 12px; border-radius: 9px; font-size: .8rem; overflow-x: auto; white-space: nowrap; }

/* ── Pricing ── */
.pricing { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.billing-toggle { display: flex; width: max-content; margin: 0 auto 34px; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); }
.bt { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bt.is-on { color: var(--text); background: var(--card-2); box-shadow: 0 0 0 1px var(--border-strong); }
.save { font-size: .7rem; font-weight: 700; color: var(--ok); background: rgba(52, 211, 153, .14); padding: 2px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.plan.is-featured { border-color: transparent; box-shadow: var(--shadow); }
.plan.is-featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan-badge { position: absolute; top: -12px; left: 24px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, var(--accent-solid), var(--accent-2)); }
.plan-name { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan-tagline { margin: 0; font-weight: 500; min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; }
.plan-price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-billed { margin: -4px 0 0; color: var(--muted); font-size: .84rem; }
.plan-numbers { list-style: none; margin: 6px 0 0; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: grid; gap: 4px; font-size: .92rem; font-weight: 600; }
.plan-list { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 9px; flex: 1; font-size: .92rem; color: var(--muted); }
.plan-list li { position: relative; padding-left: 24px; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 5.5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan-list li.inc { padding-left: 0; color: var(--text); font-weight: 600; }
.plan-list li.inc::before { display: none; }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; max-width: 720px; margin: 26px auto 0; }

.compare { margin: 36px auto 0; max-width: 980px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.compare summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); line-height: 1; }
.compare[open] summary::after { content: "−"; }
.compare-scroll { overflow-x: auto; border-top: 1px solid var(--border); }
.compare table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.compare th, .compare td { padding: 10px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); position: sticky; top: 0; background: var(--card); }
.compare-group th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--card-2); }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--border-strong); }
.compare .note { color: var(--muted); font-size: .82rem; }

/* ── FAQ ── */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ── Final CTA ── */
.final-cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 24px;
  background:
    radial-gradient(60% 80% at 20% 0%, var(--glow-1), transparent 70%),
    radial-gradient(60% 80% at 80% 100%, var(--glow-2), transparent 70%),
    var(--card);
  border: 1px solid var(--border);
}
.final-cta p { color: var(--muted); margin: 0 0 28px; font-size: 1.08rem; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ── Lightbox ── */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(3, 6, 14, .92); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 24px; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lb-fig img { max-height: 84vh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-fig figcaption { color: rgba(255, 255, 255, .78); font-size: .9rem; text-align: center; }
.lb-nav, .lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .18); }
.lb-close { position: fixed; top: 16px; right: 16px; font-size: 1.1rem; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .float-a { left: 12px; top: auto; bottom: 12px; }
  .float-b { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: inline-grid; }
  .q-grid, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid.reverse .feature-copy { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-wide { grid-column: 1 / -1; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-actions .btn-sm { display: none; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 36px; border-radius: 12px; }
  .hero-shot img { border-radius: 0 0 12px 12px; }
  .float { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .q-grid, .mini-grid, .bento { grid-template-columns: minmax(0, 1fr); }
  .stack { padding-bottom: 0; display: grid; gap: 14px; }
  .stack .shot-small { position: static; width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .tab { flex-shrink: 0; }
  .lb { grid-template-columns: 1fr; padding: 60px 8px 16px; }
  .lb-nav { display: none; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .btn, .q-card, .shot, .bento-card { transition: none; }
}
img.is-missing { visibility: hidden; }
