:root {
  color-scheme: dark;
  --bg: #060a13;
  --line: #1b2740;
  --accent: #4f8dff;
  --accent-light: #9cc2ff;
  --text: #f4f7fd;
  --muted: #a4b2c8;
  --quiet: #7b8ba4;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #05070d; background: var(--accent-light); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.container.narrow { width: min(760px, calc(100% - 48px)); }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 20; padding: 8px 12px; color: #000; background: #fff; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgba(6, 10, 19, .92); backdrop-filter: blur(8px); }
.header-inner { display: flex; min-height: 68px; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .1px; white-space: nowrap; }
.brand img { display: block; width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 600; }
.button-small { min-height: 36px; padding-inline: 15px; font-size: 13px; }
.button-primary { color: #05070d; background: var(--accent); }
.button-primary:hover { background: var(--accent-light); }
.menu-toggle { display: none; }
.text-link { color: var(--accent-light); font-size: 14px; }
.text-link:hover { color: #c9e0ff; }

.hero { padding: 118px 0 108px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 92px; height: 92px; border: 1px solid #24344f; border-radius: 50%; background: #081120; object-fit: contain; padding: 14px; }
.hero h1 { margin: 30px 0 0; font: 500 clamp(42px, 6.4vw, 68px)/1.08 var(--serif); letter-spacing: -1.4px; }
.lede { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 34px; }

.section { padding: 88px 0; }
.section h2, .cta h2 { margin: 0; font: 500 clamp(30px, 4vw, 40px)/1.2 var(--serif); letter-spacing: -.6px; }
.feature-list { margin-top: 40px; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 200px minmax(0, 1fr) 132px; align-items: start; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature h3 { margin: 0; font-size: 16px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-price { justify-self: end; padding-top: 2px; color: var(--quiet); font-size: 12px; white-space: nowrap; }
.feature-price.paid { padding: 2px 10px; border: 1px solid #2b4a7a; border-radius: 999px; color: var(--accent-light); }

.statement { padding: 92px 0; border-block: 1px solid var(--line); text-align: center; }
.statement p { max-width: 720px; margin: 0 auto; font: 500 clamp(24px, 3.4vw, 32px)/1.45 var(--serif); letter-spacing: -.4px; }

.steps { margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps li::before { counter-increment: step; content: counter(step); color: var(--accent); font: 500 20px var(--serif); }
.steps-note { margin: 24px 0 0; color: var(--quiet); font-size: 14px; }
.steps-note a { color: var(--accent-light); }

.cta { padding: 96px 0 110px; border-top: 1px solid var(--line); text-align: center; }
.cta p { margin: 14px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; min-height: 84px; padding-block: 18px; }
.footer-content .brand img { width: 28px; height: 28px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: var(--text); }
.footer-note { margin-left: auto; color: var(--quiet); font-size: 13px; }

.guide-heading { padding: 80px 0 54px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--accent-light); }
.guide-heading h1 { margin: 0 0 14px; font: 500 clamp(36px, 5vw, 54px)/1.14 var(--serif); letter-spacing: -1px; }
.guide-heading .container > p:last-child { max-width: 640px; margin-bottom: 0; color: var(--muted); }
.guide-body { padding: 64px 0 100px; }
.guide-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 68px; }
.guide-nav { position: sticky; top: 96px; display: grid; gap: 14px; }
.guide-nav a { color: var(--muted); font-size: 14px; }
.guide-nav a:hover { color: var(--accent-light); }
.guide-section { scroll-margin-top: 92px; margin-bottom: 48px; }
.guide-section h2 { margin: 0 0 14px; font: 500 26px/1.3 var(--serif); letter-spacing: -.3px; }
.guide-section h3 { margin: 30px 0 10px; font-size: 16px; font-weight: 600; }
.guide-section p, .guide-section li { color: var(--muted); font-size: 15px; }
.guide-section ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 20px; }
.guide-section ol { display: grid; gap: 12px; padding-left: 20px; }
.guide-section li { padding-left: 4px; }
.guide-section a { color: var(--accent-light); }
code { padding: 3px 7px; border: 1px solid #263a5c; border-radius: 3px; color: var(--accent-light); background: #0c172c; font: 12px var(--mono); }
.command-list { margin: 0; border-top: 1px solid var(--line); }
.command-list > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.command-list dt, .command-list dd { margin: 0; }
.command-list dt { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.command-list dt code { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.command-list dd { flex: 1 1 240px; min-width: 0; color: var(--muted); font-size: 14px; }
.guide-page + .site-footer .footer-content { min-height: 70px; }

@media (max-width: 700px) {
  html { scroll-padding-top: 66px; }
  .container, .container.narrow { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 32px; height: 32px; }
  .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; padding: 9px; border: 1px solid #263249; border-radius: 3px; background: transparent; }
  .menu-toggle span { height: 1px; background: var(--accent-light); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 62px; right: 0; left: 0; display: none; padding: 10px 18px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px 0; }
  .header-inner > .button { padding-inline: 11px; }
  .hero { padding: 76px 0 68px; }
  .hero-logo { width: 78px; height: 78px; }
  .hero h1 { margin-top: 24px; }
  .lede { font-size: 16px; }
  .hero-actions { margin-top: 28px; }
  .section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .feature-price { justify-self: start; margin-top: 4px; padding-top: 0; }
  .statement { padding: 64px 0; }
  .cta { padding: 70px 0 80px; }
  .footer-content { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .footer-nav { flex-wrap: wrap; }
  .footer-note { margin-left: 0; }
  .guide-heading { padding-top: 56px; }
  .guide-layout { grid-template-columns: 1fr; gap: 34px; }
  .guide-nav { position: static; display: flex; flex-wrap: wrap; gap: 10px 18px; }
  .guide-body { padding-top: 40px; }
}

/* Motion */
:root {
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-expo: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes letter-in { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 -7px; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

body { animation: page-in .5s var(--ease-expo) both; }
body.page-leaving { opacity: 0; transition: opacity .18s ease; }

.site-header { transition: background-color .3s var(--ease-expo), border-color .3s var(--ease-expo); }
.site-header.scrolled { border-bottom-color: #22314b; background: rgba(6, 10, 19, .97); }
.brand img { transition: transform .35s var(--ease-expo); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }

.site-nav a { position: relative; padding-block: 7px; transition: color .25s var(--ease-expo); }
.site-nav a::after { content: ''; position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--accent-light); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease-expo); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav.open { animation: menu-in .24s var(--ease-expo) both; }

/* Hero entrance: letters rise out of a blur, then the supporting copy follows. */
.hero h1 .word, .guide-heading h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .ltr, .guide-heading h1 .ltr { display: inline-block; animation: letter-in .8s var(--ease-expo) both; animation-delay: var(--d, 0ms); }
.hero h1 .accent-dot, .guide-heading h1 .accent-dot { color: var(--accent); }
.hero-logo { animation: fade-up .7s var(--ease-expo) both, float 6s ease-in-out 1.2s infinite alternate; }
.hero .lede { animation: fade-up .8s var(--ease-expo) .7s both; }
.hero .hero-actions { animation: fade-up .8s var(--ease-expo) .95s both; }

/* Cursor-follow light over fine diagonal bands. */
.hero, .cta { position: relative; overflow: hidden; isolation: isolate; }
.hero > .container, .cta > .container { position: relative; z-index: 1; }
.hero-bg, .cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg > span, .cta-bg > span { position: absolute; inset: 0; display: block; }
.hero-glow-top { background: radial-gradient(ellipse 60rem 26rem at 50% 0%, rgba(79, 141, 255, .16), rgba(79, 141, 255, .05) 50%, transparent 80%); }
.hero-bands { background: repeating-linear-gradient(112deg, rgba(156, 194, 255, .06) 0 1px, transparent 1px 46px); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.hero-glow { background: radial-gradient(ellipse 42rem 30rem at 50% 58%, rgba(79, 141, 255, .11), transparent 75%); }
.hero-shine { background: radial-gradient(ellipse 26rem 22rem at var(--mx, 50%) var(--my, 40%), rgba(156, 194, 255, .34), transparent 70%); -webkit-mask-image: repeating-linear-gradient(112deg, #000 0 1px, transparent 1px 46px); mask-image: repeating-linear-gradient(112deg, #000 0 1px, transparent 1px 46px); }

.button { position: relative; overflow: hidden; transition: background-color .22s var(--ease-expo), border-color .22s var(--ease-expo), color .22s var(--ease-expo), transform .16s var(--ease-spring), filter .16s ease; }
.button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-125%); transition: transform .6s var(--ease-expo); pointer-events: none; }
.button:hover::after { transform: translateX(125%); }
.button:active { transform: scale(.96); filter: brightness(.92); transition-duration: 60ms; }
.text-link { display: inline-block; transition: color .2s var(--ease-expo), transform .25s var(--ease-expo); }
.text-link:hover { transform: translateX(3px); }

/* Scroll reveal: 24px lift, 0.8s expo-out, staggered per row. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo); transition-delay: calc(var(--reveal-delay, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

.feature { position: relative; transition: background-color .3s var(--ease); }
.feature::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: -14px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.feature:hover::before { transform: scaleY(1); }
.feature h3, .feature p, .feature-price { transition: color .25s var(--ease); }
.feature:hover h3 { color: var(--accent-light); }
.steps li { transition: color .25s var(--ease); }
.steps li:hover { color: var(--text); }
.steps li::before { transition: transform .3s var(--ease); }
.steps li:hover::before { transform: translateX(3px); }
.command-list > div { transition: background-color .25s var(--ease), padding-left .25s var(--ease); }
.command-list > div:hover { background: #0d1830; padding-left: 8px; }
.guide-nav a { transition: color .2s var(--ease), transform .2s var(--ease); }
.guide-nav a:hover, .guide-nav a.active { color: var(--accent-light); transform: translateX(3px); }

@media (max-width: 700px) {
  .site-nav a::after { display: none; }
  .feature::before { left: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
  }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .hero-shine { display: none; }
}
