:root {
  color-scheme: light;
  --ground: #e7eeeb;
  --ink: #153b32;
  --muted: #405c53;
  --accent: #1f6754;
  --warm: #936064;
  --line: #33584a30;
}

.world::before {
  background: linear-gradient(90deg, #edf3eff5 0%, #edf3efdc 24%, #edf3ef35 43%, transparent 57%);
}
.world::after {
  background: linear-gradient(270deg, #edf3eff5 0%, #edf3efdc 24%, #edf3ef35 43%, transparent 57%);
}
.site-header {
  background: #eef4efce;
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(.75);
}
.site-header nav { gap: 26px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.brand-credit { color: #526c60; }
.header-download, .hero .button, .download-windows {
  color: #f5fbf7;
  background: var(--accent);
  border-color: var(--accent);
}
.header-download:hover, .hero .button:hover, .download-windows:hover {
  background: #124c3d;
  color: #ffffff;
}
.button {
  border-radius: 3px;
  border-color: #526d604a;
  background: #ffffff70;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.button:hover { box-shadow: inset 0 0 0 1px #275b4430; }
.icon-button { border-color: #33584a40; }
.icon-button:hover { background: #ffffff80; border-color: #33584a80; }
.hero-line, .chapter-copy h2 em { color: #1b6b57; }
.chapter-copy { text-shadow: none; }
.chapter-copy .detail, .platform-line, .platform-line span { color: var(--muted) !important; }
.hero .chapter-copy h1 { font-size: 96px; line-height: 1.06; }
.hero-line { font-size: 58px; margin-top: 16px; }
.hero .intro { font-size: 14px; line-height: 1.9; margin-top: 24px; }
.hero .button { gap: 32px; }
.hero .platform-line { padding-top: 16px; border-top: 1px solid var(--line); }
.chapter-help { color: #205c4a; }
.chapter-help:hover, .text-link:hover { color: #082f24; }
.chapter-number { color: var(--warm); }
.quiet-list { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.site-footer {
  background: #edf3eff7;
  backdrop-filter: blur(8px);
  padding-top: 130px;
}
.download-heading { margin-bottom: 42px; }
.download-heading h2 { font-size: 64px; line-height: 1.1; }
.download-heading p { font-size: 14px; color: var(--muted); }
.download-packages { gap: 64px; }
.download-package { border-top: 1px solid #33584a85; padding: 26px 0 35px; }
.package-platform { gap: 16px; }
.package-platform>svg { width: 32px; height: 32px; color: var(--accent); }
.package-platform h3 { font-size: 28px; }
.package-platform>span { padding: 4px 0; color: var(--muted); }
.download-package .button { min-height: 50px; gap: 18px; }
.download-package small { color: var(--muted); }
.download-package .system-requirement { color: var(--muted); }
.release-actions { border: 0; padding: 8px 0 26px; gap: 32px; }
.business-section { margin: 15px auto 0; padding: 35px 0; border-top: 1px solid var(--line); }
.business-section h3 { font-size: 30px; margin: 0; }
.business-section .button { padding: 0; background: none; border: 0; color: var(--accent); gap: 14px; }
.business-section .button:hover { box-shadow: none; color: var(--ink); }
.storage-details { margin-top: 0; border-top: 0; padding-top: 34px; }
.storage-details h3 { font-size: 22px; }
.storage-columns { gap: 40px; }
.example-disclosure { color: var(--muted); }
body[data-view=overview] .site-footer { background: #edf3ef; }
.proof-dialog, .tools-dialog { background: #f2f7f3; border-color: #33584a47; }
.proof-dialog::backdrop, .tools-dialog::backdrop { background: #244b3c80; }
.proof-comparison>div, .tool-content input, .tool-content select, .tool-content textarea { background: #ffffff; }
.proof-comparison button[aria-pressed=true] { background: var(--accent); color: #ffffff; }
.archive-stage { background: #dce6df; }
.site-header nav.open { background: #edf3eff5; }
.channel-label, .test-channel, .proof-toolbar p span, .release-entry .test-channel, .release-warning { color: #885055 !important; }
.offline-stages li, .offline-receipt dt, .previous-release, .release-entry small { color: var(--muted) !important; }
.offline-stages li[aria-current], .offline-stages li.completed, .release-entry>span { color: var(--accent); border-color: var(--accent); }
.connection-result ol { color: var(--muted); }
.journey { background: #eef4efcf; border-color: var(--line); }
.journey-file, .journey-file>svg, .journey-stops>a { color: var(--muted); }
.journey-file small { color: #5a7367; }
.stop-dot { background: #e0eade; border-color: #5b816b; }
.journey-line { background: var(--line); }
.journey-line span { background: var(--accent); }
.tool-content input[type=radio], .tool-content input[type=range] { accent-color: var(--accent); }
.tool-content :focus-visible { outline-color: var(--accent); }

@media (max-width: 1100px) {
  .site-header nav { gap: 14px; }
  .hero .chapter-copy h1 { font-size: 68px; }
  .hero-line { font-size: 44px; }
  .hero .intro { font-size: 12px; margin-top: 16px; }
  .download-heading h2 { font-size: 52px; }
}
@media (max-width: 760px) {
  .world::before { background: linear-gradient(180deg, #edf3effa 0%, #edf3eff5 31%, #edf3efa8 42%, transparent 54%); }
  .site-header nav { background: #edf3eff5; gap: 8px; }
  .chapter-copy, .hero .chapter-copy { text-shadow: none; }
  .hero .chapter-copy h1 { font-size: 60px; }
  .hero-line { font-size: 42px; margin-top: 5px; }
  .hero .intro { font-size: 11px; line-height: 1.85; margin-top: 13px; }
  .hero .button { margin-top: 18px; gap: 22px; }
  .hero .interface-open { margin-top: 8px; }
  .quiet-list { margin-top: 11px; padding: 3px 0; }
  .site-footer { padding-top: 112px; }
  .download-heading { margin-bottom: 28px; }
  .download-heading h2 { font-size: 44px; }
  .download-heading p { font-size: 12px; }
  .download-packages { gap: 0; }
  .package-platform h3 { font-size: 25px; }
  .download-package { padding: 23px 0 30px; }
  .download-package .button { width: 100%; justify-content: space-between; text-align: left; padding: 0 18px; }
  .business-section h3 { font-size: 25px; }
  .business-section { padding: 26px 0; }
  .business-section .button { margin-top: 15px; }
}
@media (max-width: 350px) {
  .hero .chapter-copy h1 { font-size: 52px; }
  .hero-line { font-size: 36px; }
  .download-heading h2 { font-size: 38px; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .hero .chapter-copy h1 { font-size: 62px; }
  .hero-line { font-size: 42px; margin-top: 8px; }
  .hero .intro { font-size: 12px; margin-top: 11px; }
  .hero .button { margin-top: 14px; }
  .quiet-list { margin-top: 12px; padding: 8px 0; }
}

@media (max-height: 600px) and (min-width: 761px) and (max-width: 1000px) {
  body[data-chapter="2"] .world::before, body[data-chapter="3"] .world::before { opacity: 1; }
  body[data-chapter="2"] .world::after, body[data-chapter="3"] .world::after { opacity: 0; }
}
@media (max-height: 600px) and (min-width: 761px) and (max-width: 1000px) {
  .hero .chapter-copy h1 { font-size: 48px; }
  .hero-line { font-size: 34px; }
  .hero .intro { font-size: 11px; margin-top: 10px; }
  .hero .button { margin-top: 10px; }
  .quiet-list { margin-top: 8px; padding: 6px 0; }
}
