/* DistroClaw landing page.
   Layout: promise and downloads left, the app answering a contract question right; then what it does in
   eight lines, features, one-time pricing, three steps and a closing banner. Ember orange on near-black, glow used sparingly. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-ext.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Dark-first tokens on bare :root; light when chosen, or when the OS is light and nothing is chosen. */
:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --surface: #141418;
  --elevated: #1b1b20;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.16);
  --text: #f4f4f6;
  --muted: #a3a3ad;
  /* Fills (buttons, icons) and orange text are separate so both stay readable in each theme. */
  --accent: #ff6b1a;
  --accent-2: #ff9a3c;
  --accent-text: #ff7a2e;
  --on-accent: #1a0c03;
  --accent-soft: rgb(255 107 26 / 0.12);
  --glow: rgb(255 107 26 / 0.45);
  --ok: #34d399;
  --pdf: #ef4444;
  --doc: #3b82f6;
  --grain: 0.035;
  --shadow-lg: 0 40px 80px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.04);

  --grad: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, #e8540a);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfaf8;
    --bg-2: #f4f2ee;
    --surface: #ffffff;
    --elevated: #ffffff;
    --line: rgb(30 20 10 / 0.1);
    --line-strong: rgb(30 20 10 / 0.18);
    --text: #17140f;
    --muted: #5f5a52;
    --accent-text: #c2410c;
    --accent-soft: rgb(255 107 26 / 0.1);
    --glow: rgb(255 107 26 / 0.28);
    --ok: #059669;
    --grain: 0.02;
    --shadow-lg: 0 40px 80px -36px rgb(60 30 10 / 0.35), 0 0 0 1px rgb(30 20 10 / 0.05);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #fbfaf8;
  --bg-2: #f4f2ee;
  --surface: #ffffff;
  --elevated: #ffffff;
  --line: rgb(30 20 10 / 0.1);
  --line-strong: rgb(30 20 10 / 0.18);
  --text: #17140f;
  --muted: #5f5a52;
  --accent-text: #c2410c;
  --accent-soft: rgb(255 107 26 / 0.1);
  --glow: rgb(255 107 26 / 0.28);
  --ok: #059669;
  --grain: 0.02;
  --shadow-lg: 0 40px 80px -36px rgb(60 30 10 / 0.35), 0 0 0 1px rgb(30 20 10 / 0.05);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Paints the band under a phone's status bar while the nav is sticky. */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft); }

/* Inline icons: stroke by default; `.solid` parts are filled. */
/* Filled icon parts carry fill="currentColor" stroke="none" on the shape itself. */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap {
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.accent-text { color: var(--accent-text); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
}
.btn svg { stroke-width: 2; }
.btn-primary {
  background: var(--grad); color: var(--on-accent); overflow: hidden;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.4) 50%, transparent 70%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn-primary:hover::after { transform: translateX(120%); }
/* A download button before the first release (main.js). */
.btn.is-soon { cursor: default; opacity: 0.75; }
.btn.is-soon:hover { transform: none; }
.btn-primary.is-soon::after { display: none; }
.btn-outline { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 14px 17px; font-size: 15px; gap: 9px; border-radius: 12px; }
.cta { display: flex; flex-direction: column; gap: 6px; }
.notice { min-height: 1.2em; font-size: 13px; color: var(--accent-text); }
.notice:empty { min-height: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; }
.brand .logo { height: 40px; width: auto; }
.brand.small .logo { height: 32px; }
/* Each logo version is shown in the theme it was made for. */
.logo-light { display: none !important; }
:root[data-theme="light"] .logo-dark { display: none !important; }
:root[data-theme="light"] .logo-light { display: block !important; }
.nav-links { display: none; gap: 32px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-actions { margin-left: 28px; } }
@media (max-width: 520px) { .brand .logo { height: 30px; } }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: 40px 72px; isolation: isolate; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-block: 56px 96px; } }
/* Ember glow and a light streak along the floor. */
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -220px; height: 420px;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  filter: blur(20px); animation: breathe 9s ease-in-out infinite alternate;
}
.hero-glow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 50%, var(--accent) 70%, transparent);
  box-shadow: 0 0 24px 4px var(--glow); opacity: 0.8;
}
@keyframes breathe { to { transform: scale(1.08); opacity: 0.8; } }

