/* EOLIA — product pages (macOS, iOS, manual, support, legal). Built on the v3 shell (assets/am-v3.css).
   Palette: deep space, pearl and silver light, one warm accent (the gold of a drawn path). */
.eo {
  --eo-void: #020304;
  --eo-space: #06080b;
  --eo-panel: rgba(14, 18, 24, 0.72);
  --eo-pearl: #eef2f8;
  --eo-silver: #c3cad6;
  --eo-ash: #8f96a3;
  --eo-dim: #5d6370;
  --eo-ice: #cfe0ff;
  --eo-gold: #e9c48a;
  --eo-rule: rgba(214, 224, 240, 0.12);
  --eo-rule-strong: rgba(214, 224, 240, 0.26);
  --eo-glow: 0 0 0 1px rgba(214, 224, 240, 0.12), 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 160px rgba(150, 175, 225, 0.12);
  --eo-ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  background: var(--eo-void);
  color: var(--eo-pearl);
}
.eo ::selection { background: rgba(207, 224, 255, 0.28); }
.eo-gold { color: var(--eo-gold); }

/* ---------------------------------------------------------------- type */
.eo-kicker { font-family: var(--v3-label); font-weight: 600; font-size: 14px; letter-spacing: .32em; color: var(--eo-silver); text-transform: uppercase; }
.eo-kicker b { font-weight: 600; color: var(--eo-gold); }
.eo-h1 { font-family: var(--v3-display); font-weight: 200; font-size: clamp(44px, 7.4vw, 118px); line-height: .98; letter-spacing: -.02em; }
.eo-h2 { font-family: var(--v3-display); font-weight: 200; font-size: clamp(34px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -.015em; }
.eo-h3 { font-family: var(--v3-display); font-weight: 300; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.005em; }
.eo-lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.6; color: var(--eo-silver); max-width: 60ch; }
.eo-prose { font-size: 17px; line-height: 1.75; color: var(--eo-ash); max-width: 64ch; }
.eo-prose + .eo-prose { margin-top: 14px; }
.eo-prose strong { color: var(--eo-pearl); font-weight: 500; }
.eo-ui { font-family: var(--v3-label); font-weight: 600; letter-spacing: .2em; font-size: 13px; text-transform: uppercase; color: var(--eo-silver); }

/* ---------------------------------------------------------------- buttons */
.eo-btn-pearl { background: var(--eo-pearl); color: #05070a; }
.eo-btn-pearl:hover { background: #fff; box-shadow: 0 0 40px rgba(207, 224, 255, 0.35); }
.eo-btn-pending { border-color: var(--eo-rule-strong); color: var(--eo-silver); cursor: default; }
.eo-btn-pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--eo-gold); box-shadow: 0 0 12px var(--eo-gold); animation: eo-pulse 2.4s ease-in-out infinite; }
@keyframes eo-pulse { 50% { opacity: .35; } }

/* ---------------------------------------------------------------- hero */
.eo-hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.eo-hero-media { position: absolute; inset: 0; z-index: -2; }
.eo-hero-media video, .eo-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.04); }
.eo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 40%, transparent 40%, rgba(2, 3, 4, .55) 75%, var(--eo-void) 100%),
              linear-gradient(180deg, rgba(2, 3, 4, .55) 0%, transparent 18%, transparent 55%, rgba(2, 3, 4, .92) 84%, var(--eo-void) 100%); }
.eo-hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.eo-hero-inner { position: relative; padding-top: calc(var(--v3-header) + 40px); padding-bottom: clamp(36px, 6vh, 72px); }
.eo-hero-id { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-bottom: clamp(40px, 9vh, 120px); }
.eo-hero-id::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(120vw, 1300px); height: 190%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(2, 3, 4, .62), rgba(2, 3, 4, .34) 55%, transparent); }
.eo-hero-emblem { width: clamp(64px, 6vw, 92px); height: auto; filter: drop-shadow(0 0 22px rgba(207, 224, 255, .45)); }
.eo-wordmark { width: min(78vw, 760px); height: auto; filter: drop-shadow(0 0 36px rgba(207, 224, 255, .28)); }
.eo-descriptor { font-family: var(--v3-label); font-weight: 500; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .5em; color: var(--eo-pearl); padding-left: .5em; text-shadow: 0 0 18px rgba(2, 3, 4, .95), 0 0 6px rgba(2, 3, 4, .9); }
.eo-hero-low { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.eo-hero-lead { font-family: var(--v3-display); font-weight: 200; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.015em; }
.eo-hero-lead em { font-style: normal; color: var(--eo-gold); }
.eo-hero-sub { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--eo-silver); max-width: 56ch; }
.eo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eo-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--eo-rule); }
.eo-facts div { padding: 16px 0 14px; border-bottom: 1px solid var(--eo-rule); }
.eo-facts div:nth-child(odd) { padding-right: 18px; }
.eo-facts dt { font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--eo-dim); text-transform: uppercase; }
.eo-facts dd { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--eo-pearl); }
.eo-scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; overflow: hidden; background: var(--eo-rule); }
.eo-scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--eo-pearl); animation: eo-cue 2.2s var(--eo-ease) infinite; }
@keyframes eo-cue { to { top: 110%; } }

