:root {
  color-scheme: light;
  --night: #102128;
  --deep: #0a181d;
  --moon: #fff2d8;
  --gold: #ebc387;
  --paper: #f6efdf;
  --ink: #23322f;
  --muted: #545e54;
  --rule: #cbbda5;
  --serif: "Instrument Serif", "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--moon); font: 16px/1.65 var(--sans); }
figure, h1, h2, h3, ol, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(1200px, calc(100% - 2 * clamp(20px, 6vw, 80px))); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: 6px; left: 6px; background: var(--moon); color: var(--deep); padding: 8px 14px; transform: translateY(-125%); }
.skip:focus { transform: none; }

.header { position: relative; z-index: 2; background: var(--deep); border-bottom: 1px solid #ddc99622; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 660; line-height: 1.2; }
.brand img { border-radius: 9px; }
.nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(17px, 3vw, 36px); color: #e0d3b7; font-size: 14px; }
.nav a, .footer nav a { padding-block: 10px; }
.nav a:hover, .footer nav a:hover { color: var(--moon); text-decoration: underline; text-underline-offset: 4px; }
.nav .language { padding: 5px 13px; border: 1px solid #dec79250; border-radius: 4px; white-space: nowrap; }

.hero { overflow: hidden; background: var(--night); }
.hero-inner { position: relative; isolation: isolate; min-height: clamp(560px, 50vw, 720px); display: flex; align-items: center; }
.hero-art { position: absolute; z-index: -1; inset: 0 calc((min(1200px, 100vw) - 100vw) / 2) 0 37%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--night), #102128a8 13%, #10212814 37%, transparent 71%, #10212842),
    linear-gradient(0deg, var(--night), #10212800 25%);
}
.hero-copy { position: relative; max-width: 48%; padding-block: 70px; }
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 640; letter-spacing: .09em; }
.hero h1 { margin-top: 16px; font: 650 clamp(58px, 7.4vw, 112px)/1.02 var(--serif); letter-spacing: .015em; }
html[lang="en"] .hero h1 { max-width: 7ch; letter-spacing: -.045em; font-weight: 500; }
.tagline { margin-top: 20px; font: 600 clamp(23px, 2.3vw, 37px)/1.22 var(--serif); }
.summary { max-width: 33rem; margin-top: 15px; color: #e9dcc4; font-size: clamp(15px, 1.3vw, 18px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 19px; padding: 12px 22px; min-height: 50px; border: 1px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 690; }
.button-primary { color: #241d13; background: var(--gold); }
.button-primary:hover { background: #ffda9f; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; font-weight: 570; color: var(--moon); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.browser-note { color: #c4bba7; font-size: 13px; margin-top: 13px; }

.paper { background: var(--paper); color: var(--ink); }
.rules, .daily {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(40px, 8vw, 115px); padding-block: clamp(56px, 8vw, 115px);
}
h2 { font: 640 clamp(34px, 4vw, 62px)/1.14 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
html[lang="en"] h2 { font-weight: 500; letter-spacing: -.035em; }
.section-intro { max-width: 34rem; margin-top: 18px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }
.steps { list-style: none; counter-reset: step; margin-top: 29px; padding: 0; }
.steps li { display: flex; gap: 17px; padding: 15px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  color: #8a4130; font: 650 14px/1.75 var(--sans); flex: 0 0 2ch;
}
.steps h3 { font-size: 17px; font-weight: 690; line-height: 1.4; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.board-frame {
  display: grid; place-items: center; padding: 24px;
  border: 1px solid #9e8360; border-radius: 9px;
  background: radial-gradient(ellipse at 50% 30%, #365051, var(--deep) 74%);
}
.board-frame img { width: min(62%, 295px); height: auto; border: 1px solid #dfc99b67; border-radius: 12px; box-shadow: 0 12px 35px #02090e95; }

.atlas { background: #152930; padding-block: clamp(52px, 7vw, 98px); }
.atlas-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 370px); gap: clamp(28px, 7vw, 105px); align-items: center; }
.atlas .section-intro { color: #ddcfb5; }
.note-frame, .daily-frame { align-self: center; text-align: center; }
.note-frame img {
  width: 100%; height: auto; aspect-ratio: .87; object-fit: cover; object-position: center;
  border-radius: 8px; border: 1px solid #e2c58a50;
}
figcaption { margin-top: 9px; font-size: 13px; color: #dfd3ba; }
.season-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(30px, 6vw, 65px); border: 1px solid #ecd7a73d; border-radius: 7px; }
.season { padding: 22px clamp(14px, 2.4vw, 31px); }
.season + .season { border-left: 1px solid #ecd7a73d; }
.season h3 { font: 600 clamp(23px, 2.8vw, 34px)/1.2 var(--serif); color: #b7d6b9; }
.season:nth-child(2) h3 { color: #eeb299; }
.season:nth-child(3) h3 { color: #f0cb95; }
.season:nth-child(4) h3 { color: #b2d6e9; }
.season ol { margin-top: 12px; list-style: none; padding: 0; color: #eadfc9; font-size: 15px; line-height: 1.95; }

.daily-frame img {
  width: min(100%, 286px); height: auto; margin-inline: auto;
  border: 1px solid #9e8360; border-radius: 12px; box-shadow: 0 12px 32px #4e392e35;
}
.daily-frame figcaption { color: var(--muted); }
.daily .button { margin-top: 25px; background: var(--night); color: var(--moon); }
.daily .button:hover { background: #263e45; }
.footer { background: var(--deep); border-top: 1px solid #ddc99622; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 125px; padding-block: 25px; }
.footer p { margin-top: 5px; font-size: 13px; color: #c4bba7; }

@media (max-width: 950px) {
  .hero-copy { max-width: 55%; }
  .hero-art { left: 34%; right: -6vw; }
  .hero-art::after { background: linear-gradient(90deg, var(--night), #10212839 42%, transparent 71%), linear-gradient(0deg, var(--night), transparent 26%); }
}
@media (max-width: 660px) {
  .header-inner { min-height: 61px; gap: 10px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 12px; font-size: 13px; flex-wrap: nowrap; }
  .nav .language { padding: 4px 8px; }
  .nav .section-link { display: none; }

  .hero-inner { width: 100%; display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; inset: auto; height: clamp(205px, 59vw, 350px); z-index: 0; }
  .hero-art img { object-position: center 33%; }
  .hero-art::after { background: linear-gradient(0deg, var(--night), #10212800 45%); }
  .hero-copy { max-width: none; margin-top: -23px; padding: 0 20px 37px; }
  .hero h1 { margin-top: 10px; font-size: clamp(48px, 12vw, 76px); }
  html[lang="en"] .hero h1 { max-width: none; font-size: clamp(40px, 9vw, 66px); }
  .eyebrow { letter-spacing: .025em; }
  .tagline { margin-top: 13px; }
  .summary { margin-top: 12px; }
  .actions { margin-top: 22px; gap: 6px 17px; }
  .button { min-height: 46px; gap: 10px; padding-inline: 14px; }

  .rules, .atlas-top, .daily { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .board-frame { padding: 17px; }
  .board-frame img { width: min(82%, 253px); }
  .note-frame { max-width: 430px; margin-inline: auto; }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season:nth-child(3) { border-left: 0; }
  .season:nth-child(n+3) { border-top: 1px solid #ecd7a73d; }
  .season ol { font-size: 14px; }
  .daily .section-copy { order: -1; }
  .daily-frame img { width: min(100%, 248px); }
  .footer-inner { align-items: start; flex-direction: column; gap: 10px; }
}
