:root {
  --hero-cell-min: 176px;
  --table-min: 720px;
  --toc-top: 80px;
  --toc-offset: 132px;
  --device-sidebar: 116px;
  --switch-width: 30px;
  --switch-height: 17px;
  --preview-swatch-height: 88px;
}

.hero {
  position: relative;
  max-width: 100%;
  overflow-x: clip;
  padding-top: 44px;
  padding-bottom: 40px;
}

.hero-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.hero-cell {
  min-width: 0;
  border-radius: var(--radius-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-cell:hover {
  transform: translateY(-2px);
}

.hero-main {
  position: relative;
  z-index: 2;
  grid-column: 1 / 8;
  display: flex;
  min-height: 462px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  padding: 40px;
  background: var(--panel);
  box-shadow: var(--shadow-panel), inset 0 0 0 1px var(--white-90);
}

.hero-main:hover {
  box-shadow: var(--shadow-hover), inset 0 0 0 1px var(--white-90);
}

.hero-title {
  margin-top: 20px;
}

.hero-title .divider {
  margin-inline: .12em;
  color: var(--border);
  font-weight: 600;
}

.hero-main .cta-row {
  margin-top: 24px;
}

.hero-copy {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-copy strong {
  color: var(--text);
  font-weight: 650;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.trust-list svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--success);
}

.hero-device {
  position: relative;
  grid-column: 8 / 13;
  min-height: 462px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 28px;
  background: linear-gradient(160deg, var(--accent-06), transparent 70%), var(--panel-2);
}

.hero-platforms {
  grid-column: 1 / 5;
}

.hero-flags {
  grid-column: 5 / 9;
}

.hero-coverage {
  grid-column: 9 / 11;
}

.hero-refund {
  grid-column: 11 / 13;
}

.hero-soft-cell {
  min-height: var(--hero-cell-min);
  border: 1px solid var(--border);
  padding: 18px 22px 20px;
  background: var(--panel-2);
}

.cell-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: .08em;
}

.cell-label::after {
  height: 1px;
  flex: 1;
  background: var(--border);
  content: "";
}

.device-stage {
  position: relative;
  height: 100%;
  min-height: 404px;
  transform: rotate(-2deg);
  transform-origin: center;
}

.device-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64%;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-18), var(--accent-06) 55%, transparent);
  filter: blur(28px);
  pointer-events: none;
}

.device-backplate {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-2);
  opacity: .6;
}

.device-window {
  position: relative;
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-window);
}

.window-chrome {
  display: grid;
  height: 44px;
  flex: 0 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-inline: 14px;
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-1);
}

.chrome-dots i:nth-child(2) {
  background: var(--dot-2);
}

.chrome-dots i:nth-child(3) {
  background: var(--dot-3);
}

.window-title {
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  background: var(--panel-2);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}

.window-tabs {
  display: flex;
  gap: 2px;
  justify-self: end;
}

.window-tabs span {
  border-radius: var(--radius-pill);
  padding: 4px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}

.window-tabs .active {
  background: var(--panel-2);
  color: var(--text);
  font-weight: 650;
}

.window-body {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: var(--device-sidebar) minmax(0, 1fr);
}

.device-directory {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border);
  padding: 14px 10px 12px 12px;
}

.directory-group {
  position: relative;
  padding-left: 10px;
}

.directory-group.active::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 2px;
  height: 12px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  content: "";
}

.directory-group b {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.directory-group span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 20px;
}

.directory-group.active span {
  color: var(--text);
}

.directory-group .current {
  font-weight: 650;
}

.device-table {
  min-width: 0;
  padding: 10px 12px 12px;
}

.device-row {
  display: grid;
  height: 40px;
  min-width: 0;
  grid-template-columns: 92px 90px minmax(0, 1fr);
  align-items: center;
  border-radius: var(--radius-xs);
  padding-inline: 10px;
  font-size: 12px;
}

.device-row.header {
  height: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .08em;
}

.device-row:not(.header):not(.active) {
  box-shadow: inset 0 -1px 0 var(--panel-2);
}

.device-row.active {
  background: var(--accent-08);
}

.line-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.line-name::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--border);
  content: "";
}

