/* TAHAI Browser — brand-preserving website polish, October 2026.
   The existing royal palette, artwork and type family remain authoritative. */
:root {
  --shell: min(1480px, calc(100% - 64px));
  --page-gutter: 32px;
}
html { scroll-padding-top: 148px; }
body { line-height: 1.5; }
main, section, article, nav, .section-heading > div { min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a,button,input,summary,[tabindex]):focus-visible {
  outline: 3px solid var(--brand-lavender) !important;
  outline-offset: 5px !important;
}
.button { min-height: 52px; border-radius: 12px; }
.button-ghost { border-color: var(--line-strong); }
.primary-nav > a:not(.nav-cta), .command-key { padding-inline: 10px; }
.nav-shell { gap: 22px; }
.command-key { gap: 8px; min-height: 42px; }
.command-key svg { width: 15px; height: 15px; flex: 0 0 15px; }
.command-key span { color: var(--text-soft); }
.command-key kbd { color: var(--muted); font: 600 .6rem var(--font); padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
.brand img { width: 50px; height: 50px; }
.status-ribbon { background: rgba(124,66,224,.055); }
.status-dot { animation: none; }

/* The original brand mark and an actual browser screenshot share the opening. */
.hero {
  min-height: min(840px, calc(100svh - 122px));
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 4.2vw, 74px);
  padding-block: clamp(44px, 7vh, 80px) 62px;
}
.hero-copy { max-width: 650px; }
.hero-kicker { gap: 10px; font-size: .67rem; margin-bottom: 25px; letter-spacing: .095em; }
.hero h1 { max-width: 100%; font-size: clamp(3.65rem, 6vw, 6.15rem); line-height: .96; letter-spacing: -.055em; margin-bottom: 25px; }
.hero-title-top { font-size: .68em; letter-spacing: -.045em; }
.hero h1 em { font-size: .78em; line-height: 1.24; }
.hero-lede { font-size: clamp(1rem, 1.15vw, 1.13rem); line-height: 1.72; max-width: 52ch; margin-bottom: 25px; }
.hero-proof { margin-top: 22px; gap: 10px 17px; font-size: .68rem; line-height: 1.5; }
.hero-proof i { box-shadow: none; width: 5px; height: 5px; }
.hero-stage { display: block; min-height: 0; width: 100%; position: relative; padding-block: 14px 10px; }
.hero-stage .logo-aura { inset: 0 -10% auto; width: 120%; height: 90%; aspect-ratio: auto; opacity: .8; z-index: -1; }
.stage-brand { display: flex; align-items: center; gap: 20px; min-height: 142px; padding: 0 14px 24px; }
.hero-stage .hero-logo { width: 126px; height: 126px; max-width: 30%; object-fit: contain; aspect-ratio: 1; flex: 0 1 auto; filter: drop-shadow(0 0 25px rgba(147,72,237,.22)); }
.stage-brand-copy { flex: 1; }
.stage-brand-copy .section-label { display: block; font-size: .6rem; margin-bottom: 9px; letter-spacing: .15em; }
.stage-brand-copy strong { display: block; font-size: clamp(1.4rem, 2vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; }
.hero-stage .native-badge { position: static; width: auto; height: auto; min-width: 92px; padding: 13px 14px; border-radius: 13px; transform: none; box-shadow: none; gap: 2px; background: rgba(13,4,22,.55); }
.native-badge span { font-size: .55rem; }
.native-badge strong { font-size: .88rem; }
.native-badge small { font-size: .52rem; }
.hero-product-frame { position: relative; z-index: 2; border-radius: 18px; background: #090514; box-shadow: 0 35px 95px rgba(0,0,0,.45), 0 0 60px rgba(147,72,237,.08); }
.hero-product-frame .product-frame-top { min-height: 36px; padding: 8px 12px; gap: 10px; font-size: .57rem; grid-template-columns: auto 1fr; }
.hero-product-frame .frame-address { text-align: right; justify-self: end; }
.hero-product-frame .frame-status { display: none; }
.hero-product-frame .window-dots i { width: 6px; height: 6px; }
.hero-product-open { position: relative; }
.hero-product-open img { width: 100%; height: auto; display: block; object-fit: contain; }
.hero-preview-expand { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); background: rgba(9,5,20,.92); font-size: .65rem; line-height: 1.4; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.hero-product-frame .product-frame-footer { min-height: 48px; }
.hero-product-frame .product-frame-footer span { padding: 9px 10px; gap: 6px; font-size: .58rem; line-height: 1.4; }
.hero-product-frame .product-frame-footer strong { font-size: .7rem; }
.stage-caption { display: flex; justify-content: space-between; gap: 8px 14px; align-items: center; padding: 12px 1px; }
.stage-caption p { margin: 0; max-width: 45ch; font-size: .64rem; line-height: 1.6; color: var(--muted); }
.preview-label { color: var(--brand-lavender); font-weight: 750; }
.motion-toggle { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto; gap: 8px; min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-soft); background: rgba(18,8,29,.6); font-size: .63rem; cursor: pointer; }
.motion-toggle:hover { border-color: var(--brand-lavender); }
.motion-symbol { display: inline-block; width: 9px; height: 10px; border-inline: 3px solid currentColor; }
html[data-site-motion="paused"] .motion-symbol { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.stage-mode-links { padding-top: 12px; border-top: 1px solid var(--line); }
.stage-mode-label { display: block; margin-bottom: 10px; font-size: .61rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.stage-mode-links nav { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-mode-links .mode-chip { position: static; display: inline-flex; min-height: 36px; padding: 7px 11px; font-size: .61rem; line-height: 1.25; text-transform: none; text-decoration: none; letter-spacing: .02em; box-shadow: none; backdrop-filter: none; background: rgba(124,66,224,.055); }
.stage-mode-links .mode-chip:hover { border-color: var(--brand-lavender); background: rgba(124,66,224,.16); }
.mode-chip-ops { color: var(--mint); }

/* Small, composited lighting movements; all content is readable when static. */
.stage-light { position: absolute; z-index: -1; inset: -14% -10% 0; pointer-events: none; overflow: hidden; border-radius: 45%; opacity: .85; }
.stage-light span:first-child { position: absolute; inset: 6% 2% 25%; border: 1px solid rgba(174,144,224,.15); border-radius: 50%; transform: rotate(-22deg); animation: stage-orbit 24s ease-in-out infinite alternate; }
.stage-light span:first-child::before { content: ""; position: absolute; top: 21%; left: 8%; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-lavender); box-shadow: 0 0 20px var(--brand-violet); }
.stage-light span:last-child { position: absolute; left: 18%; top: 14%; width: 58%; height: 40%; border-radius: 50%; background: radial-gradient(ellipse, rgba(147,72,237,.13), transparent 70%); animation: stage-drift 14s ease-in-out infinite alternate; }
.hero-logo, .logo-aura, .pretty-orbit, .stage-light span { animation-play-state: paused; }
html[data-site-motion="playing"] .hero-logo,
html[data-site-motion="playing"] .logo-aura,
html[data-site-motion="playing"] .pretty-orbit,
html[data-site-motion="playing"] .stage-light span { animation-play-state: running; }
@keyframes stage-orbit { from { transform: rotate(-22deg) scale(.95); } to { transform: rotate(-9deg) scale(1.025); } }
@keyframes stage-drift { from { transform: translate(-6px,8px); opacity: .7; } to { transform: translate(18px,-14px); opacity: 1; } }

/* Three clear entry points, followed by the full original product story. */
.start-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line-strong); margin-bottom: 32px; }
.start-paths > a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 115px; padding: 25px 24px; text-decoration: none; transition: background .2s ease; }
.start-paths > a:first-child { padding-left: 0; }
.start-paths > a + a { border-left: 1px solid var(--line); }
.start-paths > a:hover { background: rgba(124,66,224,.075); }
.start-path-index { color: var(--brand-lavender); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.start-paths strong { display: block; margin-bottom: 5px; font-size: 1rem; line-height: 1.35; }
.start-paths small { display: block; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.start-path-arrow { color: var(--brand-lavender); font-size: 1.2rem; }
.flagship-statement { padding-block: 58px 56px; }
.statement-grid { gap: 65px; padding-top: 28px; }
.statement-grid h2 { font-size: clamp(2.45rem,4.2vw,4.5rem); line-height: 1.04; }
.statement-grid p { font-size: 1.03rem; line-height: 1.8; }
.statement-grid .statement-accent { margin-bottom: 0; }
.everyone-section { padding-block: 45px 84px; }
.everyone-grid { gap: 16px; }
.everyone-card { display: flex; flex-direction: column; padding: 28px; border-radius: 18px; }
.everyone-card p { font-size: .95rem; line-height: 1.7; }
.everyone-index { font-size: .64rem; margin-bottom: 23px; }
.everyone-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; padding-top: 22px; color: var(--brand-lavender); font-size: .76rem; font-weight: 700; text-decoration: none; }
.everyone-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-heading, .screenshot-heading { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(28px,6vw,100px); margin-bottom: 40px; }
.section-heading h2, .screenshot-heading h2 { font-size: clamp(2.4rem,4.2vw,4.6rem); line-height: 1.03; }
.section-heading > p, .screenshot-heading > p { max-width: 60ch; font-size: 1rem; line-height: 1.75; }
.mission, .modes, .native, .principles, .creator-section, .development-section, .faq-section { padding-block: 84px; }
.mission { border-top: 1px solid var(--line); }
.mission-feature-grid { gap: 18px; margin-top: 35px; }
.mission-feature { min-height: 0; padding: 28px; border-radius: 18px; }
.mission-feature .feature-index { margin-bottom: 30px; }
.mission-feature p { font-size: .92rem; }
.screenshot-showcase { padding-top: 84px; scroll-margin-top: 140px; }
.screenshot-note { margin: -12px 0 25px; max-width: 92ch; }
.showcase-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.showcase-tab { min-height: 52px; padding: 12px 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 11px; background: rgba(18,8,29,.65); text-align: left; font-size: .84rem; font-weight: 750; cursor: pointer; }
.showcase-tab:hover { border-color: var(--line-strong); color: var(--text); }
.showcase-tab[aria-selected="true"] { color: var(--text); border-color: var(--brand-lavender); background: rgba(147,72,237,.16); box-shadow: inset 0 -2px 0 var(--brand-lavender); }
.screenshot-grid.is-enhanced { grid-template-columns: minmax(0,1fr); }
.screenshot-grid.is-enhanced .screenshot-card { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,.85fr); border-radius: 20px; align-items: center; }
.screenshot-grid.is-enhanced .screenshot-button { aspect-ratio: 1.232 / 1; border-bottom: 0; border-right: 1px solid var(--line); align-self: stretch; }
.screenshot-grid.is-enhanced .screenshot-button img { object-fit: contain; height: 100%; }
.screenshot-grid.is-enhanced .screenshot-copy { min-height: 0; padding: clamp(26px,3vw,48px); }
.screenshot-grid.is-enhanced .screenshot-copy h3 { font-size: clamp(1.6rem,2.6vw,2.65rem); line-height: 1.1; }
.screenshot-grid.is-enhanced .screenshot-copy p { font-size: .95rem; line-height: 1.75; }
.screenshot-card[hidden] { display: none !important; }
.screenshot-button:hover img, .screenshot-button:focus-visible img, .product-image-button:hover img, .product-image-button:focus-visible img { transform: none; filter: none; }

