:root {
  color-scheme: dark;
  --bg: #080c10;
  --bg-deep: #040608;
  --surface: #10171d;
  --surface-2: #172129;
  --line: rgba(193, 208, 220, 0.16);
  --line-accent: rgba(255, 126, 22, 0.42);
  --text: #f2f5f7;
  --muted: #a5afb7;
  --blue: #ff7a00;
  --blue-light: #ffad57;
  --amber: #ffb547;
  --green: #53d69a;
  --max: 1180px;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 122, 0, 0.12), transparent 28rem),
    var(--bg);
  line-height: 1.6;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.75rem, 4.4vw, 4rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
p { color: var(--muted); }

.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-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: #140b03;
  background: var(--blue-light);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(8, 12, 16, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(4, 6, 8, .96); }
.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand .brand-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
}
.brand-wordmark {
  display: grid;
  align-content: center;
  min-width: 0;
  line-height: 1;
}
.brand-wordmark strong {
  color: #f4f7f9;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 950;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-wordmark strong span { color: #ff8b28; }
.brand-wordmark small {
  margin-top: 5px;
  color: #ff9b3a;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--text); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: var(--blue-light); }
.button-primary {
  color: #170b02;
  border-color: #ff861b;
  background: linear-gradient(135deg, #ff6a00, #ff9b32);
  box-shadow: 0 16px 36px rgba(255, 106, 0, .22);
}
.button-quiet { background: rgba(255, 255, 255, .04); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }
.text-link { color: var(--blue-light); font-weight: 800; text-decoration: none; }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: .58;
  background: linear-gradient(90deg, rgba(4, 6, 8, .99) 0%, rgba(5, 8, 11, .92) 46%, rgba(5, 8, 11, .62) 100%), url("/assets/hero-bg.webp") center/cover;
}
.hero-grid {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 64px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 700px; margin-bottom: 30px; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.eyebrow {
  margin-bottom: 13px;
  color: var(--blue-light);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.beta-badge {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 142, 48, .38);
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(255, 122, 0, .12);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.beta-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 5px rgba(255, 122, 0, .1);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: .88rem;
  list-style: none;
}
.hero-facts li::before { margin-right: 8px; color: var(--blue-light); content: "✓"; font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual picture {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-accent);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .46);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}
.hero-visual picture::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 0 80px rgba(4, 11, 19, .32); }
.hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.visual-glow {
  position: absolute;
  inset: 10% -10%;
  border-radius: 50%;
  background: rgba(255, 106, 0, .23);
  filter: blur(90px);
}
.visual-card {
  position: absolute;
  z-index: 3;
  min-width: 220px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 143, 53, .34);
  border-radius: 13px;
  background: rgba(11, 16, 20, .94);
  box-shadow: 0 18px 35px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.visual-card span { display: block; color: var(--blue-light); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.visual-card strong { font-size: .88rem; }
.visual-card-top { top: -24px; right: 18px; }
.visual-card-bottom { bottom: -24px; left: -28px; }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.section-dark { width: 100%; padding-inline: max(20px, calc((100% - var(--max)) / 2)); background: rgba(3, 5, 7, .6); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading > p:last-child { max-width: 650px; margin-bottom: 0; font-size: 1.05rem; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.steps li, .feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 29, 36, .92), rgba(10, 15, 19, .9));
}
.steps li { min-height: 250px; padding: 28px; }
.step-number { display: block; margin-bottom: 42px; color: rgba(255, 142, 48, .72); font-size: 2.2rem; font-weight: 900; }
.steps p, .feature-card p { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 230px; padding: 32px; overflow: hidden; }
.feature-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 135, 35, .14);
  border-radius: 50%;
  content: "";
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 142, 48, .42);
  border-radius: 13px;
  color: var(--blue-light);
  background: rgba(255, 122, 0, .1);
  font-size: 1.35rem;
  font-weight: 900;
}

