/* FreeSpace landing page. Same palette as the app's dark theme and the promo video. No build step. */
:root {
  --bg: #0a0e13; --bg-2: #0c1117; --panel: #121821; --panel-2: #18202b; --line: #263040; --line-2: #1a222d;
  --text: #e8eef5; --muted: #9aa7b6; --faint: #7d8a9b;
  --teal: #2dd4bf; --teal-2: #14b8a6; --teal-deep: #0f766e; --teal-soft: #134e4a; --teal-ink: #04201d;
  --safe: #4ade80; --safe-bg: #12301f; --review: #fbbf24; --review-bg: #33270b;
  --caution: #f87171; --caution-bg: #3b1414; --info: #93c5fd; --info-bg: #172338;
  --radius: 18px;
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 760; letter-spacing: -0.04em; line-height: 1.03; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 730; }
h3 { font-size: 19px; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: var(--mono); font-size: .86em; background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: #cfe9e5; white-space: nowrap; }
.muted { color: var(--muted); }
.accent { color: var(--teal); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { padding: 104px 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.ico { width: 22px; height: 22px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; line-height: 1.2; border-radius: 12px; padding: 12px 20px; background: var(--teal); color: var(--teal-ink); border: 1px solid var(--teal); white-space: nowrap; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:hover { background: #5eead4; border-color: #5eead4; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 18px; padding: 16px 28px; border-radius: 14px; box-shadow: 0 14px 40px rgba(45, 212, 191, .22); }
.btn-sm { font-size: 15px; padding: 8px 16px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--panel); border-color: #344156; }
.btn[aria-disabled="true"] { background: var(--panel-2); border-color: var(--line); color: var(--muted); box-shadow: none; cursor: default; pointer-events: none; }

/* header */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--teal); color: var(--teal-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 19, .8); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line-2); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 760; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--muted); font-size: 15px; font-weight: 560; }
.links a:hover { color: var(--text); text-decoration: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 15px; font-weight: 560; white-space: nowrap; }
.lang-switch:hover { color: var(--text); text-decoration: none; }
.lang-switch svg { width: 17px; height: 17px; flex: none; }
.lang-switch .short { display: none; }
.links + .lang-switch { margin-left: -6px; }
.nav-in > .lang-switch:nth-child(2) { margin-left: auto; }     /* pages without section links */
@media (max-width: 800px) {
  .links { display: none; }
  .nav-in > .lang-switch { margin-left: auto; }
  .lang-switch .full { display: none; }
  .lang-switch .short { display: inline; }
}

/* hero */
.hero { position: relative; padding: 84px 0 96px; text-align: center; overflow: hidden; }
.hero::before, .final::before { content: ""; position: absolute; left: 50%; top: -420px; width: 1500px; height: 1100px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20, 184, 166, .17), transparent 72%); pointer-events: none; }
.hero .wrap, .final .wrap { position: relative; }
.tags { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; list-style: none; }
.tags li { padding: 5px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 650; font-size: 14px; }
.lede { max-width: 700px; margin: 26px auto 0; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.fine { margin-top: 18px; color: var(--faint); font-size: 14px; }
.video-frame { position: relative; margin: 60px auto 0; max-width: 1080px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.vbtn { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 14, 19, .7); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.vbtn:hover { background: rgba(24, 32, 43, .9); }
.vbtn svg { width: 16px; height: 16px; }
.vbtn .play, .vbtn.paused .pause { display: none; }
.vbtn.paused .play { display: block; }

/* proof */
.proof { padding: 88px 0; text-align: center; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line-2); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 650; font-size: 14px; color: var(--muted); }
.big { margin-top: 14px; font-size: clamp(76px, 14vw, 160px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #99f6e4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-sub { font-size: clamp(22px, 3vw, 28px); font-weight: 650; margin-top: 6px; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px 64px; margin-top: 44px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-size: 40px; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stats dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.disks { max-width: 760px; margin: 52px auto 0; display: grid; gap: 20px; text-align: left; }
.disk .label { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.disk .label b { color: var(--text); font-weight: 650; }
.bar { height: 14px; border-radius: 999px; background: #1d2633; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; }
.bar .before { width: 97.3%; background: linear-gradient(90deg, #dc2626, #f87171); }
.bar .after { width: 82.5%; background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.foot { margin-top: 30px; font-size: 14px; color: var(--faint); }

/* section heads */
.head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.head p { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* problem */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; max-width: 980px; margin: 0 auto 56px; }
.chips li { font-family: var(--mono); font-size: 14.5px; padding: 8px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: #cfe9e5; }
.chips li.hot { border-color: #7f1d1d; color: #fecaca; background: #2a1414; }

/* cards */
.grid { display: grid; gap: 18px; list-style: none; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.card.warn .ic { background: var(--caution-bg); color: var(--caution); }
.card .examples { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #b8c6d3; }

/* steps */
.step .num { font-family: var(--mono); color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .12em; margin-bottom: 10px; }
.step h3 { font-size: 22px; }
.step .note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }

/* findings showcase */
.show { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 1000px) { .show { grid-template-columns: 1fr; } }
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.titlebar { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #0f141b; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.titlebar .dots { margin-left: auto; display: flex; gap: 7px; }
.titlebar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3442; }
.rows { list-style: none; }
.row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 72px; gap: 14px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line-2); }
.row:first-child { border-top: 0; }
.row .t { font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .size { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.row.hl { background: rgba(45, 212, 191, .06); }
.why { grid-column: 2 / -1; margin-top: 4px; padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--panel-2); border-radius: 0 10px 10px 0; font-size: 14px; color: #d5dee8; line-height: 1.5; }
.why b { display: block; color: var(--teal); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.cb { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #3a4658; display: grid; place-items: center; color: var(--teal-ink); }
.cb.on { background: var(--teal); border-color: var(--teal); }
.cb svg { width: 12px; height: 12px; }
.badge { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge.safe { background: var(--safe-bg); color: var(--safe); }
.badge.review { background: var(--review-bg); color: var(--review); }
.badge.caution { background: var(--caution-bg); color: var(--caution); }
.badge.info { background: var(--info-bg); color: var(--info); }
.selbar { margin: 6px 14px 14px; background: var(--text); color: var(--bg); border-radius: 12px; padding: 9px 9px 9px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; }
.selbar .go { background: var(--teal-deep); color: #fff; border-radius: 9px; padding: 7px 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .row { grid-template-columns: minmax(0, 1fr) auto 62px; gap: 10px; padding: 10px 14px; }
  .row .cb { display: none; }
  .why { grid-column: 1 / -1; }
  .selbar { font-size: 14px; }
}
.legend { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.legend li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: baseline; color: var(--muted); font-size: 15.5px; }
.legend .badge { justify-self: stretch; text-align: center; }

/* WSL / Docker spotlight */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; gap: 40px; } }
.spot h2 { margin-bottom: 20px; }
.spot-text > p { color: var(--muted); font-size: 18px; }
.flow { list-style: none; counter-reset: flow; display: grid; gap: 14px; margin-top: 28px; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--muted); font-size: 15.5px; }
.flow li::before { content: counter(flow); width: 32px; height: 32px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 750; font-size: 14px; display: grid; place-items: center; }
.flow b { color: var(--text); font-weight: 650; }
.vd { padding: 30px; }
.vd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.vd-head .mono { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.vd-head span:last-child { color: var(--muted); font-size: 14px; }
.vd-bar { display: flex; height: 42px; border-radius: 12px; overflow: hidden; background: #1d2633; }
.vd-bar .data { width: 63%; background: linear-gradient(90deg, var(--teal-deep), var(--teal-2)); }
.vd-bar .slack { flex: 1; background: repeating-linear-gradient(135deg, #3b2a0c 0 8px, #2a1f0b 8px 16px); border-left: 2px solid var(--bg); }
.vd-legend { display: grid; gap: 10px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.vd-legend span { display: flex; align-items: center; gap: 10px; }
.vd-legend b { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vd-legend .slack-row b { color: var(--review); }
.sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.sw.data { background: var(--teal-2); }
.sw.slack { background: repeating-linear-gradient(135deg, #8a6417 0 3px, #3b2a0c 3px 6px); }
.vd-total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.vd-total b { color: var(--text); }
.vd-cap { margin-top: 18px; font-size: 13.5px; color: var(--faint); }

/* privacy */
.privacy { text-align: center; padding: 96px 0; background: var(--bg-2); border-block: 1px solid var(--line-2); }
.privacy .lock { width: 64px; height: 64px; border-radius: 18px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin: 0 auto 26px; }
.privacy .lock svg { width: 30px; height: 30px; }
.privacy p { max-width: 680px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 650; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 26px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); }
.faq details p + p { margin-top: -8px; }

/* final CTA */
.final { position: relative; overflow: hidden; text-align: center; padding: 120px 0 128px; }
.final::before { top: 50%; height: 720px; transform: translate(-50%, -50%); }
.final .logo { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(46px, 7.5vw, 80px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.final .logo svg { width: 1.05em; height: 1.05em; }
.final .tagline { text-wrap: balance; margin-top: 26px; font-size: clamp(22px, 3.2vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.final .ctas { margin-top: 40px; }

/* footer */
.site-foot { border-top: 1px solid var(--line-2); padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; }
.foot-in nav { display: flex; gap: 22px; }
.foot-in nav a { color: var(--muted); }
.legal { max-width: 640px; }

/* download page */
.dl { padding: 80px 0 104px; }
.dl-head { text-align: center; max-width: 720px; margin: 0 auto; }
.dl-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.dl-head .ctas { margin-top: 32px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 64px auto 0; }
@media (max-width: 800px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-grid h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 16px; }
.checks { list-style: none; display: grid; gap: 12px; color: var(--muted); font-size: 15.5px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.checks svg { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.checks b { color: var(--text); font-weight: 650; }
.dl .flow { margin-top: 0; }
.dl .note { max-width: 980px; margin: 18px auto 0; font-size: 14.5px; color: var(--faint); text-align: center; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf p { color: var(--muted); margin: 16px 0 32px; font-size: 18px; }

@media (max-width: 560px) {
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .video-frame { margin-top: 44px; border-radius: 14px; }
  .ctas .btn { width: 100%; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stats dd { font-size: 32px; }
  .card { padding: 22px; }
  .vd { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