/* Keep the full existing mode content, with a consistent and reachable selector. */
.mode-workbench { grid-template-columns: 235px minmax(0,1fr); min-height: 0; border-radius: 22px; }
.mode-tabs { display: block; padding: 14px; }
.mode-tab { min-height: 86px; padding: 13px; border-radius: 11px; }
.mode-panel { min-height: 490px; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 35px; padding: 42px; }
.mode-panel h3 { font-size: clamp(1.8rem,2.6vw,2.7rem); line-height: 1.08; }
.mode-panel-copy > p:not(.mode-eyebrow) { font-size: .92rem; line-height: 1.7; }
.mode-status { font-size: .65rem; min-height: 31px; line-height: 1.45; border-radius: 7px; padding-block: 6px; }
.mode-eyebrow { font-size: .66rem; }
.mode-blueprint { min-height: 330px; max-width: 100%; transform: none; border-radius: 15px; }
.mode-blueprint > .creator-grid { grid-template-columns: .72fr 1.5fr .48fr; }
.mode-preview-note { color: var(--muted); font-size: .75rem; margin: 18px 0 0; }
.mode-system { margin-top: 15px; }
.mode-system span { font-size: .65rem; }
html:not(.js-ready) .mode-workbench { grid-template-columns: minmax(0,1fr); }
html:not(.js-ready) .site-header { position: static; }
.pretty-face { min-height: 480px; margin-block: 25px 45px; border-radius: 25px; }
.pretty-copy { padding: 48px; }
.pretty-copy h2 { font-size: clamp(2.4rem,4.4vw,4.8rem); }
.skin-manifesto p { font-size: clamp(1.04rem,1.5vw,1.25rem); }
.native-card { min-height: 270px; border-radius: 19px; padding: 30px; }
.native-card-large { min-height: 556px; padding: 40px; }
.native-card h3 { font-size: clamp(1.45rem,2.1vw,2.1rem); line-height: 1.12; }
.native-card-large h3 { font-size: clamp(2rem,3.4vw,3.5rem); }
.native-card p { font-size: .93rem; }
.native-card-large::before { font-size: clamp(4.3rem,8vw,8rem); }
.principle { grid-template-columns: 46px minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; }
.creator-panel, .development-card { padding: 36px; border-radius: 20px; }
.creator-panel h3, .development-card h3 { font-size: clamp(1.65rem,2.5vw,2.5rem); line-height: 1.1; }
.creator-panel p, .development-card p { font-size: .96rem; }
.creator-philosophy { gap: 28px; }
.feature-status { color: var(--text-soft); }
.release-section { padding-block: 38px 45px; }
.release-panel { padding: clamp(28px,4.3vw,66px); gap: 45px; border-radius: 25px; }
.release-panel h2 { font-size: clamp(2.3rem,4vw,4.4rem); }
.faq-list { max-width: none; }
.faq-list summary { padding: 22px 4px; }
.faq-list details p { padding-inline: 4px; }
.final-cta { width: var(--shell); min-height: 190px; margin-block: 26px 50px; padding: 28px 32px; border-radius: 20px; gap: 24px; }
.final-cta img { width: 105px; height: auto; border-radius: 0; box-shadow: none; }
.final-cta h2 { font-size: clamp(2rem,3.3vw,3.45rem); }
.site-footer { grid-template-columns: auto 1fr; gap: 16px 34px; padding-block: 35px 45px; }
.site-footer > p { text-align: right; }
.site-footer nav { grid-column: 1/-1; justify-content: flex-start; column-gap: 24px; }

