@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-var.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

@font-face {
    font-family: "Spline Sans Mono";
    src: url("fonts/spline-sans-mono-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --purple-950: #280740;
    --purple-900: #430b74;
    --purple-800: #5910a3;
    --purple-700: #7314d1;
    --purple-600: #9339ec;
    --purple-500: #a65cf0;
    --purple-400: #bd87f3;
    --purple-300: #ddbbf8;
    --purple-100: #f2e8fd;
    --surface: #160e20;
    --surface-raised: #20132e;
    --surface-alt: #280740;
    --text: var(--purple-100);
    --text-muted: var(--purple-300);
    --accent: var(--purple-600);
    --accent-hover: var(--purple-700);
    --button-text: #ffffff;
    --line: #4d365f;
    --focus: var(--purple-400);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--purple-400) var(--surface); }
body { margin: 0; font-family: "Archivo", sans-serif; font-stretch: 105%; font-size: 16px; color: var(--text); background: var(--surface); line-height: 1.75; letter-spacing: 0; }
::selection { color: var(--purple-950); background: var(--purple-300); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.masthead { background: var(--surface); color: var(--text); }
.masthead-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; line-height: 1; }
.brand-mark { width: 27px; height: 27px; border: 2px solid var(--purple-400); border-radius: 50%; position: relative; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); top: -5px; left: 7px; }
.brand-mark::before { content: ""; position: absolute; inset: 0; background: var(--purple-400); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav-links a { padding-block: 10px; text-underline-offset: 6px; }
.nav-links a:hover { text-decoration: underline; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 600; line-height: 1.5; transition: background-color 160ms, color 160ms, border-color 160ms; }
.btn-primary { background: var(--accent); color: var(--button-text); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--text); border-color: var(--purple-400); background: transparent; }
.btn-secondary:hover { background: var(--surface-alt); border-color: var(--purple-300); }
.masthead .btn { min-height: 44px; padding: 9px 18px; color: var(--text); border-color: var(--purple-400); }
.masthead .btn:hover { background: var(--surface-alt); }
section { padding-block: 96px; }
.hero { background: var(--surface); color: var(--text); padding-top: 44px; padding-bottom: 0; }
.hero-top { display: contents; }
.hero-top > div:first-child { position: relative; padding-bottom: 48px; }
.collision { margin: 0; max-width: 900px; font-size: 76px; font-stretch: 100%; font-weight: 500; line-height: 1.08; text-wrap: balance; letter-spacing: 0; }
.collision .line { display: block; color: var(--purple-400); }
.hero-subtitle { margin: 18px 0 0; max-width: 68ch; font-size: 18px; color: var(--text-muted); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn-primary { background: var(--purple-400); color: var(--purple-950); }
.hero-actions .btn-primary:hover { background: var(--purple-300); }
.hero-actions .btn-secondary { border-color: var(--purple-400); color: var(--text); }
.hero-actions .btn-secondary:hover { background: var(--surface-alt); }
.hoist { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-block: 18px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--purple-400) var(--surface); }
.hoist-title { flex: 0 0 auto; font-size: 14px; font-weight: 500; margin: 0 12px 0 0; color: var(--text-muted); }
.hoist-line { display: none; }
.hoist-item { flex: 0 0 auto; }
.category { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; border-radius: 0; color: var(--text); padding: 9px 12px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background-color 160ms, border-color 160ms; }
.category:hover { background: var(--surface-alt); }
.category[aria-pressed="true"] { background: var(--surface-alt); border-color: var(--purple-400); color: var(--purple-300); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); color: var(--text); background: var(--surface-raised); margin-bottom: -1px; }
.hero-card:first-child { padding: 26px 32px 18px; }
.feed-title { margin: 0 0 15px; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.feed-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple-400); flex-shrink: 0; }
.event { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); transition: background-color 160ms; }
.event[data-selected="true"] { background: var(--surface-alt); }
.event-title { font-size: 16px; font-weight: 550; line-height: 1.6; }
.event-meta { font-size: 14px; color: var(--text-muted); margin-top: 5px; line-height: 1.75; }
.stamp { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.stamp-high { background: var(--purple-900); color: var(--purple-100); }
.stamp-med { background: transparent; color: var(--purple-300); border: 1px solid var(--purple-400); }
.hero-card:last-child { padding: 24px 32px 30px; background: var(--surface-alt); }
.tape-title { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--text); }
.tape { display: grid; grid-template-columns: 0.7fr 1fr 1.7fr 1fr; gap: 20px; margin: 0; }
.tape-row { display: flex; flex-direction: column; gap: 5px; }
.tape-label { font-size: 14px; color: var(--text-muted); }
.tape-value { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.tape-row:first-child .tape-value { font-family: "Spline Sans Mono", monospace; }
h2 { margin: 0; font-size: 40px; font-stretch: 100%; font-weight: 500; line-height: 1.2; text-wrap: balance; letter-spacing: 0; }
.section-head { max-width: 770px; }
.section-lead { margin: 22px 0 0; color: var(--text-muted); max-width: 70ch; font-size: 17px; }
.features { margin-top: 56px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 80px; padding-block: 36px; border-top: 1px solid var(--line); }
.feature-row h3 { margin: 0 0 12px; font-weight: 550; font-size: 23px; line-height: 1.3; }
.feature-row p { margin: 0; color: var(--text-muted); max-width: 65ch; font-size: 16px; }
.feature-list { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.8; }
.feature-list li { position: relative; padding: 8px 0 8px 22px; }
.feature-list li::before { content: ""; position: absolute; left: 1px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--purple-400); }
.quote-card { margin-top: 48px; padding: 48px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; }
.quote-mark { color: var(--purple-400); font-size: 64px; line-height: 1; }
.quote { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.5; max-width: 65ch; }
.quote-by { font-size: 14px; margin: 18px 0 0; color: var(--text-muted); }
.quote-by em { font-style: normal; }
#pricing { background: var(--surface-raised); }
.pricing-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; position: relative; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.pricing-card.popular { border-color: var(--purple-400); }
.plan { font-size: 18px; font-weight: 600; }
.price { font-size: 46px; font-weight: 500; line-height: 1.25; margin-top: 16px; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.price-note { min-height: 50px; margin-top: 8px; font-size: 14px; color: var(--text-muted); }
.plan-features { padding: 22px 0 0; margin: 20px 0 32px; border-top: 1px solid var(--line); list-style: none; font-size: 15px; line-height: 1.8; }
.plan-features li { padding: 7px 0 7px 19px; position: relative; }
.plan-features li::before { content: ""; position: absolute; top: 17px; left: 1px; width: 8px; height: 5px; border-left: 1.5px solid var(--purple-400); border-bottom: 1.5px solid var(--purple-400); transform: rotate(-45deg); }
.popular-badge { position: absolute; top: -15px; left: 26px; border-radius: 4px; padding: 3px 12px; background: var(--purple-400); color: var(--purple-950); font-size: 13px; font-weight: 600; }
.pricing-card .btn { width: 100%; margin-top: auto; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; background: var(--surface-alt); color: var(--text); padding: 48px; margin-top: 56px; }
.cta-panel h3 { font-size: 27px; font-weight: 500; line-height: 1.3; margin: 0; }
.cta-panel p { color: var(--text-muted); margin: 14px 0 0; font-size: 16px; max-width: 65ch; }
.cta-panel .btn { background: var(--purple-400); color: var(--purple-950); }
.cta-panel .btn:hover { background: var(--purple-300); }
#faq .container { display: grid; grid-template-columns: 0.45fr minmax(0, 1fr); gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; padding-block: 21px; font-size: 16px; font-weight: 550; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 23px; font-weight: 400; color: var(--text-muted); flex: 0 0 18px; text-align: center; }
.faq-item[open] summary::after { content: "-"; }
.faq-item summary:hover { color: var(--purple-400); }
.faq-item p { margin: 0; padding: 0 32px 24px 0; max-width: 70ch; font-size: 16px; color: var(--text-muted); }
footer { padding-block: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-muted); }
@keyframes opening { from { transform: translateY(10px); } to { transform: translateY(0); } }
.hero-top > div:first-child { animation: opening 600ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (max-width: 1100px) {
    .container { width: calc(100% - 64px); }
    .collision { font-size: 64px; }
    .hoist { flex-wrap: wrap; }
    .hoist-title { width: 100%; }
    .feature-row { gap: 48px; }
    .pricing-wrap { gap: 14px; }
    .pricing-card { padding-inline: 20px; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .masthead-inner { min-height: 76px; gap: 18px; flex-wrap: wrap; padding-block: 18px; }
    .brand { font-size: 21px; }
    .nav-links { order: 3; width: 100%; gap: 28px; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 4px; font-size: 14px; }
    .masthead .btn { margin-left: auto; font-size: 14px; min-height: 44px; }
    .hero { padding-top: 28px; }
    .collision { font-size: 48px; }
    .hero-subtitle { font-size: 16px; }
    .hero-top > div:first-child { padding-bottom: 32px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding-inline: 16px; font-size: 14px; }
    .hoist { flex-wrap: nowrap; gap: 8px; margin-right: -20px; padding-right: 20px; }
    .hoist-title { width: auto; max-width: 80px; white-space: normal; font-size: 14px; }
    .hero-card:first-child, .hero-card:last-child { padding: 24px 20px; }
    .event { gap: 12px; }
    .event-title { font-size: 15px; }
    .event-meta { font-size: 14px; }
    .tape { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .tape-value { font-size: 14px; }
    section { padding-block: 64px; }
    h2 { font-size: 32px; }
    .section-lead { font-size: 16px; }
    .features { margin-top: 32px; }
    .feature-row { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
    .feature-row h3 { font-size: 22px; }
    .feature-row p { font-size: 16px; }
    .feature-list { font-size: 15px; }
    .quote-card { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; margin-top: 24px; padding-top: 32px; }
    .quote-mark { font-size: 44px; }
    .quote { font-size: 19px; }
    .pricing-wrap { grid-template-columns: 1fr; gap: 28px; }
    .pricing-card { padding: 28px; }
    .price-note { min-height: 0; }
    .cta-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px; margin-top: 36px; }
    .cta-panel h3 { font-size: 24px; }
    .cta-panel .btn { justify-self: start; }
    #faq .container { grid-template-columns: 1fr; gap: 28px; }
    .faq-item summary { font-size: 16px; }
    footer { padding-block: 24px; }
}
@media (max-width: 360px) {
    .collision { font-size: 40px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}