/* ---------------------------------------------------------------- section nav */
.eo-tabs { position: sticky; top: 0; z-index: 40; background: rgba(2, 3, 4, .82); border-bottom: 1px solid var(--eo-rule); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.eo-tabs-inner { display: flex; align-items: center; gap: 22px; height: 56px; }
.eo-tabs-id { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.eo-tabs-id img { width: 22px; height: 22px; }
.eo-tabs-id span { font-family: var(--v3-display); font-weight: 300; letter-spacing: .38em; font-size: 13px; }
.eo-tabs-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
.eo-tabs-links::-webkit-scrollbar { display: none; }
.eo-tabs-links a { flex: none; padding: 8px 11px; font-family: var(--v3-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--eo-ash); text-decoration: none; transition: color .2s; }
.eo-tabs-links a:hover, .eo-tabs-links a.is-active { color: var(--eo-pearl); }
.eo-tabs-links a.is-active { box-shadow: inset 0 -1px 0 var(--eo-gold); }
.eo-tabs-cta { flex: none; font-family: var(--v3-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-decoration: none; padding: 8px 14px; border: 1px solid var(--eo-rule-strong); color: var(--eo-pearl); }
.eo-tabs-cta:hover { border-color: var(--eo-pearl); }

/* ---------------------------------------------------------------- sections */
.eo-section { position: relative; padding: clamp(88px, 11vw, 160px) 0; }
.eo-section + .eo-section { border-top: 1px solid var(--eo-rule); }
.eo-head { display: grid; gap: 22px; max-width: 980px; margin-bottom: clamp(44px, 6vw, 84px); }
.eo-head.is-center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.eo-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.eo-split.is-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.eo-split.is-flip .eo-split-copy { order: 2; }
.eo-split-copy { display: grid; gap: 22px; align-content: start; }

/* statement */
.eo-statement { padding: clamp(90px, 12vw, 180px) 0; text-align: center; overflow: hidden; }
.eo-statement p { font-family: var(--v3-display); font-weight: 200; font-size: clamp(34px, 5.6vw, 92px); line-height: 1.06; letter-spacing: -.02em; max-width: 17ch; margin: 0 auto;
  background: linear-gradient(100deg, var(--eo-pearl) 0%, var(--eo-pearl) var(--eo-reveal, 0%), rgba(238, 242, 248, .16) calc(var(--eo-reveal, 0%) + 14%));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.eo-statement small { display: block; margin-top: 32px; font-family: var(--v3-label); font-weight: 600; letter-spacing: .32em; font-size: 14px; color: var(--eo-ash); }

/* media frame */
.eo-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--eo-glow); background: #000; }
.eo-frame img, .eo-frame video { width: 100%; height: auto; }
.eo-frame figcaption, .eo-caption { margin-top: 14px; font-size: 14px; color: var(--eo-dim); }
.eo-bleed { position: relative; width: 100%; aspect-ratio: 2240 / 1000; overflow: hidden; border-radius: 22px; box-shadow: var(--eo-glow); }
.eo-bleed img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- engines */
.eo-engines { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.eo-engine-list { display: grid; gap: 2px; position: sticky; top: 90px; }
.eo-engine-btn { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 16px 14px 16px 6px; border: 0; border-bottom: 1px solid var(--eo-rule); background: none; text-align: left; cursor: pointer; color: var(--eo-ash); transition: color .25s, background-color .25s; }
.eo-engine-btn:hover { color: var(--eo-pearl); }
.eo-engine-btn[aria-selected="true"] { color: var(--eo-pearl); background: linear-gradient(90deg, rgba(207, 224, 255, .06), transparent); }
.eo-engine-btn .n { font-family: var(--v3-label); font-size: 13px; letter-spacing: .12em; color: var(--eo-dim); }
.eo-engine-btn .name { font-family: var(--v3-display); font-weight: 300; font-size: 22px; letter-spacing: .14em; }
.eo-engine-btn .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; opacity: .6; }
.eo-engine-btn[aria-selected="true"] .dot { background: var(--eo-pearl); box-shadow: 0 0 14px var(--eo-ice); opacity: 1; }
.eo-engine-btn .new { font-family: var(--v3-label); font-size: 11px; letter-spacing: .2em; color: var(--eo-gold); margin-left: 10px; }
.eo-engine-stage { display: grid; gap: 28px; }
.eo-engine-view { position: relative; aspect-ratio: 2240 / 1000; border-radius: 20px; overflow: hidden; box-shadow: var(--eo-glow); background: #000; }
.eo-engine-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity .9s var(--eo-ease), transform 6s linear; }
.eo-engine-view img.is-on { opacity: 1; transform: scale(1.0); }
.eo-engine-view .eo-engine-label { position: absolute; left: 24px; bottom: 20px; font-family: var(--v3-display); font-weight: 200; font-size: clamp(30px, 4vw, 58px); letter-spacing: .28em; text-shadow: 0 0 40px rgba(0, 0, 0, .8); }
.eo-engine-text { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; min-height: 170px; }
.eo-engine-panel[hidden] { display: none; }
.eo-engine-panel h3 { margin-bottom: 12px; }
.eo-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.eo-chip { padding: 8px 12px; border: 1px solid var(--eo-rule-strong); font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--eo-silver); }

/* ---------------------------------------------------------------- knobs / control grid */
.eo-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--eo-rule); border: 1px solid var(--eo-rule); border-radius: 16px; overflow: hidden; }
.eo-controls > div { background: var(--eo-void); padding: 26px 24px 28px; }
.eo-controls dt { font-family: var(--v3-display); font-weight: 300; font-size: 18px; letter-spacing: .06em; }
.eo-controls dt span { display: block; margin-top: 6px; font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .18em; color: var(--eo-gold); }
.eo-controls dd { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--eo-ash); }

