/* ==========================================================================
   Neko — download site (page styles)
   The fake app's styles live in css/app-demo.css.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-raised: #121214;
  --bg-input: #19191c;
  --border: #26262b;
  --border-soft: #1b1b1f;
  --text: #f2eefb;
  --text-dim: #a29fae;
  --text-faint: #7d7a88;     /* ≥ 4.5:1 on --bg for small text */
  --pink: #efb3d3;
  --pink-strong: #f6a5cf;
  --pink-ink: #2a1420;
  --pink-glow: rgba(239, 179, 211, .14);
  --green: #6fd08c;
  --amber: #e9b949;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --nav-gap: 14px;
  --nav-pill: 62px;
  --nav-h: calc(var(--nav-gap) + var(--nav-pill));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); margin: 0; }
p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: .86em;
  padding: .1em .4em;
  border-radius: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
}
kbd {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--bg-raised);
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  white-space: nowrap;
}
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--pink-strong); color: var(--pink-ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.muted { color: var(--text-faint); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1350px; } /* 1350 − 2×24 padding = 1302 = demo frame → window renders at exactly 1:1 */
.wrap-narrow { max-width: 860px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, background .15s, border-color .15s, box-shadow .2s, filter .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #f8b9da, var(--pink-strong));
  color: var(--pink-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 8px 24px -8px rgba(246, 165, 207, .55);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 10px 32px -8px rgba(246, 165, 207, .7); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: #34343b; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; gap: 7px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--text-dim);
  font: 500 14px var(--font-text); cursor: pointer;
}
.link-btn .ic { width: 16px; height: 16px; }
.link-btn:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

/* ---------- floating navigation ---------- */
.nav {
  --nav-surface: #201c23;
  --nav-label: #d2c8d3;
  --nav-rim: #4c414b;
  --nav-ease: cubic-bezier(.23, 1, .32, 1);
  position: fixed; inset: var(--nav-gap) 0 auto; z-index: 50;
  padding: 0 16px; pointer-events: none;
}
.nav-inner {
  position: relative; pointer-events: auto;
  max-width: 1024px; height: var(--nav-pill); margin: auto;
  display: flex; align-items: center; gap: 16px; padding: 0 8px 0 18px;
  border: 1px solid var(--nav-rim); border-radius: 18px;
  background: linear-gradient(108deg, #322730, var(--nav-surface) 30%, #19171b);
  box-shadow: inset 0 1px rgb(255 255 255 / .07), 0 8px 24px -12px #000;
}
.nav.is-scrolled .nav-inner { border-color: #554952; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px;
  color: var(--text); text-decoration: none;
  font: 650 28px/1 var(--font); letter-spacing: -.04em;
}
.brand-cat { width: 34px; height: 32px; }
.nav-links { position: relative; display: flex; align-items: center; margin: 0 auto; }
.nav-links a {
  display: flex; align-items: center; min-height: 44px; padding: 0 clamp(8px, 1vw, 14px);
  color: var(--nav-label); text-decoration: none; font: 500 14px/1.2 var(--font-text);
}
.nav-links a[aria-current], .nav-links a:focus-visible { color: var(--pink); }
.nav-links::after {
  content: ""; pointer-events: none; position: absolute; bottom: 2px; left: -12px;
  width: 24px; height: 3px; border-radius: 3px; background: var(--pink);
  opacity: 0; transform: translateX(var(--marker-x, 0px));
  transition: transform 220ms var(--nav-ease), opacity 140ms ease;
}
.nav-links.has-marker::after { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  position: relative; display: flex; align-items: center; isolation: isolate;
  background: #161417; border-radius: 8px; padding: 2px;
}
.lang::before {
  content: ""; position: absolute; inset: 3px auto 3px 2px; width: calc(50% - 2px);
  z-index: -1; background: #3e353e; border-radius: 6px;
  transition: transform 180ms var(--nav-ease);
}
html:lang(en) .lang::before { transform: translateX(100%); }
.lang button {
  width: 34px; height: 36px; padding: 0; background: none; border: 0;
  color: var(--text-dim); font: 600 12px/1 var(--font-text); cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--text); }
.nav .btn-sm {
  gap: 12px; height: 42px; padding: 0 14px; border-radius: 11px;
  background: var(--pink); color: var(--pink-ink); font-weight: 700;
  box-shadow: inset 0 1px rgb(255 255 255 / .35);
}
.nav .btn-sm .ic { width: 17px; height: 17px; }
.nav-toggle { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .lang button:hover { color: var(--text); }
  .nav .btn-sm:hover { background: #f9cbe3; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-inner { animation: nav-arrive 420ms var(--nav-ease) backwards; }
  @keyframes nav-arrive { from { opacity: .25; transform: translateY(-10px); } }
  @media (hover: hover) and (pointer: fine) {
    .brand-cat { transition: transform 180ms var(--nav-ease); }
    .brand:hover .brand-cat { transform: translateY(-2px) rotate(-6deg); }
    .download-arrow { transition: transform 150ms var(--nav-ease); }
    .nav .btn-sm:hover .download-arrow { transform: translateY(2px); }
  }
}

/* ---------- hero ---------- */
/* the nav is fixed, so the hero starts at the very top (its glow runs behind the pill) */
.hero { position: relative; padding: calc(88px + var(--nav-h)) 0 56px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -10% 0 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(239, 179, 211, .16), transparent 70%),
    radial-gradient(30% 30% at 50% 22%, rgba(239, 179, 211, .10), transparent 70%);
}
.hero-bg::after {
  /* very subtle pixel grid, faded out radially */
  content: ""; position: absolute; inset: 0;
  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: 32px 32px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(55% 60% at 50% 20%, #000 20%, transparent 75%);
          mask-image: radial-gradient(55% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-cat {
  width: 96px; height: 84px;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 30px rgba(239, 179, 211, .35));
  animation: bob 4s ease-in-out infinite;
}
.hero-cat svg { width: 100%; height: 100%; display: block; }
.hero-cat .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 18, 20, .7);
  font-size: 13.5px; color: var(--text-dim);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-glow); }
.hero h1 {
  margin-top: 22px;
  max-width: 22ch;
  font-size: clamp(38px, 5.4vw, 70px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hl { color: var(--pink); }
.hero-sub {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19.5px);
  line-height: 1.55;
  color: var(--text-dim);
  text-wrap: pretty;
}
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-meta { font-size: 13px; color: var(--text-faint); }
.hero-privacy { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.hero-privacy .ic { width: 16px; height: 16px; color: var(--green); }

/* ---------- demo ---------- */
.demo { position: relative; padding: 8px 0 40px; }
.demo-label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 16px;
  font-size: 14px; color: var(--text-dim);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(233, 185, 73, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(233, 185, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0); } }
.demo-frame {
  position: relative;
  max-width: 1302px; /* 1280 window + padding + border */
  margin: 0 auto;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #16161a, #0e0e10);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 50px 120px -40px rgba(239, 179, 211, .22),
    0 30px 60px -30px rgba(0, 0, 0, .8);
}
.demo-frame::before {
  /* soft pink glow behind the window */
  content: ""; position: absolute; inset: 8% 10% -4%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(239, 179, 211, .14), transparent 70%);
  filter: blur(40px);
}
.demo-under {
  max-width: 1302px; margin: 16px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.demo-hints { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-dim); }
.hint-label { color: var(--text-faint); margin-right: 2px; }
.hint-chip code { font-size: 12.5px; }
.demo-tools { display: flex; align-items: center; gap: 12px; }
.focus-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-faint); }
.focus-dot { width: 7px; height: 7px; border-radius: 50%; background: #45434d; transition: background .2s, box-shadow .2s; }
.focus-hint.is-on { color: var(--text-dim); }
.focus-hint.is-on .focus-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(111, 208, 140, .15); }
.demo-mobile-note { display: none; margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--amber); }

