/* AerOne Studio — site styles
   Tokens come from the aerOne FD Pro desktop theme (AerOneTheme.axaml):
   action orange #FF8A2B, amber #FFB36B, success #3FD27F, text #EEF1F4.
   Electric blue is the colour the app uses for live/target values. */

@font-face { font-family: "Rajdhani"; font-weight: 400; font-display: swap; src: url("/assets/fonts/rajdhani-regular.woff") format("woff"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("/assets/fonts/rajdhani-medium.woff") format("woff"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("/assets/fonts/rajdhani-semibold.woff") format("woff"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("/assets/fonts/rajdhani-bold.woff") format("woff"); }

:root {
  --night: #04070c;
  --deck: #08101b;
  --panel: #0e1724;
  --panel-2: #142032;
  --rule: #1e2b3e;
  --rule-strong: #2c3d55;
  --text: #ecf0f4;
  --muted: #9aa6b4;
  --dim: #6f7c8c;
  --orange: #ff8a2b;
  --amber: #ffb36b;
  --blue: #4db3ff;
  --green: #3fd27f;
  --metal: linear-gradient(180deg, #2a3442 0%, #1a222d 48%, #121820 100%);

  --display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.6vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 68px;
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--text); font: 400 var(--step-0)/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
ul { padding-left: 1.1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #120800; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #120800; padding: 10px 16px; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rule-strong); background: rgba(20, 32, 50, .6); color: var(--text); font: 600 1.05rem/1 var(--display); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--muted); color: #fff; background: rgba(30, 46, 70, .8); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #160900; box-shadow: 0 8px 30px -10px rgba(255, 138, 43, .7); }
.btn-primary:hover { background: #ff9c49; border-color: #ff9c49; color: #160900; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, body.subpage .site-header { background: rgba(4, 7, 12, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--rule); }
.bar { height: 100%; width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 1.35rem/1 var(--display); letter-spacing: .01em; flex-shrink: 0; }
.brand img { width: 40px; height: auto; }
.brand b { font-weight: 700; color: var(--orange); }
.primary { margin-left: auto; }
.primary ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary a { display: block; padding: 10px 12px; color: var(--muted); text-decoration: none; font: 600 1.05rem/1 var(--display); letter-spacing: .02em; border-radius: var(--radius-s); position: relative; }
.primary a:hover { color: var(--text); }
.primary a[aria-current="page"] { color: var(--text); }
.primary a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav-cta { min-height: 40px; padding: 0 18px; }
.nav-cta-mobile, .menu-toggle { display: none; }
.menu-toggle { margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--rule-strong); border-radius: var(--radius-s); background: transparent; color: var(--text); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s var(--ease), opacity .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .primary { position: fixed; inset: var(--header-h) 0 auto; background: rgba(4, 7, 12, .97); border-bottom: 1px solid var(--rule); padding: 12px var(--gutter) 24px; display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .primary.open { display: block; }
  .primary ul { flex-direction: column; gap: 0; }
  .primary a { padding: 16px 4px; font-size: 1.3rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .primary a[aria-current="page"]::after { left: 4px; right: auto; width: 24px; bottom: 8px; }
  .nav-cta-mobile { display: block; margin-top: 20px; }
  .nav-cta-mobile a { border: 0; width: 100%; padding: 0; color: #160900; }
  .site-header:has(.primary.open) { background: rgba(4, 7, 12, .97); }
}

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 6vh, 80px)) 0 0; overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 auto; height: min(100vh, 980px); z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; opacity: .34; filter: saturate(.85); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(4, 7, 12, .2), var(--night) 92%), linear-gradient(180deg, rgba(4, 7, 12, .5), rgba(4, 7, 12, 0) 30%, var(--night) 96%); }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: 52vh; width: 120vw; height: 60vh; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255, 138, 43, .16), transparent 70%); pointer-events: none; }
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero-logo { width: clamp(120px, 11vw, 168px); margin-bottom: clamp(14px, 2.5vh, 28px); }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 52ch; margin-inline: auto; }
.hero .btn-row { justify-content: center; margin-top: 10px; }
.hero-stage { perspective: 1800px; margin-top: clamp(32px, 5vh, 64px); padding-bottom: clamp(48px, 10vh, 120px); }
.monitor { --p: 0; width: min(100% - 2 * var(--gutter), 1500px); margin-inline: auto; transform-origin: 50% 0; transform: rotateX(calc(26deg * (1 - var(--p)))) scale(calc(.9 + .1 * var(--p))) translateY(calc(-30px * (1 - var(--p)))); transition: transform .1s linear; will-change: transform; }
.monitor-frame { position: relative; border-radius: 14px; padding: 10px; background: var(--metal); box-shadow: 0 0 0 1px #33404f inset, 0 1px 0 rgba(255, 255, 255, .08) inset, 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(255, 138, 43, calc(.25 * var(--p))); }
.monitor-frame img { border-radius: 6px; width: 100%; }
.hero-caption { text-align: center; color: var(--dim); font-size: var(--step--1); margin: 18px auto 0; padding-inline: var(--gutter); }

/* Hotspots */
.hotspots { position: absolute; inset: 10px; pointer-events: none; }
.hotspot { position: absolute; pointer-events: auto; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.hotspot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 43, .3); }
@media (prefers-reduced-motion: no-preference) { .hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2.4s var(--ease) infinite; } }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.3); opacity: 0; } }
.hotspot-tip { position: absolute; z-index: 3; width: max-content; max-width: 260px; padding: 12px 14px; border-radius: var(--radius); background: rgba(10, 17, 28, .95); border: 1px solid var(--rule-strong); color: var(--text); font-size: .95rem; line-height: 1.45; box-shadow: 0 20px 50px -20px #000; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease); }
.hotspot-tip strong { display: block; font: 700 1.1rem/1.2 var(--display); color: var(--amber); margin-bottom: 2px; }
.hotspot-tip.show { opacity: 1; transform: none; }
@media (max-width: 760px) { .hotspots { display: none; } }

/* Section scaffolding */
.section { padding: clamp(72px, 12vh, 150px) 0; position: relative; }
.section-alt { background: var(--deck); border-block: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 6vh, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.kicker { font: 600 1rem/1 var(--display); color: var(--orange); letter-spacing: .04em; margin-bottom: 14px; display: block; }

/* Statement */
.statement { font: 600 var(--step-3)/1.12 var(--display); max-width: 22ch; color: var(--text); margin: 0; }
.statement-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement-wrap .lead { margin: 0; }
@media (max-width: 900px) { .statement-wrap { grid-template-columns: 1fr; } }

/* Tour (pinned walkthrough) */
.tour { position: relative; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 64px); width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }
.tour-stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 12px 0 24px; }
.tour-rail { display: flex; gap: 6px; flex-wrap: wrap; }
.tour-rail a { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--dim); text-decoration: none; font: 600 .95rem/1 var(--display); letter-spacing: .03em; transition: color .3s, border-color .3s, background .3s; }
.tour-rail a span { font-size: .8rem; padding: 4px 6px; border-radius: 4px; background: var(--panel-2); color: var(--muted); }
.tour-rail a.active { color: var(--text); border-color: rgba(255, 138, 43, .6); background: rgba(255, 138, 43, .08); }
.tour-rail a.active span { background: var(--orange); color: #160900; }
.tour-screen { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: calc(100vh - var(--header-h) - 110px); border-radius: 16px; background: var(--metal); padding: 9px; box-shadow: 0 0 0 1px #33404f inset, 0 50px 100px -50px #000, 0 0 100px -40px rgba(255, 138, 43, .25); }
.tour-screen-inner { position: relative; height: 100%; border-radius: 8px; overflow: hidden; background: #06090e; }
.tour-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.tour-shot img { width: 100%; height: 100%; object-fit: contain; object-position: var(--pos, 50% 50%); }
.tour-shot.cover img { object-fit: cover; }
.tour-shot.active { opacity: 1; transform: scale(1); }
.tour-progress { position: absolute; left: 9px; right: 9px; bottom: 9px; height: 3px; border-radius: 0 0 8px 8px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.tour-progress i { display: block; height: 100%; width: calc(var(--tp, 0) * 100%); background: linear-gradient(90deg, var(--orange), var(--amber)); transition: width .2s linear; }
.tour-steps { padding: 18vh 0 30vh; }
.tour-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.tour-step.active { opacity: 1; }
.tour-step .fk { font: 700 .95rem/1 var(--display); color: var(--orange); letter-spacing: .04em; margin-bottom: 14px; }
.tour-step h3 { font-size: var(--step-2); margin-bottom: .45em; }
.tour-step p { color: var(--muted); }
.tour-step ul { color: var(--muted); padding-left: 0; list-style: none; margin: 4px 0 0; }
.tour-step li { padding: 9px 0 9px 22px; border-top: 1px solid var(--rule); position: relative; }
.tour-step li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
.tour-step .inline-shot { display: none; }
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .tour-steps { padding: 0; }
  .tour-step { min-height: 0; opacity: 1; padding: 0 0 64px; }
  .tour-step .inline-shot { display: block; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-strong); background: #06090e; }
  .tour-step .inline-shot img { width: 100%; }
}

/* Panels compare */
.panel-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; color: var(--muted); font: 600 1.05rem/1 var(--display); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--night); border-color: var(--text); }
.compare { position: relative; --pos: 50%; border-radius: var(--radius-l); overflow: hidden; background: #0b0f15; border: 1px solid var(--rule-strong); aspect-ratio: 16 / 9; user-select: none; touch-action: pan-y; }
.compare figure { position: absolute; inset: 0; margin: 0; }
.compare figure img { width: 100%; height: 100%; object-fit: contain; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); background: #0b0f15; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--orange); pointer-events: none; }
.compare-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #160900; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-labels { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font: 600 1rem/1 var(--display); }
.compare:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 4px; }

/* Horizontal showcase */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 760px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-color: var(--rule-strong) transparent; overscroll-behavior-x: contain; }
.reel-item { scroll-snap-align: center; margin: 0; }
.reel-item button { display: block; width: 100%; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; background: #06090e; cursor: zoom-in; aspect-ratio: 16 / 10; }
.reel-item button img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.reel-item button:hover img { transform: scale(1.025); }
.reel-item figcaption { padding: 14px 2px 0; color: var(--muted); }
.reel-item figcaption strong { display: block; color: var(--text); font: 700 1.25rem/1.2 var(--display); }
.reel-controls { display: flex; gap: 8px; justify-content: flex-end; }
.reel-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.reel-controls button:hover { border-color: var(--muted); }

/* Companion */
.companion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.phone { width: min(340px, 78vw); margin-inline: auto; padding: 12px; border-radius: 46px; background: var(--metal); box-shadow: 0 0 0 1px #3a4757 inset, 0 1px 0 rgba(255, 255, 255, .1) inset, 0 60px 120px -50px #000, 0 0 120px -50px rgba(77, 179, 255, .35); }
.phone img { border-radius: 36px; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; }
.check-list li { padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.check-list strong { font-family: var(--display); font-size: 1.15rem; display: block; }
.page-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.page-pills li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule-strong); font: 600 .95rem/1 var(--display); color: var(--muted); }
@media (max-width: 900px) { .companion { grid-template-columns: 1fr; } }

/* Aircraft table */
.aircraft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
.aircraft { background: var(--panel); padding: 28px 24px; }
.aircraft h3 { font-size: 1.7rem; margin-bottom: .2em; }
.aircraft .maker { color: var(--orange); font: 600 1rem/1 var(--display); display: block; margin-bottom: 10px; }
.aircraft p { color: var(--muted); font-size: .98rem; margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .97rem; }
caption { text-align: left; padding: 16px 18px; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--rule); font-size: var(--step--1); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font: 700 1.05rem/1.2 var(--display); background: var(--panel-2); position: sticky; top: 0; }
tbody th { font: 600 1.05rem/1.3 var(--display); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
.s { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; }
.s::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.s-yes::before { background: var(--green); }
.s-partial::before { background: var(--amber); }
.s-exp::before { background: var(--blue); }
.s-no::before { background: transparent; border: 1.5px solid var(--dim); }
.s-no { color: var(--dim); font-weight: 400; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 18px; color: var(--muted); font-size: var(--step--1); }

/* Edition */
.edition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--rule-strong); background: var(--panel); }
.edition-art { position: relative; min-height: 360px; display: grid; place-items: center; padding: 40px; background: radial-gradient(70% 70% at 50% 40%, rgba(255, 138, 43, .18), transparent 70%), var(--deck); }
.edition-art img.logo { width: min(320px, 80%); }
.edition-body { padding: clamp(28px, 4vw, 56px); }
.edition-body h2 { font-size: var(--step-2); }
.price-note { display: inline-block; padding: 8px 14px; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--rule-strong); color: var(--amber); font: 600 1.05rem/1.2 var(--display); margin-bottom: 18px; }
@media (max-width: 860px) { .edition { grid-template-columns: 1fr; } .edition-art { min-height: 220px; } }

