:root {
  color-scheme: dark;
  --veil-black: #050508;
  --veil-black-soft: #08060d;
  --veil-surface: #0d0914;
  --veil-surface-2: #130b20;
  --veil-purple-deep: #35106b;
  --veil-purple: #7c3cff;
  --veil-purple-bright: #9b5cff;
  --veil-lavender: #d8c7ff;
  --veil-white: #f7f5fa;
  --veil-text-secondary: #a7a2b2;
  --veil-text-muted: #706b7a;
  --veil-border: rgba(255, 255, 255, 0.08);
  --veil-gradient: linear-gradient(115deg, #32105f 0%, #7938ff 52%, #d8c7ff 100%);
  --container: 1180px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--veil-black); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--veil-white);
  background:
    radial-gradient(900px 520px at 78% 3%, rgba(90, 29, 189, .16), transparent 65%),
    var(--veil-black);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--veil-white); color: var(--veil-black); border-radius: 10px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--veil-lavender); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(5, 5, 8, .76);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}
.nav-shell { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 152px; }
.brand-mark { width: 31px; height: 31px; filter: drop-shadow(0 0 13px rgba(155, 92, 255, .55)); }
.brand-word { font-size: 15px; font-weight: 760; letter-spacing: .38em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 34px; margin-inline: auto; }
.nav-link { position: relative; padding: 28px 0 27px; color: var(--veil-text-secondary); font-size: 13px; font-weight: 600; transition: color .25s ease; }
.nav-link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 19px; height: 1px; background: var(--veil-lavender); box-shadow: 0 0 10px var(--veil-purple-bright); transition: left .25s ease, right .25s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--veil-white); }
.nav-link:hover::after, .nav-link.is-active::after { left: 0; right: 0; }
.header-cta, .button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 750; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.header-cta { min-width: 124px; min-height: 43px; background: var(--veil-gradient); box-shadow: 0 10px 34px rgba(124, 60, 255, .25); }
.header-cta:hover, .button-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 44px rgba(124, 60, 255, .38); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--veil-border); border-radius: 50%; background: var(--veil-surface); color: var(--veil-white); align-items: center; justify-content: center; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-button span { margin: 4px 0; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 78px 0 0; z-index: 99; padding: 26px 20px; background: rgba(5, 5, 8, .98); }
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: grid; gap: 8px; }
.mobile-menu a { padding: 17px 18px; border: 1px solid var(--veil-border); border-radius: 16px; background: var(--veil-surface); font-weight: 650; }
.mobile-menu .mobile-cta { margin-top: 10px; text-align: center; background: var(--veil-gradient); }

.hero {
  position: relative;
  min-height: 890px;
  padding: 178px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; z-index: -3; width: 800px; height: 800px; right: -260px; top: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 60, 255, .19), rgba(53, 16, 107, .07) 47%, transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -2; width: 130%; height: 430px; left: -18%; bottom: -260px; border: 1px solid rgba(155, 92, 255, .36); border-radius: 50%; transform: rotate(-7deg); box-shadow: 0 -22px 95px rgba(124, 60, 255, .14), inset 0 18px 80px rgba(124, 60, 255, .08); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(430px, .88fr); align-items: center; gap: 72px; }
