/* Approved static Bento composition. The screen is abstract decoration, not an application screenshot. */
.hero { padding-top: 24px; padding-bottom: 56px; overflow-x: clip; }
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 16px; }
.bento__left { display: grid; grid-template-rows: 480px 184px; gap: 16px; }
.bento__sub { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.cell { position: relative; border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.cell--main {
  padding: 40px 44px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--bg-panel) 72%, var(--bg)) 0%, var(--bg) 72%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tag { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; padding: 3px 12px 3px 10px; font-size: 13px; color: var(--text-muted); border: 1px solid var(--line-soft); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--bg-panel) 60%, transparent); max-width: 100%; }
.tag b { font-weight: var(--weight-medium); color: var(--text); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--mint); flex-shrink: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 22%, transparent), 0 0 10px color-mix(in srgb, var(--mint) 60%, transparent); }
.h1 { margin: 24px 0 0; font-weight: var(--weight-normal); font-size: clamp(34px, calc(1rem + 2.15vw), 48px); line-height: 1.15; letter-spacing: var(--tracking-heading); width: fit-content; background: var(--h1-grad); color: transparent; -webkit-background-clip: text; background-clip: text; }
.lede { margin: 18px 0 0; max-width: 600px; font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.lede strong { color: var(--text); }
.chips, .fact-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chip, .badge, .fact-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  overflow-wrap: anywhere;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: var(--radius-pill); background: var(--c, var(--mint)); flex-shrink: 0; }
.c-mint { --c: var(--mint); }
.c-rose { --c: var(--rose); }
.c-violet { --c: var(--accent); }
.badge--success { color: var(--mint); border-color: color-mix(in srgb, var(--mint) 40%, var(--border)); }
.badge--warning { color: var(--warn); border-color: color-mix(in srgb, var(--rose) 40%, var(--border)); }
.badge--accent { color: var(--lavender); border-color: var(--accent); }
.cell--devices { padding: 20px 22px; background: var(--bg-panel); color: var(--text); }
.cell__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cell__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: lowercase; color: var(--text-muted); }
.cell__label b { font-family: var(--font-body); font-weight: var(--weight-medium); font-size: 13px; letter-spacing: 0; color: var(--text); margin-left: 8px; text-transform: none; }
.pill-store { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px; font-size: 12.5px; font-weight: var(--weight-medium); color: var(--text); border: 1px solid var(--line-white); border-radius: var(--radius-pill); text-decoration: none; }
.devices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.devices a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; color: var(--text); text-decoration: none; }
.devices .ico { width: 100%; height: 50px; display: grid; place-items: center; border-radius: var(--radius-btn); border: 1px solid var(--line-white-faint); background: color-mix(in srgb, var(--bg) 45%, transparent); color: var(--text); }
.devices a:hover .ico { border-color: var(--accent); }
.devices svg { width: 28px; height: 28px; }
.cell__note { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); text-align: center; }
.cell--verify { padding: 20px; background: var(--bg-panel-2); color: var(--text); }
.kv { margin: 16px 0 0; display: grid; gap: 10px; }
.kv div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.kv dt { font-size: 12px; color: var(--text-muted); }
.kv dd { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.kv dd.mono { font-size: 12.5px; color: var(--mint); }
.cell--stage { height: 680px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 70% at 100% 100%, color-mix(in srgb, var(--accent-dark) 16%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 60%, var(--bg-deep)) 0%, var(--bg-deep) 100%); color: var(--text); }
.halftone { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ht-dot { fill: var(--mask-on); }
.st-rose { stop-color: var(--rose); }
.st-violet { stop-color: var(--accent); }
.ht-band { fill: var(--mint); }
.canvas { position: absolute; width: 613px; height: 680px; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--stage-scale, 1)); z-index: 1; }
.glow { position: absolute; left: 300px; top: 150px; width: 380px; height: 380px; border-radius: var(--radius-pill); background: radial-gradient(closest-side, color-mix(in srgb, var(--mint) 40%, transparent), transparent); color: var(--text); z-index: 1; }
.phone { position: absolute; left: 192px; top: 84px; width: 252px; height: 516px; padding: 9px; border-radius: var(--radius-device); background: var(--device-body); color: var(--text); border: 2px solid var(--mint); box-shadow: var(--shadow-device); z-index: 2; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-screen); background: linear-gradient(168deg, color-mix(in srgb, var(--mint) 34%, var(--bg-panel)) 0%, var(--bg-panel) 34%, color-mix(in srgb, var(--accent-dark) 48%, var(--bg)) 72%, color-mix(in srgb, var(--accent) 80%, var(--rose)) 100%); color: var(--text); }
.screen::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, color-mix(in srgb, var(--white) 30%, transparent) 1px, transparent 1.6px); background-size: 9px 9px; mask-image: linear-gradient(180deg, transparent 10%, var(--white) 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 10%, var(--white) 60%, transparent 100%); opacity: .55; }
.sband { position: absolute; left: -12%; width: 124%; border-radius: var(--radius-pill); filter: blur(8px); }
.sband--1 { top: 20%; height: 16px; background: color-mix(in srgb, var(--mint) 55%, transparent); }
.sband--2 { top: 46%; height: 10px; background: color-mix(in srgb, var(--lavender) 40%, transparent); }
.sband--3 { top: 68%; height: 22px; background: color-mix(in srgb, var(--rose) 40%, transparent); }
.fcard { position: absolute; z-index: 4; border-radius: var(--radius-card); border: 1px solid var(--line-white); box-shadow: var(--shadow-float); }
.fcard--routing { left: 22px; top: 66px; width: 226px; background: var(--card-light); color: var(--card-ink); border-color: color-mix(in srgb, var(--white) 80%, transparent); box-shadow: var(--shadow-float-light); }
.fcard__title { padding: 13px 16px 10px; font-size: 13px; font-weight: var(--weight-strong); letter-spacing: -.01em; }
.glist { margin: 0 10px 10px; padding: 0; list-style: none; background: var(--white); color: var(--card-ink); border: 1px solid var(--card-light-line); border-radius: var(--radius-btn); overflow: hidden; }
.glist li { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; font-size: 13.5px; }
.glist li + li { border-top: 1px solid var(--card-light-line); }
.glist .is-on { background: color-mix(in srgb, var(--accent) 7%, var(--white)); color: var(--card-ink); }
.glist .check { color: var(--accent-dark); }
.glist .chev { color: var(--card-ink-muted); }
.fcard--rules { right: 18px; top: 318px; width: 296px; background: var(--glass); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fcard__bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line-white-faint); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.rules { margin: 0; padding: 10px 14px 12px; border: 0; border-radius: 0; background: transparent; color: var(--text); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.95; white-space: pre; }
.rules .k { color: var(--accent); }
.rules .p { color: var(--mint); }
.fcard--proto { left: 30px; bottom: 62px; width: 272px; padding: 12px 14px 14px; background: var(--glass); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fcard__head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.fcard__head .mono { color: var(--text); }
.protos { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.protos li { min-height: 26px; display: inline-flex; align-items: center; padding: 3px 10px; font-size: 12px; color: var(--text); border-radius: var(--radius-pill); border: 1px solid color-mix(in srgb, var(--c, var(--mint)) 55%, transparent); background: color-mix(in srgb, var(--c, var(--mint)) 12%, transparent); }
.overlay { position: absolute; inset: 0; width: 613px; height: 680px; z-index: 5; pointer-events: none; }
.ov-line { stroke: var(--text); stroke-opacity: .32; stroke-width: 1; stroke-dasharray: 2 6; fill: none; }
.ov-cross { stroke: var(--text); stroke-opacity: .55; stroke-width: 1; fill: none; }
.ov-node { fill: var(--mint); }
.factband { background: var(--bg-panel); color: var(--text); min-height: 180px; border-top: 1px solid var(--line-white-faint); }
.factband__in { display: flex; align-items: baseline; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.factband__label { font-family: var(--font-mono); font-size: 12px; color: var(--mint); text-transform: lowercase; flex-shrink: 0; }
.factband p { margin: 0; font-size: 15px; color: var(--text-muted); }
.factband p strong { color: var(--text); font-weight: var(--weight-medium); }

.store-button { min-height: 48px; }
.store-button__copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.store-button__copy small { font-size: 11px; font-weight: var(--weight-normal); }
.store-button__copy strong { font-size: 15px; }
.store-button--badge { padding-block: 9px; }
.store-button--badge svg { width: 26px; height: 26px; }
.store-guide { padding: 28px; border: 1px solid var(--line-white); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-float); }
.store-guide h3 { margin-top: 0; }
.store-guide p { color: var(--text-muted); }

.feature-tabs { position: relative; display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: 32px; isolation: isolate; }
.feature-tabs [role="tablist"] { display: flex; flex-direction: column; gap: 8px; }
.feature-tabs [role="tab"], .feature-accordion summary {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) 8px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 20px;
  text-align: left;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-btn);
  background: var(--bg-panel);
  color: var(--text);
  position: relative;
}
.feature-tabs [role="tab"][aria-selected="true"] { background: var(--bg-panel-2); color: var(--text); }
.feature-tabs [role="tab"][aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 2px; background: var(--accent); }
.rule-key { font: 12px/1.4 var(--font-mono); color: var(--text-muted); }
.rule-dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--c, var(--mint)); flex-shrink: 0; }
.feature-panels { min-width: 0; }
.feature-panel {
  padding: 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background: linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box, linear-gradient(130deg, var(--accent), var(--rose)) border-box;
  color: var(--text);
  box-shadow: 0 16px 70px -30px color-mix(in srgb, var(--accent) 25%, transparent);
}
.feature-panel h3 { margin-top: 0; }
.feature-panel p { color: var(--text-muted); line-height: 1.85; }
.feature-panel + .feature-panel { margin-top: 20px; }
.feature-panel[hidden] + .feature-panel { margin-top: 0; }
.feature-accordions { display: none; }
.feature-accordion { border-bottom: 1px solid var(--line-soft); }
.feature-accordion summary { cursor: pointer; list-style: none; }
.feature-accordion summary::-webkit-details-marker { display: none; }
.feature-accordion[open] summary { background: var(--bg-panel-2); color: var(--text); border-left: 2px solid var(--accent); }
.feature-accordion__body { padding: 20px; color: var(--text-muted); background: var(--bg-panel); }
.feature-accordion__body h3 { color: var(--text); }

