:root {
  color-scheme: dark;
  --canvas: #100d17;
  --surface: #1a1525;
  --line: #392e48;
  --ink: #fbf7ff;
  --muted: #c5bace;
  --accent: #cbaaff;
  --gutter: clamp(18px, 4.4vw, 68px);
  --radius: 22px;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body, h1, h2, h3, p, figure { margin: 0; }
body { line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
:where(button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--canvas);
  transform: translateY(-160%);
}

.skip-link:focus-visible { transform: none; }

.site-width {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 83px;
}

.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(15px, 3vw, 37px);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.mobile-entry:hover { color: var(--accent); }

.site-footer small {
  color: var(--muted);
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 780;
  letter-spacing: -.04em;
}

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 9px;
  background: #6747c7;
}

.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 83px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 750;
  cursor: pointer;
}

.button--primary {
  background: var(--accent);
  color: #1a1027;
}

.button--primary:hover { background: #e1ceff; }

.button--outline {
  border-color: #544466;
  background: transparent;
}

.button--outline:hover { border-color: var(--accent); }

h1, h2 {
  font-weight: 750;
  line-height: .99;
  letter-spacing: -.068em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.5rem, 6vw, 5.1rem); }

h1 em, h2 em {
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .98em;
  font-weight: 400;
  letter-spacing: -.07em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(12px, 2.5vw, 34px);
  align-items: center;
  min-height: 620px;
  padding-block: 52px 54px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2d4ec;
  font-size: .73rem;
  font-weight: 740;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px #bf8aff80;
  content: '';
}

.hero h1 {
  margin-block: 22px 26px;
  font-size: clamp(4.2rem, 8.2vw, 7.6rem);
}

.hero h1 em { display: block; }

.hero-description {
  max-width: 37ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 450px;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  inset: 6% 0;
  overflow: hidden;
  border: 1px solid #694a8d80;
  border-radius: 50%;
  background: radial-gradient(ellipse at 53% 50%, #623c9d 0%, #3b245f 42%, #190e2b30 74%, transparent 83%);
}

.hero-orbit::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#cbaaff16 1px, transparent 1px),
    linear-gradient(90deg, #cbaaff16 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: radial-gradient(ellipse, #000 22%, transparent 75%);
  content: '';
}

.hero-art > img {
  width: min(74%, 412px);
  filter: drop-shadow(0 23px 27px #0a0713b8);
  transform: rotate(7deg);
}

.section { padding-block: clamp(65px, 8vw, 108px); }

#discover { border-top: 1px solid var(--line); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 31px;
}

.section-heading p,
.workflow-copy p,
.download-card p {
  max-width: 34ch;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 14px;
}

.feature-controls {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.feature-controls button {
  display: flex;
  width: 100%;
  min-height: 109px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: clamp(15px, 2.6vw, 29px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171220;
  text-align: left;
  cursor: pointer;
}

.feature-controls button:hover {
  border-color: #9572b9;
  background: #241932;
}

.feature-controls button[aria-pressed='true'] {
  border-color: var(--accent);
  background: #302142;
}

.feature-controls strong {
  display: block;
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  line-height: 1.23;
}

.feature-controls small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .9rem;
}

.feature-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 1px solid #765f90;
  border-radius: 50%;
  color: var(--accent);
}

[aria-pressed='true'] .feature-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1027;
}

.feature-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  height: 100%;
  min-height: 377px;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-panel--photo > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 50%;
}

.feature-panel--photo::before,
.feature-panel--gear::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #100d17 3%, #100d17eb 18%, #100d1766 51%, transparent 75%);
  content: '';
}

.panel-copy {
  padding: clamp(20px, 4vw, 37px);
}

.panel-copy h3 {
  max-width: 24ch;
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3.45vw, 2.65rem);
  font-weight: 740;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.panel-copy p {
  max-width: 48ch;
  color: #e0d6e8;
}