.hero-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 40px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 1.1rem + 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; text-wrap: wrap; }
.hero h1 .line, .hero h1 .hl { display: block; }
@media (min-width: 1024px) { .hero h1 .line { white-space: nowrap; } }
.hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgb(255 107 26 / 0.35));
}
.lede { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 31rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 32px; font-size: 15px; font-weight: 550; }
@media (min-width: 480px) { .trust { grid-template-columns: repeat(2, max-content); } }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { color: var(--accent); }
.platforms { margin-top: -10px; color: var(--muted); font-size: 14px; }

/* App window: a faithful sketch of DistroClaw answering with sources. */
.mock { position: relative; min-width: 0; perspective: 1800px; }
.mock::before {
  content: ""; position: absolute; inset: 12% 6% -4% 10%; z-index: -1; border-radius: 40px;
  background: var(--accent); filter: blur(80px); opacity: 0.22;
}
.mock-window {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  overflow: hidden; transform-origin: 50% 50%; transition: transform 0.9s var(--ease); font-size: 13px;
}
@media (min-width: 1024px) {
  .mock-window { transform: rotateY(-12deg) rotateX(3deg); }
  .mock:hover .mock-window { transform: rotateY(-4deg) rotateX(1deg); }
}
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.mock-search { height: 14px; width: 34%; margin-inline: auto; border-radius: 99px; background: var(--line); }
.mock-app { display: grid; grid-template-columns: 1fr; min-height: 400px; }
@media (min-width: 600px) { .mock-app { grid-template-columns: 150px minmax(0, 1fr); } }
.mock-side { display: none; flex-direction: column; gap: 14px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg-2); }
@media (min-width: 600px) { .mock-side { display: flex; } }
.mock-brand { display: flex; align-items: center; padding: 0 2px; }
.mock-brand .logo { height: 22px; width: auto; }
.mock-side ul { display: flex; flex-direction: column; gap: 2px; }
.mock-side li, .mock-settings { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--muted); font-size: 12.5px; }
.mock-side li.on { background: var(--accent-soft); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px rgb(255 107 26 / 0.25); }
.mock-side li.on svg { color: var(--accent-text); }
.mock-settings { margin-top: auto; }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.indexed { display: inline-flex; align-items: center; gap: 7px; }
.mock-icons { display: inline-flex; gap: 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.mock-thread { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 10px; }
.mock-row { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.bubble { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--elevated); border: 1px solid var(--line); line-height: 1.5; }
.doc-badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--elevated); border: 1px solid var(--line); color: var(--text); flex-shrink: 0; }
.avatar { width: 34px; height: 34px; flex-shrink: 0; }
.answer ul { margin-top: 6px; padding-left: 16px; list-style: disc; }
.answer li + li { margin-top: 2px; }
.answer li::marker { color: var(--muted); }
.sources { padding-left: 44px; display: flex; flex-direction: column; gap: 6px; }
.sources > p { font-size: 12px; color: var(--muted); }
.sources ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sources li { display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); font-size: 11.5px; font-weight: 600; }
.sources li small { display: block; font-weight: 400; color: var(--muted); font-size: 10.5px; }
.ficon { display: grid; place-items: center; width: 24px; height: 28px; border-radius: 4px; font-size: 7px; font-weight: 800; letter-spacing: 0.04em; color: #fff; }
.ficon.pdf { background: var(--pdf); }
.ficon.doc { background: var(--doc); }
.mock-input {
  display: flex; align-items: center; gap: 10px; margin: 6px 14px 14px; padding: 8px 8px 8px 12px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 12.5px; background: var(--bg-2);
}
.mock-input span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--elevated); color: var(--text); border: 1px solid var(--line); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.18em; background: var(--accent); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- sections ---------- */
.section { padding-block: 56px; }
@media (min-width: 1024px) { .section { padding-block: 64px; } }
.hero + .section { padding-top: 80px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.8rem); line-height: 1.08; letter-spacing: -0.04em; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 46rem; }

/* What it does, one line each. The 1px gap over a line-coloured panel draws the dividers at any column count. */
.points {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); overflow: hidden;
}
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.points li { display: flex; align-items: flex-start; gap: 14px; padding: 22px; min-width: 0; background: var(--bg-2); }
.points p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.points b { display: block; margin-bottom: 3px; color: var(--text); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.point-ico {
  display: grid; grid-auto-flow: column; place-content: center; gap: 2px; flex-shrink: 0; width: 42px; height: 42px;
  border-radius: 11px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgb(255 107 26 / 0.25);
}
.points-tag { margin-top: 32px; text-align: center; font-size: clamp(1.35rem, 1.05rem + 1vw, 1.8rem); font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }

.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; min-width: 0;
  border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: rgb(255 107 26 / 0.45); box-shadow: 0 20px 50px -24px var(--glow); }
