:root {
  --bg: #fbf7ef;
  --surface: #fffdf9;
  --ink: #182d35;
  --muted: #52656b;
  --accent: #e6533d;
  --soft: #ffe0d4;
  --line: #d8ddd7;
  --radius: 24px;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.85 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(35px, 4.8vw, 66px);
  font-weight: 650;
}
h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 600;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.frame {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
.topbar {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
  background: var(--bg);
}
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  line-height: 1.2;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand strong {
  font-size: 24px;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  margin-top: 6px;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current] {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-toggle {
  display: none;
}
.action {
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 14px 24px;
  text-decoration: none;
  line-height: 1.5;
  font-size: 15px;
  min-height: 50px;
}
.action:hover {
  filter: brightness(0.92);
}
.action.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.header-action {
  font-size: 13px;
  padding: 11px 20px;
  min-height: 42px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 650;
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
}
.hero {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 12px;
}
.hero .keyword {
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-desc {
  max-width: 550px;
  margin-block: 24px 30px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.version-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  margin-top: 24px;
  color: var(--muted);
}
.version-line span + span:before {
  content: "·";
  padding-right: 12px;
}
.hero-visual {
  padding: 25px;
  border-radius: 140px 24px 140px 24px;
  background: var(--soft);
  position: relative;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-visual img {
  width: 235px;
  border-radius: 24px;
  box-shadow: 0 20px 45px #182d3530;
  transform: rotate(7deg);
  border: 5px solid var(--ink);
}
.floating-tag {
  position: absolute;
  left: 20px;
  bottom: 35px;
  background: var(--surface);
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
  box-shadow: 0 8px 20px #0000000b;
}
.floating-tag strong {
  display: block;
  font-size: 18px;
}
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  padding: 24px 0;
  gap: 16px;
  margin-bottom: 70px;
}
.fact-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.fact-strip strong {
  font-size: 22px;
  font-weight: 600;
}
.fact-strip > div {
  border-right: 1px solid var(--line);
  padding-left: 18px;
}
.fact-strip > div:last-child {
  border: 0;
}
.section {
  margin-block: 76px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}
.section-top h2 {
  margin-bottom: 0;
}
.section-top p {
  font-size: 14px;
  max-width: 330px;
  margin-bottom: 0;
}
.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.copy {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  min-width: 0;
}
.copy h2 {
  font-size: 27px;
}
.copy p {
  margin-bottom: 0;
  font-size: 16px;
}
.copy-label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin-bottom: 25px;
}
.copy-label i {
  font-style: normal;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
}
.reading-grid .copy:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0 50px;
}
.reading-grid .copy:first-child .copy-label {
  grid-column: 1/-1;
}
.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.topic-nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  padding: 9px 17px;
}
.topic-nav a:hover {
  background: var(--soft);
}
.gallery {
  background: var(--ink);
  border-radius: 40px;
  padding: 44px;
  color: #fff;
}
.gallery .eyebrow {
  color: #ffb4a2;
}
.gallery p {
  color: #bed1d2;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.gallery figure {
  margin: 0;
  min-width: 0;
}
.screen-well {
  padding: 22px 34px;
  background: #ffffff0b;
  border: 1px solid #ffffff18;
  border-radius: 24px;
}
.screen-well img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 26px #0003;
}
.gallery figcaption {
  padding-top: 20px;
}
.gallery figcaption b {
  font-size: 17px;
}
.gallery figcaption p {
  font-size: 13px;
  margin: 4px 0 0;
}
.asset-note {
  font-size: 12px !important;
  margin: 25px 0 0;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mode-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.mode-card span {
  font-size: 30px;
  color: var(--accent);
}
.mode-card h3 {
  margin: 12px 0;
}
.mode-card p {
  font-size: 14px;
  margin: 0;
}
.section-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  font-size: 14px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 65px;
}
details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
}
details[open] summary:after {
  content: "−";
}
details p {
  margin: 18px 0 0;
  font-size: 15px;
}
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 36px;
  background: var(--soft);
  border-radius: var(--radius);
}
.cta-panel h2 {
  margin: 0 0 10px;
}
.cta-panel p {
  margin: 0;
}
.crumb {
  font-size: 12px;
  color: var(--muted);
  margin-top: 32px;
}
.crumb a {
  text-decoration: none;
}
.inner-head {
  padding: 50px 0 36px;
  border-bottom: 1px solid var(--line);
}
.inner-head h1 {
  font-size: clamp(32px, 4.5vw, 55px);
  margin-bottom: 16px;
}
.inner-head p {
  max-width: 780px;
  font-size: 17px;
  margin: 0;
}
.article-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 45px;
  margin-top: 38px;
}
.side-nav {
  position: sticky;
  top: 35px;
  align-self: start;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.side-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.article-copy {
  display: grid;
  gap: 20px;
}
.article-copy .copy {
  padding: 36px;
}
.article-copy .copy h2 {
  font-size: 26px;
}
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.platform {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--soft);
}
.platform h2 {
  font-size: 26px;
}
.platform p {
  font-size: 14px;
}
.platform .action {
  width: 100%;
  margin: 15px 0;
}
.platform a:not(.action) {
  font-size: 13px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
  font-size: 13px;
}
.related a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 18px;
  text-decoration: none;
}
.mini-brand {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.mini-brand img {
  width: 75px;
}
.footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-top p {
  font-size: 13px;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.footer-links a {
  text-decoration: none;
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.bottom-action {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 28px;
  width: min(510px, calc(100% - 32px));
  padding: 32px;
  background: var(--surface);
  color: var(--ink);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #0c2533a8;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top .eyebrow {
  margin: 0;
}
.close-dialog {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 23px;
}
.dialog-heading {
  font-size: 29px;
  margin-top: 26px;
  margin-bottom: 12px;
}
.dialog-help {
  font-size: 14px;
  margin-bottom: 18px;
}
.device-choices {
  display: flex;
  gap: 18px;
  padding: 14px 0 20px;
  border: 0;
  margin: 0;
}
.device-choices legend {
  font-size: 12px;
  color: var(--muted);
}
.device-choices label {
  font-size: 14px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  margin-bottom: 12px;
  gap: 12px;
}
.contact-row strong {
  display: block;
  font-size: 25px;
  letter-spacing: 1px;
}
.contact-row span {
  font-size: 12px;
  color: var(--muted);
}
.contact-row.recommend {
  background: var(--soft);
  border-color: var(--accent);
}
.copy-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
}
.reminder {
  font-size: 14px;
  margin-top: 22px;
}
.status {
  min-height: 24px;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
}
.dialog-footer {
  display: flex;
  gap: 25px;
  font-size: 12px;
  margin-top: 10px;
}
.contact-context {
  font-size: 13px;
  padding: 12px 15px;
  background: var(--bg);
  border-radius: 12px;
}
.theme-cobalt {
  --bg: #101a31;
  --surface: #19263e;
  --ink: #edf4ff;
  --muted: #b3c2db;
  --accent: #8bb5ff;
  --soft: #263b60;
  --line: #32435d;
  --radius: 8px;
}
.theme-cobalt .action {
  color: #122344;
  border-radius: 6px;
}
.theme-cobalt .action.secondary {
  color: var(--ink);
}
.theme-cobalt .header-inner {
  min-height: 82px;
}
.theme-cobalt .hero {
  grid-template-columns: 1fr 380px;
  gap: 80px;
  padding-top: 55px;
}
.theme-cobalt .hero-visual {
  border-radius: 8px;
  min-height: 540px;
  background: linear-gradient(130deg, #243b64, #13233b);
}
.theme-cobalt .hero-visual img {
  transform: none;
  width: 220px;
}
.theme-cobalt .floating-tag {
  left: 18px;
  bottom: 25px;
  border-radius: 5px;
}
.theme-cobalt .topic-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.theme-cobalt .topic-nav a {
  border-radius: 5px;
  text-align: center;
}
.theme-cobalt .reading-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.theme-cobalt .reading-grid .copy:first-child {
  display: block;
  grid-column: auto;
}
.theme-cobalt .reading-grid .copy:last-child {
  grid-column: 2/4;
}
.theme-cobalt .copy {
  padding: 25px;
}
.theme-cobalt .gallery {
  background: #192c4b;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.theme-cobalt .gallery .eyebrow {
  color: var(--accent);
}
.theme-cobalt .screen-well {
  border-radius: 8px;
  padding: 25px 40px;
}
.theme-cobalt .fact-strip {
  background: var(--surface);
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.theme-cobalt .cta-panel {
  border: 1px solid var(--line);
}
.theme-pine {
  --bg: #f2f4e9;
  --surface: #fafbf3;
  --ink: #234432;
  --muted: #526653;
  --accent: #456a39;
  --soft: #e0e8d2;
  --line: #cbd4bf;
  --radius: 3px;
  --max: 1100px;
}
.theme-pine h1,
.theme-pine h2,
.theme-pine h3 {
  font-family: Georgia, "Noto Serif SC", "SimSun", serif;
  font-weight: 400;
}
.theme-pine .hero {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 75px;
}
.theme-pine .hero-visual {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 48% 48% 4px 4px;
  min-height: 520px;
}
.theme-pine .hero-visual img {
  transform: rotate(-3deg);
  width: 205px;
  border-width: 3px;
}
.theme-pine .action {
  border-radius: 3px;
}
.theme-pine .copy {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: transparent;
}
.theme-pine .reading-grid {
  display: block;
}
.theme-pine .reading-grid .copy,
.theme-pine .reading-grid .copy:first-child {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px 70px;
}
.theme-pine .copy-label {
  grid-column: 1/-1;
}
.theme-pine .reading-grid .copy h2 {
  font-size: 29px;
}
.theme-pine .gallery {
  background: #294837;
  border-radius: 3px;
}
.theme-pine .screen-well {
  background: #ffffff08;
  border: 0;
  padding: 10px 20px;
}
.theme-pine .topic-nav {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.theme-pine .topic-nav a {
  border: 0;
  padding: 6px 12px;
}
.theme-pine .mode-card {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
}
.theme-pine .cta-panel {
  border-radius: 0;
}
.theme-pine .article-copy .copy {
  padding: 30px 0;
}
.theme-pine .inner-head {
  border-bottom: 3px double var(--line);
}
.theme-wine {
  --bg: #f8eee8;
  --surface: #fff7f1;
  --ink: #452b35;
  --muted: #725661;
  --accent: #9c3848;
  --soft: #f0d6ce;
  --line: #ddc5c0;
  --radius: 0px;
}
.theme-wine h1 {
  font-weight: 450;
  line-height: 1.5;
}
.theme-wine .hero {
  grid-template-columns: 1fr 1.15fr;
  gap: 65px;
}
.theme-wine .hero-copy {
  order: 2;
}
.theme-wine .hero-visual {
  order: 1;
  border-radius: 0;
  min-height: 575px;
  background: #ead9d0;
}
.theme-wine .hero-visual img {
  width: 235px;
  transform: rotate(-8deg);
}
.theme-wine .floating-tag {
  left: auto;
  right: 15px;
  bottom: 25px;
  border-radius: 0;
}
.theme-wine .action {
  border-radius: 0;
}
.theme-wine .fact-strip {
  border-block: 3px double var(--line);
}
.theme-wine .reading-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}
.theme-wine .reading-grid .copy:first-child {
  grid-column: auto;
  display: block;
}
.theme-wine .reading-grid .copy:last-child {
  grid-column: 1/-1;
}
.theme-wine .copy {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 30px 0;
}
.theme-wine .gallery {
  border-radius: 0;
  background: #542d3a;
}
.theme-wine .screen-well {
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 15px 24px;
}
.theme-wine .gallery-grid figure:nth-child(2) {
  padding-top: 45px;
}
.theme-wine .mode-grid {
  grid-template-columns: repeat(2, 1fr);
}
.theme-wine .mode-card {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.theme-wine .faq-layout {
  grid-template-columns: 0.7fr 1.3fr;
}
.theme-wine .article-grid {
  grid-template-columns: 1fr;
}
.theme-wine .side-nav {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.theme-wine .article-copy {
  grid-template-columns: 1fr 1fr;
}
.theme-wine .article-copy .copy:last-child {
  grid-column: 1/-1;
}
.theme-wine .article-copy .copy {
  padding: 25px 0;
}
.theme-wine .topic-nav a {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.theme-amber {
  --bg: #fff7e4;
  --surface: #fffdf4;
  --ink: #303b36;
  --muted: #5f6961;
  --accent: #a84e18;
  --soft: #ffe2a0;
  --line: #ddcfac;
  --radius: 30px;
}
.theme-amber .hero {
  display: block;
  text-align: center;
  padding: 60px 0 40px;
}
.theme-amber .hero-copy {
  max-width: 800px;
  margin: auto;
}
.theme-amber .hero-desc {
  margin: 24px auto 30px;
  max-width: 680px;
}
.theme-amber .actions,
.theme-amber .version-line {
  justify-content: center;
}
.theme-amber .hero-visual {
  min-height: 0;
  height: 320px;
  max-width: 100%;
  margin: 40px auto 0;
  border-radius: 36px;
  align-items: flex-start;
  overflow: hidden;
  padding-top: 30px;
}
.theme-amber .hero-visual img {
  width: 240px;
  transform: rotate(9deg);
  margin-left: 80px;
}
.theme-amber .floating-tag {
  left: 20%;
  bottom: auto;
  top: 100px;
  text-align: left;
  z-index: 1;
}
.theme-amber .reading-grid {
  grid-template-columns: repeat(3, 1fr);
}
.theme-amber .reading-grid .copy:first-child {
  display: block;
  grid-column: 1/3;
  background: var(--soft);
}
.theme-amber .reading-grid .copy:nth-child(4) {
  grid-column: 1/3;
}
.theme-amber .gallery {
  background: #34473e;
}
.theme-amber .gallery-grid {
  gap: 20px;
}
.theme-amber .screen-well {
  padding: 18px 35px;
  border-radius: 28px;
}
.theme-amber .fact-strip {
  border: 0;
  background: var(--surface);
  border-radius: 25px;
  padding: 25px;
}
.theme-amber .mode-card {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--line);
  border-radius: 0;
}
.theme-amber .article-copy .copy {
  border-radius: 25px;
}
.theme-amber .side-nav {
  background: var(--soft);
  padding: 20px;
  border-radius: 20px;
}
.theme-amber details {
  background: var(--surface);
  padding: 22px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.theme-amber .faq-layout {
  grid-template-columns: 1fr 1.6fr;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 100px;
  }
  .hero-visual {
    min-height: 600px;
  }
}
@media (max-width: 1050px) {
  .header-inner {
    gap: 22px;
  }
  .nav {
    gap: 18px;
  }
  .header-action {
    display: none;
  }
  .hero {
    gap: 30px;
  }
  .hero-visual {
    min-height: 490px;
  }
  .theme-cobalt .hero {
    gap: 35px;
    grid-template-columns: 1fr 320px;
  }
  .theme-pine .hero {
    gap: 35px;
  }
  .theme-wine .hero {
    gap: 30px;
  }
  .gallery {
    padding: 30px;
  }
  .screen-well {
    padding: 16px 20px;
  }
  .theme-cobalt .screen-well {
    padding: 18px 25px;
  }
  .article-grid {
    gap: 25px;
    grid-template-columns: 190px 1fr;
  }
  .theme-cobalt .reading-grid,
  .theme-amber .reading-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .theme-cobalt .reading-grid .copy:last-child {
    grid-column: 1/-1;
  }
  .theme-amber .reading-grid .copy:first-child,
  .theme-amber .reading-grid .copy:nth-child(4) {
    grid-column: auto;
  }
  .theme-amber .reading-grid .copy:last-child {
    grid-column: 1/-1;
  }
  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 740px) {
  html {
    scroll-padding-top: 25px;
  }
  .frame {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 78px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .brand strong {
    font-size: 22px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 10px;
    width: 44px;
    height: 40px;
    font-size: 20px;
  }
  .nav {
    display: none;
    width: 100%;
    margin: 0 0 18px;
    flex-wrap: wrap;
    gap: 0;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    width: 50%;
    padding: 10px;
    font-size: 14px;
  }
  .hero,
  .theme-cobalt .hero,
  .theme-pine .hero,
  .theme-wine .hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0 30px;
    text-align: left;
    align-items: stretch;
  }
  .hero-copy,
  .theme-wine .hero-copy {
    order: 0;
  }
  .hero-visual,
  .theme-wine .hero-visual,
  .theme-pine .hero-visual,
  .theme-cobalt .hero-visual {
    order: 1;
    min-height: 450px;
    width: 100%;
    border-radius: 70px 20px 70px 20px;
  }
  .hero-visual img,
  .theme-cobalt .hero-visual img,
  .theme-wine .hero-visual img,
  .theme-pine .hero-visual img {
    width: 190px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-desc {
    font-size: 15px;
    margin: 20px 0 25px;
  }
  .actions .action {
    flex: 1;
    padding: 13px 15px;
    gap: 12px;
  }
  .version-line {
    font-size: 11px;
    gap: 8px;
  }
  .fact-strip {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 45px;
  }
  .fact-strip > div:nth-child(2) {
    border: 0;
  }
  .fact-strip strong {
    font-size: 19px;
  }
  .fact-strip > div {
    padding-left: 8px;
  }
  .section {
    margin-block: 48px;
  }
  .section-top {
    display: block;
    margin-bottom: 25px;
  }
  .section-top p {
    margin-top: 15px;
  }
  .eyebrow {
    margin-bottom: 14px;
    letter-spacing: 1.6px;
  }
  .reading-grid,
  .theme-cobalt .reading-grid,
  .theme-wine .reading-grid,
  .theme-amber .reading-grid {
    display: block;
  }
  .copy,
  .theme-cobalt .copy {
    padding: 24px;
    margin-bottom: 15px;
  }
  .reading-grid .copy:first-child,
  .theme-pine .reading-grid .copy,
  .theme-pine .reading-grid .copy:first-child {
    display: block;
  }
  .copy h2,
  .theme-pine .reading-grid .copy h2 {
    font-size: 25px;
  }
  .copy-label {
    margin-bottom: 18px;
  }
  .copy p {
    font-size: 15px;
  }
  .topic-nav {
    gap: 8px;
  }
  .topic-nav a {
    font-size: 12px;
    padding: 7px 12px;
  }
  .theme-cobalt .topic-nav {
    display: flex;
  }
  .gallery,
  .theme-cobalt .gallery,
  .theme-pine .gallery,
  .theme-wine .gallery {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .gallery figure {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 20px;
    align-items: center;
  }
  .gallery figcaption {
    padding: 0;
  }
  .gallery-grid figure:nth-child(2) {
    padding-top: 0;
  }
  .screen-well,
  .theme-wine .screen-well,
  .theme-cobalt .screen-well,
  .theme-pine .screen-well,
  .theme-amber .screen-well {
    padding: 12px;
  }
  .screen-well img {
    border-radius: 10px;
  }
  .gallery figcaption b {
    font-size: 16px;
  }
  .gallery figcaption p {
    font-size: 12px;
  }
  .asset-note {
    line-height: 1.8;
  }
  .mode-grid,
  .theme-wine .mode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mode-card {
    padding: 18px;
  }
  .mode-card h3 {
    font-size: 19px;
  }
  .mode-card p {
    font-size: 13px;
  }
  .faq-layout,
  .theme-wine .faq-layout,
  .theme-amber .faq-layout {
    display: block;
  }
  .faq-intro {
    margin-bottom: 25px;
  }
  summary {
    font-size: 16px;
  }
  .cta-panel {
    padding: 25px;
    display: block;
  }
  .cta-panel .action {
    margin-top: 20px;
  }
  .cta-panel h2 {
    font-size: 26px;
  }
  .inner-head {
    padding: 35px 0 25px;
  }
  .inner-head h1 {
    font-size: 34px;
  }
  .inner-head p {
    font-size: 15px;
  }
  .article-grid {
    display: block;
    margin-top: 25px;
  }
  .side-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
  }
  .side-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }
  .article-copy,
  .theme-wine .article-copy {
    display: block;
  }
  .article-copy .copy {
    padding: 24px;
  }
  .theme-pine .article-copy .copy,
  .theme-wine .article-copy .copy {
    padding: 22px 0;
  }
  .article-copy .copy h2 {
    font-size: 23px;
  }
  .platforms {
    grid-template-columns: 1fr;
  }
  .footer {
    margin-top: 55px;
    padding-bottom: 110px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-top p {
    width: 100%;
  }
  .footer-links {
    gap: 20px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }
  .bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
    z-index: 15;
    font-size: 13px;
  }
  .bottom-action small {
    display: block;
    color: var(--muted);
    font-size: 10px;
  }
  .bottom-action .action {
    padding: 10px 18px;
    min-height: 42px;
    font-size: 13px;
  }
  .theme-amber .hero {
    text-align: left;
  }
  .theme-amber .hero-desc {
    margin: 20px 0 25px;
  }
  .theme-amber .actions,
  .theme-amber .version-line {
    justify-content: flex-start;
  }
  .theme-amber .hero-visual {
    height: 360px;
    min-height: 0;
    margin-top: 0;
  }
  .theme-amber .hero-visual img {
    width: 180px;
    margin-left: 70px;
  }
  .theme-amber .floating-tag {
    left: 12px;
    top: 175px;
    font-size: 10px;
  }
  .theme-amber .floating-tag strong {
    font-size: 15px;
  }
  dialog {
    padding: 24px;
  }
  .dialog-heading {
    font-size: 26px;
  }
  .contact-row {
    padding: 14px;
  }
  .contact-row strong {
    font-size: 23px;
  }
  .reminder {
    font-size: 13px;
  }
  .device-choices {
    gap: 16px;
  }
  .dialog-footer {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
