@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --bg0: #12161c;
  --bg1: #1a212b;
  --bg2: #222a36;
  --panel: rgba(28, 35, 46, 0.92);
  --line: #334055;
  --ink: #e8eef6;
  --muted: #9aa8b8;
  --teal: #1ec9a8;
  --teal-dim: #0f6b5c;
  --gold: #e0c070;
  --danger: #ff8e8e;
  --chip: #2a3544;
  font-family: Manrope, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(30, 201, 168, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(70, 110, 180, 0.18), transparent 50%),
    linear-gradient(180deg, #151b24 0%, #1a212b 40%, #12161c 100%);
}

a {
  color: var(--teal);
}

.wrap {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 28px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% -8% auto;
  height: 220px;
  background: linear-gradient(90deg, transparent, rgba(30, 201, 168, 0.07), transparent);
  pointer-events: none;
  filter: blur(2px);
}

.brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  max-width: 14ch;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 38rem;
}

.cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manifesto {
  margin: 0 0 28px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(224, 192, 112, 0.28);
  background:
    linear-gradient(135deg, rgba(58, 50, 32, 0.55), rgba(28, 35, 46, 0.9));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.manifesto-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.manifesto-text {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  line-height: 1.55;
  color: #f3e8d0;
  max-width: 40rem;
}

.manifesto-closer {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #06241f;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.toc a {
  text-decoration: none;
  color: var(--muted);
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.toc a:hover {
  color: var(--ink);
  border-color: var(--teal-dim);
}

main {
  display: grid;
  gap: 14px;
  padding-bottom: 56px;
}

section.block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

section.block h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

section.block > .desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.shot {
  margin: 0;
  display: grid;
  gap: 10px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(51, 64, 85, 0.9);
  background: #0e1218;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.shot figcaption strong {
  color: var(--ink);
  font-weight: 700;
}

.item {
  border-top: 1px solid var(--line);
  padding: 14px 0 4px;
}

.item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-bottom: 6px;
}

.item-head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--chip);
  color: var(--teal);
  border: 1px solid rgba(30, 201, 168, 0.28);
}

.tag.gold {
  color: var(--gold);
  border-color: rgba(224, 192, 112, 0.35);
}

.tag.mute {
  color: var(--muted);
  border-color: var(--line);
}

.item p {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.45;
  font-size: 0.95rem;
}

.item .why {
  color: var(--muted);
  font-size: 0.9rem;
}

.item ul {
  margin: 0 0 8px;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.item li + li {
  margin-top: 4px;
}

code,
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(30, 201, 168, 0.1);
  color: #b8ffe8;
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

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

.gesture-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: var(--bg2);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.gesture-row strong {
  color: var(--teal);
  font-size: 0.9rem;
}

.gesture-row span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.install-platform {
  border-top: 1px solid var(--line);
  padding: 22px 0 10px;
}

.install-platform:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.platform-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(30, 201, 168, 0.32);
  background:
    linear-gradient(135deg, rgba(30, 201, 168, 0.14), rgba(28, 35, 46, 0.55));
}

.platform-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #f2f7fc;
}

.platform-head-muted {
  border-color: rgba(154, 168, 184, 0.35);
  background:
    linear-gradient(135deg, rgba(154, 168, 184, 0.1), rgba(28, 35, 46, 0.55));
}

.platform-head-muted h3 {
  color: #d5deea;
}

.platform-head-split {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 16px;
}

.platform-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
}

.os-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: auto;
}

.os-badges li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 238, 246, 0.16);
  background: rgba(18, 22, 28, 0.45);
  color: #d7e0eb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.os-badges svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.95;
}

.install-prose {
  margin: 0 0 16px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  max-width: 42rem;
}

.install-prose strong {
  font-style: normal;
  color: #c8d4e2;
}

.install-steps {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--ink);
}

.install-steps li {
  margin-top: 10px;
  line-height: 1.5;
  padding-left: 4px;
}

.install-steps li:first-child {
  margin-top: 0;
}

.install-steps strong {
  color: var(--teal);
}

.badge-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin: 14px 0 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg2);
}

.badge-callout p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.badge-callout .why {
  margin: 0;
}

.vcf-badge {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 107, 92, 0.45);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.vcf-badge-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  z-index: 1;
}

.vcf-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(30, 201, 168, 0.35);
  pointer-events: none;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 28px 16px 40px;
  margin-top: 12px;
  border-top: 1px solid rgba(51, 64, 85, 0.55);
  font-size: 0.88rem;
}

.footer-version {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: rgba(30, 201, 168, 0.12);
  border: 1px solid rgba(30, 201, 168, 0.28);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: none;
  }

  .gesture-row {
    grid-template-columns: 1fr;
  }

  .badge-callout {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