.feature-panel--request {
  background: radial-gradient(ellipse at 78% 5%, #4d316d, transparent 68%), var(--surface);
}

.request-example {
  width: min(68%, 330px);
  margin: 28px auto 0;
  padding: 19px 22px;
  border: 1px solid #a38bbf;
  border-radius: 15px;
  background: #eaddfa;
  color: #27183a;
  box-shadow: 0 14px 32px #0d091c80;
  transform: rotate(-4deg);
}

.request-example span {
  display: block;
  margin-bottom: 7px;
  color: #5b3b83;
  font-size: .75rem;
  font-weight: 750;
}

.request-example strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.request-example p {
  margin-top: 7px;
  font-size: .85rem;
}

.feature-panel--gear {
  background: radial-gradient(ellipse at 65% 15%, #5c4088, transparent 67%), var(--surface);
}

.gear-image {
  position: absolute;
  z-index: -2;
  top: -10%;
  right: 7%;
  width: min(77%, 470px);
}

.gear-image img { width: 100%; }

.workflow {
  border-block: 1px solid var(--line);
  background: #15101d;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(24px, 8vw, 117px);
}

.workflow-copy h2 { max-width: 13ch; }
.workflow-copy p { margin-top: 20px; }

.workflow-list {
  margin: 0;
  padding-left: 32px;
}

.workflow-list li {
  padding: 19px 0 19px 9px;
  border-bottom: 1px solid var(--line);
}

.workflow-list li:first-child { border-top: 1px solid var(--line); }

.workflow-list li::marker {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 750;
}

.workflow-list h3 {
  margin-bottom: 3px;
  font-size: 1.13rem;
}

.workflow-list p { color: var(--muted); }

.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(25px, 5vw, 63px);
  border: 1px solid #5c4578;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 90% 2%, #432964, #20162d 50%, #1b1424 83%);
}

.download-card h2 { font-size: clamp(2.45rem, 5.6vw, 4.65rem); }
.download-card p { margin-top: 12px; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  width: clamp(120px, 14vw, 177px);
  padding: 0;
  border: 1px solid #6b5a7a;
  border-radius: 15px;
  overflow: hidden;
  background: #202020;
  cursor: pointer;
}

.store-badge img { width: 100%; }
.store-badge:hover { border-color: var(--accent); filter: brightness(1.12); }
.mobile-entry { display: inline-block; margin-top: 12px; color: var(--muted); font-size: .88rem; text-decoration: underline; }

.store-notice {
  width: min(400px, calc(100% - 36px));
  padding: 24px;
  border: 1px solid #765f90;
  border-radius: 16px;
  background: #21172e;
  color: var(--ink);
}

.store-notice::backdrop { background: #0d0915be; }

.store-notice h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -.035em;
}

.store-notice p { color: var(--muted); }
.store-notice form { margin-top: 19px; text-align: right; }

.legal-page {
  max-width: 860px;
  padding-block: clamp(48px, 8vw, 96px);
}

.legal-page h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  text-wrap: wrap;
}

.legal-intro {
  max-width: 66ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.0625rem;
}

.legal-intro p + p { margin-top: 10px; }

.legal-intro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 22px 28px;
}

.legal-nav .button {
  min-height: 40px;
  padding: 7px 14px;
}

.legal-nav [aria-current='page'] {
  border-color: var(--accent);
  color: var(--accent);
}

.legal-document {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4.5vw, 45px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-document > * + * {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2.5vw, 1.36rem);
  line-height: 1.3;
  letter-spacing: -.025em;
}

.legal-document p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-document section p + p { margin-top: 9px; }

@media (max-width: 850px) {
  .hero { min-height: 510px; }
  .hero-art { min-height: 375px; }
  .hero-art > img { width: min(83%, 390px); }

  .section-heading,
  .download-card {
    flex-direction: column;
    align-items: start;
  }

  .section-heading p,
  .workflow-copy p,
  .download-card p { max-width: 53ch; }
}

@media (max-width: 650px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    gap: 13px 18px;
    padding-block: 12px 15px;
  }

  .site-header nav {
    width: 100%;
    order: 1;
  }

  .header-action { min-height: 39px; padding: 7px 13px; }

  .site-footer {
    display: grid;
    gap: 13px;
    padding-block: 18px;
  }

  .hero,
  .feature-grid,
  .workflow-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 25px;
    min-height: 0;
    padding-block: 45px 30px;
  }

  .hero h1 { font-size: clamp(3.85rem, 13vw, 6rem); }
  .hero-art { min-height: 0; padding-block: 13px 20px; }
  .hero-art > img { width: min(70%, 330px); }
  .hero-orbit { inset: 4% 1%; }

  .section-heading { align-items: start; gap: 13px; }
  .section-heading h2 { text-wrap: initial; }
  .feature-controls { grid-template-rows: none; }
  .feature-controls button { min-height: 77px; }
  .feature-panel { min-height: 345px; }
  .request-example { width: min(78%, 300px); }
  .workflow-list { padding-left: 26px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
