.hero { position: relative; overflow-x: clip; padding: 34px var(--gutter) 24px; background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 46%, var(--bg) 100%); color: var(--text); text-align: center; }
.hero__aura {
  position: absolute; z-index: 0; left: 50%; top: 460px; width: 1640px; height: 560px; margin-left: -820px; pointer-events: none;
  background: radial-gradient(38% 52% at 18% 62%, var(--aura-rose), var(--transparent) 70%), radial-gradient(34% 50% at 84% 58%, var(--aura-plum), var(--transparent) 72%), radial-gradient(46% 44% at 50% 92%, var(--aura-haze), var(--transparent) 75%);
  color: var(--text); opacity: 0.72; animation: aura-breathe 16s ease-in-out infinite alternate;
}
@keyframes aura-breathe { from { opacity: 0.62; } to { opacity: 1; } }
.hero__copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; max-width: 100%; margin: 0 0 18px; padding: 4px 14px 4px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); box-shadow: var(--shadow-chip); font-size: 12.5px; line-height: 1.45; letter-spacing: 0.02em; }
.eyebrow__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-round); background: var(--accent); color: var(--on-ink); box-shadow: 0 0 0 3px var(--accent-wash), 0 0 0 6px var(--accent-wash); }
.eyebrow__latin { font-family: var(--font-display); font-size: 13px; color: var(--text); }
.hero__title { margin: 0 auto 14px; font-family: var(--font-display); font-weight: var(--weight-normal); font-size: clamp(34px, 1.2rem + 2.2vw, 46px); line-height: 1.12; letter-spacing: -0.004em; }
.hero__title em { font-style: italic; color: var(--accent-dark); padding-right: 0.08em; }
.hero__lede { max-width: 660px; margin: 0 auto 22px; font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.hero__lede strong { color: var(--text); }
.devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; min-height: 26px; margin: 0 0 26px; }
.devices__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }
.devices__item, .devices__item a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-muted); }
.devices__item a:hover { color: var(--accent); }
.devices__item svg { width: 18px; height: 18px; flex-shrink: 0; }
.devices__rule { width: 1px; height: 16px; flex-shrink: 0; background: var(--border); color: var(--text); }
.facts, .badge-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip, .badge { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; max-width: 100%; padding: 3px 11px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-chip); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.badge--accent { background: var(--accent-haze); color: var(--accent-dark); border-color: var(--accent-ring); }
.badge__dot { width: 6px; height: 6px; flex-shrink: 0; background: var(--success); color: var(--on-ink); border-radius: var(--r-round); }

