/* anatoma.app — "orbit" variant (site/orbit/), loaded over blueprint.css. Same design language (dashed
   construction lines, registration targets, grainy tiles, mono notes, outlined pills), new colors and a new
   arrangement: deep meadow-green sheet, the six regions orbiting the promise on concentric rings, and the
   sections below set as ruled rows and split spreads. Built by Tools/build_site.py. */
:root {
  --bg: #0E1A14;
  --white: #EEF3EA;
  --grey: #93A596;
  --dim: #64766A;
  --line: rgba(214, 236, 200, 0.28);
  --line-soft: rgba(214, 236, 200, 0.14);
}
html, body { background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 50vw at 50% 30%, rgba(59, 122, 76, 0.28), transparent 70%), radial-gradient(40vw 30vw at 85% 90%, rgba(217, 244, 15, 0.06), transparent 70%); }
.rails { display: none; }

/* 1. The orbit */
.diagram { aspect-ratio: 1000 / 1180; }
.lines circle { fill: none; stroke: var(--line); stroke-width: 1.2; }
.lines .fine { stroke: var(--line-soft); stroke-dasharray: 2 6; fill: none; }
.lines .target circle { stroke: var(--line); stroke-dasharray: none; }
.kicker { position: absolute; left: 50%; top: 0.5%; transform: translateX(-50%); white-space: nowrap; }
.diagram h1 { left: 50%; top: 3.2%; transform: translateX(-50%); width: 100%; text-align: center; font-size: clamp(44px, 5.8vw, 86px); }
.node { position: absolute; width: 19%; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.node .tag { position: absolute; bottom: -16px; }
.node.r .tag { right: -14%; }
.node.l .tag { left: -14%; }
.node .code { position: absolute; top: -18px; left: 4px; }
.pill { top: 54.2%; width: auto; padding: 18px 34px; font-size: clamp(18px, 1.9vw, 28px); line-height: 1.15; white-space: nowrap; box-shadow: 0 0 0 10px var(--bg), 0 0 80px rgba(59, 122, 76, 0.45); }
.cta-wrap { top: 61.5%; }
.n1, .n2 { top: auto; bottom: 0; max-width: 34ch; }
.n1 { left: 0; }
.n2 { left: auto; right: 0; text-align: right; }
.sheet { padding-bottom: 40px; }

/* 2. Atlas: ruled rows, the tile at the end of each */
.atlas .cols { grid-template-columns: 1fr; border-top: 1px dashed var(--line); }
.atlas .col { grid-template-columns: 200px minmax(0, 1fr) 240px; grid-template-areas: "tag text tile"; align-items: center; gap: 28px; padding: 26px 0; border-left: 0 !important; border-bottom: 1px dashed var(--line); }
.atlas .col .tile { grid-area: tile; border-radius: 18px; }
.atlas .col .tag { grid-area: tag; justify-self: start; }
.atlas .col p { grid-area: text; font-size: 20px; color: var(--white); letter-spacing: -0.02em; max-width: 34ch; }

/* 3. Live: each experiment a spread, tile on one side, reading and words on the other */
.live .cols { grid-template-columns: 1fr; gap: 0; border-top: 1px dashed var(--line); }
.live .test { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tap step" "tap read" "tap title" "tap say" "tap app"; column-gap: 48px; row-gap: 10px; align-content: center; padding: 36px 0; border-left: 0 !important; border-bottom: 1px dashed var(--line); }
.live .test:nth-child(even) { grid-template-areas: "step tap" "read tap" "title tap" "say tap" "app tap"; }
.live .test > .mono:first-child { grid-area: step; }
.live .tap { grid-area: tap; align-self: center; }
.live .reading { grid-area: read; }
.live .test h3 { grid-area: title; }
.live .say { grid-area: say; min-height: 0; }
.live .test > .mono.dim { grid-area: app; }

/* 4. Organs: heading pinned on the left, the index on the right */
.organs { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 56px; }
.organs .sec-head { position: sticky; top: 40px; }
.organs .index { columns: 2; }

/* 5. Review: the question first, the heading beside it */
.review { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 56px; }
.review .quiz { order: -1; max-width: none; }

/* 6. Price: the figure on one side, the terms on the other, a target between */
.price { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "amount step" "amount title" "amount fine" "amount cta"; justify-items: start; text-align: left; column-gap: 56px; row-gap: 16px; align-items: center; }
.price > .mono:first-child { grid-area: step; }
.price h2 { grid-area: title; }
.price .amount { grid-area: amount; font-size: clamp(96px, 11vw, 168px); padding: 20px 48px 20px 0; border-right: 1px dashed var(--line); }
.price > .mono.dim { grid-area: fine; }
.price .cta { grid-area: cta; }

/* 7. Facts: three dashed boxes */
.facts .cols { gap: 16px; }
.facts .col, .facts .col:first-child { padding: 26px; border: 1px dashed var(--line) !important; border-radius: 24px; }

@media (max-width: 900px) {
  .diagram { aspect-ratio: auto; }
  .kicker, .diagram h1, .node, .pill, .cta-wrap, .n1, .n2 { position: static; transform: none; width: auto; }
  .kicker { grid-column: 1 / -1; order: 0; }
  .diagram h1 { order: 0; text-align: left; }
  .node { order: 2; position: relative; left: auto; top: auto; }
  .node .tag { left: 10px !important; right: auto !important; }
  .n1 { order: 1; } .pill { order: 3; justify-self: center; white-space: normal; text-align: center; } .cta-wrap { order: 4; } .n2 { order: 5; text-align: left; }
  .atlas .col { grid-template-columns: 1fr; grid-template-areas: "tile" "tag" "text"; gap: 14px; }
  .live .test, .live .test:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "step" "tap" "read" "title" "say" "app"; }
  .organs, .review { grid-template-columns: 1fr; }
  .organs .sec-head { position: static; }
  .review .quiz { order: 0; }
  .price { grid-template-columns: 1fr; grid-template-areas: "step" "title" "amount" "fine" "cta"; }
  .price .amount { border-right: 0; padding-right: 0; }
}
@media (max-width: 600px) {
  .organs .index { columns: 1; }
  .pill { padding: 16px 22px; }
}
