:root {
  --indigo: #3e43e9;
  --indigo-strong: #2f34d1;
  --violet: #562ce7;
  --plum: #360b7b;
  --navy: #003a9c;
  --lavender: #9492f5;
  --orange: #f58220;

  --bg: #ffffff;
  --bg-tint: #f6f7fd;
  --surface: #ffffff;
  --text: #404040;
  --text-muted: #6b6d80;
  --heading: #1d1f4f;
  --border: #e3e4f3;
  --link: var(--indigo);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 31, 79, .05), 0 12px 32px -12px rgba(29, 31, 79, .18);
  --container: 1160px;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Raleway", var(--font-body);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e1f;
    --bg-tint: #16152b;
    --surface: #1c1b36;
    --text: #d6d6e6;
    --text-muted: #9c9cb8;
    --heading: #f3f2ff;
    --border: #2c2b4c;
    --link: #a9a7ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--plum); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); margin-bottom: .9em; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--lavender); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body); cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px -8px rgba(62, 67, 233, .7); }
.btn-primary:hover { background: var(--indigo-strong); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link { font-weight: 600; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff !important; text-decoration: none !important;
  padding: 8px 18px 8px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  font: 600 1.25rem/1 -apple-system, "SF Pro Display", var(--font-body); letter-spacing: -.01em;
  transition: transform .2s ease;
}
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge svg { width: 28px; height: 28px; }
.appstore-badge span { display: flex; flex-direction: column; }
.appstore-badge small { font-size: .62rem; font-weight: 500; letter-spacing: .02em; margin-bottom: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(40, 10, 95, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s ease, border-color .3s ease;
}
.has-overlay-nav .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255, 255, 255, .15); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay-nav .site-header.is-scrolled,
.has-overlay-nav .site-header.nav-open { background: rgba(40, 10, 95, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }

.nav-bar { display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 150px; height: auto; }
.site-nav ul { display: flex; gap: 8px; list-style: none; }
.site-nav a {
  display: block; padding: 8px 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(40, 10, 95, .97); padding: 8px 16px 20px;
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px 16px; font-size: 1.05rem; }
}

.hero {
  position: relative; min-height: 92vh; min-height: 92svh;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 100px;
  color: #fff;
  background:
    radial-gradient(1000px 600px at 85% 15%, rgba(148, 146, 245, .35), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(0, 58, 156, .55), transparent 60%),
    linear-gradient(135deg, var(--plum) 0%, var(--violet) 55%, var(--indigo) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255, 255, 255, .75); }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: .35em; }
.hero-lede { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; max-width: 36ch; color: rgba(255, 255, 255, .88); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; z-index: 1; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--bg-tint); }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section-head p:last-child { color: var(--text-muted); font-size: 1.08rem; }
.center-heading { text-align: center; margin: 1.6em 0 1em; font-size: clamp(1.5rem, 2.6vw, 2rem); }

.app-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px);
  align-items: center; margin-bottom: clamp(72px, 10vw, 128px);
}
.app-feature.is-reversed .app-feature-media { order: 2; }
.app-feature-media { position: relative; display: flex; justify-content: center; }
.app-feature-media img { position: relative; width: min(300px, 80%); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(20, 10, 60, .45); }
.app-feature-glow {
  position: absolute; inset: 8% 10%; border-radius: 50%;
  background: var(--accent); filter: blur(70px); opacity: .35;
}
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-id h3 { font-size: 1.9rem; margin: 0; }
.app-icon { width: 72px; height: 72px; border-radius: 22.5%; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); flex: none; }
.app-meta { margin: 2px 0 0; color: var(--text-muted); font-size: .9rem; }
.app-tagline { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--accent); }
@media (prefers-color-scheme: dark) { .app-tagline { filter: brightness(1.5); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 28px; }
.chips li {
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: color-mix(in srgb, var(--accent, var(--indigo)) 10%, transparent);
  color: var(--heading);
  border: 1px solid color-mix(in srgb, var(--accent, var(--indigo)) 22%, transparent);
}
.chips-center { justify-content: center; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.coming-soon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 32px; border-radius: var(--radius);
  border: 2px dashed var(--border); background: var(--bg-tint);
}
.coming-soon p { margin: 0; }

@media (max-width: 820px) {
  .app-feature { grid-template-columns: 1fr; }
  .app-feature.is-reversed .app-feature-media { order: 0; }
  .app-feature-media img { width: min(260px, 70%); }
}

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-intro p { font-size: 1.08rem; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; }
.principles li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.principles h3 { margin: 14px 0 6px; }
.principles p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.principle-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
}
.principle-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(120deg, var(--plum), var(--violet) 60%, var(--indigo)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin-bottom: 1.8em; }
.cta-inner { max-width: 720px; }