/* ---------------------------------------------------------------- immersive diagram */
.eo-space { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.eo-modes { display: flex; gap: 6px; margin: 8px 0 4px; flex-wrap: wrap; }
.eo-mode { padding: 11px 18px; border: 1px solid var(--eo-rule-strong); background: none; cursor: pointer; font-family: var(--v3-label); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--eo-ash); transition: all .25s; }
.eo-mode[aria-pressed="true"] { color: #05070a; background: var(--eo-pearl); border-color: var(--eo-pearl); }
.eo-mode-desc { min-height: 5.5em; }
.eo-room { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.eo-room svg { width: 100%; height: 100%; overflow: visible; }
.eo-room .ring { fill: none; stroke: var(--eo-rule-strong); }
.eo-room .ring.inner { stroke-dasharray: 2 6; }
.eo-room .spk { fill: var(--eo-void); stroke: var(--eo-silver); stroke-width: 1.2; transition: opacity .6s, transform .6s; transform-box: fill-box; transform-origin: center; }
.eo-room .spk.top { stroke: var(--eo-ice); }
.eo-room .spk-glow { fill: var(--eo-ice); opacity: 0; transition: opacity .3s; }
.eo-room .head { fill: none; stroke: var(--eo-pearl); stroke-width: 1.4; }
.eo-room .src { fill: var(--eo-gold); filter: drop-shadow(0 0 8px var(--eo-gold)); }
.eo-room .lbl { font-family: var(--v3-label); font-size: 11px; letter-spacing: .14em; fill: var(--eo-dim); }
.eo-room[data-mode="stereo"] .spk:not(.lr) { opacity: .12; }
.eo-room[data-mode="stereo"] .spk-glow:not(.lr) { opacity: 0 !important; }
.eo-room[data-mode="3d"] .ear { opacity: 1; }
.eo-room .ear { opacity: 0; transition: opacity .6s; fill: none; stroke: var(--eo-gold); stroke-width: 1.2; }

/* ---------------------------------------------------------------- gestures */
.eo-gesture-map { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--eo-glow); }
.eo-gesture-map img { width: 100%; height: auto; }
.eo-spot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); background: rgba(2, 3, 4, .35); cursor: pointer; padding: 0; color: var(--eo-pearl); font-family: var(--v3-label); font-weight: 600; font-size: 13px; }
.eo-spot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(233, 196, 138, .7); animation: eo-ring 2.6s var(--eo-ease) infinite; }
.eo-spot[aria-pressed="true"] { background: var(--eo-pearl); color: #05070a; }
@keyframes eo-ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.eo-gestures { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.eo-gesture-list { display: grid; gap: 0; }
.eo-gesture { padding: 18px 0; border-bottom: 1px solid var(--eo-rule); transition: opacity .3s; }
.eo-gesture h3 { font-family: var(--v3-label); font-weight: 600; font-size: 15px; letter-spacing: .2em; color: var(--eo-pearl); }
.eo-gesture p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--eo-ash); }
.eo-gesture-list.has-focus .eo-gesture:not(.is-on) { opacity: .35; }

