/* Retro Launcher — modern product site
   Dark navy, crisp typography and the app's cyan accent. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #060910;
  --bg-soft: #090e17;
  --panel: #0d131e;
  --panel-hover: #111a27;
  --text: #f5f7fb;
  --muted: #9aa6b8;
  --faint: #78859a;
  --cyan: #38e0ff;
  --cyan-soft: rgba(56, 224, 255, 0.1);
  --cyan-ink: #03151c;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header: 72px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 140, 255, 0.055), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--cyan); color: var(--cyan-ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
img { display: block; max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
code {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.9em;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.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: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--cyan-ink);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 16, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: background 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  background: rgba(6, 9, 16, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-word { font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }
.main-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.18s, transform 0.18s var(--ease);
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.main-nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.065); }
.main-nav a.is-active::after { opacity: 1; transform: translate(-50%, 0); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.lang-switch button {
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.lang-switch button[aria-pressed="true"] { color: var(--cyan); background: var(--cyan-soft); }
.nav-toggle {
  display: none;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 16, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.mobile-nav.is-open { display: block; animation: menu-in 0.22s var(--ease) both; }
.mobile-nav ul { margin: 0; padding: 10px var(--gutter) 16px; list-style: none; }
.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--cyan); background: rgba(255, 255, 255, 0.04); }
.mobile-lang { display: flex; gap: 8px; padding: 12px 10px 0; }
.mobile-lang button {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.mobile-lang button[aria-pressed="true"] { color: var(--cyan); border-color: rgba(56, 224, 255, 0.45); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 8px 24px rgba(56, 224, 255, 0.12); }
.btn--solid:hover { background: #68e8ff; box-shadow: 0 12px 28px rgba(56, 224, 255, 0.2); }
.btn--line { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.025); color: var(--text); }
.btn--line:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.055); }
.header-cta { min-height: 38px; padding-inline: 16px; border-radius: 9px; font-size: 12px; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 50%, rgba(56, 224, 255, 0.12), transparent 42%),
    radial-gradient(ellipse at 90% 12%, rgba(111, 122, 255, 0.13), transparent 44%),
    linear-gradient(115deg, #08111b, #0a101d 52%, #070a12);
  animation: hero-mesh 24s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 9, 16, 0.12), transparent 60%);
  pointer-events: none;
}
@keyframes hero-mesh { to { filter: hue-rotate(8deg); transform: scale(1.025); } }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(38px, 5.5vw, 76px);
}
.hero-copy { max-width: 510px; animation: copy-in 0.7s var(--ease) both; }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.version {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 11px;
  border: 1px solid rgba(56, 224, 255, 0.18);
  border-radius: 8px;
  background: rgba(56, 224, 255, 0.055);
  color: #c1d4df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.version::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 224, 255, 0.09); }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.hero h1 span { display: block; }
.hero-title-accent { color: var(--cyan); }
.hero-title-last { margin-top: 8px; color: #acb7c8; font-size: 0.72em; letter-spacing: -0.045em; }
.lead { max-width: 35em; margin: 0 0 28px; color: #a9b4c4; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-actions .btn { min-height: 50px; padding-inline: 23px; }
.stage {
  position: relative;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 45%, rgba(0, 0, 0, 0.18));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.44), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  animation: stage-in 0.85s 0.08s var(--ease) both;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.stage:hover { border-color: rgba(56, 224, 255, 0.35); transform: translateY(-4px); }
@keyframes stage-in { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
.stage__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #05060a;
  cursor: zoom-in;
}
.stage__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}
.stage__frame img.is-active { opacity: 1; transform: scale(1); }
.stage__dots { display: flex; gap: 7px; margin: 13px 0 0 4px; }
.stage__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: width 0.2s var(--ease), background 0.2s;
}
.stage__dots button[aria-selected="true"] { width: 22px; background: var(--cyan); }
.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 11px 3px 1px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.stage-caption > span:first-child { display: flex; align-items: center; gap: 7px; }
.stage-caption i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  background: #080d15;
  list-style: none;
}
.facts li { padding: 22px clamp(16px, 2.5vw, 32px); border-right: 1px solid var(--line); animation: fact-in 0.55s var(--ease) both; }
.facts li:nth-child(2) { animation-delay: 70ms; }
.facts li:nth-child(3) { animation-delay: 140ms; }
.facts li:nth-child(4) { animation-delay: 210ms; }
.facts li:nth-child(5) { animation-delay: 280ms; }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-size: clamp(16px, 1.35vw, 19px); font-weight: 800; letter-spacing: -0.03em; }
.facts li:nth-child(-n+3) strong { color: var(--cyan); }
.facts span { display: block; margin-top: 3px; color: var(--faint); font-size: 11px; line-height: 1.45; }
@keyframes fact-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Shared sections */
.section { padding: clamp(82px, 9vw, 124px) 0; }
.section--tight { padding-top: clamp(54px, 6vw, 82px); }
.section-head { max-width: 680px; margin-bottom: 36px; }
h2 { margin: 0 0 13px; font-size: clamp(30px, 3.2vw, 43px); font-weight: 800; line-height: 1.13; letter-spacing: -0.045em; }
.section-head p, .split__lead, .themes p, .note { margin: 0; color: var(--muted); }
.section-head p { max-width: 620px; font-size: 15px; line-height: 1.75; }
.reveal.is-visible { animation: section-in 0.62s var(--ease) both; }
@keyframes section-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Comparison */
#whats-new { background: linear-gradient(180deg, #080d15, var(--bg)); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16); }
.cmp { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.cmp thead th:last-child { color: var(--cyan); background: rgba(56, 224, 255, 0.035); }
.cmp tbody th { width: 29%; color: var(--muted); font-weight: 600; }
.cmp tbody td { color: #b5bfce; }
.cmp tbody td:last-child { background: rgba(56, 224, 255, 0.035); color: var(--text); font-weight: 800; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background 0.18s; }
.cmp tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.notes li { padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.018); transition: border-color 0.2s, background 0.2s; }
.notes li:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.notes strong { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 800; }
.notes span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.notes.is-visible li { animation: note-in 0.5s var(--ease) both; }
.notes.is-visible li:nth-child(2) { animation-delay: 80ms; }
.notes.is-visible li:nth-child(3) { animation-delay: 160ms; }
@keyframes note-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Screenshots */
#screens { border-block: 1px solid rgba(255, 255, 255, 0.045); background: var(--bg-soft); }
.walk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.walk__row {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.walk__row:hover { transform: translateY(-5px); border-color: rgba(56, 224, 255, 0.3); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24); }
.walk__row:nth-child(2).is-visible { animation-delay: 70ms; }
.walk__row:nth-child(3).is-visible { animation-delay: 140ms; }
.walk__row:nth-child(4).is-visible { animation-delay: 210ms; }
.walk__row:nth-child(5).is-visible { animation-delay: 280ms; }
.shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #05060a;
  cursor: zoom-in;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.5s; }