.device-row.active .line-name::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-14);
}

.line-type {
  justify-self: start;
  border-radius: var(--radius-xs);
  padding: 1px 7px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.line-type.iepl {
  background: var(--accent-10);
  color: var(--accent-dark);
}

.line-use {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-row.active .line-use {
  color: var(--text);
}

.window-footer {
  display: flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding-inline: 14px;
  background: var(--panel-2);
}

.device-platform-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.device-platform-icons svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.device-footnote {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.auto-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.auto-switch i {
  position: relative;
  width: var(--switch-width);
  height: var(--switch-height);
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.auto-switch i::after {
  position: absolute;
  top: 2px;
  left: 15px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 1px 2px var(--ink-18);
  content: "";
}

.platform-inline,
.flag-inline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-inline li,
.flag-inline li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 550;
  text-align: center;
}

.platform-inline svg {
  width: 20px;
  height: 20px;
}

.flag-inline svg {
  width: 27px;
  height: 18px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--ink-10);
}

.flag-red {
  fill: var(--flag-red);
}

.flag-blue {
  fill: var(--flag-blue);
}

.flag-navy {
  fill: var(--flag-navy);
}

.flag-white {
  fill: var(--flag-white);
}

.flag-sun {
  fill: var(--flag-sun);
}

.flag-stroke-white {
  fill: none;
  stroke: var(--flag-white);
}

.flag-stroke-red {
  fill: none;
  stroke: var(--flag-red);
}

.fact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fact-number {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.fact-number small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
}

.fact-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.tabs {
  min-width: 0;
}

.tab-list {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  background: var(--panel-2);
  -webkit-overflow-scrolling: touch;
}

.tab-list [role="tab"] {
  display: inline-flex;
  min-width: 76px;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}

.tab-list [role="tab"][aria-selected="true"],
.tab-list [role="tab"].active {
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 1px 2px var(--ink-10);
}

.tab-panel {
  margin-top: 20px;
}

.tab-panel[hidden] {
  display: none;
}

.toc-tabs {
  position: sticky;
  z-index: 20;
  top: var(--toc-top);
  display: flex;
  max-width: 100%;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  background: var(--panel);
  box-shadow: 0 12px 30px -22px var(--accent-18);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.toc-tabs a {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.toc-tabs a:hover,
.toc-tabs a.is-current,
.toc-tabs a[aria-current="location"] {
  background: var(--panel-2);
  color: var(--text);
}

body:has(.toc-tabs) section[id] {
  scroll-margin-top: var(--toc-offset);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: 0 12px 28px -26px var(--accent-18);
}

.faq-item summary {
  position: relative;
  min-height: 56px;
  padding: 15px 48px 15px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--accent);
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  border-top: 1px solid var(--border);
  padding: 16px 18px 18px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow-panel);
}

.plan-card.current,
.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--accent-06), transparent 62%), var(--panel);
  box-shadow: var(--shadow-hover);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.plan-name {
  margin: 0;
  font-size: 20px;
}

.plan-price {
  margin: 18px 0 4px;
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -.04em;
}

.plan-price small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
}

.plan-traffic {
  color: var(--muted);
  font-size: 14px;
}