/* ---------------------------------------------------------------- gallery */
.eo-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 1100px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--v3-gutter) 26px; scrollbar-width: thin; scrollbar-color: var(--eo-rule-strong) transparent; }
.eo-gallery figure { scroll-snap-align: center; }
.eo-gallery img { border-radius: 16px; box-shadow: var(--eo-glow); }
.eo-gallery figcaption { margin-top: 14px; display: flex; gap: 14px; align-items: baseline; color: var(--eo-ash); font-size: 15px; }
.eo-gallery figcaption b { font-family: var(--v3-label); font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--eo-pearl); }

/* ---------------------------------------------------------------- presets */
.eo-preset-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.eo-preset-filter { padding: 9px 14px; border: 1px solid var(--eo-rule-strong); background: none; color: var(--eo-ash); cursor: pointer; font-family: var(--v3-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; }
.eo-preset-filter[aria-pressed="true"] { background: var(--eo-pearl); color: #05070a; border-color: var(--eo-pearl); }
.eo-preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--eo-rule); border-radius: 16px; overflow: hidden; }
.eo-preset { background: var(--eo-void); padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; outline: 1px solid var(--eo-rule); }
.eo-preset[hidden] { display: none; }
.eo-preset-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.eo-preset h3 { font-family: var(--v3-display); font-weight: 300; font-size: 17px; letter-spacing: .02em; }
.eo-preset .eng { font-family: var(--v3-label); font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--eo-dim); flex: none; }
.eo-preset p { font-size: 14px; line-height: 1.55; color: var(--eo-ash); }
.eo-preset .tags { font-family: var(--v3-label); font-size: 11px; letter-spacing: .16em; color: var(--eo-gold); }

/* ---------------------------------------------------------------- specs, docs, faq, cta */
.eo-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.eo-specs div { padding: 20px 0; border-top: 1px solid var(--eo-rule); }
.eo-specs dt { font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--eo-dim); text-transform: uppercase; }
.eo-specs dd { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--eo-pearl); }
.eo-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eo-doc { position: relative; display: grid; gap: 12px; padding: 28px 26px 26px; border: 1px solid var(--eo-rule); border-radius: 16px; text-decoration: none; background: linear-gradient(160deg, rgba(207, 224, 255, .05), transparent 60%); transition: border-color .3s, transform .3s var(--eo-ease); }
.eo-doc:hover { border-color: var(--eo-rule-strong); transform: translateY(-3px); }
.eo-doc .t { font-family: var(--v3-display); font-weight: 300; font-size: 21px; }
.eo-doc .d { font-size: 15px; line-height: 1.6; color: var(--eo-ash); }
.eo-doc .m { font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--eo-gold); }
.eo-faq { display: grid; gap: 0; max-width: 940px; }
.eo-faq details { border-bottom: 1px solid var(--eo-rule); }
.eo-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--v3-display); font-weight: 300; font-size: 19px; }
.eo-faq summary::-webkit-details-marker { display: none; }
.eo-faq summary::after { content: "+"; font-family: var(--v3-body); color: var(--eo-ash); transition: transform .3s; }
.eo-faq details[open] summary::after { transform: rotate(45deg); }
.eo-faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.75; color: var(--eo-ash); max-width: 70ch; }
.eo-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 15vw, 220px) 0; }
.eo-cta-bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.eo-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.eo-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(2, 3, 4, .2), var(--eo-void) 82%); }
.eo-cta .eo-wordmark { width: min(70vw, 520px); margin: 0 auto 26px; }
.eo-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* devices (iOS page): Apple's official product bezels, transparent around the device */
.eo-device { width: 100%; height: auto; } /* Apple product images are shown as is: no added shadow or glow */
.eo-devices { position: relative; display: grid; grid-template-columns: 1fr; justify-items: center; max-width: 1180px; margin: 0 auto; }
.eo-device-ipad { width: 88%; justify-self: start; }
.eo-device-iphone { position: absolute; right: 0; bottom: -4%; width: 27%; }
.eo-device-row { display: grid; grid-template-columns: .58fr 1fr 1.42fr; gap: clamp(18px, 3vw, 46px); align-items: end; }
@media (max-width: 820px) { .eo-device-row { grid-template-columns: .7fr 1fr; } .eo-device-row .eo-device:last-child { grid-column: 1 / -1; } }