.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px; margin-block: 28px; border: 1px solid var(--line-soft); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.toc a { padding: 9px 12px; min-height: 44px; color: var(--text-muted); text-decoration: none; border-radius: var(--radius-btn); }
.toc a:hover, .toc a[aria-current="location"] { background: var(--bg-panel-2); color: var(--text); }
.faq-item { border-bottom: 1px solid var(--line-soft); padding-block: 4px; }
.faq-item summary { position: relative; list-style: none; padding: 20px 36px 20px 0; cursor: pointer; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 19px; color: var(--accent); font-family: var(--font-mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding-bottom: 22px; color: var(--text-muted); }
.faq-item__body > :first-child { margin-top: 0; }
.faq-item__body > :last-child { margin-bottom: 0; }
.term-card { padding: 24px; border-top: 2px solid var(--mint); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.term-card dt { font: var(--weight-medium) 18px/1.5 var(--font-body); }
.term-card dd { margin: 14px 0 0; color: var(--text-muted); }
.term-card__category { display: block; margin-bottom: 12px; font: 12px/1.5 var(--font-mono); color: var(--mint); }
.callout { margin: 24px 0; padding: 20px 24px; border: 1px solid var(--line-soft); border-left: 3px solid var(--mint); border-radius: var(--radius-btn); background: var(--bg-panel); color: var(--text); }
.callout p { margin-block: 8px; }
.callout--warning { border-left-color: var(--rose); background: var(--bg-panel); color: var(--warn); }
.callout__title { font-weight: var(--weight-medium); }
.official-shot { width: 100%; max-width: 280px; margin: 0 auto; flex-shrink: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-shot); }
.official-shot { --radius-shot: 10px; }
.official-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.shot-frame { border: 1px solid var(--line-soft); border-radius: var(--radius-shot); }
.shot-row { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.device-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; }
.device-card__icon { display: grid; place-items: center; width: 64px; height: 76px; background: var(--bg-deep); color: var(--mint); border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.device-card__icon svg { width: 40px; height: 48px; }
.device-card h3 { margin-bottom: 8px; }
.device-card .btn { margin-top: 12px; }
.article-card { display: flex; flex-direction: column; align-items: flex-start; }
.article-card h3 { margin-block: 18px 12px; font-size: 22px; }
.article-card h3 a { color: var(--text); text-decoration: none; }
.article-card h3 a:hover { color: var(--lavender); }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; color: var(--text-muted); }
.article-card__link { margin-top: auto; padding-top: 18px; }
.gradient-break { margin-inline: 24px; padding-top: 80px; padding-bottom: 80px; border-radius: var(--radius-feature); background: var(--break-grad); color: var(--bg-deep); overflow-x: clip; }
.gradient-break h2 { margin-top: 0; }
.gradient-break .glass-card { border: 1px solid var(--line-white); padding: 28px; border-radius: var(--radius-card); background: color-mix(in srgb, var(--bg-deep) 88%, transparent); color: var(--text); box-shadow: var(--shadow-float); }
.glass-card p { color: var(--text); }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: 25; display: inline-flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); min-height: 56px; padding: 12px 18px; border: 1px solid var(--line-white); border-radius: var(--radius-card); background: var(--bg-panel-2); color: var(--text); box-shadow: var(--shadow-float); text-decoration: none; }
.dl-fab svg { width: 24px; height: 24px; color: var(--mint); }
.dl-fab small { display: block; font-size: 11px; color: var(--text-muted); }
.dl-fab:hover { border-color: var(--accent); text-decoration: none; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td {
  min-width: 7em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  overflow-wrap: normal;
  word-break: normal;
  vertical-align: top;
}
.data-table th, .prose table th { background: var(--bg-panel-2); color: var(--text); font-weight: var(--weight-medium); }
.data-table td, .prose table td { background: var(--bg-panel); color: var(--text-muted); }
.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; }

