:root {
    --night: #0d1520;
    --night-2: #15202e;
    --night-line: #2a3849;
    --night-text: #e8edf3;
    --night-muted: #9aa8b8;
    --paper: #fbfaf6;
    --card: #ffffff;
    --line: #e2e1d8;
    --text: #17202c;
    --muted: #5a6573;
    --signal: #35d6a6;
    --signal-deep: #0b7f60;
    --fault: #f4a62a;
    --bad: #c3302c;
    --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
    --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font: 17px/1.6 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 21, 32, 0.94); color: var(--night-text); border-bottom: 1px solid var(--night-line); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 650 19px var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--night-text); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--night-muted); text-decoration: none; }
.site-nav a:hover { color: var(--night-text); }
.site-nav a.btn { color: var(--night); }

/* Buttons */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; font: 600 16px var(--sans); text-decoration: none; color: var(--paper); background: var(--night); border: 1px solid var(--night); border-radius: 8px; cursor: pointer; transition: transform 0.12s ease, background 0.12s ease; }
.btn:hover, button:hover { transform: translateY(-1px); background: #1d2c3f; }
.btn-signal { color: var(--night); background: var(--signal); border-color: var(--signal); }
.btn-signal:hover { background: #5ae3bb; }
.btn-ghost { color: inherit; background: transparent; border-color: var(--night-line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn-full { width: 100%; }
button.secondary { color: var(--text); background: transparent; border-color: var(--line); }
button.secondary:hover { background: #f0efe8; }
button + button { margin-left: 8px; }

/* Hero */
.hero { background: var(--night); color: var(--night-text); padding: 72px 0 84px; overflow: hidden; background-image: radial-gradient(760px 420px at 82% 12%, rgba(53, 214, 166, 0.13), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; align-items: center; }
.eyebrow { font: 600 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-deep); margin: 0 0 16px; }
.hero .eyebrow { color: var(--signal); }
.hero h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 700; margin-bottom: 20px; }
.hero .lead { font-size: 20px; line-height: 1.5; color: #c6d0db; max-width: 34em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 16px 0 0; font-size: 14.5px; color: var(--night-muted); }

/* The trace card shows the idea of the product: one number, split by where it comes from. */
.trace { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 14px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42); font-size: 15px; }
.trace-head { display: flex; justify-content: space-between; gap: 12px; color: var(--night-muted); font: 13px var(--mono); margin-bottom: 18px; }
.trace-total { font: 600 13px var(--mono); color: var(--night-text); }
.trace-row { display: grid; grid-template-columns: 112px 1fr 58px; gap: 12px; align-items: center; padding: 7px 0; }
.trace-row .name { color: #c6d0db; }
.trace-row .ms { font: 14px var(--mono); text-align: right; color: #c6d0db; }
.trace-bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.trace-bar i { display: block; height: 100%; width: var(--value); border-radius: 5px; background: #5c7188; transform-origin: left; animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.trace-row.culprit .name, .trace-row.culprit .ms { color: var(--fault); font-weight: 600; }
.trace-row.culprit .trace-bar i { background: var(--fault); }
.verdict { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--fault); background: rgba(244, 166, 42, 0.09); border-radius: 0 8px 8px 0; color: var(--night-text); line-height: 1.45; }
.verdict small { display: block; margin-top: 4px; font: 12.5px var(--mono); color: var(--night-muted); }
.trace-note { margin: 12px 0 0; font-size: 12.5px; color: var(--night-muted); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: #f2f1ea; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 680; margin-bottom: 14px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 19px; margin: 0; }

/* The five suspects, drawn as the path they sit on. */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.path li { position: relative; padding: 34px 20px 0 0; }
.path li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.path li::after { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--signal-deep); }
.path li:last-child::before { right: 20px; }
.path h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
.path p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--night); padding-top: 18px; }
.step::before { content: "0" counter(step); display: block; font: 600 14px var(--mono); color: var(--signal-deep); margin-bottom: 10px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
kbd { font: 600 0.86em var(--mono); padding: 1px 6px; background: var(--card); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; color: var(--text); white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feature { background: var(--card); padding: 26px 26px 24px; }
.feature h3 { font-size: 18.5px; font-weight: 650; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.privacy { background: var(--night); color: var(--night-text); padding: 72px 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.privacy h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 680; }
.privacy p { color: #c6d0db; }
.privacy .eyebrow { color: var(--signal); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.price-card.featured { border: 2px solid var(--night); padding: 27px; }
.price-card h3 { font-size: 20px; font-weight: 650; }
.price { font: 700 44px/1.1 var(--display); letter-spacing: -0.02em; margin: 14px 0 2px; }
.price small { font: 400 16px var(--sans); color: var(--muted); letter-spacing: 0; }
.price.tba { font-size: 24px; line-height: 1.5; }
.saving { font-size: 15px; color: var(--signal-deep); font-weight: 600; min-height: 24px; margin-bottom: 14px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15.5px; flex: 1; }
.price-card li { padding: 5px 0 5px 22px; position: relative; color: var(--muted); }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-deep); }
.ribbon { position: absolute; top: -12px; left: 24px; padding: 2px 10px; font: 600 12px var(--mono); color: var(--paper); background: var(--night); border-radius: 4px; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 28px 16px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 22px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 28px; }

.closing { background: var(--night); color: var(--night-text); padding: 72px 0; text-align: center; }
.closing h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 680; margin-bottom: 12px; }
.closing p { color: #c6d0db; margin-bottom: 26px; }
.closing .cta-row { justify-content: center; }

/* Home page */
.product-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color 0.12s ease, transform 0.12s ease; }
.product-link:hover { border-color: var(--night); transform: translateY(-2px); }
.product-link h3 { font-size: 26px; font-weight: 680; margin-bottom: 6px; }
.product-link p { margin: 0; color: var(--muted); }

/* Form pages: buy, checkout, thanks, lost key, download */
.page { padding: 56px 0 84px; }
.page-narrow { width: min(600px, 100%); margin: 0 auto; padding: 0 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.panel h1, .buy-form h1 { font-size: 32px; font-weight: 680; margin-bottom: 10px; }
.note { color: var(--muted); font-size: 15px; }
.error { color: var(--bad); font-weight: 600; }
label { display: block; font-weight: 600; margin: 20px 0 8px; }
input[type=email], input[type=text], input[type=password] { width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; color: inherit; background: var(--card); border: 1px solid #c9c8bd; border-radius: 8px; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, .plan-option:has(input:focus-visible) { outline: 3px solid rgba(11, 127, 96, 0.4); outline-offset: 1px; }

.buy-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.plan-options { display: grid; gap: 10px; }
.plan-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 0; padding: 14px 16px; font-weight: 400; background: var(--card); border: 1px solid #c9c8bd; border-radius: 8px; cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--night); box-shadow: inset 0 0 0 1px var(--night); }
.plan-option input { accent-color: var(--signal-deep); width: 18px; height: 18px; margin: 0; }
.plan-option strong { display: block; font-weight: 600; }
.plan-option small { display: block; color: var(--signal-deep); font-size: 14px; font-weight: 600; }
.plan-option .amount { font: 600 17px var(--display); }
.summary { background: var(--night); color: var(--night-text); border-radius: 12px; padding: 28px; }
.summary h2 { font-size: 21px; margin-bottom: 14px; }
.summary ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.summary li { padding: 9px 0; border-top: 1px solid var(--night-line); color: #c6d0db; }
.buy-form button { margin-top: 24px; }

.licence-key { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.key { font: 600 19px/1.4 var(--mono); letter-spacing: 0.5px; padding: 16px; text-align: center; background: #f2f1ea; border: 1px dashed #bdbcb0; border-radius: 8px; user-select: all; overflow-wrap: anywhere; }
.spinner { width: 22px; height: 22px; margin-bottom: 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--signal-deep); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.specs { margin: 20px 0 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--muted); }
.specs li { padding: 8px 0; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); padding: 32px 0; font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--night-muted); text-decoration: none; }
.site-footer a:hover { color: var(--night-text); }

@media (max-width: 920px) {
    .hero { padding: 48px 0 56px; }
    .hero-grid, .privacy-grid, .buy-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .path { grid-template-columns: minmax(0, 1fr); }
    .path li { padding: 0 0 26px 34px; }
    .path li::before { top: 8px; bottom: -8px; left: 6px; right: auto; width: 2px; height: auto; }
    .path li:last-child::before { display: none; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .features, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding: 60px 0; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .wrap, .page-narrow { padding: 0 16px; }
    .site-header .wrap { gap: 12px; }
    .site-nav { gap: 14px; font-size: 14px; }
    .site-nav .hide-small { display: none; }
    .features, .pricing { grid-template-columns: minmax(0, 1fr); }
    .trace { padding: 16px; }
    .trace-row { grid-template-columns: 92px 1fr 50px; gap: 8px; }
    .panel { padding: 22px; }
    .product-link { grid-template-columns: minmax(0, 1fr); }
    .key { font-size: 16px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .trace-bar i, .spinner { animation: none; }
    .btn, button, .product-link { transition: none; }
}