/* legal / text pages */
.eo-doc-page { padding: calc(var(--v3-header) + clamp(60px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); }
.eo-doc-shell { max-width: 860px; }
.eo-doc-page h1 { margin: 18px 0 14px; }
.eo-updated { font-family: var(--v3-label); font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--eo-dim); }
.eo-summary { margin: 40px 0 50px; padding: 26px 28px; border: 1px solid var(--eo-rule); border-left: 2px solid var(--eo-gold); border-radius: 0 14px 14px 0; background: var(--eo-panel); font-size: 18px; line-height: 1.7; color: var(--eo-pearl); }
.eo-legal section { padding: 34px 0; border-top: 1px solid var(--eo-rule); }
.eo-legal h2 { font-family: var(--v3-display); font-weight: 300; font-size: clamp(20px, 2vw, 26px); margin-bottom: 14px; }
.eo-legal p, .eo-legal li { font-size: 16.5px; line-height: 1.8; color: var(--eo-ash); }
.eo-legal p + p { margin-top: 12px; }
.eo-legal ul { margin-top: 10px; display: grid; gap: 6px; }
.eo-legal li { padding-left: 18px; position: relative; }
.eo-legal li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--eo-gold); }
.eo-legal a { color: var(--eo-pearl); text-underline-offset: 4px; text-decoration-color: rgba(233, 196, 138, .7); }
.eo-legal pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: var(--eo-ash); }
.eo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 50px; }

