:root {
  color-scheme: dark;
  --bg: #080a12;
  --panel: #141727;
  --ink: #f5f5fb;
  --muted: #b4bbd0;
  --line: #ffffff20;
  --accent: #c1baff;
  --teal: #a0e5d2;
  --radius: 24px;
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 100%;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

a:hover {
  color: #fff;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.75rem,5.9vw,5.5rem);
  font-weight: 740;
}

h2 {
  font-size: clamp(2rem,3.6vw,3.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-bottom: 1.25rem;
}

a,button,summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
  border-radius: 4px;
}

::selection {
  background: #c1baff;
  color: #101321;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(16,19,33,.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a:not(.brand) {
  font-size: .9375rem;
  text-decoration: none;
}

.nav-pill {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.nav-pill:hover {
  background: var(--panel);
}

.eyebrow {
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #151329;
}

.button.primary:hover {
  background: #d4cfff;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--teal);
  color: #101321;
}

.skip-link:focus {
  top: 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 32px;
  margin-top: 48px;
  font-size: .875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #f5f5fb;
  color: #101321;
  border: 1px solid #f5f5fb;
  border-radius: 12px;
  padding: 10px 18px;
  line-height: 1.3;
  min-width: 180px;
  min-height: 63px;
}

.store-button:disabled {
  opacity: 1;
  cursor: default;
}

.store-button span span {
  display: block;
  font-size: .75rem;
  font-weight: 500;
}

.store-button strong {
  font-size: 1.125rem;
}

.store-button svg {
  width: 24px;
  height: 28px;
  flex: none;
}

.launch-note {
  margin: 14px 0 0;
  font-size: .875rem;
  color: var(--muted);
}

@media(max-width:640px) {
  .shell {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: 76px;
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a:not(.nav-pill) {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    gap: 10px;
  }

  .store-button {
    min-width: 0;
    padding: 10px 14px;
  }

  .store-button strong {
    font-size: 1rem;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }

}

@media print {
  :root {
    color-scheme: light;
    background: #fff;
    color: #111;
  }

  body {
    background: #fff!important;
    color: #111!important;
  }

  a {
    color: #111;
  }

  .site-header,.site-footer,.skip-link {
    display: none!important;
  }

  .muted,.lead {
    color: #444;
  }

}

/* Shared modern chrome and progressive motion enhancements. */
body { background: radial-gradient(ellipse at 90% 0,#57408013,transparent 650px),var(--bg); }
.site-header { position: sticky; top: 0; z-index: 10; background: #0b0d17bf; backdrop-filter: blur(22px); border-bottom-color: #d7c8ff12; transition: background .3s,box-shadow .3s; }
.site-header.is-scrolled { background: #0b0d17ed; box-shadow: 0 10px 40px #0003; }
.nav { min-height: 80px; }
.nav-pill { border-radius: 100px; background: linear-gradient(135deg,#c2b3f51a,#9caeff08); border-color: #c1baff3d; box-shadow: inset 0 1px 0 #ffffff0c; transition: background .25s,box-shadow .25s; }
.nav-pill:hover { background: #bba9ee23; box-shadow: 0 0 25px #a180ea17; }
.brand img { box-shadow: 0 0 23px #a788e02e; }
.button { border-radius: 100px; transition: transform .25s,box-shadow .25s; }
.button.primary { background: linear-gradient(115deg,#d4c2ff,#b8c6ff); border-color: #ddd2ff; box-shadow: 0 8px 30px #a595f323; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px #a595f32e; }
.store-button { border-color: #ffffffb8; box-shadow: 0 5px 28px #d6bcff12,inset 0 1px 0 #fff; border-radius: 14px; }
.eyebrow { font-size: .6875rem; letter-spacing: .17em; color: #c5b3ee; }
.motion-toggle { border: 1px solid #b9a9d82b; border-radius: 100px; min-height: 36px; padding: 7px 12px; background: #bba9ee08; color: var(--muted); font-size: .6875rem; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); border-color: var(--accent); }
.motion-toggle[hidden] { display: none; }
.motion-compact { font-size: 0; padding: 8px; width: 44px; min-height: 44px; flex: none; }
.motion-compact::before { content: 'Ⅱ'; font-size: .75rem; }
.motion-compact[aria-pressed="true"]::before { content: '▶'; font-size: .625rem; }
[data-reveal] { opacity: 1; }
[data-reveal].reveal-ready { opacity: 0; transform: translateY(28px); }
[data-reveal].reveal-ready.is-visible { opacity: 1; transform: none; transition: opacity .8s ease,transform .8s cubic-bezier(.16,1,.3,1); }
html[data-motion="paused"] *,html[data-motion="paused"] *::before,html[data-motion="paused"] *::after { animation-play-state: paused!important; scroll-behavior: auto!important; }
html[data-motion="paused"] [data-reveal] { opacity: 1; transform: none; transition: none; }
html[data-motion="paused"] .steps li:hover .art-rhythm span { animation: none; }
@media(max-width:540px) { .nav { min-height: 72px; } }
@media(prefers-reduced-motion:reduce) { [data-reveal].reveal-ready { opacity: 1; transform: none; } }
@media print { [data-reveal].reveal-ready { opacity: 1; transform: none; } }
.motion-offscreen,.motion-offscreen *,.motion-offscreen::before,.motion-offscreen *::before { animation-play-state: paused!important; }
@media(prefers-reduced-motion:no-preference) {
  .hero-copy { animation: entrance .85s cubic-bezier(.16,1,.3,1) both; }
  .hero-visual { animation: entrance 1.15s .1s cubic-bezier(.16,1,.3,1) both; }
  .legal-heading,.utility-card { animation: entrance .7s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes entrance { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
html[data-motion="paused"] .hero-copy,html[data-motion="paused"] .hero-visual,html[data-motion="paused"] .legal-heading,html[data-motion="paused"] .utility-card { animation: none; }

html[data-motion="paused"] { scroll-behavior: auto!important; }

/* Without JavaScript there is no pause control, so decorative motion stays off. */
html:not([data-motion]) *,html:not([data-motion]) *::before,html:not([data-motion]) *::after { animation: none!important; }