.confwin { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; text-align: left; background: var(--bg-panel); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-window); overflow: hidden; }
.confwin__bar { position: relative; display: flex; align-items: center; height: 40px; padding-inline: 18px; background: var(--bg-chrome); color: var(--text); border-bottom: 1px solid var(--border-soft); }
.confwin__dots { display: flex; gap: 8px; }
.confwin__dots span { width: 11px; height: 11px; flex-shrink: 0; border-radius: var(--r-round); background: var(--dot-red); color: var(--text); }
.confwin__dots span:nth-child(2) { background: var(--dot-amber); color: var(--text); }
.confwin__dots span:nth-child(3) { background: var(--dot-green); color: var(--text); }
.confwin__title { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.01em; }
.confwin__body { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); gap: 12px; padding: 12px; }
.confwin__body > *, .confwin__sheet > *, .snips > * { min-width: 0; }
.confwin__sheet { display: grid; grid-template-rows: auto auto; gap: 10px; }
.paper { padding: 18px 24px 18px 22px; overflow-x: auto; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-paper); font-family: var(--font-mono); font-size: 13px; line-height: 24px; }
.cf-sec { color: var(--accent); white-space: pre; }
.cf-block { margin: 0 0 12px 4px; padding-left: 16px; border-left: 1px solid var(--border); }
.cf-block:last-child { margin-bottom: 0; }
.cf-line { position: relative; white-space: pre; }
.cf-line--hit { margin-left: -17px; padding-left: 16px; border-left: 1px solid var(--accent); background: linear-gradient(90deg, var(--accent-wash), var(--transparent) 70%); color: var(--text); border-radius: 0 var(--r-xs) var(--r-xs) 0; }
.cf-p { color: var(--text-muted); }
.snips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.snip { padding: 12px 16px 13px; background: var(--bg); color: var(--text); border: 1px solid var(--border-soft); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 12.5px; line-height: 22px; white-space: pre; overflow-x: auto; }
.snip .cf-sec { display: block; }
.lumen { position: relative; min-height: 300px; border-radius: var(--r-md); overflow: hidden; background: radial-gradient(70% 55% at 92% 100%, var(--accent-haze), var(--transparent) 70%), radial-gradient(60% 50% at 6% 0%, var(--accent-dark), var(--transparent) 72%), radial-gradient(55% 45% at 70% 38%, var(--accent-mist), var(--transparent) 80%), linear-gradient(168deg, var(--accent) 0%, var(--accent-mist) 54%, var(--accent-haze) 100%); color: var(--on-ink); }
.lumen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--ink-line); pointer-events: none; }
.capsule { position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 14px; border-radius: var(--r-sm); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-capsule), inset 0 0 0 1px var(--ink-line); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.005em; white-space: nowrap; }
.capsule__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-round); background: var(--accent-mist); color: var(--text); box-shadow: 0 0 0 3px var(--capsule-ring); }
.capsule__arrow { color: var(--on-ink); }
.capsule--a { top: 28px; left: 24px; }
.capsule--b { top: 104px; right: 22px; }
.capsule--c { top: 180px; left: 52px; }
.capsule--d { top: 256px; right: 44px; }
.lumen__note { position: absolute; left: 22px; bottom: 16px; font-size: 12.5px; color: var(--accent-dark); letter-spacing: 0.02em; }
.lumen__note code { font-size: 12px; }
.confwin__foot { display: flex; flex-wrap: wrap; align-items: center; min-height: 32px; padding: 6px 22px; background: var(--bg-chrome); color: var(--text-muted); border-top: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em; }
.confwin__foot .sep { padding-inline: 10px; }
.dl-entry { position: relative; background: var(--bg-panel); color: var(--text); padding-top: 112px; padding-bottom: 120px; text-align: center; }
.dl-entry h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.2; }
.dl-entry > .wrap > p { max-width: 600px; margin: 0 auto; color: var(--text-muted); }

