:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #191b28;
  background: #fcfbf8;
  --ink: #191b28;
  --blue: #4042bd;
  --muted: #5c5c68;
  --rule: #deddd9;
  --canvas: min(78rem, calc(100% - clamp(2.25rem, 9vw, 10rem)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, p, h1, h2, figure, dl, dd { margin: 0; }
body { line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #6265ec; outline-offset: 4px; }
img { display: block; }
.site-header, footer, main { width: var(--canvas); margin-inline: auto; }
.site-header, footer, nav, .brand { display: flex; align-items: center; }
.site-header { min-height: 5rem; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); }
.brand { gap: .55rem; font-weight: 740; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 1.9rem; height: 1.9rem; }
nav { gap: clamp(.85rem, 3vw, 2.6rem); }
nav a, footer a { font-size: .925rem; font-weight: 540; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.nav-policy { border: 1px solid #cac9c6; border-radius: 99px; padding: .4rem 1.1rem; }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 5vw, 5rem) 0; }
.hero-copy { padding-block: .55rem; }
.platform { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 620; color: var(--blue); }
.win { width: 1rem; height: 1rem; background: conic-gradient(var(--blue) 0 100%); mask: linear-gradient(to right, #000 45%, transparent 45% 55%, #000 55%), linear-gradient(to bottom, #000 45%, transparent 45% 55%, #000 55%); mask-composite: intersect; }
h1 { margin: 1.1rem 0 1.2rem; font-size: clamp(3.2rem, 5.55vw, 5.4rem); line-height: 1.15; letter-spacing: -.068em; font-weight: 790; }
h1 em { font-style: normal; color: var(--blue); }
.lead { color: var(--muted); line-height: 1.9; font-size: clamp(1rem, 1.35vw, 1.14rem); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.7rem; padding: .76rem 1.45rem; border-radius: 99px; background: var(--ink); color: white; font-size: .95rem; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--blue); color: white; }
.play { width: 0; height: 0; border-block: .3rem solid transparent; border-left: .48rem solid currentColor; }
.hero-art { position: relative; overflow: hidden; isolation: isolate; border-radius: 1.7rem; background: #dedcf8; aspect-ratio: 1.32; }
.calendar-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { position: absolute; left: 6%; bottom: 6%; display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid #ededf5; box-shadow: 0 6px 20px #28245416; border-radius: .85rem; padding: .6rem .95rem; line-height: 1.35; }
.schedule-mark { display: grid; place-items: center; width: 2.15rem; aspect-ratio: 1; border-radius: .6rem; background: #e9f7eb; color: #157240; font-weight: 750; }
.hero-art small, .hero-art strong { display: block; }
.hero-art small { font-size: .75rem; color: var(--muted); }
.hero-art time { font-size: .9rem; color: #414154; margin-left: .45rem; font-variant-numeric: tabular-nums; }
h2 { font-size: clamp(1.85rem, 3.15vw, 3rem); line-height: 1.28; letter-spacing: -.05em; }
section[id] { scroll-margin-top: 1.5rem; }
.walkthrough { padding: clamp(2.1rem, 4vw, 3.7rem) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; gap: .5rem 1.25rem; flex-wrap: wrap; margin-bottom: 1.65rem; }
.section-head span { color: var(--muted); font-size: .9rem; }
.demo-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; background: #efeee9; border-radius: 1.35rem; overflow: hidden; }
.steps { align-self: center; padding: clamp(1.25rem, 4vw, 3.8rem); }
.step + .step { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid #d1d1cb; }
.step button { appearance: none; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 0; border: 0; color: var(--ink); background: transparent; line-height: 1.5; font-family: inherit; font-size: 1.25rem; font-weight: 680; text-align: left; }
.step button span { display: grid; place-items: center; background: #e1e0dc; color: #535362; font: 600 1.25rem/1 system-ui; width: 2.05rem; aspect-ratio: 1; border-radius: 50%; }
.step button[aria-pressed=true] { color: var(--blue); }
.step button[aria-pressed=true] span { background: var(--blue); color: white; }
.step button:hover { text-decoration: underline; text-underline-offset: .2em; }
.step p, .calendar-intro p, dd { color: var(--muted); line-height: 1.85; }
.step p { margin-top: .65rem; }
kbd { display: inline-block; padding: 0 .28rem; background: #fbfaf8; border: 1px solid #d4d3cf; border-bottom-width: 2px; border-radius: .28rem; color: #35353d; font: .86rem/1.45 "Segoe UI", system-ui, sans-serif; }
.screen-stage { min-height: 29rem; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem 1.5rem; background-color: #e0e4f1; background-image: radial-gradient(#adb3ca 1px, transparent 1px); background-size: 12px 12px; }
.app-frame { width: min(100%, 27rem); background: #f3f3f3; border: 1px solid #b8bbcd; border-radius: .75rem; overflow: hidden; box-shadow: 0 12px 27px -12px #24244146; }
.app-frame figcaption { display: flex; align-items: center; gap: .45rem; padding: .65rem .9rem; border-bottom: 1px solid #e0e0e0; font-size: .88rem; font-weight: 650; }
.app-frame figcaption span { margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 500; }
.app-frame > img, .confirm-body img { width: 100%; height: auto; }
.confirm-body { margin: 1.5rem .7rem; border-radius: .55rem; overflow: hidden; background: #fff; }
.confirm-save { margin-top: 1rem; }
.calendar-section { display: grid; grid-template-columns: .87fr 1.13fr; gap: 8%; border-top: 1px solid var(--rule); padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.calendar-intro p { margin: 1rem 0; max-width: 28rem; }
.calendar-intro a, .policy a { color: var(--blue); }
dl > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
dl > div:first-child { padding-top: 0; }
dt { font-weight: 700; }
footer { min-height: 5rem; gap: 1.4rem; flex-wrap: wrap; padding: 1.3rem 0; border-top: 1px solid var(--rule); }
footer .brand { margin-right: auto; font-size: 1.16rem; }
footer .brand img { width: 4rem; height: 4rem; }
.policy { max-width: 46rem; padding: 3rem 0 4rem; }
.policy h1 { font-size: clamp(2.5rem, 5vw, 3.7rem); }
.policy .updated { font-size: .95rem; }
.policy p { line-height: 1.95; color: #50505c; }
.policy .intro { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-top: 1.6rem; }
.policy h2 { font-size: 1.5rem; margin: 2.3rem 0 .65rem; }
.policy p + p { margin-top: .9rem; }
@media (max-width: 50rem) {
  .hero { gap: 1.25rem; }
  .wide { display: none; }
  .demo-layout { grid-template-columns: .85fr 1.15fr; }
  .screen-stage { min-height: 22rem; padding: 1.2rem; }
}
@media (max-width: 40rem) {
  .site-header { min-height: 4rem; }
  .brand { font-size: 1.3rem; }
  nav { gap: .8rem; }
  .nav-demo { display: none; }
  .nav-policy { padding: .25rem .65rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem 0; }
  .hero-copy { padding: 0; }
  .hero-art { aspect-ratio: 1.6; border-radius: 1.1rem; }
  h1 { font-size: clamp(3.1rem, 10.8vw, 4rem); margin: .7rem 0 1rem; }
  .button { margin-top: 1.1rem; }
  .demo-layout, .calendar-section { grid-template-columns: 1fr; }
  .steps { padding: 1.3rem; }
  .step + .step { margin-top: .85rem; padding-top: .85rem; }
  .screen-stage { min-height: 21rem; }
  .calendar-section { gap: 1.8rem; }
}
.lang-switch { color: var(--blue); white-space: nowrap; }
html[lang="en"] .hero h1 { font-size: clamp(3rem, 5.2vw, 5rem); letter-spacing: -.055em; }
html[lang="en"] .calendar-section dl > div { grid-template-columns: minmax(7rem, .7fr) 2fr; }
@media (max-width: 36rem) {
  .site-header { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .8rem; }
  .site-header nav { flex-wrap: wrap; gap: .45rem .8rem; }
  html[lang="en"] .calendar-section dl > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