/* Preview-only fixtures, kept external so the preview needs no embedded styles. */
.preview-section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.preview-section + .preview-section { padding-top: 0; }
.preview-section h2 { margin-top: 0; }
.preview-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.preview-shot { aspect-ratio: 750 / 1334; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-shot); background: linear-gradient(155deg, var(--bg-panel-2), var(--bg-deep)); color: var(--text-muted); text-align: center; padding: 24px; font-size: 13px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatch { border: 1px solid var(--line-soft); border-radius: var(--radius-card); padding: 12px; background: var(--bg-panel); color: var(--text); font: 12px/1.6 var(--font-mono); }
.swatch::before { content: ""; display: block; height: 56px; margin-bottom: 12px; border: 1px solid var(--line-white); border-radius: var(--radius-btn); background: var(--sample); }
.swatch--bg { --sample: var(--bg); }
.swatch--panel { --sample: var(--bg-panel); }
.swatch--panel2 { --sample: var(--bg-panel-2); }
.swatch--deep { --sample: var(--bg-deep); }
.swatch--device { --sample: var(--device-body); }
.swatch--border { --sample: var(--border); }
.swatch--accent { --sample: var(--accent); }
.swatch--dark { --sample: var(--accent-dark); }
.swatch--mint { --sample: var(--mint); }
.swatch--rose { --sample: var(--rose); }
.swatch--mid { --sample: var(--gradient-mid); }
.swatch--lavender { --sample: var(--lavender); }
.swatch--text { --sample: var(--text); }
.swatch--muted { --sample: var(--text-muted); }
.swatch--warn { --sample: var(--warn); }
.swatch--error { --sample: var(--error); }
.swatch--white { --sample: var(--white); }
.swatch--mask { --sample: var(--mask-on); }
.swatch--shadow { --sample: var(--shadow-ink); }
.swatch--nav { --sample: var(--nav-bg); }
.swatch--navink { --sample: var(--nav-ink); }
.swatch--navmuted { --sample: var(--nav-ink-muted); }
.swatch--navline { --sample: var(--nav-line); }
.swatch--light { --sample: var(--card-light); }
.swatch--lightline { --sample: var(--card-light-line); }
.swatch--cardink { --sample: var(--card-ink); }
.swatch--cardmuted { --sample: var(--card-ink-muted); }

