:root {
  color-scheme: dark;
  --bg: #06070a;
  --surface: #101116;
  --surface-strong: #171922;
  --text: #f7f4ff;
  --muted: #c7bfda;
  --soft: #9487b6;
  --line: rgba(159, 122, 255, 0.24);
  --header-bg: rgba(6, 7, 10, 0.88);
  --footer-bg: #050609;
  --card-bg: rgba(255,255,255,.045);
  --card-line: rgba(255, 255, 255, .1);
  --shadow: rgba(0, 0, 0, .35);
  --accent: #9f7aff;
  --accent-2: #16d482;
  --accent-3: #3db7ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-strong: #f0f1f7;
  --text: #12121a;
  --muted: #4c4860;
  --soft: #6c667d;
  --line: rgba(126, 83, 232, 0.25);
  --header-bg: rgba(255, 255, 255, 0.9);
  --footer-bg: #ffffff;
  --card-bg: rgba(255,255,255,.78);
  --card-line: rgba(20, 18, 32, .12);
  --shadow: rgba(31, 26, 48, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, rgba(159, 122, 255, 0.22), transparent 32rem), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-3); outline-offset: 4px; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: .6rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--card-line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}
.header-inner, .section, .footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.24rem;
  letter-spacing: 0;
}
.brand img { width: 46px; height: 46px; border-radius: 0; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: .5rem;
  padding: .55rem .75rem;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  padding: 0;
  margin: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .75rem;
  border-radius: .5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  color: var(--text);
  background: rgba(159, 122, 255, 0.16);
}
.nav-list a.nav-download {
  color: #10091f;
  border-color: transparent;
  background: var(--accent);
  font-weight: 750;
  gap: .55rem;
  padding: .62rem 1.25rem;
}
.nav-list a.nav-download::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav-list a.nav-download:hover {
  color: #10091f;
  background: #b99dff;
}
.site-nav { margin-left: auto; }
.theme-toggle {
  min-width: 86px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  margin-left: .5rem;
  padding: 0 .82rem;
}
.theme-toggle:hover { background: rgba(159, 122, 255, .16); }
.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.1rem;
  line-height: 1;
}
.theme-toggle-text {
  line-height: 1;
}
.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(22, 212, 130, .7);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); margin: 0 0 1.2rem; max-width: 10ch; }
.hero p { font-size: clamp(1.05rem, 2.5vw, 1.35rem); color: var(--muted); max-width: 62ch; margin: 0 0 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: min(350px, 100%);
  padding: .72rem 1rem;
  border-radius: .55rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 750;
  line-height: 1.6;
}
.button.primary { background: var(--accent); color: #10091f; border-color: transparent; }
.button.secondary { background: rgba(255, 255, 255, .04); color: var(--text); }
.button:disabled, .button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .68;
}
.cta-note {
  margin-top: .8rem !important;
  color: var(--soft) !important;
  font-size: .95rem !important;
}
.product-showcase {
  position: relative;
  min-height: clamp(390px, 46vw, 560px);
  display: grid;
  place-items: center;
}
:root[data-theme="light"] .product-showcase::before {
  content: "";
  position: absolute;
  inset: 22% 2% 20% 12%;
  border-radius: 28px;
  background: rgba(68, 58, 98, .14);
  filter: blur(22px);
  pointer-events: none;
}
:root[data-theme="light"] .product-showcase::after {
  content: "";
  position: absolute;
  left: -3%;
  bottom: -2%;
  width: min(34%, 190px);
  height: 58%;
  border-radius: 30px;
  background: rgba(46, 39, 70, .16);
  filter: blur(18px);
  pointer-events: none;
}
.showcase-studio,
.showcase-phone {
  display: block;
  position: relative;
  z-index: 1;
  border: 1px solid var(--card-line);
  background: var(--surface);
  box-shadow: 0 28px 80px var(--shadow);
}
.showcase-studio {
  width: min(100%, 640px);
  border-radius: 18px;
}
:root[data-theme="light"] .showcase-studio,
:root[data-theme="light"] .showcase-phone {
  clip-path: inset(2px round 18px);
  filter: drop-shadow(0 22px 30px rgba(37, 31, 62, .20)) drop-shadow(0 7px 14px rgba(37, 31, 62, .12));
}
.showcase-phone {
  position: absolute;
  left: -4%;
  bottom: -3%;
  width: min(31%, 178px);
  border-radius: 26px;
}
.theme-light-only { display: none; }
:root[data-theme="light"] .theme-dark-only { display: none; }
:root[data-theme="light"] .theme-light-only { display: block; }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 1rem; }
.section-lead { color: var(--muted); max-width: 760px; font-size: 1.08rem; margin: 0 0 2rem; }
.orientation-section { padding-top: 1rem; }
.orientation-grid {
  display: grid;
  grid-template-columns: minmax(220px, .58fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.wide-showcase img {
  display: block;
  width: 100%;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 28px 80px var(--shadow);
}
.wide-showcase .theme-light-only { display: none; }
:root[data-theme="light"] .wide-showcase .theme-dark-only { display: none; }
:root[data-theme="light"] .wide-showcase .theme-light-only { display: block; }
.feature-grid, .split-grid, .legal-links { display: grid; gap: 1rem; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.card, .legal-link, .support-box {
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 1.25rem;
}
.card h3, .legal-link h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.card p, .legal-link p, .support-box p { color: var(--muted); margin: 0; }
.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.feature-list li + li { margin-top: .35rem; }
.note {
  margin-top: 1rem !important;
  color: var(--soft) !important;
  font-size: .95rem;
}
.card-action {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-2);
  font-weight: 800;
}
.legal-link { text-decoration: none; display: block; }
.legal-link:hover { border-color: var(--accent); background: rgba(159,122,255,.12); }
.doc-page { background: var(--bg); }
.doc-hero { padding: 3rem 0 1.5rem; }
.doc-shell { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 4rem; }
.breadcrumb { color: var(--soft); font-size: .95rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.legal-document {
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--card-bg);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}
.legal-document h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: none; }
.legal-document h2 { margin-top: 2.2rem; font-size: 1.35rem; }
.legal-document p { color: var(--muted); margin: .75rem 0; }
.legal-document .updated { color: var(--accent-2); font-weight: 700; }
.support-box a { color: var(--text); font-weight: 700; }
.site-footer { border-top: 1px solid var(--card-line); background: var(--footer-bg); padding: 2rem 0; }
.footer-inner { display: grid; gap: 1rem; color: var(--soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; inset: 72px 1rem auto 1rem; display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .6rem; }
  .nav-list a { width: 100%; }
  .hero-grid, .split-grid, .feature-grid, .orientation-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .product-showcase { min-height: 390px; }
  .showcase-phone { left: 2%; width: min(34%, 170px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
