/* Classic retro theme tokens. Text and control contrast is checked by tools/contrast.py. */
:root,
:root[data-theme="light"] {
  --paper: #f6f1e4;
  --white: #fffaf0;
  --ink: #292d27;
  --muted: #565b50;
  --orange: #893b22;
  --bright: #e5aa77;
  --lime: #e1e4be;
  --lilac: #e4dbea;
  --line: #b9bcab;
  --control-line: #737a69;
  --hover: #e7e8d5;
  --soft: #e9e8d9;
  --subtle: #eeede1;
  --tinted: #e7e9d6;
  --header: #f6f1e4;
  --button-bg: #303b30;
  --button-text: #fffaf0;
  --button-hover: #47533e;
  --action-bg: #893b22;
  --action-text: #fffaf0;
  --action-hover: #6e2d18;
  --positive: #365b32;
  --chart: #839858;
  --chart-alt: #4d7445;
  --chart-grid: #d9ddcc;
  --window-line: #929782;
  --shadow: #292d2712;
  --art-ink: #292d27;
  --band-bg: #243028;
  --band-text: #f7efdc;
  --band-muted: #d7d9c8;
  --band-line: #9da78d;
  --band-highlight: #e1e4be;
  --focus: #893b22;
  --backdrop: #152019b3;
}
:root[data-theme="dark"] {
  --paper: #1e2521;
  --white: #29322b;
  --ink: #f4ecd9;
  --muted: #c6cab8;
  --orange: #ffc899;
  --bright: #e6b589;
  --lime: #394632;
  --lilac: #43394a;
  --line: #68775f;
  --control-line: #a8b39c;
  --hover: #3b4839;
  --soft: #333f32;
  --subtle: #303a30;
  --tinted: #35422f;
  --header: #1e2521;
  --button-bg: #e4dfbc;
  --button-text: #252d24;
  --button-hover: #f5eecf;
  --action-bg: #ffc899;
  --action-text: #2e241a;
  --action-hover: #ffdbb9;
  --positive: #c1dda4;
  --chart: #b2c888;
  --chart-alt: #d4e2b8;
  --chart-grid: #4b5847;
  --window-line: #8d9b7f;
  --shadow: #00000024;
  --art-ink: #292d27;
  --band-bg: #161d18;
  --band-text: #f7efdc;
  --band-muted: #d7d9c8;
  --band-line: #9da78d;
  --band-highlight: #e1e4be;
  --focus: #ffce9d;
  --backdrop: #070d09cc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #1e2521;
    --white: #29322b;
    --ink: #f4ecd9;
    --muted: #c6cab8;
    --orange: #ffc899;
    --bright: #e6b589;
    --lime: #394632;
    --lilac: #43394a;
    --line: #68775f;
    --control-line: #a8b39c;
    --hover: #3b4839;
    --soft: #333f32;
    --subtle: #303a30;
    --tinted: #35422f;
    --header: #1e2521;
    --button-bg: #e4dfbc;
    --button-text: #252d24;
    --button-hover: #f5eecf;
    --action-bg: #ffc899;
    --action-text: #2e241a;
    --action-hover: #ffdbb9;
    --positive: #c1dda4;
    --chart: #b2c888;
    --chart-alt: #d4e2b8;
    --chart-grid: #4b5847;
    --window-line: #8d9b7f;
    --shadow: #00000024;
    --art-ink: #292d27;
    --band-bg: #161d18;
    --band-text: #f7efdc;
    --band-muted: #d7d9c8;
    --band-line: #9da78d;
    --band-highlight: #e1e4be;
    --focus: #ffce9d;
    --backdrop: #070d09cc;
  }
}
/* Reading comfort: familiar editorial headings, generous body copy and clear controls. */
html {
  font-size: 18px;
  color-scheme: light dark;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
html[data-theme="light"] {
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
}
body {
  font-size: 1rem;
  line-height: 1.75;
}
h1,
h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}
h3,
h4 {
  letter-spacing: -0.025em;
  line-height: 1.25;
}
em {
  color: var(--orange);
}
.hero h1 {
  font-size: clamp(3rem, 5vw + 0.5rem, 5.1rem);
}
.page-hero h1,
.page-hero.compact h1,
.product-hero h1 {
  font-size: clamp(2.8rem, 4.5vw + 0.5rem, 4.8rem);
}
.lead,
.hero .lead,
.product-hero .lead,
.page-hero .lead {
  font-size: 1.09rem;
  line-height: 1.8;
}
.card p,
.product-content > p,
.section-head p,
.feature-item p,
.editor-sheet p,
.cta-inner p,
.footer-brand p,
.prose p,
.prose li,
.release p,
.doc-card p,
.faq details p,
.job-row ul,
.contact-aside ul,
.sample-site p {
  font-size: 1rem;
  line-height: 1.75;
}
.small-text,
.hero-note,
.hero-foot,
.eyebrow,
.mono,
.tag,
.pill,
.caption,
.breadcrumbs,
.footer-title,
.footer-bottom,
.search-hint,
.search-results small,
.team-card p,
.demo-bottom {
  font-size: 0.8rem;
  line-height: 1.6;
}
.eyebrow,
.footer-title {
  letter-spacing: 0.065em;
}
.hero .eyebrow,
.hero-foot .tech,
.marquee-track,
.product-visual .mono,
.large-visual .visual-caption,
.doc-card .mono,
.system-specs span,
.diagram-caption {
  font-size: 0.77rem;
  line-height: 1.65;
}
.pill {
  padding: 8px 12px;
}
.eyebrow {
  gap: 12px;
}
.feature-number {
  font-size: 0.8rem;
}
.card-number {
  font-size: 0.8rem;
}
.btn,
.btn.small,
.field,
.field input,
.field select,
.field textarea,
.search-input,
.checkbox,
.form-status,
.draft-preview,
.filter-btn,
.tab-bar button,
.footer-links,
.docs-sidebar a,
.release .text-link,
.text-link,
.update-row p,
.spec-table,
.spec-table th,
.spec-table td,
.spec-table caption {
  font-size: 0.93rem;
}
.field input,
.field select,
.field textarea,
.search-input {
  font-size: 1rem;
  min-height: 52px;
  padding: 12px 14px;
  border-color: var(--control-line);
}
::placeholder {
  color: var(--muted);
  opacity: 1;
}
select option {
  background: var(--white);
  color: var(--ink);
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--action-bg);
}
.checkbox {
  align-items: flex-start;
  gap: 12px;
  line-height: 1.7;
}
.btn {
  min-height: 52px;
  padding: 13px 22px;
  gap: 13px;
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-bg);
}
.btn:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}
.btn.orange {
  background: var(--action-bg);
  color: var(--action-text);
  border-color: var(--action-bg);
}
.btn.orange:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
}
.btn.outline {
  color: var(--ink);
  border-color: var(--control-line);
  background: transparent;
}
.btn.outline:hover {
  background: var(--hover);
  border-color: var(--ink);
}
.btn.small {
  min-height: 46px;
  padding: 11px 16px;
}
.icon-btn,
.theme-toggle {
  min-width: 46px;
  height: 46px;
  border-color: var(--control-line);
}
.nav-row {
  gap: 24px;
  min-height: 88px;
}
.desktop-nav {
  gap: 22px;
  font-size: 0.9rem;
}
.desktop-nav > a,
.nav-toggle {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
}
.nav-toggle {
  font-size: 0.9rem;
}
.nav-tools {
  gap: 12px;
}
.nav-tools > .account-link {
  display: none;
}
.dropdown {
  top: 50px;
  width: 315px;
  padding: 10px;
}
.dropdown strong {
  font-size: 0.96rem;
}
.dropdown span {
  font-size: 0.83rem;
  line-height: 1.6;
}
.dropdown a {
  padding: 13px 14px;
  min-height: 46px;
}
.site-header {
  background: var(--header);
  backdrop-filter: none;
}
.announcement {
  background: var(--tinted);
  color: var(--ink);
  font-size: 0.8rem;
  padding: 10px 18px;
}
.announcement a {
  border-color: var(--control-line);
}
.logo {
  font-size: 1.9rem;
}
.logo small {
  font-size: 0.58rem;
}
.brand-dot {
  color: var(--orange);
}
.theme-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1;
}
.theme-toggle:hover {
  background: var(--hover);
}
.theme-toggle .fa-icon {
  width: 17px;
  height: 17px;
}
.appearance {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink);
}
.appearance select {
  font-size: 0.85rem;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  padding: 8px 30px 8px 12px;
}
.footer-bottom {
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom .appearance {
  margin-right: auto;
}
.footer-links {
  gap: 3px;
}
.footer-links a {
  padding: 7px 0;
  min-height: 40px;
}
.back-top {
  min-height: 44px;
}
.theme-toggle:focus-visible,
.appearance select:focus-visible,
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.search-input:focus {
  outline-color: var(--focus);
}
.faq summary {
  font-size: 1.05rem;
  min-height: 44px;
  align-items: center;
}
.feature-item summary {
  min-height: 44px;
}
.tab-bar button {
  min-height: 46px;
  border: 1px solid transparent;
}
.tab-bar button[aria-selected="true"] {
  background: var(--button-bg);
  color: var(--button-text);
}
.filter-btn {
  min-height: 46px;
  border-color: var(--control-line);
}
.filter-btn[aria-pressed="true"] {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-bg);
}
.card {
  padding: 32px;
}
.card .icon-box {
  color: var(--orange);
  background: var(--paper);
  border-color: var(--control-line);
  width: 50px;
  height: 50px;
}
.card .icon-box .fa-icon {
  width: 22px;
  height: 22px;
}
.contact-aside a {
  overflow-wrap: anywhere;
}
.contact-aside .card {
  min-width: 0;
}
.hero-grid,
.system-grid,
.product-hero,
.two-col,
.pricing-grid,
.split-product,
.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero {
  padding-top: 65px;
}
.hero-foot {
  gap: 25px;
}
.hero-note {
  gap: 15px;
}
.window {
  transform: rotate(-1deg);
  box-shadow: 3px 4px 0 var(--shadow);
}
.hero-art:hover .window {
  transform: rotate(0);
}
.orbit.two {
  display: none;
}
.stamp {
  background: var(--bright);
  color: var(--art-ink);
  border-color: var(--art-ink);
}
.stamp strong {
  color: var(--art-ink);
}
.product-visual,
.large-visual {
  color: var(--ink);
}
.product-symbol.commerce-symbol .fa-icon {
  width: 115px;
  height: 115px;
}
.large-visual .product-symbol.commerce-symbol .fa-icon {
  width: 175px;
  height: 175px;
}
.product-symbol.commerce-symbol:after {
  display: none;
}
.product-visual {
  height: 225px;
}
.dash-side .active,
.dash-create,
.mini-form button {
  background: var(--button-bg);
  color: var(--button-text);
}
.dash-greeting p {
  font-size: 10px;
}
.dash-stat small,
.dash-stat span {
  font-size: 9px;
}
.dash-stat span {
  color: var(--positive);
}
.window-top small {
  font-size: 10px;
}
.chart-label {
  font-size: 9px;
}
.dash-bottom {
  font-size: 10px;
}
.editor-meta {
  font-size: 0.71rem;
  line-height: 1.6;
  gap: 20px;
}
.editor-tools {
  color: var(--ink);
}
.editor-sheet pre {
  font-size: 0.87rem;
  line-height: 1.9;
}
.product-content ul {
  font-size: 0.9rem;
}
.dark-section {
  background: var(--band-bg);
  color: var(--band-text);
}
.dark-section em,
.dark-section .eyebrow:before {
  color: var(--band-highlight);
}
.dark-section .eyebrow:before {
  background: var(--band-highlight);
}
.dark-section .lead,
.dark-section .muted,
.system-specs span,
.diagram-caption {
  color: var(--band-muted);
}
.system-specs strong {
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  letter-spacing: -0.025em;
}
.system-diagram {
  font-size: 0.85rem;
  color: var(--band-text);
}
.diagram-node.top {
  color: var(--art-ink);
  background: var(--band-highlight);
  border-color: var(--band-highlight);
}
.diagram-node {
  overflow-wrap: anywhere;
}
.diagram-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faq summary:after,
.feature-item summary:after {
  content: "+";
  font-family: Space, Arial, sans-serif;
  color: var(--orange);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.product-content li:before,
.price-card li:before,
.check-list li:before {
  content: "";
  display: none;
}
.product-content li,
.price-card li,
.check-list li {
  gap: 10px;
  align-items: baseline;
}
.product-content li .fa-icon,
.price-card li .fa-icon,
.check-list li .fa-icon {
  color: var(--orange);
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.search-results a {
  min-height: 54px;
  font-size: 1rem;
  align-items: center;
}
.search-results small {
  font-size: 0.83rem;
}
.search-dialog {
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
}
.search-dialog::backdrop {
  background: var(--backdrop);
}
.notice,
.empty-state {
  color: var(--ink);
}
.toast,
.skip {
  background: var(--button-bg);
  color: var(--button-text);
}
.screenshot-frame {
  background: var(--white);
}
.swatch {
  color: #292d27;
  width: 44px;
  height: 44px;
  border-color: #292d27;
}
.swatch[aria-pressed="true"]:after {
  content: "";
  width: 8px;
  height: 17px;
  border: solid #292d27;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.sample-site {
  --ink: #292d27;
  --white: #fffaf0;
  --paper: #f6f1e4;
  --muted: #565b50;
  color: #292d27;
  min-height: 430px;
}
.sample-site h2,
.sample-site p,
.sample-nav {
  color: #292d27;
}
.sample-site .btn {
  background: #303b30;
  color: #fffaf0;
  border-color: #303b30;
}
.sample-site .btn:hover {
  background: #47533e;
}
.sample-nav {
  font-size: 0.77rem;
  border-color: #71765f;
  gap: 20px;
  flex-wrap: wrap;
}
.sample-site h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}
.sample-site p {
  font-size: 1rem;
}
.demo-bottom {
  align-items: start;
  flex-wrap: wrap;
}
.editorial-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.docs-layout {
  grid-template-columns: 210px minmax(0, 1fr);
}
.docs-sidebar a {
  min-height: 44px;
}
.docs-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.demo-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spec-table td {
  overflow-wrap: anywhere;
}
.actions {
  gap: 14px;
}
.fa-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.12em;
  flex-shrink: 0;
  overflow: visible;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.text-link .fa-icon,
.btn .fa-icon {
  width: 0.95em;
  height: 0.95em;
}
.nav-toggle .fa-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .fa-icon {
  transform: rotate(180deg);
}
.hero-note .fa-icon {
  height: 15px;
  width: 15px;
  color: var(--positive);
}
.hero-note span {
  align-items: center;
}
.account-panel > .icon-box .fa-icon {
  width: 45px;
  height: 45px;
  color: var(--orange);
}
.update-row > a {
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  font-size: 1rem;
}
.hero-art .dash-side .fa-icon {
  width: 10px;
  height: 10px;
}
.doc-card {
  min-width: 0;
}
.doc-card > span:last-child {
  display: inline-flex;
}
.card h3,
.product-content h3,
.release h2 {
  text-wrap: balance;
}
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .desktop-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 24px 26px;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--control-line);
    gap: 3px;
  }
  .nav-group {
    width: 100%;
  }
  .nav-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    margin: 5px 0 12px;
  }
  .dropdown a {
    padding: 14px;
  }
  .grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-three > .card:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .nav-tools {
    margin-left: auto;
  }
  .docs-results {
    grid-template-columns: 1fr;
  }
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .card {
    padding: 26px;
  }
  .hero .lead {
    font-size: 1.03rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start;
  }
  .system-grid {
    gap: 30px;
  }
  .system-specs > div {
    padding: 22px 12px;
  }
}
@media (max-width: 900px) {
  .nav-row {
    min-height: 80px;
  }
  .desktop-nav.mobile-open {
    top: 80px;
  }
  .hero-grid,
  .editorial-grid,
  .system-grid,
  .product-hero,
  .two-col,
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero h1 {
    max-width: 700px;
  }
  .hero .lead {
    max-width: 620px;
    font-size: 1.09rem;
  }
  .hero-art {
    max-width: 640px;
    width: calc(100% - 35px);
    margin: 15px auto 0;
  }
  .dashboard {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .dash-side {
    display: flex;
  }
  .dash-main {
    padding: 22px;
  }
  .dash-greeting strong {
    font-size: 18px;
  }
  .hero-foot {
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .product-hero .large-visual {
    max-width: 650px;
    width: 100%;
  }
  .system-diagram {
    max-width: 650px;
  }
  .system-specs strong {
    font-size: 1.85rem;
  }
  .docs-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 28px;
  }
  .pricing-grid,
  .split-product,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-card {
    padding: 28px;
  }
  .product-content {
    padding: 27px;
  }
  .grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-sheet {
    min-height: 320px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }
  .caption {
    font-size: 0.78rem;
  }
}
@media (max-width: 700px) {
  html {
    font-size: 17px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .nav-row {
    min-height: 76px;
    gap: 14px;
  }
  .desktop-nav.mobile-open {
    top: 76px;
    max-height: calc(100dvh - 78px);
  }
  .nav-tools {
    gap: 8px;
  }
  .logo {
    font-size: 1.85rem;
  }
  .logo small {
    display: none;
  }
  .theme-toggle {
    padding: 0 10px;
    font-size: 0.85rem;
    gap: 6px;
  }
  .icon-btn,
  .theme-toggle {
    min-width: 44px;
    height: 46px;
  }
  .hero {
    padding-top: 43px;
  }
  .hero h1 {
    font-size: clamp(3rem, 9vw + 0.7rem, 4.2rem);
  }
  .page-hero h1,
  .page-hero.compact h1,
  .product-hero h1 {
    font-size: clamp(2.7rem, 8vw + 0.7rem, 4rem);
  }
  h2 {
    font-size: clamp(2rem, 6.5vw + 0.5rem, 3rem);
  }
  .hero .eyebrow {
    font-size: 0.79rem;
  }
  .hero-note {
    gap: 10px 16px;
    font-size: 0.85rem;
  }
  .hero-note span {
    min-height: 28px;
  }
  .hero-art {
    width: calc(100% - 18px);
  }
  .dashboard {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 315px;
  }
  .dash-side {
    padding: 15px 6px;
    font-size: 9px;
    gap: 9px;
  }
  .dash-main {
    padding: 18px 11px;
  }
  .dash-greeting strong {
    font-size: 15px;
  }
  .dash-greeting p {
    font-size: 9px;
  }
  .dash-stat small,
  .dash-stat span {
    font-size: 8px;
  }
  .dash-stat b {
    font-size: 18px;
  }
  .dash-stats {
    gap: 6px;
  }
  .dash-create {
    padding: 7px 6px;
  }
  .dash-bottom {
    font-size: 9px;
  }
  .hero-art .stamp {
    right: -9px;
    width: 89px;
    height: 89px;
  }
  .sticker {
    left: -5px;
    font-size: 0.62rem;
  }
  .window-top small {
    font-size: 9px;
  }
  .hero-foot .tech {
    gap: 12px 20px;
    font-size: 0.8rem;
  }
  .marquee-track {
    gap: 14px;
    padding: 15px 18px;
    font-size: 0.77rem;
  }
  .marquee-track span {
    white-space: normal;
  }
  .marquee-track b {
    display: none;
  }
  .grid-three,
  .pricing-grid,
  .split-product,
  .team-grid,
  .docs-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .grid-three > .card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .field.full {
    grid-column: 1/-1;
  }
  .docs-sidebar {
    position: static;
    padding-right: 0;
    display: flex;
    gap: 5px 20px;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .docs-sidebar .footer-title {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .footer-brand {
    display: block;
  }
  .footer-brand p {
    margin: 20px 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .footer-links {
    font-size: 1rem;
  }
  .footer-title,
  .footer-bottom {
    font-size: 0.85rem;
  }
  .card,
  .price-card,
  .product-content {
    padding: 27px;
  }
  .form-panel {
    padding: 24px;
  }
  .editor-sheet {
    padding: 22px;
    min-height: 315px;
  }
  .editor-meta {
    flex-wrap: wrap;
    gap: 5px;
  }
  .editor-tools {
    gap: 20px;
  }
  .editor-sheet pre {
    font-size: 0.85rem;
  }
  .system-specs strong {
    font-size: 1.65rem;
  }
  .system-specs span,
  .diagram-caption {
    font-size: 0.75rem;
  }
  .system-diagram {
    padding: 22px;
    font-size: 0.83rem;
  }
  .diagram-node {
    padding: 12px 9px;
  }
  .diagram-row {
    gap: 12px;
  }
  .cta-inner {
    padding: 28px;
  }
  .cta-inner h2 {
    font-size: 2.3rem;
  }
  .release {
    grid-template-columns: 1fr;
  }
  .release time,
  .update-row time {
    font-size: 0.82rem;
  }
  .update-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .product-visual .mono {
    left: 20px;
    right: 20px;
  }
  .large-visual .visual-caption {
    left: 20px;
    right: 20px;
    flex-wrap: wrap;
  }
  .sample-site {
    padding: 27px;
  }
  .sample-nav span {
    font-size: 0.76rem;
  }
  .demo-bottom {
    font-size: 0.8rem;
  }
  .sample-site h2 {
    font-size: 2.85rem;
  }
  .tab-bar {
    gap: 3px;
  }
  .tab-bar button {
    padding: 10px 12px;
    font-size: 0.94rem;
  }
  .account-panel {
    padding: 32px 24px;
  }
  .actions {
    gap: 12px;
  }
  .btn,
  .btn.small {
    font-size: 0.95rem;
  }
  .announcement {
    font-size: 0.8rem;
  }
  .search-dialog {
    padding: 22px;
  }
  .search-results small {
    font-size: 0.87rem;
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }
  .nav-row {
    gap: 9px;
  }
  .logo {
    gap: 5px;
    font-size: 1.55rem;
  }
  .logo svg {
    width: 25px;
    height: 27px;
  }
  .nav-tools {
    gap: 5px;
  }
  .theme-toggle {
    min-width: 67px;
    padding: 0 7px;
    font-size: 0.8rem;
  }
  .theme-toggle .fa-icon {
    width: 14px;
    height: 14px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-art {
    width: 100%;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .dash-main {
    padding: 20px 15px;
  }
  .dash-greeting strong {
    font-size: 17px;
  }
  .dash-stat small,
  .dash-stat span {
    font-size: 9px;
  }
  .hero-art .stamp {
    width: 80px;
    height: 80px;
    right: 0;
  }
  .hero-art .stamp strong {
    font-size: 1.5rem;
  }
  .sticker {
    font-size: 0.58rem;
    left: -2px;
  }
  .system-specs strong {
    font-size: 1.4rem;
  }
  .system-specs > div {
    padding: 20px 9px;
  }
  .system-specs span {
    font-size: 0.7rem;
  }
  .editor-meta {
    font-size: 0.69rem;
  }
  .tab-bar button {
    padding: 10px;
    font-size: 0.9rem;
  }
  .card,
  .form-panel {
    padding: 23px;
  }
  .btn {
    padding: 13px 18px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
  }
}
@media (hover: none) {
  .card:hover,
  .doc-card:hover,
  .btn:hover {
    transform: none;
  }
  .hero-art:hover .window {
    transform: rotate(-1deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .window,
  .hero-art:hover .window {
    transform: none;
  }
  .nav-toggle .fa-icon {
    transition: none;
  }
}
@media (forced-colors: active) {
  .theme-toggle,
  .btn,
  .filter-btn,
  .icon-btn {
    border: 1px solid ButtonText;
  }
  .fa-icon {
    fill: currentColor;
  }
}
@media print {
  :root {
    --paper: #fff;
    --white: #fff;
    --ink: #000;
    --muted: #333;
  }
  .theme-toggle,
  .appearance {
    display: none;
  }
}
/* Native details/summary retains keyboard behaviour; icons only communicate state visually. */
.faq summary:after,
.feature-item summary:after {
  content: none;
}
.disclosure-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--orange);
}
.disclosure-mark .fa-icon {
  width: 15px;
  height: 15px;
}
details:not([open]) .when-open,
details[open] .when-closed {
  display: none;
}