/* ---------- generic sections ---------- */
.section { padding: 96px 0 24px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.section-sub { margin-top: 14px; font-size: 17.5px; color: var(--text-dim); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-raised), #0e0e10);
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: #2f2b33; transform: translateY(-2px); }
.f-ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--pink-glow);
  border: 1px solid rgba(239, 179, 211, .16);
  color: var(--pink);
}
.f-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.feature p code { font-size: 12.5px; }
.feature p kbd { font-size: 12px; padding: 0 6px; }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.kbd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kbd-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-dim); }
.kbd-list kbd { min-width: 62px; text-align: center; }
.voice-viz { display: flex; align-items: center; gap: 5px; height: 64px; padding: 0 12px; }
.voice-viz span { width: 6px; border-radius: 3px; background: var(--pink); opacity: .85; animation: wave 1.2s ease-in-out infinite; }
.voice-viz span:nth-child(1) { height: 18px; animation-delay: -.2s; }
.voice-viz span:nth-child(2) { height: 34px; animation-delay: -.5s; }
.voice-viz span:nth-child(3) { height: 52px; animation-delay: -.1s; }
.voice-viz span:nth-child(4) { height: 28px; animation-delay: -.7s; }
.voice-viz span:nth-child(5) { height: 44px; animation-delay: -.3s; }
.voice-viz span:nth-child(6) { height: 22px; animation-delay: -.6s; }
.voice-viz span:nth-child(7) { height: 14px; animation-delay: -.4s; }
@keyframes wave { 50% { transform: scaleY(.45); } }