/* reveal */
.js .eo-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--eo-ease), transform 1.1s var(--eo-ease); }
.js .eo-reveal.is-in { opacity: 1; transform: none; }
.js .eo-reveal[data-delay="1"] { transition-delay: .12s; }
.js .eo-reveal[data-delay="2"] { transition-delay: .24s; }
.js .eo-reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .eo-hero-low, .eo-split, .eo-split.is-flip, .eo-space, .eo-gestures, .eo-engines { grid-template-columns: 1fr; }
  .eo-split.is-flip .eo-split-copy { order: 0; }
  .eo-engine-list { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .eo-engine-btn { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 4px; gap: 6px; }
  .eo-engine-btn .n, .eo-engine-btn .dot { display: none; }
  .eo-engine-btn .name { font-size: 15px; letter-spacing: .12em; }
  .eo-engine-btn .new { margin-left: 0; }
  .eo-engine-text { grid-template-columns: 1fr; }
  .eo-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eo-preset-grid, .eo-docs, .eo-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .eo-facts { grid-template-columns: 1fr; }
  .eo-facts div:nth-child(odd) { padding-right: 0; }
  .eo-controls, .eo-preset-grid, .eo-docs, .eo-specs { grid-template-columns: 1fr; }
  .eo-engine-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eo-engine-btn .name { font-size: 12.5px; letter-spacing: .08em; }
  .eo-tabs-cta { display: none; }
  .eo-devices { grid-template-columns: 1fr; }
  .eo-iphone { max-width: 260px; }
  .eo-spot { width: 28px; height: 28px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .eo-reveal { opacity: 1; transform: none; }
  .eo-hero-canvas { display: none; }
  .eo-engine-view img { transition: opacity .2s; transform: none !important; }
}
@media print {
  .v3-header, .eo-tabs, .v3-footer, .eo-hero-media, .eo-hero-canvas { display: none !important; }
}
.eo-doc-page .eo-h1 { font-size: clamp(40px, 6vw, 84px); }

/* ---------------------------------------------------------------- manual (web) */
.eo-man { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.eo-man-toc { position: sticky; top: calc(var(--v3-header) + 24px); max-height: calc(100vh - var(--v3-header) - 48px); overflow-y: auto; padding-right: 8px; }
.eo-man-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.eo-man-toc a { display: block; padding: 7px 0; font-size: 14px; color: var(--eo-ash); text-decoration: none; border-left: 1px solid var(--eo-rule); padding-left: 14px; transition: color .2s, border-color .2s; }
.eo-man-toc a:hover, .eo-man-toc a.is-active { color: var(--eo-pearl); border-left-color: var(--eo-gold); }
.eo-man-body { max-width: 860px; }
.eo-man-body > section { padding: 0 0 72px; }
.eo-man-body > section + section { padding-top: 64px; border-top: 1px solid var(--eo-rule); }
.eo-man-body h2 { font-family: var(--v3-display); font-weight: 200; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; margin: 10px 0 22px; }
.eo-man-body h3 { font-family: var(--v3-display); font-weight: 300; font-size: 21px; margin: 34px 0 12px; }
.eo-man-body p, .eo-man-body li { font-size: 16.5px; line-height: 1.78; color: var(--eo-ash); }
.eo-man-body p + p { margin-top: 12px; }
.eo-man-body strong { color: var(--eo-pearl); font-weight: 500; }
.eo-man-body ul.eo-list { display: grid; gap: 6px; margin: 12px 0; }
.eo-man-body ul.eo-list li { position: relative; padding-left: 18px; }
.eo-man-body ul.eo-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 1px; background: var(--eo-gold); }
.eo-man-body figure { margin: 26px 0; }
.eo-man-body figure img { border-radius: 14px; box-shadow: var(--eo-glow); }
.eo-man-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--eo-dim); }
.eo-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.eo-table th { text-align: left; font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .18em; color: var(--eo-dim); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--eo-rule-strong); }
.eo-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--eo-rule); color: var(--eo-ash); vertical-align: top; line-height: 1.6; }
.eo-table td:first-child { color: var(--eo-pearl); white-space: nowrap; font-weight: 500; }
.eo-note { margin: 20px 0; padding: 16px 20px; border-left: 2px solid var(--eo-gold); background: var(--eo-panel); border-radius: 0 12px 12px 0; font-size: 15.5px; line-height: 1.7; color: var(--eo-silver); }
.eo-callouts { position: relative; }
.eo-callouts .c { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--eo-pearl); color: #05070a; font-family: var(--v3-label); font-weight: 600; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(2, 3, 4, .55), 0 0 18px rgba(207, 224, 255, .6); }
.eo-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 18px 0; }
.eo-legend div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--eo-ash); }
.eo-legend b { width: 22px; height: 22px; border-radius: 50%; background: var(--eo-pearl); color: #05070a; font-family: var(--v3-label); font-size: 12px; display: grid; place-items: center; }
.eo-legend strong { color: var(--eo-pearl); font-weight: 500; }
kbd { font-family: var(--v3-label); font-weight: 600; font-size: 12px; letter-spacing: .08em; padding: 2px 7px; border: 1px solid var(--eo-rule-strong); border-radius: 5px; color: var(--eo-pearl); }
@media (max-width: 1080px) { .eo-man { grid-template-columns: 1fr; } .eo-man-toc { position: static; max-height: none; } .eo-legend { grid-template-columns: 1fr; } }
/* small screens: the text sits on a darker veil so the moving universe never fights the copy */
@media (max-width: 820px) {
  .eo-hero::before { background: radial-gradient(90% 40% at 50% 26%, transparent 30%, rgba(2, 3, 4, .6) 80%),
      linear-gradient(180deg, rgba(2, 3, 4, .5) 0%, transparent 14%, rgba(2, 3, 4, .55) 42%, rgba(2, 3, 4, .94) 58%, var(--eo-void) 100%); }
  .eo-hero-lead, .eo-hero-sub { text-shadow: 0 2px 18px rgba(2, 3, 4, .9); }
}
