:root {
  color-scheme: dark;
  --bg: #060e17;
  --surface: #0d1b28;
  --ink: #f6fafc;
  --muted: #acbac7;
  --teal: #08d1c0;
  --line: #273744;
  --radius: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: #96fff2; }
a:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.3vw, 5.6rem); font-weight: 850; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.25rem; }
a, summary { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1140px, calc(100% - 3rem)); margin: auto; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--teal); color: var(--bg); padding: .75rem; z-index: 9; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
.brand img { width: 42px; border-radius: 11px; }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current=page] { color: var(--teal); }
.eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; min-height: 690px; padding: 5rem 0; }
.hero > div { min-width: 0; }
.hero h1 span { color: var(--teal); }
.hero .intro { font-size: 1.2rem; color: var(--muted); max-width: 490px; }
.hero-art { text-align: center; }
.hero-art img { width: 100%; max-width: 360px; margin: auto; border-radius: 23%; box-shadow: 0 22px 100px #00d3be20; }
.hero-art p { margin: 1.6rem 0 0; color: var(--muted); font-size: .875rem; letter-spacing: .12em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; border-radius: 12px; background: var(--teal); color: #002a2a; text-decoration: none; font-weight: 800; padding: .85rem 1.4rem; text-align: center; }
.button:hover { background: #6bf6e5; color: #002a2a; }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--teal); }
.note { font-size: .875rem; color: var(--muted); margin-top: 1rem; }
.modes { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 660px; margin-bottom: 3rem; }
.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.daily { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; background: linear-gradient(120deg, #073330, var(--surface)); padding: 3rem; border: 1px solid #116059; border-radius: var(--radius); margin-bottom: 1.5rem; }
.daily h3 { font-size: 2.25rem; }
.daily p:not(.eyebrow) { color: #bdd8d5; max-width: 440px; margin-bottom: 0; }
.daily-rule { border-left: 1px solid #28645d; padding-left: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.daily-rule strong { font-size: 1.5rem; line-height: 1.3; }
.daily-rule span { color: #bdd8d5; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mode { padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mode .number { font-size: .75rem; letter-spacing: .08em; color: var(--teal); font-weight: 800; margin-bottom: 2rem; }
.mode p { color: var(--muted); margin: 0; }
.extras { border-block: 1px solid var(--line); padding: 4.5rem 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 4rem; padding: 0; margin: 0 0 2.5rem; list-style: none; }
.feature-list strong { display: block; font-size: 1.25rem; margin-bottom: .4rem; }
.feature-list span { color: var(--muted); }
.closing { display: flex; gap: 3rem; align-items: center; justify-content: space-between; padding: 4.5rem 0; }
.closing > div { max-width: 650px; }
.closing p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.closing h2 { font-size: clamp(2rem, 3vw, 2.5rem); }
.closing > .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.document-header { padding: 4.5rem 0 2rem; max-width: 800px; }
.document-header h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.document-header .intro { font-size: 1.125rem; color: var(--muted); }
.document { max-width: 800px; padding-bottom: 5rem; }
.document h2 { font-size: 1.75rem; margin: 3rem 0 1rem; }
.document h3 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }
.document p, .document li { color: #c8d2da; }
.document li { margin: .6rem 0; }
.document ul { padding-left: 1.3rem; }
.callout { background: var(--surface); border-left: 3px solid var(--teal); padding: 1.5rem 1.75rem; border-radius: 0 16px 16px 0; margin: 1rem 0 2rem; }
.callout p:last-child { margin-bottom: 0; }
.callout h2:first-child { margin-top: 0; }
.toc { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; font-size: .9375rem; border-block: 1px solid var(--line); padding: 1.3rem 0; }
.toc a { padding: .35rem 0; }
.email { overflow-wrap: anywhere; }
.document details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.document summary { cursor: pointer; font-weight: 750; font-size: 1.125rem; }
.document details p { padding-top: 1rem; margin-bottom: .4rem; }
.support-contact .button { margin-bottom: 1rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { gap: 1rem; }
  .nav { gap: 1rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0; min-height: 0; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; }
  .hero-art p { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.5rem); }
  .hero .intro { font-size: 1.125rem; }
  .modes, .extras { padding: 3.5rem 0; }
  .daily { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.75rem; }
  .daily-rule { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid #28645d; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode .number { margin-bottom: 1rem; }
  .feature-list { gap: 2rem; }
  .closing { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 3.5rem 0; }
  .document-header { padding-top: 3rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .5rem; padding: 1rem 0; }
  .nav { gap: 1.4rem; }
  .hero { padding-top: 2rem; gap: 2rem; }
  .hero-art img { width: 120px; }
  .brand img { width: 36px; }
  .feature-list { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .button { padding-inline: 1rem; }
  .daily, .mode { padding: 1.5rem; }
  .callout { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .skip, .toc { display: none; }
  .document p, .document li, .document-header .intro { color: #222; }
  .document-header, .document { padding: 0; max-width: none; }
  .wrap { width: 100%; }
  a { color: #164c49; }
  .callout { background: #fff; border-color: #555; }
  h2 { break-after: avoid; }
}