.walk__row:hover .shot img { transform: scale(1.03); filter: saturate(1.07); }
.walk__copy { padding: 21px 23px 24px; }
.walk__n { display: block; margin-bottom: 7px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.walk__copy h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.walk__copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* Feature lists */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.split > .reveal { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.018); }
.split h2 { font-size: clamp(27px, 2.8vw, 36px); }
.split__lead { margin-bottom: 12px; font-size: 14px; }
.spec { margin: 20px 0 0; }
.spec > div { padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.18s, border-color 0.18s; }
.spec > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec > div:hover { padding-left: 7px; border-bottom-color: rgba(56, 224, 255, 0.25); }
.spec dt { margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.spec dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.themes {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 8px 42px;
  margin-top: 22px;
  padding: 27px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.themes h2 { grid-row: 1 / span 2; margin: 0; font-size: clamp(24px, 2.5vw, 32px); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; color: #d3d9e3; font-size: 13px; font-weight: 700; }
.swatches i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04); }
.themes p { font-size: 13px; line-height: 1.65; }

/* Download */
#download {
  border-block: 1px solid rgba(255, 255, 255, 0.045);
  background: radial-gradient(ellipse at 5% 50%, rgba(56, 224, 255, 0.055), transparent 38%), var(--bg-soft);
}
.pkgs { display: grid; gap: 12px; }
.pkg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 30px;
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.pkg:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--panel-hover); }
.pkg.is-recommended { border-color: rgba(56, 224, 255, 0.45); box-shadow: inset 3px 0 0 var(--cyan); }
.pkg:nth-child(2).is-visible { animation-delay: 70ms; }
.pkg:nth-child(3).is-visible { animation-delay: 140ms; }
.pkg__os { display: flex; align-items: center; gap: 10px; margin: 0 0 5px; color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.yours { display: none; padding: 3px 7px; border-radius: 5px; background: var(--cyan-soft); color: var(--cyan); font-size: 9px; }
.is-recommended .yours { display: inline; }
.pkg h3 { margin: 0 0 7px; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
.pkg__body > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.pkg__meta { margin-top: 8px !important; color: var(--faint) !important; font-size: 11px !important; }
.pkg > .btn { min-width: 180px; }
.code-row { display: flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 13px; }
.code-row code { flex: 1; min-width: 0; overflow-x: auto; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, 0.24); color: var(--muted); font-size: 11px; white-space: nowrap; }
.copy-btn { flex-shrink: 0; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.copy-btn.is-copied { color: var(--cyan); border-color: rgba(56, 224, 255, 0.45); }
.note { max-width: 920px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.75; }

/* FAQ */
#faq h2 { margin-bottom: 25px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 21px; font-weight: 400; transition: color 0.18s, transform 0.18s; }
.faq summary:hover::after, .faq details[open] summary::after { color: var(--cyan); transform: rotate(90deg); }
.faq details[open] summary { color: var(--cyan); }
.faq p { max-width: 680px; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* Footer */
.site-footer { padding: 34px 0 24px; border-top: 1px solid var(--line); background: #05080d; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand strong { display: block; font-size: 13px; }
.footer-brand span { display: block; color: var(--faint); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a, .coffee { color: var(--muted); font-size: 12px; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover, .coffee:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

/* Toast and lightbox */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translateX(-50%); padding: 11px 16px; border: 1px solid rgba(56, 224, 255, 0.45); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 13px; font-weight: 800; box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(3, 5, 9, 0.92); backdrop-filter: blur(12px); }
.lightbox.is-open { display: flex; animation: lightbox-in 0.2s ease both; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; max-width: min(1120px, 100%); }
.lightbox-inner img { width: auto; max-width: 100%; max-height: 78vh; margin-inline: auto; border: 1px solid var(--line-strong); border-radius: 12px; background: #05060a; }
.lightbox-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.lightbox-title { color: var(--text); font-weight: 800; }
.lightbox-close, .lightbox-nav { position: absolute; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 21px; line-height: 1; cursor: pointer; }
.lightbox-close { top: -13px; right: -13px; }
.lightbox-nav { top: 42%; }
.lightbox-nav--prev { left: -18px; }
.lightbox-nav--next { right: -18px; }

/* Responsive */
@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .main-nav a { padding-inline: 9px; font-size: 12px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(40px, 4.6vw, 52px); }
}

@media (max-width: 960px) {
  .main-nav, .header-cta, .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(46px, 7vw, 62px); }
  .lead { max-width: 600px; }
  .stage { max-width: 820px; }
  .notes { grid-template-columns: 1fr; }
  .notes li { padding: 20px 22px; }
  .split { grid-template-columns: 1fr; }
  .themes { grid-template-columns: 1fr; gap: 14px; }
  .themes h2 { grid-row: auto; }
}

@media (max-width: 720px) {
  .walk { grid-template-columns: 1fr; }
  .pkg { grid-template-columns: 1fr; }
  .pkg > .btn { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --header: 64px; }
  .brand img { width: 29px; height: 29px; }
  .brand-word { font-size: 12px; }
  .hero { padding: 52px 0 56px; }
  .hero h1 { font-size: clamp(39px, 11vw, 52px); }
  .hero-title-last { font-size: 0.69em; }
  .lead { font-size: 14px; }
  .hero-actions .btn { min-height: 46px; padding-inline: 19px; font-size: 13px; }
  .stage { padding: 7px; border-radius: 15px; }
  .stage__frame { border-radius: 9px; }
  .stage-caption { font-size: 8px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .facts li:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts li:nth-child(even) { border-right: 0; }
  .facts li:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .section { padding: 72px 0; }
  .section--tight { padding-top: 54px; }
  h2 { font-size: 30px; }
  .section-head { margin-bottom: 28px; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 12px 0; }
  .cmp th, .cmp td { padding: 3px 18px; border: 0; background: transparent !important; }
  .cmp tbody th { padding-top: 8px; color: var(--text); }
  .cmp td::before { display: block; margin-bottom: 1px; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
  .cmp td:first-of-type::before { content: "Electron 1.x"; }
  .cmp td:last-child::before { content: "Tauri 2.2"; color: var(--cyan); }
  .walk { gap: 16px; }
  .walk__copy { padding: 18px 20px 21px; }
  .split > .reveal { padding: 23px 20px; }
  .themes { padding: 23px 20px; }
  .pkg { padding: 21px 19px; }
  .pkg > .btn { width: 100%; }
  .code-row { align-items: stretch; }
  .code-row code { font-size: 10px; }
  .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 6px; right: 6px; }
  .lightbox-nav--prev { left: 6px; }
  .lightbox-nav--next { right: 6px; }
}

@media (max-width: 420px) {
  .stage-caption > span:last-child { display: none; }
  .hero h1 { letter-spacing: -0.06em; }
}

/* Support rail */
.support-rail {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 54px;
  padding: 15px 0 13px;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: rgba(13, 19, 30, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 12px 18px 42px rgba(0, 0, 0, 0.32);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-50%);
  transition: transform 0.22s var(--ease), border-color 0.22s, background 0.22s;
  animation: rail-in 0.5s 1s var(--ease) both;
}
.support-rail:hover {
  border-color: rgba(56, 224, 255, 0.5);
  background: var(--panel-hover);
  transform: translate(5px, -50%);
}
.support-rail__icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--cyan); }
.support-rail__icon svg { width: 21px; height: 21px; }
.support-rail__label {
  color: #cbd5e1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.support-rail__arrow { color: var(--faint); font-size: 13px; }
@keyframes rail-in { from { opacity: 0; transform: translate(-28px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

/* Cookie notice */
.cookie-bar[hidden] { display: none; }
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(780px, calc(100vw - 36px));
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(13, 19, 30, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.cookie-bar.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-bar__text { display: grid; flex: 1; gap: 2px; min-width: 0; }
.cookie-bar__text strong { font-size: 13px; font-weight: 800; }
.cookie-bar__text span { color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.cookie-bar__text a { width: max-content; margin-top: 3px; font-size: 11px; font-weight: 700; }
.cookie-ok {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--cyan);
  color: var(--cyan-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s var(--ease);
}
.cookie-ok:hover { background: #68e8ff; transform: translateY(-1px); }

/* Legal page */
.legal-main { padding: clamp(54px, 7vw, 88px) 0 clamp(64px, 8vw, 100px); }
.legal-head { max-width: 820px; margin-bottom: 42px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-head h1 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -0.045em; }
.legal-meta { margin: 0; color: var(--muted); font-size: 13px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.legal-nav a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.legal-nav a:hover { color: var(--text); border-color: var(--line-strong); }
.legal-article { max-width: 820px; }
.legal-article + .legal-article { margin-top: 68px; padding-top: 46px; border-top: 1px solid var(--line); }
.legal-article h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); }
.legal-article h3 { margin: 28px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -0.015em; }
.legal-article p,
.legal-article li { color: var(--muted); font-size: 13px; line-height: 1.78; }
.legal-article p { margin: 0 0 12px; }
.legal-article ul { margin: 8px 0 16px; padding-left: 20px; }
.legal-article li + li { margin-top: 4px; }
.legal-article a { font-weight: 600; }
.legal-lang { margin-bottom: 28px; color: var(--faint); font-size: 11px; }
.legal-lang a { margin-right: 12px; font-weight: 700; }
.legal-note {
  margin: 20px 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: 10px;
  background: rgba(56, 224, 255, 0.035);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.legal-table { width: 100%; margin: 14px 0 20px; border-collapse: collapse; font-size: 12px; }
.legal-table th,
.legal-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.legal-table th { background: rgba(255, 255, 255, 0.03); color: var(--text); font-weight: 800; }
.legal-table td:first-child { color: var(--text); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 11px; }
.legal-article + .legal-article h2 { margin-top: 0; }
.legal-footer { padding: 26px 0 30px; }

@media (max-width: 1100px) {
  .support-rail { display: none; }
}

@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 13px; }
  .cookie-ok { width: 100%; min-height: 42px; }
  .legal-nav { width: 100%; }
  .legal-table { display: block; overflow-x: auto; }
  .legal-article + .legal-article { margin-top: 48px; padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .stage:hover, .walk__row:hover, .pkg:hover, .btn:hover, .support-rail:hover, .cookie-ok:hover { transform: none; }
  .support-rail { transform: translateY(-50%); }
}
