/* tangobackup.com. Plain CSS, light and dark via prefers-color-scheme. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --card: #ffffff;
  --ink: #0c1424;
  --ink-2: #2f3a4f;
  --muted: #5b667d;
  --line: #e1e6ef;
  --line-strong: #c9d1df;
  --brand: #2457e6;
  --brand-hover: #1c47c4;
  --brand-soft: #e9efff;
  --teal: #0e9c8d;
  --ok: #10805b;
  --bad: #c03a2b;
  --band: #0b1530;
  --band-ink: #eef2fb;
  --band-muted: #aeb9d3;
  --focus: #2457e6;
  --shadow-sm: 0 1px 2px rgb(12 20 36 / .06), 0 1px 3px rgb(12 20 36 / .05);
  --shadow: 0 2px 4px rgb(12 20 36 / .04), 0 12px 32px rgb(12 20 36 / .08);
  --radius: 14px;
  --radius-sm: 9px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090e1a;
    --bg-soft: #0e1525;
    --card: #111a2d;
    --ink: #e9eef8;
    --ink-2: #c5cee0;
    --muted: #96a2ba;
    --line: #1e2a42;
    --line-strong: #2c3a57;
    --brand: #6f97ff;
    --brand-hover: #8eadff;
    --brand-soft: #16244a;
    --teal: #35c9b6;
    --ok: #4ccb92;
    --bad: #ff8270;
    --band: #0f1b3d;
    --focus: #8eadff;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow: 0 2px 4px rgb(0 0 0 / .25), 0 16px 40px rgb(0 0 0 / .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .88em; }
code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; overflow-wrap: anywhere; }
pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; border: 0; padding: 0; overflow-wrap: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: .72em 1.2em; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .5em .95em; font-size: .92rem; }
.btn-xs { padding: .25em .6em; font-size: .78rem; border-radius: 6px; }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(36 87 230 / .25), 0 6px 18px rgb(36 87 230 / .22); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #071027; } }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.btn-light { background: #fff; color: #0b1530; }
.btn-light:hover { background: #e8eeff; color: #0b1530; }
.btn-ghost-light { background: transparent; color: var(--band-ink); border-color: rgb(255 255 255 / .3); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-note { font-weight: 500; opacity: .8; font-size: .85em; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; margin-top: auto; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--brand); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 6px; cursor: pointer; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; }
  .site-nav .btn { margin: 8px 0 0; }
}

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 640px) { section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.grad { background: linear-gradient(100deg, var(--brand), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--ok); width: 1.1em; height: 1.1em; stroke-width: 2.5; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
}

/* Hero network illustration */
.network { width: 100%; height: auto; overflow: visible; }
.network .stop-a { stop-color: var(--brand); }
.network .stop-b { stop-color: var(--teal); }
.network .link { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.network .flow { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow 1.6s linear infinite; }
.network .flow-2 { stroke: var(--teal); animation-delay: -.5s; }
.network .flow-3 { animation-delay: -1s; animation-direction: reverse; }
.network .pack { fill: var(--card); stroke: var(--teal); stroke-width: 2; filter: drop-shadow(0 4px 8px rgb(12 20 36 / .12)); }
.network .pack-lock { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.network .node-halo { fill: color-mix(in srgb, var(--brand) 14%, transparent); animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.network .node-core { fill: url(#node-grad); filter: drop-shadow(0 10px 22px rgb(36 87 230 / .3)); }
.network .node-alt { fill: var(--card); stroke: var(--line-strong); stroke-width: 2; filter: drop-shadow(0 8px 18px rgb(12 20 36 / .1)); }
.network .node-glyph { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.network .node-you .node-glyph { stroke: #fff; }
.network .node-label { fill: var(--ink); font: 650 15px var(--font); text-anchor: middle; }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .network .flow, .network .node-halo { animation: none; } }

/* Pillars: price and security */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.pillar h3 { font-size: 1.45rem; }
.pillar > p { color: var(--muted); }
.pillar-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; }
.pillar-icon .icon { width: 26px; height: 26px; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } .pillar { padding: 28px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--ok); stroke-width: 2.5; margin-top: .2em; }
.ticks li:has(> .icon use[href$="#x"]) .icon { color: var(--bad); }

/* Comparison */
.compare { background: var(--bg-soft); border-block: 1px solid var(--line); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; background: var(--bg-soft); }
.compare-table tbody th { font-weight: 600; width: 28%; }
.compare-table td { color: var(--ink-2); }
.compare-table .col-tango { background: color-mix(in srgb, var(--brand) 5%, transparent); color: var(--ink); font-weight: 550; }
.compare-table thead .col-tango { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--card)); }
.mark { display: inline-flex; vertical-align: -4px; margin-right: 10px; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; }
.mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.mark-yes { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.mark-no { background: color-mix(in srgb, var(--bad) 13%, transparent); color: var(--bad); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 36px; border-right: 1px solid var(--line); }
.calc-inputs label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.input-unit { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.input-unit:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.input-unit input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 1rem var(--font); padding: 10px 12px; }
.input-unit input:focus { outline: none; }
.input-unit span { padding: 0 12px; color: var(--muted); font-size: .8rem; font-weight: 500; white-space: nowrap; }
.calc-result { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: var(--bg-soft); }
.calc-bar-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-weight: 600; }
.calc-bar-label strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.calc-track { height: 14px; background: var(--line); border-radius: 99px; overflow: hidden; }
.calc-fill { height: 100%; width: 0; border-radius: 99px; transition: width .35s ease; }
.calc-fill-cloud { background: linear-gradient(90deg, #e2735f, var(--bad)); }
.calc-fill-tango { background: linear-gradient(90deg, var(--brand), var(--teal)); }
.calc-saving { font-size: 1.1rem; font-weight: 650; color: var(--ok); margin: 0; }
.calc-saving .negative { color: var(--ink-2); }
.calc-note { font-size: .84rem; color: var(--muted); margin: 0; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .calc-inputs { grid-template-columns: 1fr; padding: 24px; } .calc-result { padding: 24px; } }

/* Steps */
.how { background: var(--bg-soft); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--teal)); margin-bottom: 18px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--card); padding: 32px; }
.feature > .icon { width: 28px; height: 28px; color: var(--brand); margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 920px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 24px; } }