.hero-copy { position: relative; z-index: 3; max-width: 670px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(216, 199, 255, .16); border-radius: 999px; background: rgba(124, 60, 255, .07); color: #cfc9da; font-size: 12px; font-weight: 680; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--veil-purple-bright); box-shadow: 0 0 15px var(--veil-purple-bright); }
.hero h1 { margin: 25px 0 25px; max-width: 700px; font-size: clamp(58px, 7vw, 94px); line-height: .95; letter-spacing: -.065em; font-weight: 770; }
.gradient-text { color: transparent; background: var(--veil-gradient); -webkit-background-clip: text; background-clip: text; }
.hero-description { max-width: 600px; margin: 0; color: var(--veil-text-secondary); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-primary { min-width: 164px; background: var(--veil-gradient); box-shadow: 0 16px 42px rgba(124, 60, 255, .23); }
.button-secondary { min-width: 138px; border-color: var(--veil-border); background: rgba(255, 255, 255, .025); color: var(--veil-text-secondary); }
.button-secondary:hover { color: var(--veil-white); border-color: rgba(216, 199, 255, .26); background: rgba(124, 60, 255, .06); transform: translateY(-2px); }
.button-icon { width: 17px; height: 17px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 36px; color: #8f899a; font-size: 12px; font-weight: 620; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item svg { width: 15px; height: 15px; color: var(--veil-purple-bright); }

.hero-visual { position: relative; min-height: 630px; display: grid; place-items: center; perspective: 1300px; }
.hero-artwork { min-height: 660px; overflow: visible; perspective: none; }
.hero-artwork picture { display: block; width: min(100%, 650px); }
.hero-device-image { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; filter: drop-shadow(0 30px 55px rgba(85, 25, 240, .22)); }

.section { position: relative; padding: 118px 0; overflow: hidden; }
.section-heading { max-width: 700px; margin: 0 auto 58px; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--veil-purple-bright); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-heading h2, .mode-copy h2, .steps-head h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.052em; }
.section-heading p, .mode-copy > p, .steps-head p { margin: 20px auto 0; color: var(--veil-text-secondary); font-size: 17px; line-height: 1.65; }
.why-section::before { content: ""; position: absolute; left: -240px; top: 80px; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(90, 29, 189, .1), transparent 68%); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { position: relative; min-height: 245px; padding: 27px; border: 1px solid var(--veil-border); border-radius: 24px; background: linear-gradient(155deg, rgba(19, 11, 32, .84), rgba(10, 7, 14, .9)); box-shadow: 0 18px 60px rgba(0, 0, 0, .18); transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.feature-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(220px circle at 20% 0%, rgba(124, 60, 255, .12), transparent 68%); opacity: 0; transition: opacity .35s ease; }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(155, 92, 255, .24); box-shadow: 0 26px 70px rgba(0, 0, 0, .32), 0 0 35px rgba(124, 60, 255, .05); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(216, 199, 255, .1); border-radius: 14px; color: var(--veil-lavender); background: rgba(124, 60, 255, .09); box-shadow: 0 0 24px rgba(124, 60, 255, .08); }
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { position: relative; margin: 48px 0 10px; font-size: 19px; letter-spacing: -.025em; }
.feature-card p { position: relative; margin: 0; color: var(--veil-text-secondary); font-size: 14px; line-height: 1.6; }

.mode-section { padding: 130px 0 142px; background: var(--veil-black-soft); }
.mode-section::before { content: ""; position: absolute; width: 840px; height: 360px; left: -240px; bottom: -80px; border: 1px solid rgba(155, 92, 255, .22); border-radius: 50%; transform: rotate(13deg); box-shadow: 0 -20px 80px rgba(124, 60, 255, .1); }
.mode-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 86px; align-items: center; }
.mode-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.mode-art::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 60, 255, .2), transparent 68%); filter: blur(8px); }
.mode-art img { position: relative; z-index: 1; width: min(100%, 620px); height: auto; filter: drop-shadow(0 35px 55px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.mode-art:hover img { transform: translateY(-8px) rotate(-1deg); }
.mode-copy { max-width: 520px; }
.mode-copy h2 { max-width: 480px; }
.mode-copy > p { max-width: 490px; margin-inline: 0; }
.mode-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.mode-tag { padding: 9px 13px; border: 1px solid var(--veil-border); border-radius: 999px; color: #948e9e; background: rgba(255, 255, 255, .02); font-size: 11px; font-weight: 680; }

.steps-section { background: var(--veil-black); }
.steps-section::after { content: ""; position: absolute; width: 760px; height: 230px; right: -280px; top: 0; border: 1px solid rgba(124, 60, 255, .18); border-radius: 50%; transform: rotate(-16deg); box-shadow: inset 0 -20px 70px rgba(124, 60, 255, .08); }
.steps-head { margin-bottom: 65px; text-align: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.steps::before { content: ""; position: absolute; left: calc(16.667% + 29px); right: calc(16.667% + 29px); top: 35px; height: 1px; background: linear-gradient(90deg, rgba(124, 60, 255, .15), rgba(216, 199, 255, .55), rgba(124, 60, 255, .15)); }
.step { position: relative; z-index: 1; text-align: center; }
.step-number { width: 70px; height: 70px; margin: 0 auto 28px; display: grid; place-items: center; border: 1px solid rgba(216, 199, 255, .19); border-radius: 50%; background: radial-gradient(circle at 35% 25%, #9b5cff, #4b198c 62%, #1a0a2e); box-shadow: 0 0 34px rgba(124, 60, 255, .25); font-size: 17px; font-weight: 800; }
.step-icon { width: 37px; height: 37px; margin: 0 auto 17px; display: grid; place-items: center; color: var(--veil-lavender); }
.step-icon svg { width: 25px; height: 25px; }
.step h3 { margin: 0 0 10px; font-size: 18px; }
.step p { max-width: 270px; margin: auto; color: var(--veil-text-secondary); font-size: 14px; line-height: 1.65; }

.cta-section { padding: 52px 0 120px; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; min-height: 220px; padding: 42px 50px; border: 1px solid rgba(216, 199, 255, .15); border-radius: 30px; background: linear-gradient(120deg, #0c0812 10%, #160b26 57%, #0a0710); box-shadow: 0 30px 90px rgba(0, 0, 0, .38), 0 0 50px rgba(124, 60, 255, .06); }
.cta-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: 12%; top: -255px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 60, 255, .37), transparent 66%); }
.cta-card::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -75%; height: 170px; border: 1px solid rgba(216, 199, 255, .17); border-radius: 50%; box-shadow: 0 -14px 50px rgba(124, 60, 255, .09); }
.cta-icon { position: relative; z-index: 1; width: 86px; height: 86px; padding: 4px; border: 1px solid rgba(216, 199, 255, .2); border-radius: 24px; background: #09070d; box-shadow: 0 18px 40px rgba(0, 0, 0, .4), 0 0 30px rgba(124, 60, 255, .16); object-fit: cover; }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { margin: 0; max-width: 640px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.048em; }
.cta-copy p { margin: 14px 0 0; color: var(--veil-text-secondary); font-size: 15px; }
.cta-card .button-primary { position: relative; z-index: 1; min-width: 150px; }

.site-footer { padding: 28px 0 34px; border-top: 1px solid rgba(255, 255, 255, .055); background: #040406; color: var(--veil-text-muted); font-size: 12px; }
.footer-row { display: flex; align-items: center; gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--veil-white); font-size: 12px; font-weight: 760; letter-spacing: .28em; }
.footer-brand img { width: 24px; height: 24px; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--veil-white); }
.copyright { padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .05); }

/* Content stays visible without JavaScript. Motion is applied as a progressive enhancement. */
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-visible { animation: veil-reveal .7s var(--ease) both; }

@keyframes veil-reveal {
  from { opacity: .2; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .hero { min-height: 820px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mode-grid { gap: 40px; }
  .mode-art { min-height: 430px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-header { height: 70px; }
  .nav-shell { gap: 12px; }
  .desktop-nav { display: none; }
  .brand { min-width: 0; margin-right: auto; }
  .header-cta { min-width: 106px; min-height: 40px; padding: 0 16px; }
  .menu-button { display: flex; flex-direction: column; }
  .mobile-menu { inset-block-start: 70px; }
  .hero { min-height: auto; padding: 130px 0 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero h1 { margin-inline: auto; font-size: clamp(52px, 13vw, 76px); }
  .hero-description { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 585px; margin-top: 0; }
  .hero-artwork { min-height: auto; }
  .hero-artwork picture { width: min(100%, 560px); }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 38px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { min-height: 220px; padding: 22px; }
  .feature-card h3 { margin-top: 38px; }
  .mode-section { padding: 92px 0 100px; }
  .mode-grid { grid-template-columns: 1fr; text-align: center; }
  .mode-art { min-height: 400px; order: 2; }
  .mode-copy { margin-inline: auto; }
  .mode-copy > p { margin-inline: auto; }
  .mode-tags { justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { left: 50%; right: auto; top: 58px; bottom: 58px; width: 1px; height: auto; background: linear-gradient(rgba(124, 60, 255, .15), rgba(216, 199, 255, .42), rgba(124, 60, 255, .15)); }
  .step { padding: 0 20px 18px; background: var(--veil-black); }
  .cta-card { grid-template-columns: auto 1fr; padding: 36px; }
  .cta-card .button-primary { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 520px) {
  .brand-word { font-size: 13px; letter-spacing: .3em; }
  .header-cta { font-size: 12px; }
  .hero { padding-top: 116px; }
  .hero h1 { letter-spacing: -.055em; }
  .hero-description { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button-primary, .button-secondary { min-width: 0; padding: 0 15px; }
  .trust-row { gap: 11px 16px; }
  .hero-visual { min-height: 530px; }
  .hero-artwork { min-height: auto; }
  .hero-device-image { max-height: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 205px; }
  .mode-art { min-height: 330px; }
  .cta-card { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; text-align: center; }
  .cta-icon { margin-inline: auto; }
  .cta-copy h2 { font-size: 36px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; gap: 15px 20px; }
}

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