.plan-features {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.plan-features li::before {
  flex: 0 0 auto;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

.data-table,
.node-table,
.compare-table {
  width: 100%;
  min-width: var(--table-min);
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td,
.node-table th,
.node-table td,
.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.data-table th,
.node-table th,
.compare-table th {
  background: var(--panel-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.data-table td:first-child,
.node-table td:first-child,
.compare-table td:first-child {
  color: var(--text);
  font-weight: 650;
}

.data-table tbody tr:last-child td,
.node-table tbody tr:last-child td,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.node-group-row th {
  background: var(--accent-08);
  color: var(--accent-dark);
}

.prose > .data-table {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  background: var(--panel);
  text-align: center;
}

.platform-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.platform-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.platform-card p {
  min-height: 42px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.platform-card .btn {
  width: 100%;
  margin-top: auto;
  padding-inline: 10px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 20px 44px -36px var(--accent-18);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-card h3 {
  margin-top: 14px;
  font-size: 20px;
}

.article-card p {
  color: var(--muted);
  font-size: 14px;
}

.article-card .article-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 700;
}

.callout {
  position: relative;
  overflow-x: clip;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--accent-08), transparent), var(--panel);
  color: var(--muted);
}

.callout strong {
  color: var(--text);
}

.callout p:last-child {
  margin-bottom: 0;
}

.article-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow-x: clip;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  background: linear-gradient(135deg, var(--accent-10), transparent 70%), var(--panel);
  box-shadow: var(--shadow-panel);
}

.article-promo h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.article-promo p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.preview-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.preview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.preview-heading h2 {
  margin: 0;
  font-size: 32px;
}

.preview-heading span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.preview-static-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--ink-04);
  background: var(--white-90);
}

.preview-static-header .header-inner {
  max-width: var(--content-width);
}

.preview-color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preview-swatch {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.preview-swatch-color {
  height: var(--preview-swatch-height);
  border-bottom: 1px solid var(--border);
}

.swatch-bg {
  background: var(--bg);
}

.swatch-panel {
  background: var(--panel);
}

.swatch-panel-2 {
  background: var(--panel-2);
}

.swatch-border {
  background: var(--border);
}

.swatch-accent {
  background: var(--accent);
}

.swatch-accent-dark {
  background: var(--accent-dark);
}

.swatch-text {
  background: var(--text);
}

.swatch-muted {
  background: var(--muted);
}

.swatch-success {
  background: var(--success);
}

.swatch-warn {
  background: var(--warn);
}

.swatch-error {
  background: var(--error);
}

.preview-swatch-label {
  padding: 12px;
}

.preview-swatch-label b,
.preview-swatch-label code {
  display: block;
}

.preview-swatch-label code {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.preview-type-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 16px;
}

.preview-type-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  background: var(--panel);
}

.preview-display-sample {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.preview-body-sample {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.preview-mono-sample {
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.preview-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-component-stack {
  display: grid;
  gap: 28px;
}

.preview-footer {
  margin-top: 72px;
}

.preview-footer .footer-main {
  padding-inline: var(--gutter);
}

.preview-line-art {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  color: var(--accent);
}

@media (max-width: 1100px) {
  .hero-main,
  .hero-device {
    grid-column: 1 / 13;
  }

  .hero-device {
    min-height: 490px;
  }

  .hero-platforms,
  .hero-coverage {
    grid-column: 1 / 7;
  }

  .hero-flags,
  .hero-refund {
    grid-column: 7 / 13;
  }

  .pricing-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
  }

  .hero-main {
    min-height: auto;
    padding: 30px 26px;
  }

  .hero-device {
    min-height: 520px;
  }

  .device-stage {
    transform: none;
  }

  .pricing-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-promo {
    grid-template-columns: 1fr;
  }

  .preview-color-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-main,
  .hero-device,
  .hero-platforms,
  .hero-flags,
  .hero-coverage,
  .hero-refund {
    grid-column: 1 / 13;
  }

  .hero-main {
    padding: 26px 22px;
  }

  .hero-device {
    min-height: 440px;
    padding: 14px;
  }

  .device-stage {
    min-height: 410px;
  }

  .device-backplate {
    inset: 8px -6px -8px 8px;
  }

  .window-chrome {
    grid-template-columns: auto 1fr;
  }

  .window-title {
    justify-self: center;
  }

  .window-tabs {
    display: none;
  }

  .window-body {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .device-directory {
    padding-inline: 7px;
  }

  .device-row {
    grid-template-columns: minmax(72px, 1fr) 70px;
    padding-inline: 6px;
  }

  .device-row > :last-child {
    display: none;
  }

  .device-table {
    padding-inline: 7px;
  }

  .device-platform-icons {
    gap: 6px;
  }

  .device-footnote {
    display: none;
  }

  .hero-soft-cell {
    min-height: 148px;
  }

  .platform-inline,
  .flag-inline {
    gap: 4px;
  }

  .platform-inline li,
  .flag-inline li {
    font-size: 11px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .preview-color-grid {
    grid-template-columns: 1fr;
  }

  .preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .toc-tabs {
    border-radius: var(--radius-xs);
  }
}