/* Static guide pages: the same tokens as the 3D app, laid out for reading. */
:root {
  --black: #0d0a05; --white: #fffcf4; --grey: #78797f;
  --bg: var(--black); --fg: var(--white); --fg-2: var(--grey); --fg-3: rgba(255,252,244,.55);
  --line: rgba(255,252,244,.14); --line-strong: rgba(255,252,244,.32); --surface: rgba(255,252,244,.06); --surface-2: rgba(255,252,244,.1);
  --font: 'Aspekta', 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --fs-label: 0.75rem; --track-label: 0.08em; --radius: 12px; --ease: cubic-bezier(.22,.61,.36,1);
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--font); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(1200px 600px at 70% -10%, rgba(255,176,103,.08), transparent 60%), var(--bg); }
a { color: inherit; text-decoration: none; }
p a, li a { border-bottom: 1px solid var(--line-strong); }
p a:hover, li a:hover { border-color: var(--fg); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-top: 2.2em; }
h3 { font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); display: inline-block; }

/* nav */
.gnav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 28px; background: rgba(13,10,5,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.gnav .brand { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.gnav .links { display: flex; gap: 22px; align-items: center; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); flex-wrap: wrap; justify-content: flex-end; }
.gnav .links a:hover { color: var(--fg); }
.gnav .cta { color: var(--fg); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; }
.gnav .cta:hover { background: var(--fg); color: var(--bg); }

/* layout */
.gmain { max-width: 1100px; margin: 0 auto; padding: 36px 28px 80px; }
.crumbs { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 30px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--fg-3); }
.crumbs a:hover { color: var(--fg); }
.hero { padding: 10px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.hero h1 { margin-top: 14px; max-width: 22ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: var(--measure); color: var(--fg); opacity: .92; }
.actions { display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--fg); border-radius: 999px; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; background: var(--fg); color: var(--bg); transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--fg); }
.tlink { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.tlink:hover { border-color: var(--fg); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; color: var(--fg); opacity: .9; }
.inpage ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 26px 0 0; }
.inpage a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--fg-2); }
.inpage a:hover { border-color: var(--line-strong); color: var(--fg); }

/* parts */
.part { padding: 34px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.part h2 { margin-top: 0; }
.part > p { max-width: var(--measure); opacity: .9; }
.specs { border-collapse: collapse; margin: 18px 0 6px; width: 100%; max-width: 640px; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--fg-2); font-weight: 400; width: 38%; }

/* toc */
.tocList { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.tocList a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, background .2s; }
.tocList a:hover { border-color: var(--line-strong); background: var(--surface-2); }
.tocList b { font-weight: 500; }
.tocList span { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); }
.toc p, .script p, .next p { max-width: var(--measure); opacity: .9; }

/* tour script */
.script ol { padding-left: 1.3em; max-width: var(--measure); }
.script li { margin: 0 0 .7em; opacity: .9; }
.script b { font-weight: 500; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 14px 0; max-width: var(--measure); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--fg-2); font-size: 1.2rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::before { content: "−"; }
.faq summary h3 { margin: 0; font-size: 1.05rem; font-weight: 500; }
.faq details p { margin: 10px 0 0 30px; opacity: .9; }

/* comparison table */
.tableWrap { overflow-x: auto; margin: 30px 0 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .93rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); font-weight: 500; background: var(--surface); }
.compare tbody th { color: var(--fg-2); font-weight: 400; white-space: nowrap; }
.compare tbody td:first-of-type { color: var(--fg); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* footer */
.gfoot { border-top: 1px solid var(--line); padding: 40px 28px 60px; }
.fgrid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.gfoot ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.gfoot li a { border: 0; color: var(--fg-2); }
.gfoot li a:hover { color: var(--fg); }
.gfoot p { margin: 14px 0 0; font-size: .9rem; color: var(--fg-2); max-width: 40ch; }
.gfoot p a { color: var(--fg-2); }

@media (max-width: 720px) {
  .gnav { padding: 12px 16px; }
  .gnav .links { gap: 12px; }
  .gnav .cta { display: none; }
  .gmain { padding: 24px 16px 60px; }
  .gfoot { padding: 30px 16px 40px; }
}