/* The same small refinements follow through to the existing resource pages. */
.policy-hero { min-height: 420px; padding-block: 58px 50px; gap: 50px; }
.policy-hero h1 { font-size: clamp(3rem,5vw,5.4rem); }
.policy-hero p { font-size: 1.05rem; max-width: 68ch; }
.policy-hero-logo { width: 230px; }
.policy-panel { border-radius: 21px; padding: clamp(26px,4vw,52px); }
.policy-panel h2 { font-size: clamp(1.9rem,3vw,3.2rem); }
.policy-panel > p, .policy-card p { line-height: 1.75; }
.policy-card { border-radius: 14px; }

.lightbox { width: min(94vw,1600px); max-height: 94dvh; border-radius: 18px; padding-top: 52px; background: #090514; }
.lightbox img { height: auto; max-height: calc(94dvh - 180px); border-radius: 0; object-fit: contain; }
.lightbox-close { position: absolute; top: 9px; right: 12px; width: 36px; height: 36px; border-radius: 8px; box-shadow: none; }
.lightbox p { position: static; padding: 15px 22px; font-size: .78rem; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 18px 16px; border-top: 1px solid var(--line); }
.lightbox-nav { min-height: 42px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(124,66,224,.12); color: var(--text); font-size: .78rem; cursor: pointer; }
.lightbox-nav:hover { border-color: var(--brand-lavender); }
[data-lightbox-counter] { color: var(--muted); font-size: .72rem; }
.command-overlay { padding-block: min(10vh,80px) 20px; overflow-y: auto; }
.command-dialog { max-height: calc(100dvh - 100px); display: flex; flex-direction: column; }
.command-results { max-height: none; min-height: 0; overflow-y: auto; }
.command-head, .command-search, .command-foot { flex: 0 0 auto; }

@media (min-width: 1800px) {
  .hero { min-height: 785px; }
}
@media (min-width: 1081px) {
  .primary-nav > a:not(.nav-cta) { display: inline-flex; }
}
@media (max-width: 1250px) {
  .command-key kbd { display: none; }
  .hero { gap: 32px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .stage-brand { gap: 14px; padding-inline: 0; }
  .hero-stage .hero-logo { width: 112px; height: 112px; }
  .hero-stage .native-badge { padding: 10px; min-width: 80px; }
  .hero-product-frame .product-frame-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-product-frame .product-frame-footer span { min-height: 31px; }
  .mode-panel { grid-template-columns: 1fr; padding: 34px; gap: 27px; }
  .mode-blueprint { min-height: 295px; }
  .mode-panel h3 { max-width: 28ch; }
}
@media (max-width: 1080px) {
  :root { --shell: calc(100% - 44px); --page-gutter: 22px; }
  .primary-nav { left: 22px; right: 22px; }
  .nav-shell { gap: 0; min-height: 76px; }
  .command-key { justify-content: flex-start; }
  .command-key kbd { display: inline-block; margin-left: auto; }
  .hero h1 { font-size: clamp(3.3rem,6.1vw,4.5rem); }
  .hero-kicker { flex-wrap: wrap; }
  .hero-lede { font-size: 1rem; }
  .hero-proof { font-size: .64rem; }
  .start-paths > a { gap: 12px; padding: 22px 17px; }
  .start-paths strong { font-size: .9rem; }
  .start-paths small { font-size: .67rem; }
  .creator-philosophy { flex-direction: column; align-items: flex-start; }
  .creator-philosophy img { width: 140px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 42px 38px; gap: 26px; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(3.8rem,8.1vw,5.6rem); }
  .hero-lede { max-width: 62ch; font-size: 1.04rem; }
  .hero-kicker { margin-bottom: 20px; }
  .hero-stage { max-width: 740px; margin: 0 auto; }
  .stage-brand { min-height: 108px; padding-bottom: 18px; }
  .hero-stage .hero-logo { width: 90px; height: 90px; }
  .stage-brand-copy strong { font-size: 1.6rem; }
  .hero-product-frame .product-frame-footer { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .start-paths { margin-bottom: 10px; }
  .start-path-index { display: none; }
  .start-paths > a { grid-template-columns: 1fr auto; }
  .statement-grid, .section-heading, .screenshot-heading { grid-template-columns: 1fr; gap: 24px; }
  .statement-grid p { max-width: 74ch; }
  .flagship-statement { padding-block: 42px; }
  .everyone-section { padding-block: 32px 52px; }
  .mission, .modes, .native, .principles, .creator-section, .development-section, .faq-section { padding-block: 58px; }
  .mission-feature { padding: 24px; }
  .screenshot-grid.is-enhanced .screenshot-card { grid-template-columns: minmax(0,1.4fr) minmax(240px,1fr); }
  .screenshot-grid.is-enhanced .screenshot-copy { padding: 26px; }
  .screenshot-grid.is-enhanced .screenshot-copy h3 { font-size: 1.75rem; }
  .mode-workbench { grid-template-columns: 1fr; }
  .mode-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .mode-tab { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 78px; min-width: 0; padding: 11px; gap: 4px; }
  .mode-tab + .mode-tab { margin: 0; }
  .mode-tab > span { display: none; }
  .mode-tab strong { font-size: .82rem; white-space: normal; }
  .mode-tab small { font-size: .58rem; }
  .mode-tab.is-active { box-shadow: inset 0 -2px 0 var(--cyan); }
  .mode-tab:hover { transform: none; }
  .mode-panel { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); min-height: 0; padding: 32px; gap: 26px; }
  .mode-blueprint { min-height: 300px; }
  .native-card-large { padding: 32px; }
  .principle { grid-template-columns: 30px minmax(0,1fr); gap: 18px; }
  .principle p { grid-column: 2; }
  .pretty-copy { padding: 35px; }
  .creator-grid, .development-grid { grid-template-columns: 1fr; }
  .creator-philosophy { flex-direction: row; align-items: center; }
  .release-panel { grid-template-columns: 1fr; }
  .release-states { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .final-cta { grid-template-columns: 82px 1fr; padding: 27px; }
  .final-cta img { width: 82px; }
  .final-cta > .button { grid-column: 2; justify-self: start; }
  .policy-hero { grid-template-columns: minmax(0,1fr) 170px; gap: 30px; min-height: 330px; }
  .policy-hero-logo { width: 170px; }
}
@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --page-gutter: 16px; }
  html { scroll-padding-top: 137px; }
  .nav-shell { min-height: 70px; }
  .primary-nav { left: 16px; right: 16px; top: 70px; }
  .brand img { width: 43px; height: 43px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { font-size: .56rem; }
  .hero { padding-block: 30px 30px; }
  .hero h1 { font-size: clamp(3.5rem,13vw,4.8rem); line-height: 1; }
  .hero-title-top { font-size: .66em; }
  .hero h1 em { font-size: .73em; }
  .hero-kicker { font-size: .58rem; gap: 8px; }
  .hero-kicker i { width: 18px; }
  .hero-lede { font-size: .96rem; line-height: 1.75; }
  .hero-proof { gap: 8px 14px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: .79rem; padding-inline: 15px; }
  .stage-brand { gap: 12px; }
  .stage-brand-copy .section-label { font-size: .51rem; margin-bottom: 6px; }
  .stage-brand-copy strong { font-size: 1.3rem; }
  .hero-stage .hero-logo { width: 76px; height: 76px; }
  .hero-stage .native-badge { min-width: 74px; padding: 9px 7px; }
  .native-badge strong { font-size: .74rem; }
  .native-badge small { font-size: .47rem; }
  .hero-product-frame { border-radius: 12px; }
  .hero-product-frame .product-frame-top { font-size: .49rem; padding: 8px 9px; gap: 8px; }
  .hero-product-frame .product-frame-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-product-frame .product-frame-footer span { padding: 8px 10px; font-size: .55rem; }
  .hero-preview-expand { right: 7px; bottom: 7px; padding: 5px 7px; font-size: .55rem; }
  .stage-caption { gap: 10px; align-items: center; }
  .stage-caption p { font-size: .6rem; }
  .motion-toggle { min-height: 42px; padding-inline: 9px; font-size: .59rem; }
  .stage-mode-links .mode-chip { min-height: 40px; font-size: .59rem; padding-inline: 10px; }
  .stage-mode-links nav { gap: 6px; }
  .start-paths { grid-template-columns: 1fr; }
  .start-paths > a, .start-paths > a:first-child { min-height: 88px; padding: 18px 12px; grid-template-columns: auto 1fr auto; gap: 17px; }
  .start-path-index { display: block; }
  .start-paths > a + a { border-left: 0; border-top: 1px solid var(--line); }
  .start-paths strong { font-size: .98rem; }
  .start-paths small { font-size: .73rem; }
  .statement-grid h2, .section-heading h2, .screenshot-heading h2 { font-size: clamp(2.05rem,8.4vw,3rem); line-height: 1.07; }
  .statement-grid p, .section-heading > p, .screenshot-heading > p { font-size: .97rem; line-height: 1.78; }
  .section-label { font-size: .64rem; }
  .everyone-grid, .mission-feature-grid, .native-grid { grid-template-columns: 1fr; }
  .everyone-card, .mission-feature { padding: 26px; }
  .everyone-link { padding-top: 18px; }
  .mission-feature .feature-index { margin-bottom: 23px; }
  .screenshot-showcase { padding-top: 54px; }
  .screenshot-note { font-size: .77rem; margin-top: -14px; }
  .showcase-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .showcase-tab { min-height: 48px; font-size: .79rem; padding: 10px 13px; }
  .screenshot-grid.is-enhanced .screenshot-card { grid-template-columns: 1fr; }
  .screenshot-grid.is-enhanced .screenshot-button { border-right: 0; border-bottom: 1px solid var(--line); }
  .screenshot-grid.is-enhanced .screenshot-copy { padding: 26px; }
  .screenshot-grid.is-enhanced .screenshot-copy h3 { font-size: 1.7rem; }
  .mode-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px; }
  .mode-tab { flex: 1 1 calc(33.33% - 7px); min-height: 62px; align-items: center; padding: 10px 7px; text-align: center; }
  .mode-tab strong { font-size: .75rem; }
  .mode-tab small { font-size: .54rem; }
  .mode-panel { grid-template-columns: 1fr; padding: 27px 23px; gap: 24px; }
  .mode-panel h3 { font-size: 1.85rem; }
  .mode-blueprint { min-height: 295px; }
  .mode-actions { margin-top: 20px; }
  .mode-system { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mode-system span { min-height: 44px; }
  .mode-preview-note { font-size: .72rem; }
  .pretty-face { min-height: 0; border-radius: 20px; }
  .pretty-copy { padding: 32px 23px; }
  .pretty-copy h2 { font-size: 2.15rem; }
  .skin-manifesto { padding-left: 16px; }
  .native-card, .native-card-large { min-height: 0; padding: 29px; }
  .native-card-large { padding-top: 94px; }
  .native-card-large h3 { font-size: 2.2rem; }
  .native-card-large::before { font-size: 4.7rem; }
  .principle { padding-block: 25px; gap: 13px; }
  .principle h3 { font-size: 1.18rem; }
  .principle p { font-size: .93rem; }
  .creator-panel, .development-card { padding: 28px 24px; }
  .creator-philosophy { flex-direction: column; align-items: flex-start; }
  .creator-philosophy img { width: 110px; }
  .release-panel { padding: 29px 23px; gap: 30px; }
  .release-panel h2 { font-size: 2.3rem; }
  .release-states { grid-template-columns: 1fr; }
  .release-states article { padding: 17px 20px; }
  .faq-list summary { font-size: .97rem; }
  .final-cta { grid-template-columns: 58px minmax(0,1fr); gap: 17px; padding: 24px 21px; }
  .final-cta img { width: 58px; }
  .final-cta h2 { font-size: 1.85rem; }
  .final-cta p:not(.section-label) { font-size: .87rem; }
  .final-cta > .button { grid-column: 1/-1; width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { text-align: left; font-size: .73rem; }
  .site-footer nav { column-gap: 20px; }
  .policy-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 39px; gap: 25px; }
  .policy-hero-logo { justify-self: start; width: 110px; }
  .policy-hero h1 { font-size: clamp(2.4rem,10vw,3.5rem); }
  .policy-hero p { font-size: 1rem; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-panel { padding: 26px 22px; }
  .policy-panel h2 { font-size: 2rem; }
  .lightbox { width: calc(100vw - 16px); max-height: 96dvh; padding-top: 50px; }
  .lightbox img { max-height: calc(96dvh - 205px); }
  .lightbox p { padding: 13px 15px; font-size: .74rem; }
  .lightbox-controls { padding: 10px 12px 12px; gap: 8px; flex-wrap: wrap; }
  .lightbox-nav { font-size: .72rem; padding-inline: 11px; min-height: 44px; }
  [data-lightbox-counter] { font-size: .63rem; }
  .command-overlay { padding-block: 18px; }
  .command-dialog { max-height: calc(100dvh - 36px); }
  .command-item { min-height: 74px; gap: 10px; }
  .command-item small { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* The default remains still. A deliberate Play action opts into decorations only. */
  html[data-site-motion="playing"] .hero-logo { animation: logo-float 6s ease-in-out infinite !important; }
  html[data-site-motion="playing"] .logo-aura { animation: aura-breathe 5s ease-in-out infinite !important; }
  html[data-site-motion="playing"] .pretty-orbit { animation: slow-spin 30s linear infinite !important; }
  html[data-site-motion="playing"] .stage-light span:first-child { animation: stage-orbit 24s ease-in-out infinite alternate !important; }
  html[data-site-motion="playing"] .stage-light span:last-child { animation: stage-drift 14s ease-in-out infinite alternate !important; }
}
@media (forced-colors: active) {
  .stage-light, .logo-aura { display: none; }
  .start-paths, .start-paths > a, .showcase-tab, .hero-product-frame, .motion-toggle, .lightbox-nav { border-color: CanvasText; }
  .showcase-tab[aria-selected="true"], .mode-tab.is-active { outline: 2px solid Highlight; outline-offset: -4px; }
  .hero h1 em { color: CanvasText; background: none; -webkit-text-fill-color: CanvasText; }
}
