:root {
    color-scheme: dark;
    --background: #1c1c1c;
    --surface: #222222;
    --text: #f8f4ff;
    --muted: #a3a1a8;
    --line: #333333;
    --yellow: #fed45e;
    --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
button:disabled { cursor: not-allowed; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 12px 20px; background: var(--yellow); color: #1c1c1c; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--background); border-bottom: 1px solid #292929; }
.header-inner { max-width: 1200px; margin: auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 18px; font-weight: 500; text-decoration: none; letter-spacing: -.5px; }
nav { display: flex; align-items: center; gap: 32px; }
nav a, nav button { color: #c6c4cb; background: none; border: 0; padding: 4px 0; text-decoration: none; font-size: 14px; }
nav a:hover, nav button:hover { color: var(--yellow); }
section { scroll-margin-top: 100px; }
.hero { text-align: center; padding: 44px 24px 60px; }
    .logo-glitch { position:relative; width:144px; height:144px; margin:0 auto 32px; }
    .logo-glitch img { display:block; width:100%; height:100%; }
    .logo-glitch::before,.logo-glitch::after { content:""; position:absolute; inset:0; background:url("../logo/app-icon.svg") center/contain no-repeat; pointer-events:none; opacity:0; }
    .logo-glitch::before { filter:sepia(1) saturate(6) hue-rotate(125deg); clip-path:inset(var(--slice-top,40%) 0 var(--slice-bottom,53%) 0); transform:translateX(var(--shift,6px)); }
    .logo-glitch::after { filter:sepia(1) saturate(6) hue-rotate(275deg); clip-path:inset(var(--echo-top,60%) 0 var(--echo-bottom,35%) 0); transform:translateX(calc(-1 * var(--shift,6px))); }
    .logo-glitch.is-glitching::before,.logo-glitch.is-glitching::after { animation:interference var(--duration,220ms) steps(1,end); }
    .logo-glitch.is-glitching img { animation:jitter var(--duration,220ms) steps(1,end); }
    .scanlines { position:absolute; inset:0; border-radius:50%; background:repeating-linear-gradient(transparent 0 3px,#1c1c1c80 3px 4px); pointer-events:none; opacity:0; }
    .is-glitching .scanlines { animation:scanlines var(--duration,220ms) steps(1,end); }
    .is-glitching[data-effect="rgb"]::before,.is-glitching[data-effect="rgb"]::after { clip-path:inset(0); mix-blend-mode:screen; }
    .is-glitching[data-effect="rgb"]::before { animation:rgb-left var(--duration) steps(1,end); }
    .is-glitching[data-effect="rgb"]::after { animation:rgb-right var(--duration) steps(1,end); }
    .is-glitching[data-effect="rgb"] .scanlines { animation:none; }
    .is-glitching[data-effect="tear"]::before,.is-glitching[data-effect="tear"]::after { filter:none; animation:tear-slices var(--duration) steps(1,end); }
    .is-glitching[data-effect="tear"]::before { clip-path:inset(30% 0 48% 0); transform:translateX(calc(var(--shift) * 2)); }
    .is-glitching[data-effect="tear"]::after { clip-path:inset(56% 0 23% 0); transform:translateX(calc(var(--shift) * -2)); }
    .is-glitching[data-effect="tear"] img { animation:signal-tear var(--duration) steps(1,end); }
    .is-glitching[data-effect="dropout"]::before,.is-glitching[data-effect="dropout"]::after { filter:none; animation:dropout-echo var(--duration) steps(1,end); }
    .is-glitching[data-effect="dropout"] img { animation:digital-dropout var(--duration) steps(1,end); }
    .is-glitching[data-effect="dropout"] .scanlines { background:repeating-conic-gradient(#fed45e55 0 25%,transparent 0 50%) 0 0/12px 12px; clip-path:polygon(5% 35%,35% 35%,35% 42%,68% 42%,68% 68%,95% 68%,95% 78%,60% 78%,60% 64%,22% 64%,22% 58%,5% 58%); }
    @keyframes interference { 0%,100% { opacity:0; } 15%,65% { opacity:.9; } 40%,85% { opacity:.5; } }
    @keyframes jitter { 0%,100% { transform:none; } 20% { transform:translateX(1px); } 40% { transform:translateX(-2px) skewX(-1deg); } 65% { transform:translateX(2px); } 85% { transform:none; } }
    @keyframes scanlines { 0%,100% { opacity:0; } 20%,65% { opacity:.35; } 40%,85% { opacity:.15; } }
    @keyframes rgb-left { 0%,100% { opacity:0; transform:none; } 18%,55% { opacity:.65; transform:translateX(var(--shift)); } 35%,78% { opacity:.35; transform:translate(calc(var(--shift) * -.5),-1px); } }
    @keyframes rgb-right { 0%,100% { opacity:0; transform:none; } 18%,55% { opacity:.55; transform:translateX(calc(var(--shift) * -1)); } 35%,78% { opacity:.4; transform:translate(calc(var(--shift) * .5),1px); } }
    @keyframes tear-slices { 0%,100% { opacity:0; } 20%,65% { opacity:1; } 40%,85% { opacity:.65; } }
    @keyframes signal-tear { 0%,100% { transform:none; } 20%,65% { transform:skewX(3deg) translateX(-2px); } 40% { transform:skewX(-4deg) translateX(3px); } 85% { transform:none; } }
    @keyframes digital-dropout { 0%,100% { opacity:1; clip-path:inset(0); transform:none; } 20% { opacity:.3; clip-path:inset(0 0 48% 0); } 40% { opacity:.8; clip-path:inset(35% 0 0 0); transform:translateY(-3px); } 60% { opacity:.45; clip-path:inset(0); } 80% { opacity:1; transform:translateY(2px); } }
    @keyframes dropout-echo { 0%,100% { opacity:0; } 20%,60% { opacity:.8; } 40%,80% { opacity:.25; } }

.hero h1 { margin: 0 0 26px; font-size: clamp(40px, 5vw, 64px); line-height: 1.2; letter-spacing: -2px; font-weight: 650; }
.hero-tagline { margin: 0; font-size: clamp(24px, 3vw, 37px); line-height: 1.4; letter-spacing: -.9px; font-weight: 600; }
.hero-tagline span { color: var(--yellow); }
.hero-description { margin: 22px auto 34px; color: #b2afb8; font-size: 17px; line-height: 1.7; }
.download-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 14px 24px; border: 1px solid #626066; border-radius: 8px; background: transparent; color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1.4; transition: background .15s, border-color .15s; }
.button-primary { background: var(--yellow); color: #1c1c1c; border-color: var(--yellow); }
.button-primary:hover:not(:disabled) { background: #ffe083; border-color: #ffe083; }
.button-primary img { filter: brightness(0); }
.button-secondary:hover:not(:disabled) { border-color: var(--yellow); background: #292929; }
.download-buttons .button { min-width: 246px; }
.download-unavailable { position: relative; display: inline-flex; border-radius: 8px; }
.download-unavailable button { opacity: .4; pointer-events: none; }
.tooltip { position: absolute; left: 50%; bottom: calc(100% + 12px); width: max-content; max-width: 260px; transform: translateX(-50%); padding: 10px 14px; border: 1px solid #4c4940; border-radius: 6px; background: #30302b; color: var(--text); font-size: 12px; line-height: 1.5; opacity: 0; visibility: hidden; pointer-events: none; }
.download-unavailable:hover .tooltip, .download-unavailable:focus .tooltip { opacity: 1; visibility: visible; }
.section { position: relative; max-width: 1120px; width: calc(100% - 48px); margin: auto; padding: 52px 0; }
.section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #3d3d3d99 50%, transparent); pointer-events: none; }
.section-heading { margin-bottom: 28px; }
.eyebrow { margin: 0 0 16px; color: var(--yellow); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 1.4px; line-height: 1.5; }
h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.25; letter-spacing: -1px; }
h3 { margin: 0 0 12px; font-size: 18px; font-weight: 550; line-height: 1.4; letter-spacing: -.3px; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.feature-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.feature-heading h3 { margin: 0; font-size: 20px; }
.feature-mark { flex-shrink: 0; color: var(--yellow); font-family: var(--mono); font-size: 14px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.features-extra { margin-top: 16px; overflow: hidden; }
.features-action { display: flex; justify-content: center; margin-top: 28px; }
.how-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.how-steps { display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1; }
.how-step { display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 14px; width: 100%; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); text-align: left; transition: background .2s, border-color .2s; }
.how-step:hover { background: var(--surface); border-color: #555149; }
.how-step[aria-selected="true"] { background: #27251f; border-color: #85713b; }
.how-step-title { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 550; }
.how-step-description { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.how-step svg { width: 18px; height: 18px; color: #69666e; }
.how-step .step-number { padding: 0; }
.how-step[aria-selected="true"] svg { color: var(--yellow); }
.how-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; font-size: 12px; }
.how-gallery { min-width: 0; }
.how-slide { margin: 0; }
.how-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.how-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; }
.how-dots { display: flex; gap: 2px; }
.how-dot { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; }
.how-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #646168; }
.how-dot[aria-pressed="true"]::before { width: 18px; border-radius: 4px; background: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.step-number { color: var(--yellow); font-family: var(--mono); font-size: 12px; padding-top: 5px; }
.faq-answer a { color: #d9d6df; }
code { font-family: var(--mono); font-size: .9em; color: #d9d6df; }
.text-link { display: inline-block; border: 0; padding: 0; background: transparent; color: var(--yellow); font-size: inherit; text-decoration: underline; text-underline-offset: 4px; line-height: inherit; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-card { --electric: #60a5fa; position: relative; isolation: isolate; padding: 28px; border: 1px solid #344559; border-radius: 12px; background: var(--surface); }
.price-card-accent { --electric: #fed45e; border-color: #89733d; }
.pricing-electric { position: absolute; z-index: 0; top: -20px; left: -20px; width: calc(100% + 40px); height: calc(100% + 40px); pointer-events: none; }
.price-card-content { position: relative; z-index: 1; }
.price-card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.price-card h3 { margin: 0; font-size: 22px; }
.plan-label { color: var(--electric); font-size: 14px; font-weight: 500; }
.price-card-accent .plan-label { color: var(--yellow); }
.price { margin: 28px 0 14px; font-size: 36px; font-weight: 600; letter-spacing: -1.5px; }
.price > span { padding-left: 6px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.plan-description { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.plan-estimates { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; line-height: 1.6; }
.plan-estimates li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.plan-estimates span { color: var(--muted); }
.plan-estimates strong { font-weight: 500; white-space: nowrap; }
.price-card .button { width: 100%; }
.price-card .button:disabled { opacity: .5; }
.price-card .button-secondary { background: var(--electric); border-color: var(--electric); color: #1c1c1c; }
.price-card .button-secondary:hover:not(:disabled) { background: #93c5fd; border-color: #93c5fd; }
.pricing-common { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.pricing-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.8; }
.review-stage { position: relative; overflow: hidden; }
.review-slide { display: flex; align-items: center; justify-content: center; width: 100%; border-radius: 8px; }
.review-slide.is-leaving { position: absolute; top: 0; left: 0; }
.review-slide img { display: block; width: auto; height: auto; max-width: 100%; max-height: 420px; object-fit: contain; border-radius: 8px; }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.review-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #535156; border-radius: 8px; background: transparent; color: var(--text); }
.review-arrow svg { display: block; width: 20px; height: 20px; }
.review-arrow:hover { border-color: var(--yellow); color: var(--yellow); }
.faq-list { width: 100%; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 15px; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-family: var(--mono); font-size: 21px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; color: var(--yellow); }
.faq-answer { padding: 0 40px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.faq-answer p { margin: 0; }
.site-footer { max-width: 1120px; width: calc(100% - 48px); margin: auto; padding: 28px 0 32px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer p { color: #929097; font-size: 11px; margin: 10px 0 0; }
@media (max-width: 1000px) {
    .how-layout { grid-template-columns: 1fr; gap: 28px; }
    .how-navigation, .how-gallery { width: 100%; max-width: 600px; margin-inline: auto; }
    .how-steps { aspect-ratio: auto; grid-template-rows: none; }
    .how-step { padding: 16px; gap: 10px; }
}
@media (max-width: 960px) {
    .pricing-grid { gap: 12px; }
    .price-card { padding: 22px; }
    .price { font-size: 30px; }
}
@media (max-width: 700px) {
    .header-inner { flex-direction: column; gap: 12px; padding: 12px 20px; }
    .wordmark { font-size: 16px; }
    nav { gap: 32px; }
    nav a, nav button { font-size: 13px; }
    section { scroll-margin-top: 140px; }
    .hero { padding-top: 32px; padding-bottom: 44px; }
    .hero h1 { letter-spacing: -1.5px; }
    .hero-tagline { font-size: 25px; letter-spacing: -.6px; }
    .hero-description { max-width: 440px; font-size: 15px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .price-card { padding: 28px; }
    .price { font-size: 36px; }
    .section { padding: 40px 0; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .hero { padding-left: 20px; padding-right: 20px; }
    .logo-glitch { width: 120px; height: 120px; margin-bottom: 28px; }
    .hero h1 { font-size: 38px; margin-bottom: 22px; }
    .hero-tagline { font-size: 24px; }
    .download-buttons { flex-direction: column; gap: 12px; max-width: 320px; margin: auto; }
    .download-buttons > a, .download-unavailable, .download-buttons .button { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .feature { padding: 26px; }
    .section, .site-footer { width: calc(100% - 40px); }
    .faq-list summary { font-size: 14px; }
    .faq-answer { padding-right: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .logo-glitch.is-glitching img { animation: none; }
    .logo-glitch::before, .logo-glitch::after, .scanlines { display: none; }
}
