:root {
  color-scheme: dark;
  --bg: #050b19;
  --panel: #0a1428;
  --text: #f1f5ff;
  --muted: #a8b8d0;
  --blue: #68dbff;
  --line: #213450;
  --gutter: clamp(18px, 5vw, 72px);
  --section: clamp(58px, 8vw, 104px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .24em; }
a:hover { color: #b2eeff; }
:focus-visible { outline: 2px solid #93e7ff; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); letter-spacing: -.065em; font-weight: 740; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
p { color: var(--muted); }
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; transform: translateY(-180%); background: var(--text); color: var(--bg); padding: 10px 18px; }
.skip:focus { transform: none; }

.site-header { background: #060d1d; border-bottom: 1px solid #1b2a43; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 740; font-size: 1.25rem; letter-spacing: -.05em; white-space: nowrap; }
.brand img { border-radius: 24%; border: 1px solid #2a476e; }
.site-header nav, .site-footer nav { display: flex; gap: clamp(12px, 3vw, 35px); align-items: center; }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:hover, .site-footer nav a:hover, .site-header nav a[aria-current] { color: var(--text); }
.header-cta { border: 1px solid #2a476e; color: var(--text); padding: 9px 15px; border-radius: 9px; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta span { margin-left: 4px; color: var(--blue); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 79% 45%, #0c2856 0%, #071329 41%, transparent 73%); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 120%; height: 340px; left: -14%; top: 39%; border: 1px solid #147ad94d; border-radius: 50%; box-shadow: 0 -2px 24px #0f63bc22; transform: rotate(-15deg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 572px; padding-block: 24px; }
.hero-copy { z-index: 1; padding-block: 32px; }
.eyebrow { color: var(--blue); font-size: .73rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.hero .eyebrow { display: inline-flex; gap: 9px; align-items: center; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px #18abff; }
.hero h1 { font-size: clamp(3.05rem, 6.15vw, 5.65rem); letter-spacing: -.066em; word-spacing: .035em; line-height: 1; font-weight: 790; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { margin: 24px 0 28px; max-width: 42ch; font-size: clamp(1rem, 1.65vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55em; min-height: 48px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; font-size: .87rem; font-weight: 750; text-decoration: none; }
.button-primary { background: #65dbff; color: #061126; }
a.button-primary:hover { background: #a2ebff; color: #061126; }
.release-state { background: #0d2744; border-color: #245479; color: #9be7ff; }
.button-secondary { background: #0c1830; border-color: #304764; color: var(--text); }
.button-secondary:hover { background: #132b4d; color: var(--text); }
.release-note { font-size: .82rem; margin-top: 10px; }
.hero-art { position: relative; margin: 0 -8% 0 -2%; }
.hero-art img { width: min(100%, 510px); margin: auto; mask-image: radial-gradient(ellipse 70% 69% at 48% 48%, #000 52%, transparent 84%), linear-gradient(90deg, transparent, #000 8% 92%, transparent); mask-composite: intersect; }

.quick-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: #0a1529; border: 1px solid var(--line); border-radius: 15px; }
.quick-nav a { min-width: 0; padding: 18px 12px; text-decoration: none; color: #d7e5f9; display: flex; justify-content: center; align-items: center; gap: 11px; font-weight: 650; font-size: .88rem; }
.quick-nav a + a { border-inline-start: 1px solid var(--line); }
.quick-nav a:hover { color: var(--blue); }
.quick-icon, .feature-icon { color: var(--blue); width: 18px; height: 18px; flex: 0 0 auto; display: inline-grid; place-items: center; line-height: 1; }
.feature-icon { margin-bottom: 19px; width: 24px; height: 24px; }
.ring { border: 2px solid #386c9f; border-right-color: var(--blue); border-top-color: var(--blue); border-radius: 50%; transform: rotate(-20deg); }
.calendar-icon { border: 1.5px solid currentColor; border-top-width: 5px; border-radius: 4px; }
.check-icon { border: 1.5px solid currentColor; border-radius: 5px; font-size: .75rem; }
.repeat-icon { font-size: 1.8rem; }
.watch-icon { border: 1.5px solid currentColor; border-radius: 5px; width: 15px; position: relative; }
.watch-icon::before, .watch-icon::after { content: ""; position: absolute; width: 7px; height: 3px; background: currentColor; border-radius: 2px; }
.watch-icon::before { top: -4px; }
.watch-icon::after { bottom: -4px; }

.section-heading { max-width: 680px; margin-bottom: 34px; }
.section-heading > p:last-child { margin-top: 14px; font-size: 1.08rem; max-width: 55ch; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.feature { min-width: 0; border: 1px solid var(--line); border-radius: 15px; padding: 24px; background: linear-gradient(150deg, #0d1c34, #091225 78%); }
.feature p { margin-top: 11px; font-size: .93rem; }
.gallery-band { background: #080f20; border-block: 1px solid #1c2c47; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); }
.shot { display: block; overflow: hidden; background: #0c1a30; border: 1px solid var(--line); border-radius: 13px; color: var(--text); text-decoration: none; }
.shot:hover { border-color: #6392bd; color: var(--text); }
.shot img { width: 100%; background: #081328; }
.shot > span { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; font-size: .88rem; font-weight: 700; gap: 6px; }
.shot > span span { color: var(--blue); }

.showpiece { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 88px); align-items: center; }
.showpiece + .showpiece { border-top: 1px solid var(--line); }
.showpiece h2 + p { margin-top: 16px; font-size: 1.08rem; max-width: 46ch; }
.device-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(ellipse at 50% 44%, #102e60, #081325 65%); text-align: center; }
.device-panel a { display: block; }
.device-panel img { width: min(100%, 275px); margin-inline: auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.showpiece .text-link { margin-top: 20px; }
.appearance-list { margin: 20px 0 0; }
.appearance-list div { border-top: 1px solid var(--line); padding-block: 13px; }
.appearance-list dt { font-weight: 750; }
.appearance-list dd { margin: 3px 0 0; color: var(--muted); }
.appearance-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 510px; }

.faq-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; min-height: 48px; padding: 15px 35px 15px 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 12px; color: var(--blue); font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 16px 0; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 80% 0%, #15305d, #0c182d 68%); margin-bottom: var(--section); }
.closing h2 { font-size: clamp(1.7rem, 3.2vw, 2.65rem); }
.closing p { margin-top: 9px; }
.closing .button { flex: 0 0 auto; }
.site-footer { border-top: 1px solid #1c2c47; background: #060d1d; }
.footer-inner { min-height: 96px; }

.page-intro { padding-block: clamp(54px, 8vw, 110px) 38px; background: radial-gradient(ellipse at 72% 0%, #102751 0%, transparent 69%); }
.page-intro h1 { font-size: clamp(2.9rem, 7.3vw, 5.5rem); letter-spacing: -.075em; }
.page-intro p:last-child { margin-top: 17px; max-width: 57ch; font-size: 1.12rem; }
.reference-layout { display: grid; grid-template-columns: minmax(155px, 220px) minmax(0, 760px); gap: clamp(20px, 6vw, 80px); padding-block: 24px var(--section); }
.contents { align-self: start; padding: 17px 19px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.contents > p { color: var(--text); font-weight: 700; margin-bottom: 6px; }
.contents a { display: block; padding-block: 6px; font-size: .92rem; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.prose section { border-top: 1px solid var(--line); padding: 27px 0; }
.prose h2 { font-size: clamp(1.55rem, 4vw, 2.22rem); letter-spacing: -.045em; text-wrap: initial; }
.prose p, .prose ul, .prose ol, .prose .questions, .prose pre { margin-block: 12px 0; }
.prose ul, .prose ol { padding-inline-start: 22px; color: var(--muted); }
.prose li + li { margin-top: 5px; }
.prose strong { color: var(--text); }
.prose pre { white-space: pre-wrap; color: #c4d8f4; background: #0a1529; border: 1px solid var(--line); padding: 15px; border-radius: 10px; font: .9rem/1.6 ui-monospace, monospace; }
.draft-note { margin-top: 18px; display: inline-block; background: #102543; border: 1px solid #294e76; color: #b5d9fa; font-weight: 650; padding: 6px 11px; border-radius: 6px; font-size: .84rem; }

@media (max-width: 1000px) {
  .hero-grid { min-height: 490px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; flex-wrap: wrap; column-gap: 8px; row-gap: 0; padding-top: 9px; }
  .site-header nav { order: 3; flex: 1 0 100%; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 22px 7px; }
  .hero-copy { padding-block: 22px 0; }
  .hero h1 { font-size: clamp(3rem, 10.2vw, 5.3rem); }
  .hero-art { margin: 6px auto 0; width: min(100%, 465px); }
  .hero-art img { mask-image: radial-gradient(ellipse 74% 72% at 48% 48%, #000 51%, transparent 85%), linear-gradient(90deg, transparent, #000 8% 92%, transparent); }
  .quick-nav { grid-template-columns: repeat(2, 1fr); }
  .quick-nav a { justify-content: flex-start; }
  .quick-nav a:nth-child(3) { border-inline-start: 0; }
  .quick-nav a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showpiece, .faq-layout, .reference-layout { grid-template-columns: 1fr; }
  .showpiece > figure { order: 2; }
  .faq-layout .section-heading { margin-bottom: 0; }
  .closing { align-items: flex-start; flex-direction: column; }
  .footer-inner { gap: 10px; flex-wrap: wrap; padding-block: 16px; min-height: 0; }
}

@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 19px; }
  .quick-nav a { font-size: .79rem; gap: 8px; }
}
