:root {
  --bg: #0b0b0f;
  --panel: #111117;
  --panel-2: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceaff;
  --muted: #a6a2b8;
  --primary: #b9a6ff;
  --accent: #8fd5ff;
  --on-primary: #1a0b4d;
  --ok: #7be0b0;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 10% -12%, rgba(185, 166, 255, 0.18), transparent 62%),
    radial-gradient(760px 520px at 92% -4%, rgba(143, 213, 255, 0.12), transparent 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(185, 166, 255, 0.32);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

h1, h2, h3, h4, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
}

.skip:focus {
  left: 12px;
}

.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;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-head.is-stuck {
  background: rgba(11, 11, 15, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.06rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #16102e;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 6px 18px -8px rgba(185, 166, 255, 0.8);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-gh {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}

.nav-gh:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.head-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--on-primary);
  background: linear-gradient(135deg, #c8b8ff, var(--primary) 55%, #a5c8ff);
  box-shadow: 0 14px 30px -14px rgba(185, 166, 255, 0.85);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px -14px rgba(185, 166, 255, 0.95);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-small {
  padding: 9px 16px;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-meta {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(26, 11, 77, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
}

.btn-ghost .btn-meta {
  border-color: var(--line-strong);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(123, 224, 176, 0.16);
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.7rem, 6vw, 4.35rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.grad {
  background: linear-gradient(100deg, var(--primary), #d6c7ff 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--ok);
  font-weight: 700;
}

/* phone mockup */

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 166, 255, 0.22), transparent 66%);
  filter: blur(8px);
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  padding: 16px 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background: linear-gradient(180deg, #14141c, #0d0d13);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 6px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(-2deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-dots {
  letter-spacing: 0.12em;
}

.art {
  position: relative;
  display: grid;
  place-items: center;
  height: 218px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #6d4bd8, #2f2a86 45%, #12395c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.art-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.art-ring-2 {
  width: 268px;
  height: 268px;
  border-color: rgba(255, 255, 255, 0.08);
}

.art-note {
  width: 74px;
  height: 74px;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.phone-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 4px 0;
}

.phone-meta strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.phone-meta span {
  font-size: 0.78rem;
  color: var(--muted);
}

.phone-lyric {
  margin: 14px 4px 0;
  padding: 8px 10px;
  border-left: 2px solid var(--primary);
  border-radius: 4px;
  background: rgba(185, 166, 255, 0.08);
  font-size: 0.72rem;
  line-height: 1.45;
  color: #d8d1ff;
}

.progress {
  height: 3px;
  margin: 16px 4px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 43%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.times {
  display: flex;
  justify-content: space-between;
  margin: 7px 4px 0;
  font-size: 0.66rem;
  color: var(--muted);
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding-top: 14px;
  color: var(--text);
}

.controls svg {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.controls .play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--on-primary);
  background: linear-gradient(135deg, #cdbdff, var(--primary));
  box-shadow: 0 12px 26px -10px rgba(185, 166, 255, 0.9);
}

.controls .play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  opacity: 1;
}

.float {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  color: var(--text);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.9);
}

.float-a {
  top: 84px;
  right: -6px;
  color: #d8d1ff;
}

.float-b {
  bottom: 96px;
  left: -10px;
  color: #cdeeff;
}

/* ---------- trust strip ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 18px 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-inner > span {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text);
}

.trust-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.trust-inner li {
  position: relative;
  padding-left: 16px;
}

.trust-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.will-reveal.is-in {
  opacity: 1;
  transform: none;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 166, 255, 0.3);
  background: linear-gradient(170deg, rgba(185, 166, 255, 0.08), rgba(255, 255, 255, 0.015));
}

.card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(185, 166, 255, 0.2);
  border-radius: 12px;
  background: rgba(185, 166, 255, 0.08);
  color: var(--primary);
}

.card svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- downloads ---------- */

.section-downloads {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 80% 0%, rgba(143, 213, 255, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.008);
}

.latest {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(185, 166, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(185, 166, 255, 0.12), transparent 60%),
    linear-gradient(160deg, #15151e, #101016);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}

.pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(123, 224, 176, 0.12);
  border: 1px solid rgba(123, 224, 176, 0.3);
  color: var(--ok);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.latest h3 {
  margin: 14px 0 8px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.latest-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.changelog {
  display: grid;
  gap: 8px;
  margin: 20px 0 26px;
}

.changelog li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cfcbe0;
}

.changelog li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.latest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hash-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 7, 11, 0.55);
}

.hash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.copy {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.copy:hover {
  background: rgba(255, 255, 255, 0.06);
}

.copy.is-done {
  border-color: rgba(123, 224, 176, 0.4);
  color: var(--ok);
}

.hash-value {
  display: block;
  word-break: break-all;
  font-size: 0.72rem;
  line-height: 1.7;
  color: #cfcbe0;
}

.hash-card p {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.hash-card pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  font-size: 0.72rem;
  color: #d8d1ff;
}

.hash-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.versions {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
}

.versions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.versions-head h3 {
  font-size: 1.05rem;
}

.versions-head span {
  font-size: 0.78rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.versions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.versions-table th {
  padding: 12px 24px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.versions-table td {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  color: #d6d2e6;
}

.versions-table tr.is-latest {
  background: linear-gradient(90deg, rgba(185, 166, 255, 0.07), transparent 70%);
}

.versions-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.v {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tag {
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(185, 166, 255, 0.16);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.note {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--muted);
}

.versions-table code {
  color: #b7b2c9;
  font-size: 0.78rem;
}

.dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dl:hover {
  border-color: rgba(185, 166, 255, 0.5);
  background: rgba(185, 166, 255, 0.1);
  color: #fff;
}

.table-note {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- install ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.num {
  display: block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.steps p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.adb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.adb h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.adb p {
  font-size: 0.86rem;
  color: var(--muted);
}

.adb pre {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.8rem;
  color: #d8d1ff;
  overflow-x: auto;
}

/* ---------- faq ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.faq-wrap .section-head {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-color: rgba(185, 166, 255, 0.28);
  background: linear-gradient(170deg, rgba(185, 166, 255, 0.06), var(--panel));
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.faq code {
  color: #d8d1ff;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.foot-brand p {
  margin-top: 14px;
  max-width: 26rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.foot-brand .fine {
  margin-top: 12px;
  font-size: 0.76rem;
  color: #7d798f;
}

.site-foot h4 {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-foot ul {
  display: grid;
  gap: 9px;
  font-size: 0.88rem;
}

.site-foot ul a {
  color: #cfcbe0;
  transition: color 0.15s ease;
}

.site-foot ul a:hover {
  color: var(--primary);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: #7d798f;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    min-height: 460px;
  }

  .phone {
    transform: none;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-wrap .section-head {
    position: static;
  }

  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .head-inner {
    gap: 12px;
    height: 64px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }

  .head-cta {
    order: 2;
    margin-left: 0;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(14px);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    font-size: 0.98rem;
  }

  .nav-gh {
    border: 0;
    padding: 10px 0;
  }

  .hero {
    padding: 44px 0 40px;
  }

  .section {
    padding: 64px 0;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .latest {
    padding: 24px 20px;
  }

  .latest h3 {
    font-size: 1.6rem;
  }

  .versions-head {
    padding: 18px 16px;
  }

  .versions-table,
  .versions-table tbody,
  .versions-table tr,
  .versions-table td {
    display: block;
    width: 100%;
  }

  .versions-table thead {
    display: none;
  }

  .versions-table tr {
    padding: 16px;
    border-top: 1px solid var(--line);
  }

  .versions-table tr.is-latest {
    background: rgba(185, 166, 255, 0.06);
  }

  .versions-table td {
    border: 0;
    padding: 2px 0;
  }

  .versions-table td[data-label="Built"],
  .versions-table td[data-label="Size"] {
    display: inline-block;
    width: auto;
    margin-right: 14px;
    font-size: 0.78rem;
    color: var(--muted);
  }

  .versions-table td[data-label="SHA-256"] {
    display: none;
  }

  .versions-table td[data-label="Download"] {
    margin-top: 10px;
  }

  .versions-table .dl {
    width: 100%;
    justify-content: center;
  }

  .table-note {
    padding: 14px 16px 18px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 0 28px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    flex-direction: column;
  }

  .float-a {
    right: 0;
    top: 30px;
  }

  .float-b {
    left: 0;
    bottom: 40px;
  }
}

@media (max-width: 460px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .head-cta {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 6px 16px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}
