/* Dusk VM website. One stylesheet for every page. */

:root {
  color-scheme: dark;

  --bg: #080b16;
  --bg-raise: #0d1122;
  --surface: #11162b;
  --surface-2: #161c35;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #eef0f8;
  --muted: #aab0c8;
  --faint: #858ca8;

  --indigo: #5b6cff;
  --violet: #a06bff;
  --coral: #ff8a5c;
  --peach: #ffc49e;
  --green: #5ee0a0;
  --amber: #ffcf6b;
  --red: #ff7a85;

  --dusk: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 55%, var(--coral) 100%);
  --dusk-soft: linear-gradient(135deg, rgba(91, 108, 255, 0.18), rgba(160, 107, 255, 0.14) 55%, rgba(255, 138, 92, 0.16));
  --sun: linear-gradient(180deg, var(--peach), var(--coral));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.6);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 24px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The evening sky behind every page */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% -8%, rgba(91, 108, 255, 0.22), transparent 70%),
    radial-gradient(40% 40% at 78% 8%, rgba(160, 107, 255, 0.14), transparent 70%),
    radial-gradient(35% 35% at 18% 18%, rgba(255, 138, 92, 0.07), transparent 70%);
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }

a { color: var(--peach); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #ffd9bf; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li + li { margin-top: 0.35em; }
code, kbd, pre { font-family: var(--mono); font-size: 0.9em; }
code { background: rgba(255, 255, 255, 0.06); padding: 0.12em 0.4em; border-radius: 6px; overflow-wrap: anywhere; }
kbd {
  background: var(--surface-2); border: 1px solid var(--line-strong); border-bottom-width: 2px;
  border-radius: 6px; padding: 0.05em 0.45em; font-size: 0.85em;
}
pre {
  background: #060912; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; overflow-x: auto; line-height: 1.5; margin: 0 0 1em;
}
pre code { background: none; padding: 0; overflow-wrap: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
strong { font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important; 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;
  background: var(--peach); color: #0c0f1c; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }

.gradient-text {
  background: var(--dusk);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sun-text {
  background: var(--sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 14px;
}
.lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 44em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 22, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; margin: -4px -2px -4px -4px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.site-nav .nav-cta a { color: #0c0f1c; background: var(--sun); font-weight: 650; margin-left: 6px; }
.site-nav .nav-cta a:hover { filter: brightness(1.06); color: #0c0f1c; }
.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 820px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; margin: 0; padding: 0 0 14px; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .site-nav a { padding: 12px 12px; font-size: 1rem; }
  .js .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .site-nav { margin-left: 0; width: 100%; }
  .header-inner { min-height: 0; padding-top: 11px; padding-bottom: 11px; row-gap: 6px; }
  .js .site-nav.open { padding: 4px 0 6px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 22px; border-radius: 12px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--sun); color: #0c0f1c; box-shadow: 0 10px 30px -12px rgba(255, 138, 92, 0.7); }
.btn-primary:hover { color: #0c0f1c; filter: brightness(1.06); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.btn-quiet { background: transparent; color: var(--muted); border-color: var(--line); min-height: 38px; padding: 7px 14px; font-size: 0.92rem; }
.btn-quiet:hover { color: var(--text); border-color: var(--line-strong); }
.btn-danger { background: transparent; color: #ffb3ba; border-color: rgba(255, 122, 133, 0.35); min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.btn-danger:hover { background: rgba(255, 122, 133, 0.1); color: #ffd0d4; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.06rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; filter: grayscale(0.7) brightness(0.7); transform: none; box-shadow: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.page-hero { padding: 88px 0 40px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .page-hero { padding: 56px 0 24px; }
  .section-head { margin-bottom: 36px; }
}

/* Brand motif: the horizon and its reflection */
.horizon { display: grid; gap: 7px; width: 120px; margin: 0 auto; }
.horizon span { display: block; height: 3px; border-radius: 3px; background: var(--dusk); }
.horizon span:nth-child(2) { width: 72%; margin: 0 auto; opacity: 0.7; }
.horizon span:nth-child(3) { width: 42%; margin: 0 auto; opacity: 0.45; }
.divider { border: 0; height: 1px; margin: 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Hero ---------- */

.hero { padding: 96px 0 40px; text-align: center; }
.hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.hero .lead { margin: 0 auto 34px; }
.hero .btn-row { justify-content: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-top: 22px; color: var(--faint); font-size: 0.92rem;
}
.hero-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--peach); }
.badge-new {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 0.88rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.badge-new b {
  background: var(--dusk); color: #fff; font-weight: 650; font-size: 0.75rem; letter-spacing: 0.04em;
  padding: 2px 9px; border-radius: 999px;
}
@media (max-width: 700px) { .hero { padding: 56px 0 24px; } }

/* ---------- App window illustration ---------- */

.mock-wrap { position: relative; margin: 64px auto 0; max-width: 1040px; }
.mock-wrap::before {
  content: ""; position: absolute; inset: 12% 8% -6%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(160, 107, 255, 0.35), rgba(255, 138, 92, 0.12) 50%, transparent 75%);
  filter: blur(40px);
}
.mock {
  border-radius: 16px; overflow: hidden; text-align: left;
  background: #0e1224; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  display: grid; grid-template-columns: 232px 1fr;
  font-size: 13px; line-height: 1.3;
}
.mock-side { background: rgba(20, 25, 50, 0.9); border-right: 1px solid var(--line); padding: 14px 10px; }
.mock-lights { display: flex; gap: 8px; padding: 2px 6px 18px; }
.mock-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-lights i:nth-child(2) { background: #febc2e; }
.mock-lights i:nth-child(3) { background: #28c840; }
.mock-label { color: var(--faint); font-size: 11px; font-weight: 600; padding: 0 8px 8px; letter-spacing: 0.02em; }
.mock-vm { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--text); }
.mock-vm + .mock-vm { margin-top: 2px; }
.mock-vm.active { background: rgba(91, 108, 255, 0.28); }
.mock-vm .os {
  width: 28px; height: 28px; border-radius: 7px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff;
}
.mock-vm .meta { min-width: 0; }
.mock-vm .name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-vm .state { display: flex; align-items: center; gap: 5px; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.mock-vm .state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6b7290; }
.mock-vm .state.run::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.mock-vm .state.sus::before { background: var(--amber); }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 40, 0.95);
}
.mock-title { font-weight: 650; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-title small { display: block; font-weight: 500; color: var(--faint); font-size: 11px; margin-top: 2px; }
.mock-tool { width: 30px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: var(--muted); flex: none; }
.mock-tool svg { width: 16px; height: 16px; }
.mock-tool.sep { width: 1px; height: 18px; background: var(--line-strong); border-radius: 0; margin: 0 2px; }
.mock-screen { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: linear-gradient(180deg, #141935 0%, #2b1d3f 100%); }
.mock-screen .sun {
  position: absolute; left: 50%; top: 58%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--sun);
  -webkit-mask: linear-gradient(#000 0 50%, transparent 50% 52.5%, #000 52.5% 56.5%, transparent 56.5% 59.5%, #000 59.5% 62%, transparent 62% 64.5%, #000 64.5% 66%, transparent 66%);
  mask: linear-gradient(#000 0 50%, transparent 50% 52.5%, #000 52.5% 56.5%, transparent 56.5% 59.5%, #000 59.5% 62%, transparent 62% 64.5%, #000 64.5% 66%, transparent 66%);
}
.mock-screen .glow {
  position: absolute; left: 50%; top: 58%; width: 44%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 92, 0.5), transparent 65%);
}
.mock-screen .sea { position: absolute; left: 0; right: 0; top: 58%; bottom: 0; background: linear-gradient(180deg, rgba(20, 16, 40, 0.2), rgba(8, 8, 22, 0.75)); }
.mock-screen .panel {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; background: rgba(8, 10, 22, 0.55);
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: rgba(255, 255, 255, 0.7); font-size: 11px;
}
.mock-screen .panel b { font-weight: 600; }

@media (max-width: 760px) {
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-tool:nth-child(n+6) { display: none; }
}

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  min-width: 0;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card-feature { padding: 30px; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--dusk-soft); border: 1px solid rgba(160, 107, 255, 0.25); color: var(--peach);
}
.icon-tile svg { width: 22px; height: 22px; }

.feature-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.feature-split + .feature-split { margin-top: 96px; }
.feature-split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .feature-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-split.flip > :first-child { order: 0; }
  .feature-split + .feature-split { margin-top: 64px; }
}
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); }
.checklist li + li { margin-top: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--dusk-soft); border: 1px solid rgba(160, 107, 255, 0.35);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.28em + 4px); width: 5px; height: 9px;
  border: solid var(--peach); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checklist li strong { color: var(--text); }
.checklist.planned li::after { border: 0; width: 6px; height: 6px; left: 6px; top: calc(0.28em + 6px); border-radius: 50%; background: var(--faint); transform: none; }
.checklist.planned li::before { background: transparent; border-color: var(--line-strong); }

/* Panel used to show an in-app detail next to feature text */
.panel-art {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-raise);
  padding: 26px; box-shadow: var(--shadow); min-width: 0;
}
.panel-art .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.panel-art .row:last-child { border-bottom: 0; }
.panel-art .row .grow { flex: 1; min-width: 0; }
.panel-art .row b { display: block; font-weight: 600; }
.panel-art .row span { color: var(--faint); font-size: 0.9rem; }
.panel-art .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.panel-art .dot.amber { background: var(--amber); }
.panel-art .dot.grey { background: #6b7290; }

/* OS catalogue */
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .os-grid { grid-template-columns: minmax(0, 1fr); } }
.os-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); min-width: 0;
}
.os-card h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.os-card p { margin: 0; color: var(--faint); font-size: 0.9rem; line-height: 1.45; }
.os-mono {
  width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-weight: 750; font-size: 15px; color: #fff; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.os-card.wide { grid-column: 1 / -1; background: var(--dusk-soft); border-color: rgba(160, 107, 255, 0.28); }
.m-ubuntu { background: linear-gradient(135deg, #e95420, #b83c12); }
.m-fedora { background: linear-gradient(135deg, #3c6eb4, #294172); }
.m-debian { background: linear-gradient(135deg, #d70751, #8f0536); }
.m-kali { background: linear-gradient(135deg, #367bf0, #1b4fa8); }
.m-alpine { background: linear-gradient(135deg, #1d6fa5, #0d3b5c); }
.m-macos { background: linear-gradient(135deg, #8f97b3, #4a516d); }
.m-windows { background: linear-gradient(135deg, #2f8fdc, #1a5aa8); }
.m-custom { background: var(--dusk); }
.m-dusk { background: linear-gradient(135deg, #5b6cff, #a06bff 55%, #ff8a5c); }

.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(255, 196, 158, 0.12); color: var(--peach);
  border: 1px solid rgba(255, 196, 158, 0.25); vertical-align: middle; white-space: nowrap;
}
.tag-grey { background: rgba(255, 255, 255, 0.05); color: var(--muted); border-color: var(--line-strong); }
.tag-violet { background: rgba(160, 107, 255, 0.14); color: #d2bcff; border-color: rgba(160, 107, 255, 0.35); }
.tag-green { background: rgba(94, 224, 160, 0.12); color: #9ff0c8; border-color: rgba(94, 224, 160, 0.3); }
.tag-amber { background: rgba(255, 207, 107, 0.12); color: #ffe0a3; border-color: rgba(255, 207, 107, 0.3); }
.tag-red { background: rgba(255, 122, 133, 0.12); color: #ffc0c6; border-color: rgba(255, 122, 133, 0.3); }

/* Integration list */
.integ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.integ > div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.integ > div:nth-child(3n) { border-right: 0; }
.integ > div:nth-last-child(-n+3) { border-bottom: 0; }
.integ h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.integ h3 svg { width: 20px; height: 20px; color: var(--peach); flex: none; }
.integ p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.integ .for { display: block; margin-top: 10px; color: var(--faint); font-size: 0.84rem; }
@media (max-width: 900px) {
  .integ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integ > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .integ > div:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 600px) {
  .integ { grid-template-columns: minmax(0, 1fr); }
  .integ > div { border-right: 0 !important; }
  .integ > div:last-child { border-bottom: 0 !important; }
}

/* Platforms strip */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.platform {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  min-width: 0;
}
.platform .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.platform h3 { margin: 0; font-size: 1.15rem; }
.platform p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.platform.current { border-color: rgba(255, 196, 158, 0.35); background: linear-gradient(180deg, rgba(255, 138, 92, 0.08), rgba(255, 255, 255, 0.02)); }

/* Big closing call to action */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; border: 1px solid rgba(160, 107, 255, 0.3); padding: 72px 28px;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(255, 138, 92, 0.35), transparent 70%),
    linear-gradient(180deg, #141935, #231a3c);
}
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 600px) { .cta-band { padding: 52px 18px; border-radius: 22px; } }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan { display: flex; flex-direction: column; padding: 34px; }
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--dusk) border-box;
  border: 1px solid transparent;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-head h2 { font-size: 1.6rem; margin: 0; }
.plan .kind { color: var(--muted); margin-bottom: 22px; }
.price { min-height: 88px; margin-bottom: 20px; }
.price .amount { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.price .amount.pending { font-size: 1.35rem; color: var(--muted); font-weight: 600; letter-spacing: -0.01em; }
.price .per { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.plan .checklist { margin-bottom: 26px; }
.plan .spacer { flex: 1; }
.plan .btn { width: 100%; }
.plan .fine { color: var(--faint); font-size: 0.85rem; text-align: center; margin: 12px 0 0; }
.planned-box { margin: 4px 0 24px; padding: 16px 18px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.planned-box h4 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.planned-box .checklist { margin: 0 0 8px; }
.planned-box .checklist li { font-size: 0.94rem; }
.planned-box p { margin: 0; font-size: 0.82rem; color: var(--faint); }

.segmented { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); margin-bottom: 18px; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label { padding: 7px 16px; border-radius: 9px; cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.segmented input:checked + label { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.segmented input:focus-visible + label { outline: 2px solid var(--peach); outline-offset: 2px; }
.segmented[hidden] { display: none; }

.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.85rem; color: var(--faint); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.compare tbody th { font-weight: 600; color: var(--text); width: 34%; }
.compare td { color: var(--muted); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, 0.015); }
.table-wrap .compare tr:last-child th, .table-wrap .compare tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare thead { display: none; }
  .compare tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 6px; border: 0; }
  .compare td { padding: 3px 0; border: 0; }
  .compare td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); font-weight: 600; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--peach); }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Notices, steps, forms ---------- */

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--muted);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--peach); }
.notice p { margin: 0; }
.notice p + p { margin-top: 0.5em; }
.notice strong { color: var(--text); }
.notice-warn { border-color: rgba(255, 207, 107, 0.4); background: rgba(255, 207, 107, 0.08); }
.notice-warn svg { color: var(--amber); }
.notice-error { border-color: rgba(255, 122, 133, 0.4); background: rgba(255, 122, 133, 0.08); }
.notice-error svg { color: var(--red); }
.notice-ok { border-color: rgba(94, 224, 160, 0.35); background: rgba(94, 224, 160, 0.07); }
.notice-ok svg { color: var(--green); }


.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li {
  counter-increment: step; position: relative; padding: 20px 22px 20px 70px; margin: 0;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: #0c0f1c; background: var(--sun);
}
.steps h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.steps p + p { margin-top: 0.5em; }

.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  background: #070a14; color: var(--text); border: 1px solid var(--line-strong);
  font: inherit; font-size: 1rem;
}
.input::placeholder { color: #6b7290; }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(160, 107, 255, 0.3); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 240px; width: auto; }
.form-msg { margin-top: 14px; }
.form-msg:empty { display: none; }

/* ---------- Keys (thanks + account) ---------- */

.key-card { padding: 28px; }
.key-card + .key-card { margin-top: 18px; }
.key-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.key {
  font-family: var(--mono); font-size: clamp(1.05rem, 3.6vw, 1.7rem); font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 18px; border-radius: 12px; background: #060912; border: 1px solid rgba(160, 107, 255, 0.35);
  color: var(--text); overflow-wrap: anywhere; flex: 1 1 auto; min-width: 0; user-select: all; -webkit-user-select: all;
}
.key-sm { font-size: 1rem; padding: 9px 12px; flex: 0 1 auto; }
.key-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.state-block { text-align: center; padding: 44px 24px; }
.state-block h2 { font-size: 1.6rem; }
.spinner {
  width: 44px; height: 44px; margin: 0 auto 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1); border-top-color: var(--peach); border-right-color: var(--violet);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.machines { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.machines li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; flex-wrap: wrap; }
.machines .mi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--peach); flex: none; }
.machines .mi svg { width: 20px; height: 20px; }
.machines .grow { flex: 1 1 200px; min-width: 0; }
.machines b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.machines span { color: var(--faint); font-size: 0.88rem; }
.licence-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.licence-head h3 { margin: 0 0 6px; font-size: 1.25rem; }

/* ---------- Download ---------- */

.dl-main { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 36px; }
.dl-main .app { display: flex; gap: 20px; align-items: center; min-width: 0; }
.dl-main .app img { width: 92px; height: 92px; flex: none; margin: -8px; }
.dl-main h2 { font-size: 1.7rem; margin: 0 0 4px; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 0.95rem; margin: 0; padding: 0; list-style: none; }
.dl-facts li + li { margin-top: 0; }
@media (max-width: 760px) {
  .dl-main { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .dl-main .app img { width: 72px; height: 72px; }
}

/* ---------- Support and legal prose ---------- */

.support-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 0.93rem; }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li + li { margin-top: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--peach); }
@media (max-width: 900px) {
  .support-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; }
  .toc a:hover { border-color: var(--line-strong); }
}

.prose { color: var(--muted); min-width: 0; }
.prose h2 { color: var(--text); font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 1.12rem; margin-top: 1.8em; }
.prose strong { color: var(--text); }
.prose li::marker { color: var(--faint); }
.prose .notice { margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1.4em; }
.prose .table-scroll table { margin: 0; min-width: 520px; }
.prose .table-scroll tr:last-child td { border-bottom: 0; }

.legal-head { padding: 64px 0 8px; }
.legal-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal-meta { color: var(--faint); font-size: 0.92rem; }
.legal-body { padding-bottom: 96px; }
.legal-body .prose h2 { font-size: 1.35rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.legal-nav li + li { margin-top: 0; }
.legal-nav a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.legal-nav a:hover { color: var(--text); border-color: var(--line-strong); }
.legal-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); border-color: var(--line-strong); }
.placeholder-note { color: var(--amber); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; background: rgba(5, 7, 15, 0.6); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--faint); margin: 12px 0 0; max-width: 30em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }
.footer-base p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */

.lost { text-align: center; padding: 120px 0 80px; }
.lost .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin-bottom: 18px; }
.lost .horizon { margin-bottom: 34px; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spinner { animation: none; border-color: rgba(255, 255, 255, 0.18); border-top-color: var(--peach); }
  .btn-primary:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .skip-link { display: none; }
  .prose, .muted, .faint { color: #000; }
  a { color: #000; }
}

.cta-band .horizon { margin-bottom: 30px; }
html:not(.js) .js-only { display: none !important; }
.state-block h1 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); letter-spacing: -0.02em; }
.state-block .btn-row { justify-content: center; margin-top: 24px; }
.state-block p { max-width: 36em; margin-left: auto; margin-right: auto; }
.licence-head h2 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -0.01em; }
.platform .btn-row { margin: 18px 0 0; }
.h-card { font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.account-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.account-bar p { margin: 0; overflow-wrap: anywhere; }
.machines-title { margin: 22px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--faint); letter-spacing: 0.02em; }
#account-msg:not(:empty), #pricing-status:not(:empty) { margin-bottom: 20px; }
#pricing-status { max-width: 980px; margin-left: auto; margin-right: auto; }
#tax-note { margin: 26px auto 0; max-width: 46em; }
.code-copy { position: relative; margin: 0 0 1em; }
.code-copy pre { margin: 0; padding-right: 110px; }
.code-copy .btn { position: absolute; top: 8px; right: 8px; min-height: 34px; padding: 5px 12px; background: var(--bg-raise); }
.code-copy .btn svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .code-copy pre { padding-right: 16px; }
  .code-copy .btn { position: static; margin-top: 8px; width: auto; }
}
.lost h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lost .lead { margin: 0 auto 30px; }
.lost .btn-row { justify-content: center; }
@media (max-width: 520px) {
  .card, .plan, .card-feature, .key-card { padding: 22px; }
  .dl-main { padding: 22px; }
  .steps > li { padding: 18px 18px 18px 62px; }
  .steps > li::before { left: 16px; }
}

/* Download page: the card for the visitor's own kind of computer. */
.this-computer { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 196, 158, 0.14); color: var(--peach); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; vertical-align: middle; }
.platform .dl-facts { flex-direction: column; gap: 4px; margin-bottom: 4px; }
.platform .form-msg:empty { display: none; }