.feature-tabs { display: grid; grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.8fr); gap: 64px; align-items: start; }
.feature-tabs > * { min-width: 0; }
.feature-index { display: flex; flex-direction: column; gap: 8px; }
.feature-index [role="tab"] { position: relative; display: block; width: 100%; padding: 14px 24px; border: 0; background: var(--transparent); color: var(--text-muted); font-family: var(--font-display); font-size: 28px; font-weight: var(--weight-normal); text-align: left; }
.feature-index [role="tab"]::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-ink); transform: scaleY(0); transition: transform var(--motion-fast); }
.feature-index [aria-selected="true"] { color: var(--accent); }
.feature-index [aria-selected="true"]::before { transform: scaleY(1); }
.feature-detail { min-width: 0; padding: 40px; border-radius: var(--r-lg); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-window); }
.feature-detail h3 { margin-top: 0; }
.feature-detail p { color: var(--text-muted); line-height: 1.9; }
.feature-detail .badge-row { justify-content: flex-start; }
.tab-strip { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.tab-strip [role="tab"] { flex-shrink: 0; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 2px solid var(--transparent); background: var(--transparent); color: var(--text-muted); }
.tab-strip [aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent); }
.toc { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 12px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-md); }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; color: var(--text-muted); border-radius: var(--r-sm); }
.toc a:hover, .toc a[aria-current] { background: var(--accent-haze); color: var(--accent-dark); }
.faq { padding: 0 24px; border: 1px solid var(--border-soft); border-radius: var(--r-lg); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-paper); }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { position: relative; min-height: 64px; padding: 20px 28px 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 17px; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { color: var(--text-muted); padding-bottom: 20px; }
.term-card { border-top: 3px solid var(--accent); }
.term-card dt { font-family: var(--font-display); font-size: 25px; }
.term-card dd { margin: 16px 0 0; color: var(--text-muted); }
.term-card .badge { margin-bottom: 16px; }
.app-store-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 10px 24px; border: 1px solid var(--transparent); border-radius: var(--r-md); background: var(--accent); color: var(--on-ink); box-shadow: var(--shadow-btn); text-decoration: none; transition: background-color var(--motion-fast); }
.app-store-button:hover { background: var(--accent-dark); color: var(--on-ink); }
.app-store-button svg { width: 24px; height: 28px; flex-shrink: 0; }
.app-store-button__text { display: grid; gap: 2px; line-height: 1.2; text-align: left; }
.app-store-button__text small { font-size: 11px; }
.app-store-button__text span { font-size: 17px; }
.official-shot { width: 100%; max-width: 280px; min-width: 0; margin: 24px auto; flex-shrink: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.official-shot { border: 1px solid var(--border); border-radius: var(--r-sm); }
.official-shot figcaption { padding-top: 12px; padding-bottom: 12px; padding-inline: 12px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.shot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px; }
.device-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; text-align: left; }
.device-card__icon { width: 40px; height: 48px; color: var(--accent); flex-shrink: 0; }
.device-card h3 { margin-bottom: 10px; }
.device-card p { color: var(--text-muted); }
.device-card__link { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.article-card { display: flex; flex-direction: column; align-items: flex-start; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; color: var(--text-muted); font-size: 12px; }
.article-card h3 { margin-bottom: 16px; }
.article-card p { color: var(--text-muted); }
.article-card__link { margin-top: auto; color: var(--accent); padding-top: 12px; }
.callout { margin: 24px 0; padding: 24px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--accent-haze); color: var(--accent-dark); }
.callout > :last-child { margin-bottom: 0; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--border); border-radius: var(--r-sm); }
.data-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; }
.data-table th, .data-table td, .prose table th, .prose table td { min-width: 7em; padding: 16px; border-bottom: 1px solid var(--border); overflow-wrap: normal; word-break: normal; vertical-align: top; }
.data-table th, .prose table th { background: var(--bg-chrome); color: var(--text); font-weight: var(--weight-medium); }
.data-table td, .prose table td { background: var(--bg-panel); color: var(--text); }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; }
.prose table code, .data-table code { overflow-wrap: anywhere; }
.dl-fab { position: fixed; z-index: 20; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); min-height: 52px; padding: 12px 18px; border: 1px solid var(--accent-ring); border-radius: var(--r-md); background: var(--accent); color: var(--on-ink); box-shadow: var(--shadow-btn); font-size: 14px; }
.dl-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.article-store-card { margin-top: 48px; padding: 32px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-paper); }
.article-store-card h2 { margin-top: 0; font-size: 26px; }
.article-store-card p { color: var(--text-muted); }
.has-article-fab { padding-bottom: 88px; }
.has-article-fab .dl-fab,
.has-article-fab .entry-body :is(.sec-compare__item, .sec-compare__scene, .sec-faq__item, .sec-flow span) {
  background: var(--bg-panel);
  color: var(--text);
  border-color: var(--border);
}