/* Audience */
.audience { background: var(--bg-soft); border-block: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand); }
.audience-card:nth-child(even) { border-top-color: var(--teal); }
.audience-card p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 980px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; margin-top: -4px; }

/* CTA band */
.cta-band { background: radial-gradient(800px 300px at 90% 0%, rgb(47 107 255 / .35), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgb(17 181 164 / .25), transparent 70%), var(--band); color: var(--band-ink); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--band-muted); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 56px; text-align: center; background: radial-gradient(800px 360px at 50% -10%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 28px; }

/* Security page */
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.principle { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.principle > .icon { width: 30px; height: 30px; color: var(--brand); margin-bottom: 16px; }
.principle h2, .principle h3 { font-size: 1.15rem; }
.principle p { color: var(--muted); margin: 0; font-size: .97rem; }
.principles { padding-bottom: 40px; }
.security-detail { padding-top: 40px; }
.prose h2 { margin-top: 64px; font-size: 1.7rem; }
.prose h2:first-child { margin-top: 0; }
.prose > p { color: var(--ink-2); }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .95rem; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--line-strong); }
.data-table tbody th { font-weight: 650; white-space: nowrap; }
.visibility td:last-child { color: var(--ok); font-weight: 500; }

/* Pricing */
.plans { padding-top: 64px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.plan-grid-two { max-width: 820px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.plan .ticks { flex: 1; align-content: start; }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan-tagline { color: var(--muted); min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.plan-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .amount-sm { font-size: 1.6rem; }
.plan-price .period { color: var(--muted); font-weight: 500; }
.plan-price-alt .amount { font-size: 1.35rem; }
.plan-note { font-size: .78rem; font-weight: 700; color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); padding: 2px 8px; border-radius: 99px; }
.plan .ticks { margin-top: 18px; }
.plans-footnote { text-align: center; color: var(--muted); font-size: .9rem; max-width: 760px; margin: 32px auto 0; }
.fair { background: var(--bg-soft); border-block: 1px solid var(--line); }

/* Downloads */
.recommend { margin-top: 28px; }
.recommend-note { color: var(--muted); font-size: .92rem; margin: 12px 0 0; }
.downloads { padding-top: 64px; padding-bottom: 48px; }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.os-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.os-card.current { border-color: var(--brand); box-shadow: var(--shadow); }
.os-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.os-head .icon { width: 30px; height: 30px; color: var(--ink); }
.os-head h2 { font-size: 1.35rem; margin: 0; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, background-color .15s; }
.dl:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.dl.recommended { border-color: var(--brand); background: var(--brand-soft); }
.dl.recommended .dl-arch::after { content: "Recommended"; margin-left: 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.dl-arch { flex: 1; }
.dl-meta { color: var(--muted); font-weight: 500; font-size: .85rem; }
.dl .icon { color: var(--brand); }
.dl-locked { color: var(--muted); border-style: dashed; cursor: not-allowed; }
.dl-locked:hover { color: var(--muted); border-color: var(--line-strong); background: transparent; }
.dl-locked .icon { color: var(--muted); }
.dl-locked.recommended { border-style: dashed; }
.beta-gate { max-width: 560px; margin: 32px auto 0; padding: 28px; text-align: left; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); }
.beta-gate h2 { font-size: 1.3rem; }
.beta-gate > p { color: var(--muted); }
.code-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.code-form input { flex: 1 1 220px; min-width: 0; font: 600 1.05rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 14px; }
.code-form input::placeholder { color: var(--muted); opacity: .6; }
.code-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.beta-gate .form-error { color: var(--bad); font-weight: 600; margin: 0 0 10px; }
.beta-gate .beta-note { font-size: .9rem; margin: 0; }
.downloads-foot { color: var(--muted); font-size: .92rem; text-align: center; max-width: 780px; margin: 28px auto 0; }
@media (max-width: 900px) { .os-grid { grid-template-columns: 1fr; } }
.get-started { padding-top: 48px; }
.os-steps { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 14px; }
.os-steps summary { cursor: pointer; padding: 18px 22px; font-weight: 650; font-size: 1.08rem; display: flex; align-items: center; gap: 12px; list-style: none; }
.os-steps summary::-webkit-details-marker { display: none; }
.os-steps[open] summary { border-bottom: 1px solid var(--line); }
.os-steps ol { margin: 0; padding: 20px 22px 20px 44px; display: grid; gap: 12px; }
.os-steps pre { margin: 10px 0 4px; }
.verify { background: var(--bg-soft); border-top: 1px solid var(--line); }
.checksums td { vertical-align: middle; }
.sum { display: inline-flex; align-items: center; gap: 10px; }
.verify-cmds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.verify-cmds h3 { font-size: .9rem; color: var(--muted); }
.verify-cmds pre { margin: 0; font-size: .82rem; }
@media (max-width: 860px) { .verify-cmds { grid-template-columns: 1fr; } }
.older { padding-top: 0; background: var(--bg-soft); }
.older summary { cursor: pointer; font-weight: 650; }
.older-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line-strong); padding: 1px 6px; border-radius: 6px; }

/* Checkout */
.checkout { padding-top: 64px; }
.price-buttons { display: grid; gap: 10px; }
.notice { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 28px; text-align: center; }
.notice-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.checkout-done { max-width: 560px; margin: 0 auto; text-align: center; }
.checkout-done > .icon { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 16px; }
.checkout-error { text-align: center; color: var(--bad); margin-top: 20px; }

.not-found { padding: 120px 0; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 320px; margin-top: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 4px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { color: var(--brand); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
