:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #101014;
  --line: #25252b;
  --white: #f7f7f5;
  --muted: #aaa9b0;
  --lime: #b8ff00;
  --pink: #ff2b88;
  --orange: #ff8a00;
  --purple: #a63cff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--lime); color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(5,5,5,.88); border-color: var(--line); backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; align-items: center; font-size: 36px; line-height: 1; font-weight: 900; letter-spacing: 0; }
.wordmark .lime, .lime { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 15px; font-weight: 650; }
.site-nav > a:not(.nav-cta) { color: #d8d8da; transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: var(--lime); }
.nav-cta { padding: 13px 19px; border-radius: 7px; background: var(--lime); color: #060606; box-shadow: 0 0 24px rgba(184,255,0,.18); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: white; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .2s; }

.hero { position: relative; min-height: 790px; height: min(900px, 88vh); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.96) 27%, rgba(5,5,5,.42) 54%, rgba(5,5,5,.04) 100%); }
.hero-content { position: absolute; z-index: 2; left: max(28px, calc((100vw - var(--max)) / 2)); top: 50%; width: 440px; transform: translateY(-48%); }
.eyebrow { margin: 0 0 16px; color: var(--lime); font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(68px, 7vw, 106px); line-height: .91; letter-spacing: 0; }
.hero h1 span { color: var(--lime); }
.hero-copy { margin: 28px 0 0; color: #d8d7dc; font-size: 23px; line-height: 1.45; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 800; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #060606; box-shadow: 0 0 24px rgba(184,255,0,.15); }
.button-primary:hover { box-shadow: 0 0 34px rgba(184,255,0,.28); }
.button-secondary { background: rgba(5,5,5,.58); color: white; border-color: #525259; }
.button-secondary:hover { border-color: var(--lime); }
.button-secondary svg { width: 22px; fill: none; stroke: var(--lime); stroke-width: 2; }
.button-secondary svg path { fill: var(--lime); stroke: none; }
.hero-note { margin: 23px 0 0; color: #929198; font-size: 13px; }
.button-secondary.is-pending { display: none; }

.hl-dopra { color: var(--lime); font-weight: 800; }

.term { position: relative; color: var(--lime); font-weight: 800; border-bottom: 1px dashed rgba(184,255,0,.55); cursor: help; }
.term-tip { position: absolute; z-index: 10; left: 50%; bottom: calc(100% + 10px); width: min(260px, calc(100vw - 40px)); padding: 12px 14px; border: 1px solid #414147; border-radius: 8px; background: #16161a; color: #d8d8da; font-size: 13px; font-weight: 500; line-height: 1.5; text-transform: none; letter-spacing: normal; box-shadow: 0 18px 40px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .18s ease, transform .18s ease; }
.term-tip::after { content: ""; position: absolute; top: 100%; left: 50%; width: 10px; height: 10px; background: #16161a; border: 1px solid #414147; border-top: 0; border-left: 0; transform: translate(-50%, -50%) rotate(45deg); }
.term:hover .term-tip, .term:focus-visible .term-tip, .term:focus .term-tip { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

.about-dopra { color: #c2c1c6; font-size: 18px; }
.about-dopra .term { display: inline-block; margin-bottom: 6px; font-size: 20px; }

.phone-stage { position: absolute; z-index: 3; left: 50%; top: 51%; transform: translate(-50%,-50%) rotate(-1deg); filter: drop-shadow(0 34px 48px rgba(0,0,0,.58)); }
.phone-glow { position: absolute; inset: -34px -46px; z-index: 0; border-radius: 60px; background: radial-gradient(closest-side, rgba(255,138,0,.85), rgba(255,43,136,.55) 46%, rgba(166,60,255,.28) 68%, transparent 78%); filter: blur(30px); opacity: .85; animation: phone-glow-flicker 3.6s ease-in-out infinite; }
@keyframes phone-glow-flicker { 0%, 100% { opacity: .7; transform: scale(.98); } 50% { opacity: .95; transform: scale(1.04); } }
.phone { position: relative; z-index: 1; width: 270px; overflow: hidden; padding: 8px; border: 2px solid #77777e; border-radius: 45px; background: #050505; box-shadow: inset 0 0 0 2px #202024; }
.phone img { width: 100%; height: auto; border-radius: 36px; }
.phone-speaker { position: absolute; z-index: 2; top: 17px; left: 50%; width: 31%; height: 23px; border-radius: 18px; background: #000; transform: translateX(-50%); }

.process-strip { min-height: 116px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 20px; max-width: var(--max); margin: 0 auto; padding: 22px 0; }
.process-item { display: flex; align-items: center; gap: 14px; }
.process-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; }
.process-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process-connect { color: var(--orange); }
.process-burn { color: #ff405c; }.process-burn svg { fill: currentColor; stroke: none; }
.process-earn { color: var(--lime); }.process-earn svg path { fill: currentColor; stroke: none; }
.process-unlock { color: var(--purple); }
.process-item strong, .process-item small { display: block; }
.process-item strong { color: white; font-size: 18px; }
.process-item small { margin-top: 4px; color: var(--muted); font-size: 14px; }

.section { max-width: var(--max); margin: 0 auto; padding: 130px 0; }
.section-heading { max-width: 720px; }
.section h2, .download h2 { margin: 0; font-size: clamp(46px, 5.4vw, 76px); line-height: .98; letter-spacing: 0; }
.section-heading > p:last-child { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 74px; border-top: 1px solid var(--line); }
.step { min-height: 270px; padding: 28px 28px 0 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step > span { color: var(--lime); font-size: 13px; font-weight: 800; }
.step h3 { margin: 58px 0 14px; font-size: 28px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.features { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 110px; max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); background: #0b0b0d; border-block: 1px solid var(--line); }
.feature-visual { position: relative; min-height: 760px; display: grid; place-items: center; overflow: visible; }
.phone-secondary { width: 310px; transform: rotate(3deg); }
.balance-chip { position: absolute; z-index: 2; right: -18px; bottom: 128px; width: 170px; padding: 18px 20px; border: 1px solid #414147; border-radius: 8px; background: rgba(15,15,18,.92); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.balance-chip span { display: block; color: var(--muted); font-size: 13px; }
.balance-chip strong { display: block; margin-top: 5px; color: var(--lime); font-size: 35px; }
.feature-copy { max-width: 570px; }
.feature-list { margin-top: 45px; border-top: 1px solid var(--line); }
.feature-row { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #e8e8e9; text-align: left; cursor: pointer; }
.feature-row span { font-size: 18px; font-weight: 700; }
.feature-row b { color: var(--lime); font-size: 24px; font-weight: 400; transition: transform .2s; }
.feature-row.active b { transform: rotate(45deg); }
.feature-detail { display: none; margin: 0; padding: 0 40px 20px 0; color: var(--muted); line-height: 1.6; border-bottom: 1px solid var(--line); }
.feature-detail.active { display: block; animation: reveal-detail .3s ease; }
@keyframes reveal-detail { from { opacity: 0; transform: translateY(-6px); } }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: end; }
.about-fire { width: clamp(108px, 11vw, 156px); height: auto; display: block; margin: 6px 0 28px; fill: var(--orange); filter: drop-shadow(0 0 24px rgba(255,138,0,.28)) drop-shadow(0 18px 32px rgba(255,43,136,.12)); }
.about-content { display: flex; flex-direction: column; gap: 28px; }
.about-body { margin: 0; color: #c2c1c6; font-size: 21px; line-height: 1.7; }
.founder-note { padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 4px; background: rgba(184,255,0,.04); }
.founder-note .eyebrow { margin-bottom: 10px; }
.founder-note p:last-child { margin: 0; color: #c2c1c6; font-size: 16px; line-height: 1.7; }
.download { position: relative; min-height: 650px; display: grid; place-items: center; overflow: hidden; border-block: 1px solid var(--line); }
.download > picture, .download > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.download::after { content: ""; position: absolute; inset: 0; background: rgba(5,5,5,.62); }
.download-inner { position: relative; z-index: 2; width: min(680px, calc(100% - 40px)); text-align: center; }
.app-icon { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 18px; box-shadow: 0 0 34px rgba(184,255,0,.18); }
.download-inner > p:not(.eyebrow):not(.form-status) { margin: 24px auto 0; color: #c5c4c9; font-size: 18px; }
.signup-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: min(540px, 100%); margin: 34px auto 0; }
.signup-form input { min-width: 0; flex: 1; height: 56px; padding: 0 18px; border: 1px solid #4a4a50; border-radius: 7px; outline: 0; background: rgba(8,8,9,.8); color: white; }
.signup-form input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184,255,0,.12); }
.form-status { grid-column: 1 / -1; min-height: 22px; margin: 4px 0 0; color: var(--lime); }
[data-waitlist-success], [data-waitlist-error] { display: none; }
[data-feedbackbasket-state="success"] [data-waitlist-success] { display: inline; }
[data-feedbackbasket-state="error"] [data-waitlist-error] { display: inline; color: #ff6b7d; }
[data-feedbackbasket-state="loading"] button[type="submit"] { opacity: .6; cursor: wait; }

.site-footer { max-width: var(--max); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; margin: 0 auto; padding: 42px 0; color: var(--muted); }
.site-footer .wordmark { font-size: 27px; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer div { display: flex; align-items: center; gap: 22px; color: #ddd; font-size: 13px; }
.site-footer small { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid var(--line); }

.footer-x { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; padding-left: 22px; border-left: 1px solid var(--line); color: #ddd; line-height: 1; transition: color .2s; }
.footer-x:hover { color: var(--lime); }
.footer-x img { width: 26px; height: 26px; border: 1px solid #3a3a40; border-radius: 50%; object-fit: cover; }
.footer-x svg { width: 13px; height: 13px; flex: none; fill: currentColor; }
.footer-x span { font-weight: 600; }

.tour-modal { width: min(900px, calc(100% - 32px)); max-height: 90vh; display: none; grid-template-columns: 1fr 310px; align-items: center; gap: 50px; padding: 56px; border: 1px solid #414149; border-radius: 8px; background: #0d0d10; color: white; box-shadow: 0 30px 100px #000; }
.tour-modal[open] { display: grid; animation: modal-in .25s ease; }
.tour-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; background: transparent; color: white; font-size: 31px; cursor: pointer; }
.tour-copy h2 { margin: 0; font-size: 46px; line-height: 1; }
.tour-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.tour-controls { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.tour-controls button { width: 42px; height: 42px; border: 1px solid #505057; border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.tour-controls button:hover { border-color: var(--lime); color: var(--lime); }
.tour-controls span { color: var(--muted); font-size: 13px; }
.tour-phone { width: 255px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { height: 820px; }
  .hero-content { top: 47%; width: 390px; }
  .phone-stage { left: 66%; top: 54%; }
  .hero-art { opacity: .58; object-position: 64% center; }
  .process-strip, .section, .site-footer { margin-inline: 28px; }
  .features { margin-inline: 0; gap: 55px; }
  .process-strip { grid-template-columns: repeat(2,1fr); padding-block: 28px; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .wordmark { font-size: 30px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: rgba(5,5,5,.97); transform: translateY(-130%); transition: transform .25s; }
  .site-nav.open { transform: none; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .hero { min-height: 820px; height: calc(100svh - 1px); max-height: 900px; }
  .hero-art { width: 150%; left: -50%; opacity: .58; object-position: 79% bottom; }
  .hero-shade { background: linear-gradient(180deg, #050505 3%, rgba(5,5,5,.92) 35%, rgba(5,5,5,.28) 72%, #050505 100%); }
  .hero-content { top: 112px; left: 20px; right: 20px; width: auto; transform: none; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(62px, 18vw, 78px); }
  .hero-copy { margin-top: 18px; font-size: 19px; }
  .hero-actions { margin-top: 22px; }
  .button { min-height: 50px; padding-inline: 17px; font-size: 14px; }
  .hero-note { display: none; }
  .phone-stage { left: auto; right: 18px; top: auto; bottom: -112px; transform: rotate(3deg); }
  .phone-stage .phone { width: 195px; border-radius: 34px; padding: 6px; }
  .phone-stage .phone img { border-radius: 27px; }
  .phone-speaker { top: 13px; height: 16px; }
  .process-strip { grid-template-columns: repeat(2,1fr); gap: 28px 12px; margin: 0; padding: 32px 20px; }
  .process-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .process-icon svg { width: 34px; height: 34px; }
  .process-item strong { font-size: 16px; }
  .process-item small { font-size: 12px; }
  .section { margin-inline: 20px; padding: 92px 0; }
  .section h2, .download h2 { font-size: 45px; }
  .section-heading > p:last-child { font-size: 17px; }
  .steps { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .step { min-height: 240px; padding: 25px 18px 20px 0; border-bottom: 1px solid var(--line); }
  .step + .step { padding-left: 18px; }
  .step:nth-child(2) { border-right: 0; }
  .step h3 { margin-top: 38px; }
  .features { grid-template-columns: 1fr; margin: 0; padding: 90px 20px; gap: 60px; }
  .feature-visual { min-height: 510px; order: 2; }
  .phone-secondary { width: 250px; }
  .balance-chip { right: 2px; bottom: 48px; }
  .feature-row span { font-size: 16px; }
  .about { grid-template-columns: 1fr; gap: 35px; }
  .about-fire { width: 92px; margin: 2px 0 22px; }
  .about-body { font-size: 18px; }
  .download { min-height: 620px; }
  .signup-form { grid-template-columns: 1fr; }
  .form-status { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; margin: 0; padding: 38px 20px; gap: 18px; }
  .site-footer div { flex-wrap: wrap; }
  .site-footer small { grid-column: auto; }
  .tour-modal, .tour-modal[open] { grid-template-columns: 1fr; overflow: auto; padding: 48px 24px 30px; }
  .tour-copy h2 { font-size: 36px; }
  .tour-phone { width: 190px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
