/* THOST 2026 design system. Light by default, dark when <html data-theme="dark">. Bold condensed type, orange accent, motion. */
:root {
  color-scheme: light;
  --bg: #f5f7fb; --bg-alt: #ffffff; --ink: #0d1428; --surface: #ffffff; --surface-2: #eef2f8;
  --border: rgba(13, 20, 40, 0.1); --text: #16202b; --muted: #5b6875;
  --accent: #ff6a1a; --accent-d: #e2560a; --violet: #7c5cff; --cyan: #06b6d4; --pink: #ec4899; --good: #16a34a;
  --accent-hover: #ff8a4d; --accent-soft: rgba(255, 106, 26, 0.12); --on-accent: #fff;
  --head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.08); --glow: 0 0 0 1px rgba(255, 106, 26, 0.25), 0 16px 40px rgba(255, 106, 26, 0.18);
  --radius: 16px; --max: 1180px; --hero-ink: #ffffff; --hero-muted: #d7deee;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070a12; --bg-alt: #0b1020; --surface: #111a30; --surface-2: #0f172a; --border: rgba(148, 163, 184, 0.16); --text: #e8edf8; --muted: #9aa8c2;
  --good: #34d399; --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 34px rgba(0,0,0,.5); --glow: 0 0 0 1px rgba(124, 92, 255, 0.35), 0 12px 40px rgba(124, 92, 255, 0.28);
}
html { scroll-padding-top: 80px; }
body { font-family: var(--body); background: var(--bg); color: var(--text); }
h1, h2, h3, .plan .price .amount, .stat b { font-family: var(--head); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] .stat b { color: #fff; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; line-height: .95; }
h1 .hl { color: var(--accent); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { color: inherit; }
.eyebrow, .hero .eyebrow, .page-hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 700; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); background: none; border: 0; padding: 0; }
.eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; }
code { background: var(--surface-2); color: inherit; border: 1px solid var(--border); }
.prose pre { background: #0d1428; color: #e2e8f0; border: 1px solid var(--border); box-shadow: var(--shadow); }
a { color: #4f46e5; } html[data-theme="dark"] a { color: #a99cff; }
a:hover { color: var(--accent); }
::selection { background: rgba(255, 106, 26, 0.45); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-alt) 82%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--border); }
.brand { color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; }
html[data-theme="dark"] .brand { color: #fff; }
.brand svg rect { fill: var(--accent); }
.nav a { color: var(--muted); font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); } html[data-theme="dark"] .nav a:hover, html[data-theme="dark"] .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--accent); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; margin-left: .25rem; transition: transform .15s ease, background .15s ease; }
.theme-toggle:hover { transform: rotate(15deg); background: var(--accent-soft); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; } html[data-theme="dark"] .theme-toggle { color: #fff; } html[data-theme="dark"] .theme-toggle .sun { display: block; } html[data-theme="dark"] .theme-toggle .moon { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 10px; padding: .85rem 1.4rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn::after { content: "→"; font-family: var(--body); font-weight: 700; transition: transform .15s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn.primary { background: var(--accent); border: 0; color: #fff; box-shadow: 0 10px 28px rgba(255, 106, 26, 0.35); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 106, 26, 0.45); color: #fff; }
.btn.secondary { background: transparent; border: 1.5px solid var(--border); color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .btn.secondary { color: #fff; border-color: rgba(255,255,255,.35); } html[data-theme="dark"] .btn.secondary:hover { background: #fff; color: #0d1428; }
.hero .btn.secondary, .cta .btn.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.hero .btn.secondary:hover, .cta .btn.secondary:hover { background: #fff; color: #0d1428; border-color: #fff; }
.cta .btn.primary { background: #fff; color: #0d1428; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2); }
.cta .btn.primary:hover { background: var(--accent); color: #fff; }

/* Hero: rolling banner */
.hero { position: relative; overflow: hidden; padding: 0; background: var(--ink); isolation: isolate; color: var(--hero-ink); min-height: min(92vh, 780px); display: flex; align-items: center; }
.hero .lead { color: var(--hero-muted); font-size: 1.2rem; max-width: 40rem; }
.hero h1 { color: #fff; }
.hero-grid { position: relative; z-index: 2; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem); width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 8s ease; background-size: cover; background-position: center; }
.hero-bg .slide.on { opacity: 1; transform: scale(1); }
.hero-bg .s1 { background: radial-gradient(900px 600px at 20% 20%, rgba(124, 92, 255, 0.55), transparent 60%), radial-gradient(700px 500px at 85% 70%, rgba(6, 182, 212, 0.45), transparent 60%), linear-gradient(135deg, #0d1428, #17203f); }
.hero-bg .s2 { background: radial-gradient(900px 600px at 75% 25%, rgba(255, 106, 26, 0.55), transparent 60%), radial-gradient(700px 500px at 15% 80%, rgba(236, 72, 153, 0.4), transparent 60%), linear-gradient(135deg, #140e1f, #2a1234); }
.hero-bg .s3 { background: radial-gradient(900px 600px at 30% 70%, rgba(6, 182, 212, 0.5), transparent 60%), radial-gradient(700px 500px at 80% 20%, rgba(22, 163, 74, 0.45), transparent 60%), linear-gradient(135deg, #061a1f, #0b2a33); }
.hero-bg .s4 { background: radial-gradient(900px 600px at 70% 75%, rgba(124, 92, 255, 0.5), transparent 60%), radial-gradient(700px 500px at 25% 25%, rgba(255, 106, 26, 0.45), transparent 60%), linear-gradient(135deg, #1a0f0a, #2b1a12); }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(8, 12, 28, 0.72) 0%, rgba(8, 12, 28, 0.45) 45%, rgba(8, 12, 28, 0.15) 100%), linear-gradient(0deg, rgba(8, 12, 28, 0.9) 0%, rgba(8, 12, 28, 0) 35%); }
.hero-bg canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: .45; }
.hero-bg .grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 70%); }
.hero-slides { position: relative; min-height: 4.5rem; }
.hero-slides .slide-text { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.hero-slides .slide-text.on { opacity: 1; transform: none; position: relative; }
.hero-dots { display: flex; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hero-dots button { width: 44px; height: 6px; border-radius: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; overflow: hidden; position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dots button.on::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.hero-chips li { font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: #fff; padding: .4rem .75rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px); }
.price-card-hero { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,106,26,.25), 0 24px 60px rgba(0,0,0,.35); backdrop-filter: blur(12px); color: #fff; transform: perspective(1200px) rotateY(-6deg); transition: transform .3s ease; }
.price-card-hero:hover { transform: perspective(1200px) rotateY(0deg); }
.price-card-hero .muted, .price-card-hero .foot { color: #cbd5ee; }
.price-card-hero .val.good { color: #6ee7b7; text-shadow: 0 0 14px rgba(52, 211, 153, 0.45); }
.price-card-hero a { color: #ffb48a; }
.page-hero { background: var(--ink); color: #fff; border-bottom: 1px solid var(--border); padding: clamp(3rem, 6vw, 5rem) 0; }
.page-hero h1 { color: #fff; } .page-hero .lead { color: var(--hero-muted); }
.breadcrumb a { color: #cbd5ee; } .breadcrumb li { color: #cbd5ee; }

/* Marquee strip */
.strip { background: var(--accent); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.strip .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.strip ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.strip li { display: flex; align-items: center; gap: .9rem; padding: .9rem 2.2rem; font-family: var(--head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.35); }
.strip li b { font-size: 1.25rem; }
.strip li small { display: block; font-size: .72rem; letter-spacing: .14em; opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip .track { animation: none; flex-wrap: wrap; width: auto; } .hero-bg .slide { transition: none; transform: none; } .hero-dots button.on::after { animation: none; transform: scaleX(1); } }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 2.6rem; line-height: 1; }
.stat b .u { color: var(--accent); font-size: 1.4rem; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Cards */
.card, a.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--pink), var(--violet), var(--cyan)); opacity: 0; transition: opacity .2s ease; }
.card:hover::before, a.card:hover::before { opacity: 1; }
a.card { color: inherit; text-decoration: none; display: block; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 26, 0.55); box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16), 0 0 0 1px rgba(255, 106, 26, 0.25); }
.card .icon { background: linear-gradient(135deg, rgba(255, 106, 26, 0.18), rgba(124, 92, 255, 0.18)); color: var(--accent-d); border: 1px solid rgba(255, 106, 26, 0.3); border-radius: 12px; }
html[data-theme="dark"] .card .icon { color: #ffd2b8; }
a.card h3::after { content: " →"; color: var(--accent); }
.card p { color: var(--muted); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.four { grid-template-columns: 1fr; } }

/* Plans */
.billing-toggle { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: .25rem; }
.billing-toggle button { color: var(--muted); border-radius: 999px; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.billing-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 26, 0.4); }
.billing-toggle .save { color: inherit; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--accent), var(--pink), var(--violet)) border-box; box-shadow: var(--glow); }
.plan .badge { background: var(--accent); color: #fff; border-radius: 6px; font-family: var(--head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan .price .amount { font-size: 3rem; font-weight: 800; }
.plan .price .per, .plan .alt-price, .plan .for { color: var(--muted); }
.plan li svg { color: var(--good); }
.plans.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) and (min-width: 901px) { .plans.four { grid-template-columns: repeat(2, 1fr); } }
.pricing-note { color: var(--muted); }

/* Tables, FAQ */
table.compare { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.compare th, .compare td { border-color: var(--border); }
.compare thead th { background: rgba(255, 106, 26, 0.12); font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; }
.compare .yes { color: var(--good); }
.compare .no { color: #e11d48; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq details[open] { border-color: rgba(255, 106, 26, 0.5); }
.faq summary { font-weight: 700; }
.faq summary::after { color: var(--accent); }
.faq .answer { color: var(--muted); }

/* CTA + footer */
.cta { position: relative; overflow: hidden; background: radial-gradient(700px 320px at 15% 0%, rgba(255, 106, 26, 0.5), transparent 60%), radial-gradient(600px 320px at 85% 100%, rgba(124, 92, 255, 0.5), transparent 60%), #0d1428; color: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.cta p { color: #d6dcff; font-size: 1.15rem; }
.site-footer { background: #0d1428; border-top: 1px solid var(--border); color: #9aa8c2; }
.site-footer .brand { color: #fff; }
.site-footer .fh { color: #fff; font-family: var(--head); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
.site-footer a { color: #9aa8c2; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: #6f7b93; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .08s; } .js .reveal:nth-child(3) { transition-delay: .16s; } .js .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Forms / misc */
input, select, textarea { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; }
.notice { background: var(--accent-soft); border: 1px solid rgba(255, 106, 26, 0.35); border-radius: var(--radius); }
.steps li::before { background: var(--accent); color: #fff; }