.preview-section-title { margin-top: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.swatch { min-width: 0; padding: 10px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; }
.swatch::before { content: ""; display: block; height: 56px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--r-xs); background: var(--sample); color: var(--text); }
.swatch--bg { --sample: var(--bg); }
.swatch--bg-top { --sample: var(--bg-top); }
.swatch--panel { --sample: var(--bg-panel); }
.swatch--panel2 { --sample: var(--bg-panel-2); }
.swatch--chrome { --sample: var(--bg-chrome); }
.swatch--border { --sample: var(--border); }
.swatch--soft { --sample: var(--border-soft); }
.swatch--accent { --sample: var(--accent); }
.swatch--dark { --sample: var(--accent-dark); }
.swatch--mist { --sample: var(--accent-mist); }
.swatch--haze { --sample: var(--accent-haze); }
.swatch--wash { --sample: var(--accent-wash); }
.swatch--ring { --sample: var(--accent-ring); }
.swatch--text { --sample: var(--text); }
.swatch--muted { --sample: var(--text-muted); }
.swatch--faint { --sample: var(--text-faint); }
.swatch--ink { --sample: var(--ink); }
.swatch--ink-line { --sample: var(--ink-line); }
.swatch--on-ink { --sample: var(--on-ink); }
.swatch--on-muted { --sample: var(--on-ink-muted); }
.swatch--success { --sample: var(--success); }
.swatch--warn { --sample: var(--warn); }
.swatch--error { --sample: var(--error); }
.swatch--red { --sample: var(--dot-red); }
.swatch--amber { --sample: var(--dot-amber); }
.swatch--green { --sample: var(--dot-green); }
.swatch--plum { --sample: var(--aura-plum); }
.swatch--rose { --sample: var(--aura-rose); }
.swatch--aura { --sample: var(--aura-haze); }
.swatch--capsule { --sample: var(--capsule-ring); }
.swatch--veil { --sample: var(--veil); }
.swatch--transparent { --sample: var(--transparent); }
.shot-placeholder { aspect-ratio: 750 / 1334; display: grid; place-content: center; padding: 24px; text-align: center; border-radius: var(--r-sm); background: linear-gradient(160deg, var(--bg-panel-2), var(--accent-haze)); color: var(--accent-dark); }
.preview-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.preview-focused { outline: 2px solid var(--accent); outline-offset: 3px; }
.preview-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__title { font-size: clamp(24px, 6.4vw, 30px); }
  .hero__lede { font-size: 15px; }
  .hero .actions { flex-direction: column; gap: 10px; }
  .hero .btn { width: 100%; max-width: 320px; }
  .devices { gap: 12px; }
  .devices__list { gap: 14px; }
  .devices__rule { display: none; }
  .confwin__body { grid-template-columns: minmax(0, 1fr); }
  .snips { grid-template-columns: minmax(0, 1fr); }
  .paper { padding: 16px 18px; font-size: 12px; }
  .lumen { min-height: 330px; }
  .confwin__foot { font-size: 10.5px; padding-inline: 14px; }
  .confwin__foot .sep { padding-inline: 6px; }
  .feature-tabs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature-index { flex-direction: row; overflow-x: auto; gap: 20px; }
  .feature-index [role="tab"] { flex-shrink: 0; width: auto; font-size: 22px; padding: 10px 2px 16px; white-space: nowrap; }
  .feature-index [role="tab"]::before { inset: auto 0 0; height: 3px; width: auto; transform: scaleX(0); }
  .feature-index [aria-selected="true"]::before { transform: scaleX(1); }
}
@media (max-width: 560px) {
  .capsule { font-size: 12px; height: 34px; gap: 8px; padding-inline: 12px; }
  .capsule--a { left: 14px; }
  .capsule--b { right: 14px; }
  .capsule--c { left: 20px; }
  .capsule--d { right: 18px; }
  .confwin__dots { gap: 5px; }
  .confwin__dots span { width: 7px; height: 7px; }
  .confwin__title { font-size: 11px; }
  .feature-detail { padding: 24px; }
  .shot-row { flex-direction: column; align-items: center; }
  .facts, .badge-row { flex-direction: row; flex-wrap: wrap; }
  .article-store-card { padding: 24px; }
  .dl-entry { padding-top: 72px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__aura { animation: none; opacity: 0.85; }
}