/* Public-page layout. The app's original landing visuals are shared at build time. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url('/fonts/atkinson-hyperlegible-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url('/fonts/atkinson-hyperlegible-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url('/fonts/chakra-petch-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
:root { color-scheme: dark; --ink: #f4f1ff; --muted: #b5afc5; --line: #aaa3c729; --paper: #070812; --accent: #c5aaff; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 "Atkinson Hyperlegible", sans-serif; }
body.orbit-landing { position: relative; isolation: isolate; scrollbar-width: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: #e1d1ff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5.3vw, 5rem); }
h3 { font-size: 1.4rem; }
p + p { margin-top: 1.25rem; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-scene { position: relative; }
/* Keep the original cosmic background behind the content, without a boot overlay. */
.landing-cosmos { z-index: -1; }
.landing-nebula { filter: blur(54px); }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 20; padding: .8rem; background: var(--paper); }
.skip:focus { top: 1rem; }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; z-index: 5; }
.marketing-home .site-nav { position: absolute; inset: 0 0 auto; padding: 1.5rem clamp(1.5rem, 6vw, 6rem); justify-content: flex-end; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .3em; text-decoration: none; font: 500 1.8rem/1 "Chakra Petch", monospace; letter-spacing: -.04em; }
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; font-size: .88rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.15rem; border: 1px solid #d8cdee66; border-radius: 99px; text-decoration: none; font-size: .85rem; font-weight: 700; }
.primary { background: #f2effb; color: #0b0b15; border-color: #f2effb; }
.primary:hover { color: #0b0b15; background: white; }
.landing-cta { text-decoration: none; }
.landing-cta:hover { color: #0b0b15; }
.hero-note { max-width: 29rem; margin-top: 1rem; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.example-link { display: inline-block; margin-top: 1.1rem; font-size: .85rem; color: #c3bbd5; }
.example-link span { margin-left: .5rem; }
/* Match the original hero's scale; do not replace the wordmark with an oversized H1. */
.landing-hero { min-height: 100svh; }
.landing-hero-copy { padding-block: 0; }
.landing-kicker, .landing-section-index { color: #aaa0c4; font-weight: 500; }
.landing-intro { color: #bbb5ce; }
.landing-scroll-cue { color: #aaa0c4; text-decoration: none; }
.landing-principle { min-height: 90svh; }
.landing-principle-copy { color: #b5afc5; }
.site-section { position: relative; width: min(1160px, calc(100% - 12vw)); margin: auto; padding-block: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.section-heading h2 { margin-top: 2rem; }
.section-copy { max-width: 48ch; color: var(--muted); margin-top: 1.5rem; }
.orbit-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.orbit-explainer div { border-top: 1px solid #c5aaff55; padding-top: 1.3rem; }
.orbit-explainer dt { color: var(--accent); font: 500 .7rem "Chakra Petch", monospace; letter-spacing: .2em; }
.orbit-explainer dd { margin-top: 1rem; max-width: 24ch; color: var(--muted); }
details { margin-top: 2rem; border-block: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-size: 1rem; }
details p { margin-top: 1rem; color: var(--muted); max-width: 70ch; }
.product-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.product-copy h2 { margin-top: 2rem; }
.promise-list { padding: 0; margin-top: 2.25rem; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: center; border-block-end: 1px solid var(--line); padding: 1.2rem 0; }
.promise-list li:first-child { border-block-start: 1px solid var(--line); }
.promise-list span { font: 500 .65rem "Chakra Petch", monospace; letter-spacing: .15em; color: #aaa0c4; }
.promise-list p { font-size: 1rem; color: #d4cde3; }
.text-link { display: inline-block; margin-top: 1.8rem; font-size: .95rem; }
.product-screen { min-width: 0; position: relative; isolation: isolate; text-align: center; }
.product-screen img { width: min(100%, 330px); margin: auto; border-radius: 28px; border: 1px solid #bfa7df44; box-shadow: 0 32px 100px #0008; }
.screen-halo { position: absolute; inset: 8% 0; z-index: -1; background: radial-gradient(ellipse, #6b4fa536, transparent 70%); filter: blur(26px); }
.product-screen figcaption { margin: 1.25rem auto 0; font-size: .75rem; color: var(--muted); max-width: 30ch; }
.local-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.local-section h2 { margin-top: 2rem; }
.local-copy { padding-top: 2.5rem; color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); }
.guides-section h2 { margin-top: 2rem; }
.guide-links { margin-top: 3rem; }
.guide-link { position: relative; display: block; padding: 1.8rem 3rem 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-link:first-child { border-top: 1px solid var(--line); }
.guide-link h3 { max-width: 40ch; }
.guide-link p { max-width: 65ch; margin-top: .75rem; color: var(--muted); font-size: 1rem; }
.guide-link::after { content: '↗'; position: absolute; right: .5rem; top: 1.7rem; color: var(--accent); font-size: 1.5rem; }
.closing-section { text-align: center; padding-block: clamp(6rem, 14vw, 12rem); }
.closing-section h2 { margin-top: 2rem; font-size: clamp(3.4rem, 8vw, 7rem); letter-spacing: -.06em; }
.closing-section p:not(.landing-section-index) { margin: 2rem auto 0; color: var(--muted); font-size: 1rem; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 2.2rem 4.5rem; font-size: .85rem; color: var(--muted); }
.footer nav { gap: 1.2rem; font-size: .85rem; }
.article { max-width: 740px; padding: 5rem 0 6rem; }
.article h1 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); overflow-wrap: anywhere; }
.article .lede { color: #c3bad4; font-size: 1.25rem; margin-block: 2rem; }
.kicker { color: var(--accent); font: 500 .75rem "Chakra Petch", monospace; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.5rem; }
.article h2 { font-size: 2rem; margin: 3rem 0 1rem; }
.article h3 { margin: 2rem 0 1rem; }
.article p, .article li { color: var(--muted); }
.article ul, .article ol { margin-block: 1.2rem; padding-left: 1.5rem; }
.article li + li { margin-top: .7rem; }
.article .cta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article .button { color: #0b0b15; }
.breadcrumbs { display: block; margin-bottom: 2rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li { margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: .6rem; color: var(--accent); }
.breadcrumbs a { text-decoration: underline; }
.article .article-meta { font-size: .85rem; margin-bottom: 2rem; }
.quick-answer, .planning-template { border-left: 2px solid var(--accent); padding: 1.25rem; background: #c5aaff09; }
.quick-answer strong, .planning-template strong { color: var(--ink); }
.guide-contents { display: block; margin-block: 2rem; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.guide-contents p { color: var(--ink); }
.guide-contents a { min-height: 0; text-decoration: underline; }
.guide-contents ul { margin-bottom: 0; }
.planning-template p + p { margin-top: .75rem; }
.related-guides { border-top: 1px solid var(--line); margin-top: 3rem; }
.faq-section h2 { margin-top: 2rem; }
.article blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 2rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
caption { color: var(--muted); text-align: left; margin-bottom: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .85rem; border-bottom: 1px solid var(--line); }
td { color: var(--muted); }
/* Native checkbox works without JavaScript. Pausing never affects task data. */
.motion-toggle { position: fixed; right: 1rem; bottom: 1rem; width: 1px; height: 1px; opacity: .01; z-index: 12; }
.motion-label { position: fixed; right: 1rem; bottom: 1rem; z-index: 11; display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; min-height: 44px; border: 1px solid #c5aaff55; border-radius: 99px; color: #d4cde3; background: #0d0d1dec; font-size: .75rem; cursor: pointer; }
.motion-label::before { content: ''; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 3px; }
.motion-toggle:focus-visible + .motion-label { outline: 2px solid var(--accent); outline-offset: 4px; }
.motion-toggle:checked + .motion-label::before { background: var(--accent); box-shadow: inset 0 0 0 3px #0d0d1d; }
.motion-toggle:checked ~ .site-scene * { animation-play-state: paused !important; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 3rem); }
  .site-nav, .marketing-home .site-nav { padding-block: 1rem; }
  nav { gap: .8rem; font-size: .78rem; }
  nav .button { font-size: .78rem; padding: .5rem .8rem; }
  .site-nav .brand { font-size: 1.4rem; }
  .marketing-article .site-nav { align-items: flex-start; }
  .marketing-article .site-nav nav { justify-content: flex-end; max-width: 70%; }
  .landing-hero-copy { padding-block: 3.5rem 2rem; }
  .landing-hero .hero-note { max-width: 22rem; }
  .site-section { width: calc(100% - 3rem); padding-block: 4rem; }
  .site-section h2 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .orbit-explainer { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
  .orbit-explainer dd { max-width: none; font-size: 1rem; }
  .product-section, .local-section { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .product-screen img { width: min(82%, 330px); }
  .local-copy { padding-top: 0; }
  .article { padding-top: 3rem; }
  .guide-link { padding-right: 2rem; }
  .guide-link h3 { font-size: 1.3rem; }
  .guide-link p { font-size: .95rem; }
  .closing-section { padding-block: 6rem; }
  .footer { display: block; }
  .footer nav { margin-top: 1rem; }
  .motion-label { right: .75rem; bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .landing-nebula, .landing-stars, .landing-orbit-sculpture, .landing-path, .landing-horizon, .landing-cta:hover { transform: none !important; }
  .motion-toggle, .motion-label { display: none; }
}