/* Stores */
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.store { padding: 24px; border-radius: var(--radius); border: 1px solid var(--rule-strong); background: var(--panel); }
.store h3 { margin-bottom: .3em; }
.notice { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--rule-strong); border-left: 3px solid var(--amber); background: var(--panel); }
.notice p:last-child { margin-bottom: 0; }

/* Subpages */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 10vh, 110px)) 0 clamp(36px, 6vh, 64px); border-bottom: 1px solid var(--rule); background: radial-gradient(60% 120% at 85% 0%, rgba(255, 138, 43, .1), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(77, 179, 255, .07), transparent 60%); }
.page-hero h1 { font-size: var(--step-3); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.prose ol, .prose ul { color: var(--text); }
.prose p, .prose li { color: #c9d1da; }
.prose code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; }
.two-col { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 7px 0 7px 16px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--orange); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .toc { position: static; } .toc ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; } .toc a { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 12px; margin: 0; } }

/* Feature directory */
.dir-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.dir-index a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--text); text-decoration: none; font: 600 1rem/1 var(--display); }
.dir-index a span { font-size: .8rem; padding: 4px 6px; border-radius: 4px; background: var(--panel-2); color: var(--amber); }
.dir-index a:hover { border-color: var(--orange); }
.dir-cat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px) clamp(32px, 5vw, 80px); padding: clamp(56px, 9vh, 110px) 0; border-bottom: 1px solid var(--rule); }
.dir-head { grid-column: 1 / -1; display: flex; gap: 22px; align-items: flex-start; }
.fkey { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--metal); box-shadow: 0 0 0 1px #3a4757 inset, 0 2px 0 rgba(255, 255, 255, .08) inset, 0 6px 0 #0a0f16; font: 700 1.35rem/1 var(--display); color: var(--orange); }
.dir-group { font: 600 1rem/1 var(--display); color: var(--muted); margin: 6px 0 10px; }
.dir-head h2 { font-size: var(--step-2); }
.dir-head .lead { margin: 0; }
.dir-shot { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; background: #06090e; cursor: zoom-in; }
.dir-shot img { width: 100%; }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat { padding: 20px 0; border-top: 1px solid var(--rule); }
.feat:first-child { border-top: 0; padding-top: 0; }
.feat h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: .35em; }
.feat p { color: #c4ccd5; margin-bottom: .4em; }
.feat .feat-where { color: var(--dim); font-size: var(--step--1); margin: 0; }
.badge { font: 600 .8rem/1 var(--body); padding: 5px 8px; border-radius: 4px; letter-spacing: .01em; }
.badge-partial { background: rgba(255, 179, 107, .12); color: var(--amber); border: 1px solid rgba(255, 179, 107, .35); }
.badge-exp { background: rgba(77, 179, 255, .1); color: var(--blue); border: 1px solid rgba(77, 179, 255, .35); }
@media (max-width: 960px) { .dir-cat { grid-template-columns: 1fr; } .dir-shot { position: static; } }

/* Gallery grid (subpages) */
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.shot-grid figure { margin: 0; }
.shot-grid button { display: block; width: 100%; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; background: #06090e; cursor: zoom-in; }
.shot-grid figcaption { color: var(--muted); padding-top: 10px; font-size: .97rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.25rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--body); color: var(--orange); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #c4ccd5; }

/* Steps (docs) */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 26px 58px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--rule-strong); color: var(--orange); font: 700 1.15rem/1 var(--display); }
.steps > li::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 6px; width: 1px; background: var(--rule-strong); }
.steps > li:last-child::after { display: none; }
.steps strong { font-family: var(--display); font-size: 1.2rem; display: block; color: var(--text); }