.card h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15.5px; }
.ico { color: var(--accent); stroke-width: 1.7; }
.tag-pro {
  position: absolute; top: 22px; right: 22px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 650;
  color: var(--accent-text); background: var(--accent-soft); border: 1px solid rgb(255 107 26 / 0.3);
}
.ico, .plan-ico { filter: drop-shadow(0 4px 14px rgb(255 107 26 / 0.35)); }

.strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden;
}
.strip li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 12px; font-weight: 550; font-size: 15px; text-align: left; min-width: 0; }
.strip li + li { border-left: 1px solid var(--line); }
.strip li:nth-child(3) { border-left: none; border-top: 1px solid var(--line); }
.strip li:nth-child(4) { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip li:nth-child(3) { border-left: 1px solid var(--line); border-top: none; }
  .strip li:nth-child(4) { border-top: none; }
}
.strip svg { color: var(--accent); }
.os-icons { display: inline-flex; gap: 8px; color: var(--text); }
.os-icons svg { color: var(--text); }

/* Pricing */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 460px; margin: 0 auto; align-items: stretch; }
.plans-soon { max-width: 460px; margin: 18px auto 0; text-align: center; color: var(--muted); }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 26px; min-width: 0;
  border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.plan.featured {
  border-color: rgb(255 107 26 / 0.65);
  background: radial-gradient(120% 90% at 0% 0%, rgb(255 107 26 / 0.12), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 30px 70px -30px var(--glow), inset 0 0 0 1px rgb(255 107 26 / 0.15);
}
.plan-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 14px; row-gap: 14px; }
.plan-top .price { grid-column: 1 / -1; }
.plan-ico { color: var(--accent); }
.plan-name { flex: 1; min-width: 0; }
.plan-name h3 { font-size: 1.35rem; }
.plan-name p { color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price .amount { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .once { color: var(--accent-text); font-size: 14px; font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 9px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
}
.checks { flex: 1; }
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; }
.soon {
  position: absolute; top: -11px; right: 22px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700;
  background: var(--grad); color: var(--on-accent); box-shadow: 0 6px 18px -8px var(--glow);
}
.plan-foot { color: var(--muted); font-size: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Disk space, shown before anyone installs. */
.req {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start;
  max-width: 1180px; margin: 20px auto 0; padding: 22px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2);
}
@media (min-width: 860px) { .req { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 22px 26px; } }
.req-ico { color: var(--accent); }
.req h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.req-text p { color: var(--muted); font-size: 14px; }
.req-list { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
@media (min-width: 860px) { .req-list { grid-column: auto; } }
.req-list b { display: inline-block; min-width: 4.2em; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

/* Steps: a real sequence, so they are numbered. */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.steps li { position: relative; display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.steps h3 { font-size: 1.08rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; }
.step-n {
  display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 18px; font-weight: 700;
  box-shadow: inset 0 0 0 4px var(--bg-2);
}
@media (min-width: 900px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; right: -26px; top: 15px; width: 12px; height: 12px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); opacity: 0.6;
  }
}

/* Closing banner */
.banner { position: relative; overflow: hidden; padding-block: 40px 0; border-top: 1px solid var(--line); isolation: isolate; }
.banner-glow { position: absolute; inset: auto -10% -160px; height: 320px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%); filter: blur(10px); }
.banner-inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
@media (min-width: 900px) {
  .banner-inner { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; justify-items: start; text-align: left; gap: 40px; }
}
.banner-bot { width: 170px; margin-bottom: 24px; filter: drop-shadow(0 20px 40px var(--glow)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.banner-text { display: flex; flex-direction: column; gap: 8px; align-self: center; padding-block: 12px; }
@media (min-width: 900px) { .banner-text { padding-left: 32px; border-left: 2px solid var(--accent); } }
.banner-text h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; }
.banner-text p { color: var(--muted); font-size: 1.05rem; }
.banner-laptop { width: 280px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { color: var(--muted); font-size: 13px; }

/* Scroll reveal: content is always visible; it only settles into place as it enters. */
.js .reveal { transition: transform 0.9s var(--ease); }
.js .reveal:not(.in) { transform: translateY(22px); }
.js .card.reveal.in:hover { transform: translateY(-4px); }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.in) { transform: none; }
  .mock-window, .mock:hover .mock-window { transform: none; }
}