.app-hero {
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 0;
  background:
    radial-gradient(800px 500px at 90% 10%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%),
    linear-gradient(140deg, var(--plum) 0%, color-mix(in srgb, var(--accent) 55%, var(--plum)) 100%);
}
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.app-hero-copy { padding-bottom: 72px; align-self: center; }
.app-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; }
.app-hero .app-meta { color: rgba(255, 255, 255, .75); }
.app-icon-lg { width: 96px; height: 96px; }
.app-hero-tagline { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; margin: 8px 0 28px; }
.app-req { margin: 14px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.app-hero-shots { display: flex; justify-content: center; gap: 20px; }
.app-hero-shots img { width: min(300px, 70%); border-radius: 30px 30px 0 0; box-shadow: 0 -10px 60px -10px rgba(0, 0, 0, .5); }
.back-link { display: inline-block; font-size: .9rem; font-weight: 500; margin-bottom: 24px; }
.app-hero .back-link { color: rgba(255, 255, 255, .8); }
@media (max-width: 820px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .app-hero-copy { padding-bottom: 40px; }
}

.prose-lg p { font-size: 1.15rem; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  border-top: 4px solid var(--accent);
}
.feature-grid h3 { margin-bottom: 6px; font-size: 1.1rem; }
.feature-grid p { margin: 0; color: var(--text-muted); font-size: .95rem; }

.shot-gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 24px; margin: 0 -4px; justify-content: safe center;
}
.shot-gallery img {
  flex: none; width: min(240px, 62vw); border-radius: 26px; scroll-snap-align: center;
  box-shadow: 0 20px 40px -18px rgba(20, 10, 60, .45);
}
.app-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.app-notes h2 { font-size: 1.15rem; margin-bottom: .5em; }
.app-notes p { margin: 0; color: var(--text-muted); }
.app-disclaimer { max-width: 780px; margin: 40px auto 0; text-align: center; font-size: .85rem; color: var(--text-muted); }

.coming-soon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: color-mix(in srgb, var(--accent, var(--indigo)) 14%, transparent);
  color: var(--heading); border: 1px solid color-mix(in srgb, var(--accent, var(--indigo)) 35%, transparent);
}
.coming-soon-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--indigo)); }
.app-hero .coming-soon-pill { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.app-hero .coming-soon-pill::before { background: #fff; }

.support-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.support-strip h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.support-strip p { margin: 0; color: var(--text-muted); }

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero p:last-child { color: var(--text-muted); font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-card { padding: clamp(24px, 4vw, 40px); }
.contact-aside { display: grid; gap: 20px; }
.contact-aside h2 { font-size: 1.15rem; margin-bottom: .6em; }
.contact-aside p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.aside-apps { list-style: none; display: grid; gap: 14px; }
.aside-apps li { display: flex; align-items: center; gap: 14px; }
.aside-apps img { width: 40px; height: 40px; border-radius: 22.5%; }
.aside-apps div { display: flex; flex-direction: column; line-height: 1.35; }
.aside-apps a:first-child { font-weight: 600; }
.muted-link { font-size: .85rem; color: var(--text-muted) !important; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(62, 67, 233, .15); }
.field textarea { resize: vertical; min-height: 140px; }
.field-hint { margin: 6px 0 0; font-size: .82rem; color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.is-error { color: #d13b3b; }
.form-success { text-align: center; padding: 24px 0; }
.form-success h2 { margin-bottom: .4em; }
.form-unavailable h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--indigo); }
.legal-updated { color: var(--text-muted); font-size: .9rem; }
.legal-footnote { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .95rem; }

.site-footer { background: #1a0840; color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: .92rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-tagline { margin-top: 16px; max-width: 28ch; }
.footer-heading { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .5); }
.footer-legal p { margin: 0 0 4px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