.screenshot-section { padding-top: 70px; }
.screenshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.screenshot-large { grid-column: 1 / -1; }
.screenshot picture { display: block; overflow: hidden; background: #080c10; }
.screenshot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s ease; }
.screenshot:hover img { transform: scale(1.015); }
.screenshot figcaption { padding: 20px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.screenshot figcaption span { color: var(--muted); font-size: .92rem; }

.account-section {
  padding: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  border: 1px solid var(--line-accent);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 122, 0, .16), transparent 24rem),
    linear-gradient(140deg, rgba(22, 29, 34, .97), rgba(8, 12, 15, .97));
}
.account-section > div { max-width: 720px; }
.account-section p:last-child { margin-bottom: 0; font-size: 1.05rem; }
.beta-section { padding-top: 30px; }
.beta-panel { padding: 36px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; border: 1px solid var(--line-accent); border-radius: var(--radius); background: rgba(255, 122, 0, .055); }
.beta-panel p:last-child { margin-bottom: 0; }
.beta-mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; color: var(--blue-light); background: rgba(255, 122, 0, .12); font-size: 2rem; font-weight: 900; }
.faq-section { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 40px 23px 0; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { float: right; margin-right: -32px; color: var(--blue-light); content: "+"; font-size: 1.45rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 740px; padding: 0 0 22px; margin: 0; }
.final-cta { width: min(var(--max), calc(100% - 40px)); margin: 20px auto 100px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--line-accent); border-radius: 26px; background: radial-gradient(circle at 90% 20%, rgba(255, 122, 0, .18), transparent 22rem), linear-gradient(135deg, #151d23, #090d11); box-shadow: 0 30px 70px rgba(0, 0, 0, .34); }
.final-cta p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.final-cta .eyebrow { color: var(--blue-light); }
.final-cta .button-primary { flex: none; }

.site-footer { padding: 56px max(20px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px 60px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-brand.brand { width: max-content; }
.footer-main p { margin: 12px 0 0; font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.site-footer nav a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; padding-top: 24px; margin: 0; border-top: 1px solid rgba(133,181,222,.12); font-size: .78rem; }

.legal-page .site-header { position: relative; }
.legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.legal-main .eyebrow { margin-bottom: 18px; }
.legal-intro { max-width: 700px; margin-bottom: 48px; font-size: 1.05rem; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 1.35rem; }
.legal-section h3 { margin-top: 26px; color: #dceaf6; font-size: 1.02rem; }
.legal-section p { margin-bottom: 0; }
.legal-section p + p { margin-top: 16px; }
.legal-section ul { padding-left: 22px; color: var(--muted); }
.legal-section li + li { margin-top: 10px; }
.legal-section a, .legal-note a { color: var(--blue-light); }
.legal-note { padding: 20px; border: 1px solid rgba(255,181,71,.28); border-radius: 14px; background: rgba(255,181,71,.07); color: #f2d5a6; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 70px; gap: 72px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(760px, 94%); margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-number { margin-bottom: 24px; }
  .account-section { padding: 42px; align-items: flex-start; flex-direction: column; }
  .beta-panel { grid-template-columns: auto 1fr; }
  .beta-panel .button { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .nav-wrap { width: min(100% - 28px, var(--max)); min-height: 68px; }
  .brand .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .nav-toggle {
    width: 44px;
    height: 42px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: white;
    background: var(--surface);
  }
  .nav-toggle span:not(.sr-only) { height: 2px; border-radius: 2px; background: currentColor; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(4, 6, 8, .99);
    box-shadow: 0 22px 60px rgba(0,0,0,.45);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 12px; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid, .section, .final-cta { width: min(calc(100% - 28px), var(--max)); }
  .hero-grid { padding: 58px 0 74px; }
  h1 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .hero-actions .button { width: 100%; }
  .hero-visual { width: 100%; }
  .hero-visual picture { transform: none; border-radius: 16px; }
  .visual-card { display: none; }
  .hero-facts { flex-direction: column; gap: 7px; }
  .section { padding: 76px 0; }
  .section-dark { width: 100%; padding-inline: 14px; }
  .feature-grid, .screenshots { grid-template-columns: 1fr; }
  .screenshot-large { grid-column: auto; }
  .feature-card { min-height: 210px; }
  .account-section { width: min(100% - 28px, var(--max)); padding: 30px 24px; }
  .beta-panel { padding: 26px 22px; grid-template-columns: 1fr; }
  .beta-mark { width: 52px; height: 52px; }
  .beta-panel .button { grid-column: auto; width: 100%; }
  .final-cta { margin-bottom: 70px; padding: 34px 24px; align-items: flex-start; flex-direction: column; }
  .final-cta .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