/* ---------- providers ---------- */
.providers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.provider {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-raised);
  transition: border-color .2s;
}
.provider:hover { border-color: #2f2b33; }
.p-badge {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #1c1c20;
  border: 1px solid var(--border);
  font: 650 13px var(--font-text); letter-spacing: -.01em;
  color: #d8d4e2;
}
.provider.is-custom .p-badge { border-radius: 50%; border-style: dashed; color: var(--pink); }
.p-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.p-sub { font-size: 12.5px; color: var(--text-faint); line-height: 1.3; }
.providers-note { margin-top: 18px; font-size: 13.5px; color: var(--text-faint); }

/* ---------- gallery ---------- */
.gallery-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.gallery-tabs button {
  height: 36px; padding: 0 14px;
  border: 1px solid var(--border-soft); border-radius: 10px;
  background: var(--bg-raised); color: var(--text-dim);
  font: 500 14px var(--font-text); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.gallery-tabs button:hover { color: var(--text); }
.gallery-tabs button[aria-selected="true"] { color: var(--text); border-color: rgba(239, 179, 211, .4); background: rgba(239, 179, 211, .08); }
.gallery-stage { margin: 0; }
.gallery-open {
  display: block; width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  background: #0d0d0f;
  cursor: zoom-in;
}
.gallery-open img {
  display: block;
  width: 100%; height: auto;
  max-height: 640px;
  object-fit: contain;
  border-radius: 10px;
}
.gallery-stage figcaption { margin-top: 12px; font-size: 14px; color: var(--text-faint); text-align: center; }

/* ---------- download ---------- */
.download-card {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(239, 179, 211, .12), transparent 60%),
    linear-gradient(180deg, #141417, #0d0d0f);
  overflow: hidden;
}
.dl-main { padding: 44px 44px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.dl-icon { width: 84px; height: 84px; margin-bottom: 22px; filter: drop-shadow(0 10px 24px rgba(239, 179, 211, .25)); }
.dl-icon svg { width: 100%; height: 100%; display: block; }
.dl-main h2 { font-size: clamp(34px, 3.6vw, 46px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
.dl-meta { margin: 6px 0 24px; font-size: 16px; color: var(--text-dim); }
.dl-file { margin-top: 12px; font-size: 13.5px; color: var(--text-faint); font-family: var(--mono); }
.dl-hash { margin-top: 4px; font-size: 13px; color: var(--text-faint); }
.dl-hash code { background: none; border: 0; padding: 0; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 24px; padding: 14px 16px;
  border: 1px solid rgba(233, 185, 73, .28);
  border-radius: 14px;
  background: rgba(233, 185, 73, .07);
  font-size: 14px; line-height: 1.5; color: #e9dcc0;
}
.notice .ic { width: 20px; height: 20px; color: var(--amber); margin-top: 1px; }
.notice strong { color: #fff1cf; font-weight: 600; }
.dl-steps { padding: 44px 44px 40px; border-left: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .18); }
.dl-steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-n {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--pink-glow); border: 1px solid rgba(239, 179, 211, .22);
  color: var(--pink); font-weight: 700; font-size: 14px;
}
.steps strong { display: block; font-size: 16px; font-weight: 600; }
.steps p { margin-top: 2px; font-size: 14.5px; color: var(--text-dim); }
.steps code { font-size: 12.5px; }
.dl-req { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; color: var(--text-faint); }
.dl-steps.is-highlight { animation: highlight 1.6s ease; }
@keyframes highlight { 0%, 60% { background: rgba(239, 179, 211, .08); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-raised);
  transition: border-color .2s;
}
.faq details[open] { border-color: #2f2b33; }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); border-color: var(--pink); }
.faq details p { padding: 0 22px 20px; font-size: 15.5px; color: var(--text-dim); }
.faq details p code { font-size: 13px; }

/* ---------- contact ---------- */
.contact-card {
  display: flex; align-items: center; gap: 24px;
  padding: 32px 36px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(139, 149, 255, .10), transparent 60%),
    linear-gradient(180deg, #141417, #0e0e10);
}
.discord-tile {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center;
  border-radius: 18px;
  background: #1d1e2e; border: 1px solid #2b2d45;
  color: #c9cdfb;
}
.discord-tile svg { width: 32px; height: 32px; }
.contact-txt { flex: 1; min-width: 0; }
.contact-txt .eyebrow { margin-bottom: 6px; }
.contact-card h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.contact-txt p:last-child { margin-top: 4px; color: var(--text-dim); }

/* ---------- footer ---------- */
.footer { margin-top: 96px; padding: 40px 0 48px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 18px; font-size: 14px; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-credits, .footer-copy { grid-column: 1 / -1; font-size: 13px; color: var(--text-faint); }
.footer-copy { margin-top: -10px; }

/* ---------- download toast ---------- */
.site-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  width: min(460px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 16px 18px 14px;
  border: 1px solid rgba(239, 179, 211, .25);
  border-radius: 16px;
  background: rgba(20, 20, 23, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  animation: toast-in .25s cubic-bezier(.3, .7, .3, 1);
}
.site-toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.site-toast-head { display: flex; align-items: flex-start; gap: 10px; }
.site-toast-head > .ic { color: var(--pink); margin-top: 2px; }
.site-toast-head strong { flex: 1; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.site-toast-x { display: grid; place-items: center; width: 28px; height: 28px; margin: -4px -6px 0 0; border: 0; border-radius: 8px; background: none; color: var(--text-dim); cursor: pointer; }
.site-toast-x:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.site-toast-x .ic { width: 16px; height: 16px; }
.site-toast-steps { margin: 10px 0 0; padding: 0 0 0 46px; font-size: 13.5px; color: var(--text-dim); display: grid; gap: 3px; }
.site-toast-steps code { font-size: 12px; }
.site-toast-link { display: inline-block; margin: 10px 0 0 28px; font-size: 13.5px; color: var(--pink); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  padding: 32px 16px;
  background: rgba(5, 5, 6, .92);
  backdrop-filter: blur(6px);
  animation: fade .18s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; max-height: 100%; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lb-figure figcaption { font-size: 14px; color: var(--text-dim); }
.lb-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(18, 18, 20, .8); color: var(--text);
  cursor: pointer; justify-self: center;
}
.lb-btn:hover { background: #1d1d21; }
.lb-close { position: absolute; top: 16px; right: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .providers { grid-template-columns: repeat(3, 1fr); }
  .download-card { grid-template-columns: 1fr; }
  .dl-steps { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
}
@media (max-width: 900px) {
  .brand { margin-right: auto; }
  .nav-toggle {
    position: relative; display: block; flex: none; width: 44px; height: 44px;
    background: none; border: 0; color: var(--text); cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; left: 12px; top: 21px; width: 20px; height: 2px;
    border-radius: 2px; background: currentColor;
    transform: translateY(-3px); transition: transform 180ms var(--nav-ease);
  }
  .nav-toggle span + span { transform: translateY(3px); }
  .nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span + span { transform: rotate(-45deg); }
  .nav-links {
    position: absolute; inset: calc(100% + 6px) 0 auto; display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px;
    max-height: calc(100dvh - var(--nav-h) - 20px); overflow-y: auto;
    border: 1px solid var(--nav-rim); border-radius: 14px;
    background: var(--nav-surface); box-shadow: 0 12px 24px -10px #000;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 160ms ease, transform 180ms var(--nav-ease), visibility 0s 180ms;
  }
  .nav-toggle[aria-expanded="true"] + .nav-links {
    visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
  }
  .nav-links::after { display: none; }
  .nav-links a { padding: 0 12px; border-radius: 7px; }
  .nav-links a[aria-current] { background: #392d37; }
  .lang button { height: 44px; }
}
@media (max-width: 767px) {
  :root { --nav-gap: 10px; --nav-pill: 58px; }
  .nav { padding: 0 10px; }
  .nav-inner { padding: 0 6px 0 12px; gap: 4px; }
  .nav .btn-sm { height: 44px; padding: 0 12px; gap: 7px; }
  .wrap { padding: 0 16px; }
  .hero { padding: calc(48px + var(--nav-h)) 0 40px; }
  .hero-cat { width: 76px; height: 66px; margin-bottom: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { height: 50px; font-size: 15px; padding: 0 18px; }
  .demo-frame { padding: 5px; border-radius: 14px; }
  .nk-stage { border-radius: 9px; }
  .demo-mobile-note { display: block; }
  .demo-under { justify-content: center; }
  .demo-tools .focus-hint { display: none; }
  .section { padding: 72px 0 16px; }
  .features { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .providers { grid-template-columns: repeat(2, 1fr); }
  .provider { padding: 10px 12px; gap: 10px; }
  .p-badge { width: 34px; height: 34px; font-size: 12px; }
  .p-sub { display: none; }
  .dl-main, .dl-steps { padding: 28px 22px; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .contact-card .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px 24px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
  .nav-actions { gap: 8px; }
}
@media (max-width: 420px) {
  .brand { gap: 5px; font-size: 24px; }
  .brand-cat { width: 30px; }
  .nav-actions { gap: 4px; }
  .nav .btn-sm { padding: 0 8px; }
}
@media (max-width: 380px) {
  .nav-inner { padding-left: 8px; }
  .brand { min-width: 32px; justify-content: center; }
  .brand span { display: none; }
  .lang button { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