/* Timeline */
.release { border-left: 2px solid var(--rule-strong); padding: 0 0 8px 28px; position: relative; }
.release::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 138, 43, .18); }
.release h2 { font-size: var(--step-2); margin-top: 0 !important; }

/* CTA band */
.cta-band { text-align: center; padding: clamp(80px, 14vh, 160px) 0; background: radial-gradient(60% 80% at 50% 100%, rgba(255, 138, 43, .14), transparent 70%); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: #03060a; padding: 64px 0 28px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { width: 130px; margin-bottom: 14px; }
.site-footer h2 { font-size: 1.05rem; color: var(--text); margin-bottom: 12px; letter-spacing: .03em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--dim); }
.footer-base p { max-width: none; margin-bottom: 6px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; color: var(--text); }
.lightbox::backdrop { background: rgba(2, 4, 8, .92); backdrop-filter: blur(6px); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; border: 1px solid var(--rule-strong); }
.lightbox-caption { text-align: center; color: var(--muted); margin: 12px auto 0; font-size: .95rem; }
.lightbox-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule-strong); background: rgba(10, 17, 28, .9); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.zoomable { cursor: zoom-in; }

/* Reveal — one orchestrated entrance per section heading */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-copy > * { animation: rise 1.1s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .js .hero-stage { animation: rise 1.4s .4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .monitor { transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Portrait phone capture in the feature directory */
.dir-shot:has(img[src*="webui-pairing"]) { max-width: 340px; justify-self: center; border-radius: 40px; padding: 10px; background: var(--metal); }
.dir-shot:has(img[src*="webui-pairing"]) img { border-radius: 30px; }