@media (max-width: 1360px) { .canvas { --stage-scale: .9; } }
@media (max-width: 1200px) {
  .canvas { --stage-scale: .8; }
  .cell--main { padding: 36px 34px; }
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr; }
  .bento__left { grid-template-rows: auto auto; }
  .cell--stage { height: 640px; }
  .canvas { --stage-scale: .94; }
}
@media (max-width: 768px) {
  .h1 { font-size: clamp(24px, 4vw, 30px); }
  .feature-tabs { grid-template-columns: 1fr; }
  .feature-tabs.tabs-ready > [role="tablist"], .feature-tabs.tabs-ready > .feature-panels { display: none; }
  .feature-tabs.tabs-ready > .feature-accordions { display: block; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cell--main { padding: 28px 22px; }
  .bento__sub { grid-template-columns: 1fr; }
  .cell--stage { height: 400px; }
  .canvas { --stage-scale: .56; }
  .factband__in { flex-direction: column; gap: 8px; }
  .chips, .fact-pills { flex-direction: row; flex-wrap: wrap; }
  .fact-pills { justify-content: center; }
  .shot-row { flex-direction: column; align-items: center; }
  .gradient-break { margin-inline: 16px; padding-top: 56px; padding-bottom: 56px; }
  .gradient-break .wrap { padding-inline: 16px; }
  .gradient-break .glass-card { padding: 22px; }
  .feature-panel { padding: 22px; }
  .feature-tabs [role="tab"], .feature-accordion summary { grid-template-columns: 94px minmax(0, 1fr) 8px; gap: 10px; padding-inline: 14px; }
  .dl-fab { right: 16px; bottom: 16px; }
  .device-card { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .device-card__icon { width: 48px; height: 64px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}