:root {
  color-scheme: dark;
  --bg: #0d0e0f;
  --bg-soft: #111315;
  --surface: #17191c;
  --surface-hover: #1c1f22;
  --border: #292d31;
  --border-soft: #202429;
  --text: #f5f7f9;
  --muted: #9ca4ad;
  --subtle: #747d86;
  --accent: #18a7f2;
  --accent-strong: #0789dc;
  --accent-soft: rgba(24, 167, 242, .12);
  --shadow: 0 34px 90px rgba(0, 0, 0, .48);
  --radius: 16px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 4%, rgba(24, 167, 242, .075), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 9px;
  background: white;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(13,14,15,.78);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 9px;
  font-size: .94rem;
  font-weight: 560;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,.045); }
.nav-download { color: var(--text); }

.hero {
  min-height: 650px;
  padding-block: 110px 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 72px;
}
.hero-copy { max-width: 720px; }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.45rem, 8vw, 6.5rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 760;
}
.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.button svg, .feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 10px 30px rgba(24,167,242,.16); }
.button-primary:hover { background: var(--accent-strong); }
.button-primary[aria-disabled="true"] {
  cursor: not-allowed;
  background: #272b2f;
  color: #818891;
  box-shadow: none;
}
.button-secondary { border-color: var(--border); background: var(--surface); color: var(--text); }
.button-secondary:hover { background: var(--surface-hover); border-color: #3b4147; }
.release-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0;
  color: var(--subtle);
  font-size: .86rem;
}
.hero-mark { display: grid; place-items: center; }
.mark-ring {
  width: 270px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(24,167,242,.09), transparent 56%),
    rgba(255,255,255,.012);
  box-shadow: inset 0 0 70px rgba(255,255,255,.015);
}
.mark-ring::before, .mark-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 50%;
}
.mark-ring::before { width: 330px; height: 330px; }
.mark-ring::after { width: 390px; height: 390px; }
.mark-ring img { width: 104px; filter: drop-shadow(0 18px 28px rgba(0,0,0,.55)); }

.preview-section, .features { padding-block: 80px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-kicker { margin-bottom: 10px; }
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.app-window {
  overflow: hidden;
  border: 1px solid #2c3136;
  border-radius: 18px;
  background: #101214;
  box-shadow: var(--shadow);
}
.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px 13px;
  border-bottom: 1px solid #24282c;
  background: #151719;
  color: #cbd0d6;
  font-size: .8rem;
  font-weight: 680;
}
.window-brand { display: flex; align-items: center; gap: 8px; }
.window-brand img { width: 22px; height: 22px; }
.window-controls { display: flex; gap: 20px; color: #89919a; font-size: .9rem; }
.app-window > img { width: 100%; height: auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent), var(--bg-soft);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.feature:hover { transform: translateY(-2px); border-color: #373c42; background-color: var(--surface); }
.feature-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24,167,242,.2);
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature h3 { margin: 56px 0 9px; font-size: 1.15rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); line-height: 1.65; }

.final-cta {
  min-height: 190px;
  margin-block: 70px 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 20%, rgba(24,167,242,.08), transparent 20rem),
    var(--surface);
}
.final-cta h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }

footer { border-top: 1px solid var(--border-soft); background: #0a0b0c; }
.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { color: #dfe3e7; }
.footer-inner p { color: var(--subtle); font-size: .88rem; }

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  padding: 12px 15px;
  border: 1px solid #3a4046;
  border-radius: 10px;
  background: #202327;
  box-shadow: 0 14px 50px rgba(0,0,0,.45);
  color: #e8ebee;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast code { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .52s ease, transform .52s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid #72caff; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .hero-mark { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 34px; }
}

@media (max-width: 650px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  nav a:not(.nav-download) { display: none; }
  .header-inner { min-height: 64px; }
  .hero { padding-block: 74px 58px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .preview-section, .features { padding-block: 56px; }
  .window-bar { display: none; }
  .app-window { border-radius: 12px; }
  .final-cta { margin-block: 52px 72px; padding: 26px; flex-direction: column; align-items: stretch; }
  .footer-inner { padding-block: 24px; flex-direction: column; align-items: flex-start; justify-content: center; }
}

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