/* Shared interaction and mobile layout refinements. */
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid #f0c060; outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 90px; }
.mobile-card-demo { display: none; }
.hero-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: -4px 0 10px; font-size: 14px; }
.hero-offer strong { font-weight: 800; }
.hero-offer span { color: var(--muted); }
.hero-offer b { color: var(--gold); }
.hero-availability { font-size: 12px !important; line-height: 1.5; color: var(--muted); margin: 0 0 22px !important; }
.product-overview { position: relative; z-index: 5; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; padding: 72px max(28px, calc((100vw - 1060px) / 2)); background: var(--bg); border-block: 1px solid var(--line); }
.overview-copy { min-width: 0; max-width: 540px; }
.overview-copy h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.2; letter-spacing: -.035em; margin: 16px 0; }
.overview-copy > p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.scan-steps { padding: 0; margin: 28px 0; list-style: none; counter-reset: scan-step; }
.scan-steps li { position: relative; padding: 0 0 20px 42px; counter-increment: scan-step; }
.scan-steps li::before { content: counter(scan-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 12px; }
.scan-steps b { display: block; font-size: 15px; }
.scan-steps span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.overview-link { color: var(--gold); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.scan-demo { position: relative; width: min(100%, 290px); margin: 0 auto; padding: 9px; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); box-shadow: 0 18px 48px #0002; }
.scan-demo video { display: block; width: 100%; aspect-ratio: 612 / 1280; object-fit: contain; border-radius: 22px; background: #101313; }
.scan-demo figcaption { padding: 12px 5px 6px; font-size: 10px; text-align: center; color: var(--muted); }
.demo-play-fallback { position: absolute; inset: 40% 18px auto; padding: 15px; background: var(--gold); color: var(--cta-ink); border: 0; border-radius: 12px; cursor: pointer; }
.demo-play-fallback[hidden] { display: none; }
.package-terms { max-width: 540px; margin: 16px auto 24px; font-size: 12px !important; line-height: 1.6; color: var(--muted); }
.package-terms a { color: var(--gold); text-underline-offset: 3px; }
.landing-packages small { font-size: 11px; color: var(--muted); }
:root[data-theme="light"] .goldtext { background-image: linear-gradient(100deg, #63519f, #8d456b, #8e4a24); }
:root[data-theme="light"] .hero .actions .cta,
:root[data-theme="light"] .nav .cta,
:root[data-theme="light"] .cta.big { background: #6553a6; color: #fff; border-color: #6553a6; }
.landing-packages { display: flex; justify-content: center; gap: 12px; margin: 28px 0 16px; }
.landing-packages > div { display: grid; gap: 8px; min-width: 140px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.landing-packages strong { font-size: .9rem; }
.landing-packages span { color: var(--gold); font-size: 1.35rem; font-weight: 800; }
.ordering-status { font-size: .85rem !important; }
.nav .cta { min-height: 44px; }
#videoDialog { width: min(680px, calc(100% - 24px)); max-height: 90dvh; }
#videoDialog video { max-height: 75dvh; width: 100%; object-fit: contain; }
@media (max-width: 800px), (prefers-reduced-motion: reduce) {
    #gl, #bar, .scrollcue, .morph-relief, .nav-relief, .nav::before, .nav::after,
    .footer-relief, .footer-physics, .topo-sculpture { display: none !important; }
    body { background: var(--bg); }
    .nav { top: 0; left: 0; transform: none; width: 100%; height: 72px; padding: 12px 20px; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: none !important; }
    .brand { min-width: 0; gap: 7px; }
    .brand span { font-size: 11px; letter-spacing: -.3px; }
    .brand img { width: 22px; }
    .nav-right { gap: 8px; }
    .nav .theme-btn { width: 40px; height: 40px; font-size: 17px; flex: 0 0 40px; border-radius: 50%; transform: none; box-shadow: none; }
    .nav .cta { padding: 10px 13px; font-size: 12px; }
    .nav-right .faq { display: none; }
    :root .nav .cta, :root .hero .actions .cta, :root .hero .actions .ghost, :root .cta.big { transform: none; border-radius: 12px; box-shadow: none; }
    :root .hero .actions .cta::before, :root .hero .actions .cta::after,
    :root .hero .actions .ghost::before, :root .hero .actions .ghost::after { display: none; }
    :root .hero .actions .cta, :root .nav .cta, :root .cta.big { background: var(--gold); color: var(--cta-ink); border: 1px solid var(--gold); }
    :root .hero .actions .ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
    .chapter, .hero { min-height: 0; }
    .hero { padding: 110px 22px 24px; }
    .panel, .panel.right, .hero .panel { position: relative; top: auto; width: 100%; margin: 0; padding: 0; opacity: 1; transform: none; border: 0; background: transparent; backdrop-filter: none; box-shadow: none; }
    .hero .chip { padding: 0; border: 0; background: none; letter-spacing: .15em; font-size: 9px; margin-bottom: 20px; }
    .hero h1 { font-size: clamp(29px, 8.1vw, 48px); line-height: 1.16; letter-spacing: -.04em; margin-bottom: 18px; }
    .hero .sub { font-size: 15px; line-height: 1.65; max-width: 470px; margin-bottom: 24px; }
    .hero-offer { font-size: 13px; }
    .hero-availability { font-size: 11px !important; }
    .hero .actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
    :root .hero .actions .cta, :root .hero .actions .ghost { justify-content: center; width: 100%; min-height: 50px; padding: 12px 16px; font-size: 14px; }
    .hero .actions .create-orb, .hero .actions .play-orb { width: auto; height: auto; background: none; box-shadow: none; border: 0; font-size: 14px; }
    .hero-trust { gap: 8px 16px; margin-top: 18px; font-size: 10px; line-height: 1.6; }
    .hero-trust span:last-child { display: none; }
    .mobile-card-demo { display: block; position: relative; height: 290px; max-width: 480px; margin: 24px auto 0; isolation: isolate; }
    .mobile-card-demo { perspective: 850px; }
    .demo-orbit { position: absolute; inset: 20px 16px; background: radial-gradient(ellipse, #c5a05920, transparent 70%); border: 1px solid var(--line); border-radius: 50%; transform: rotate(-10deg); }
    .demo-paper { position: absolute; top: 75px; left: 4%; width: 82%; height: 174px; padding: 20px; border: 1px solid #aa926455; border-radius: 10px; transform: rotate(-8deg); color: #f4e9ce; background: repeating-radial-gradient(ellipse at 100% 120%, transparent 0 20px, #c5a05918 21px 22px, transparent 23px 33px), #192e2b; box-shadow: 0 20px 35px #0003; }
    .demo-paper img { width: 20px; height: 28px; object-fit: contain; filter: invert(1); }
    .demo-paper > span { display: block; margin-top: 6px; font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
    .demo-paper small { display: block; font-size: 9px; margin-top: 9px; opacity: .7; }
    .demo-paper b { position: absolute; right: 22px; bottom: 22px; font-size: 38px; color: #f0c060; }
    .demo-contact { position: absolute; top: 44px; left: 2%; padding: 12px 20px; background: #f5f0e5; color: #19302b; border-radius: 12px; box-shadow: 0 8px 25px #0002; font-size: 13px; font-weight: 800; transform: rotate(-4deg); }
    .demo-contact > span { float: left; padding: 4px 12px 0 0; font-size: 24px; }
    .demo-contact small { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
    .demo-play { position: absolute; top: 68px; right: 0; display: grid; place-content: center; gap: 8px; width: 118px; height: 118px; border: 1px solid #e5c581; border-radius: 50%; color: #231909; background: linear-gradient(145deg, #f3deb0, #bc9853); box-shadow: 0 12px 28px #0003; cursor: pointer; }
    .demo-play > span { font-size: 26px; }
    .demo-play small { font-size: 9px; }
    .mobile-card-demo > p { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: 9px; letter-spacing: .15em; color: var(--muted); }
    .mobile-card-demo .demo-paper { transform: rotateX(var(--card-rx, 10deg)) rotateY(var(--card-ry, -9deg)) rotateZ(-8deg) translateY(var(--card-y, 0px)); }
    .mobile-card-demo .demo-contact { transform: translate3d(0, var(--contact-y, 0px), 45px) rotate(-4deg); }
    .mobile-card-demo .demo-play { transform: translate3d(0, var(--play-y, 0px), 65px); }
    .product-overview { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 38px 24px; }
    .overview-copy h2 { font-size: 29px; }
    .overview-copy > p { font-size: 14px; }
    .scan-demo { grid-row: 1; width: min(72vw, 270px); }
    .chapter.optional-story { display: none; }
    .landing-packages { gap: 10px; }
    .landing-packages > div { min-width: 0; flex: 1; padding: 18px 12px; }
    .landing-packages strong { font-size: 12px; }
    .chapter:not(.hero) { padding: 34px 24px; border-top: 1px solid var(--line); }
    .chapter:not(.hero) h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.03em; }
    .chapter:not(.hero) h2 br { display: initial; }
    .chapter:not(.hero) p { font-size: 15px; }
    .chapter .eyebrow { font-size: 10px; letter-spacing: .16em; }
    .chapter p[style] { display: none; }
    .finale { min-height: 0; padding: 56px 22px; background: var(--panel); }
    .finale-inner { width: 100%; padding: 0; position: static; opacity: 1; transform: none; }
    .finale h2 { font-size: 28px; line-height: 1.2; }
    .finale p { font-size: 15px; }
    .finale .cta.big { width: 100%; justify-content: center; min-height: 50px; padding: 14px; font-size: 14px; }
    .trust { padding: 40px 22px; }
    .trust-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .trust-intro { display: block; }
    .trust h2 { font-size: 23px; line-height: 1.3; }
    .tcard { box-shadow: none !important; }
    .reveal-it { opacity: 1; transform: none; }
    .smallprint { line-height: 1.6; }
    footer { padding-top: 20px; }
}
@media (max-width: 380px) {
    .nav { padding-inline: 12px; }
    .nav .brand span { font-size: 10px; }
    .nav .theme-btn { display: inline-grid; place-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-card-demo .demo-paper { transform: rotate(-8deg); }
    .mobile-card-demo .demo-contact { transform: rotate(-4deg); }
    .mobile-card-demo .demo-play { transform: none; }
}
