@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-cyrillic.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f0edf8;
  --paper: #fff;
  --ink: #141b20;
  --quiet: #4f5a64;
  --line: #cdd3dc;
  --blue: #2e88ef;
  --blue-dark: #185aa5;
  --button: #111315;
  --button-hover: #363d45;
  --blue-pale: #c5e0ff;
  --pink: #fae0ff;
  --yellow: #faff63;
  --han: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-weight: 400; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img { max-width: 100%; display: block; }
button, textarea, input { font: inherit; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 5.55vw, 5.6rem); line-height: .99; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.6rem); line-height: 1.02; }
[lang="zh-Hans"] { font-family: var(--han); letter-spacing: 0; }
section[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: 1rem; background: white; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 760; font-size: 1.3rem; white-space: nowrap; text-decoration: none; letter-spacing: -.04em; }
.brand img { width: 2.125rem; height: 2.125rem; object-fit: contain; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .38rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--button); color: white; }
.button-primary:hover { background: var(--button-hover); }
.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: white; }
.compact { min-height: 2.7rem; padding: .65rem 1rem; font-size: .9rem; }
.text-link { font-weight: 500; font-size: .98rem; text-underline-offset: .3em; }
.text-link:hover { color: var(--blue-dark); }

.section-lead { margin-top: 1.2rem; max-width: 31rem; font-size: clamp(1.04rem, 1.65vw, 1.25rem); line-height: 1.56; color: var(--quiet); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; flex: 0 0 auto; line-height: 1; font-size: 1.65rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
.answer { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.answer summary { min-height: 3.15rem; color: var(--blue-dark); }
.answer[open] { padding-bottom: .25rem; }

.sheet { max-width: 61rem; padding-block: 3rem 5rem; }
.sheet h1 { margin-top: .6rem; font-size: clamp(2.7rem, 6vw, 5rem); }
.sheet .section-lead { max-width: 42rem; }
.sheet-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-block: 1.8rem 2.6rem; }
.sheet-notes label { padding: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: .35rem; font-weight: 670; }
.sheet textarea { display: block; width: 100%; min-height: 4.5rem; resize: vertical; margin-top: .55rem; border: 1px solid var(--line); border-radius: .3rem; padding: .65rem; background: white; color: var(--ink); font-weight: 400; }
.sheet textarea:focus-visible { outline-offset: 1px; }
.sheet h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
.sheet-tasks, .sheet-keys { padding-left: 1.35rem; }
.sheet-tasks li { padding: .7rem 0; }
.sheet-tasks label { display: grid; gap: .25rem; }
.sheet-tasks label > span[lang] { font-size: 1.4rem; font-weight: 600; }
.sheet-tasks small { font-size: .92rem; line-height: 1.45; color: var(--quiet); }
.sheet-tasks textarea { min-height: 3rem; }
.sheet-print { margin-top: 1rem; }
.print-note { display: none; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .header-row { min-height: 4.15rem; gap: .65rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 1.85rem; height: 1.85rem; }
}
@media (max-width: 460px) {
  .sheet-notes { grid-template-columns: 1fr; }
  .sheet { padding-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  @page { margin: 14mm; }
  body { background: white; color: black; }
  .sheet .section-lead { color: black; }
  .worksheet-page .site-header, .sheet-print, .sheet .answer, .sheet textarea { display: none; }
  .sheet { width: 100%; margin: 0; padding: 0; }
  .sheet h1 { font-size: 32pt; }
  .sheet h2 { font-size: 20pt; }
  .sheet-notes { grid-template-columns: repeat(3, 1fr); }
  .sheet-notes label, .sheet-tasks li { break-inside: avoid; }
  .print-note { display: block; min-height: 1.75rem; margin-top: .35rem; padding: .2rem; border-bottom: 1px solid #999; overflow-wrap: anywhere; white-space: pre-wrap; font-weight: 400; }
}

.landing .shell { width: min(calc(100% - 5rem), 72.5rem); }
.landing-logo { display: flex; align-items: flex-start; padding-block: 2.75rem 2.5rem; }
.landing-logo .brand, .landing-footer .brand { font-size: 1.6rem; }
.landing-logo .brand img, .landing-footer .brand img { width: 2.38rem; height: 2.38rem; }
.overview {
  position: relative;
  display: grid;
  grid-template-areas: "title visual" "lead visual" "program signup";
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  column-gap: clamp(1.75rem, 4.16vw, 3.75rem);
}
.intro-title { grid-area: title; align-self: end; padding-block: 1.75rem 1.25rem; }
.intro-title h1 { font-size: clamp(2.65rem, 5.05vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; overflow-wrap: break-word; }
.intro-title h1 span { color: var(--blue); }
.intro-lead {
  grid-area: lead;
  max-width: 40rem;
  font-size: clamp(1.15rem, 1.75vw, 1.48rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--quiet);
}
.intro-lead strong { font-weight: 650; }
.intro-visual {
  grid-area: visual;
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(112%, 30rem);
  margin: 0;
  padding-bottom: clamp(3.4rem, 7vw, 6.75rem);
}
.intro-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: .5rem solid var(--paper);
  border-radius: .9rem;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(20, 27, 32, .14);
}
.lesson-label { position: absolute; bottom: 0; left: -7%; right: -3%; display: flex; flex-direction: column; align-items: flex-start; }
.lesson-label span, .lesson-label strong {
  display: block;
  padding: .12em .36em .21em;
  line-height: 1;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
.lesson-label span {
  padding-inline: .48em;
  background: var(--pink);
  color: var(--ink);
  clip-path: polygon(0 29%, 7% 4%, 87% 0, 100% 22%, 98% 72%, 93% 96%, 8% 100%, 1% 76%);
  transform: rotate(-8deg);
}
.lesson-label strong {
  position: relative;
  align-self: flex-end;
  margin-top: -.12em;
  padding-inline: .48em;
  background: var(--blue);
  color: white;
  border-radius: .55em .38em .52em .34em;
  transform: rotate(7deg);
}
.lesson-label strong::after {
  content: "";
  position: absolute;
  left: .58em;
  bottom: -.18em;
  width: .47em;
  height: .34em;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 20% 100%);
}
.program-card, .signup-top { margin-top: clamp(2.5rem, 4.4vw, 4.25rem); padding: 1.5rem; }
.program-card {
  grid-area: program;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.program-card h2, .signup-top h2 { font-size: clamp(1.95rem, 3.05vw, 2.62rem); letter-spacing: -.025em; }
.program-card h2 { font-size: clamp(2rem, 3.35vw, 2.9rem); }
.program-points {
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 2rem);
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 1.8rem;
  color: var(--quiet);
  font-size: clamp(1.25rem, 2.35vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
}
.signup-top {
  grid-area: signup;
  background: var(--blue);
  color: white;
  border-radius: 1rem;
}
.signup-top h2 { margin-bottom: 2rem; }
.request-form { min-width: 0; display: grid; gap: 1rem; }
.request-form input {
  min-width: 0;
  width: 100%;
  height: 3.75rem;
  padding: .85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  line-height: 1.2;
}
.request-form input::placeholder { color: #65717a; opacity: 1; }
.request-form input:focus-visible { outline-color: var(--ink); outline-offset: 2px; }
.signup-top .request-form :focus-visible { outline-color: var(--yellow); }
.request-submit {
  margin-top: 1rem;
  min-height: 3.75rem;
  font-size: clamp(1.05rem, 1.7vw, 1.43rem);
  border-radius: .6rem;
}
.request-note { color: var(--ink); margin-top: .3rem; font-size: .875rem; line-height: 1.27; }
.request-note a { text-underline-offset: .15em; }
.speaker-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  align-items: stretch;
  margin: 10.8rem 0 5.8rem;
}
.speaker-panel {
  position: relative;
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
  border: .4rem solid var(--paper);
  border-radius: .8rem;
  box-shadow: 0 0 0 1px var(--line);
}
.speaker-intro { background: var(--paper); }
.speaker-label {
  position: absolute;
  top: -2.7rem;
  left: 23%;
  padding: .42rem 1rem .55rem;
  color: var(--ink);
  background: var(--pink);
  border: 1px solid var(--line);
  border-radius: .24rem;
  transform: rotate(-12deg);
  font-size: clamp(1.19rem, 2.35vw, 2.12rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
.speaker-panel h2 { text-decoration: underline; text-decoration-thickness: .065em; text-underline-offset: .11em; font-size: clamp(1.7rem, 3vw, 2.68rem); }
.speaker-name { margin: 1.15rem 0 .6rem; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.15; font-weight: 650; }
.speaker-bio { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.4; }
.speaker-photo {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}
.speaker-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 60%;
}
.speaker-note { background: var(--page); border-width: 6px; transform: rotate(7deg); padding: 1.2rem 1.75rem; }
.speaker-note-cn { color: var(--blue); font-size: 3.4rem; line-height: 1; font-weight: 760; }
.lesson-gift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  max-width: 65rem;
  margin: 0 auto 7.25rem;
}
.gift-stickers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .75rem 0;
  font-size: clamp(2.05rem, 4.2vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.gift-stickers span {
  padding: .2em .6em .27em;
  background: var(--pink);
  color: var(--ink);
  clip-path: polygon(0 32%, 8% 6%, 88% 0, 100% 24%, 97% 76%, 89% 100%, 7% 95%);
  transform: rotate(-10deg);
}
.gift-stickers strong {
  align-self: flex-end;
  padding: .2em .58em .29em;
  background: var(--blue);
  color: var(--paper);
  border-radius: .65em .42em .6em .35em;
  transform: rotate(6deg);
  font-weight: inherit;
}
.gift-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); text-wrap: balance; }
.gift-copy p { margin-top: .8rem; color: var(--quiet); font-size: clamp(1.15rem, 1.85vw, 1.48rem); line-height: 1.35; max-width: 41rem; }
.signup-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(36%, 22rem));
  gap: clamp(2rem, 4.2vw, 4rem);
  min-height: 27rem;
  padding: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.signup-bottom h2 { max-width: 38rem; font-size: clamp(1.9rem, 4vw, 3.65rem); text-wrap: balance; }
.recap-stickers {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: max-content;
  margin: 1.25rem .5rem .5rem auto;
  font-size: clamp(1.65rem, 3.55vw, 3.25rem);
  line-height: 1;
  pointer-events: none;
}
.recap-stickers span {
  padding: .32em .65em;
  background: var(--pink);
  color: var(--ink);
  border-radius: 30% 37% 33% 26% / 53% 49% 52% 45%;
  transform: rotate(7deg);
}
.recap-stickers b {
  margin-right: 1.35em;
  margin-top: -.12em;
  padding: .27em .51em;
  background: var(--blue);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 45% 51% 43% 48%;
  transform: rotate(-11deg);
}
.signup-bottom .request-form { align-content: start; }
.signup-bottom .request-form input { background: var(--page); }
.signup-bottom .request-note { color: var(--quiet); }
.share-row {
  margin: 7rem 0 5.75rem;
  font-size: clamp(1.2rem, 2.65vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.share-row a { text-underline-offset: .12em; }
.landing-footer { padding-bottom: 2.5rem; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; }

dialog {
  width: min(calc(100% - 2rem), 35rem);
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: .65rem;
}
dialog::backdrop { background: rgba(20, 27, 32, .60); }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: .75rem; }
.dialog-heading h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.dialog-close { background: transparent; border: 0; cursor: pointer; color: var(--ink); font-size: 1.8rem; line-height: 1; padding: 0 .4rem .3rem; }
.dialog-lead { margin: .85rem 0 1rem; line-height: 1.4; color: var(--quiet); }
#request-draft { display: block; width: 100%; resize: vertical; border: 1px solid var(--line); padding: .7rem; border-radius: .35rem; line-height: 1.45; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.dialog-actions .button { min-height: 2.8rem; padding: .5rem .8rem; }
.copy-status { margin-top: .55rem; font-size: .9rem; color: var(--quiet); }

@media (max-width: 1010px) and (min-width: 761px) {
  .speaker-panel { padding: 1.4rem; min-height: 17rem; }
}
@media (max-width: 760px) {
  .landing .shell { width: min(calc(100% - 2rem), 30rem); }
  .landing-logo { padding-block: 1rem .85rem; }
  .landing-logo .brand, .landing-footer .brand { font-size: 1.16rem; }
  .landing-logo .brand img, .landing-footer .brand img { width: 1.75rem; height: 1.75rem; }
  .overview {
    grid-template-areas: "visual" "title" "lead" "signup" "program";
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }
  .intro-visual { width: min(88%, 20rem); margin-inline: auto; padding-bottom: 2.4rem; }
  .intro-visual img { aspect-ratio: 3 / 2; border-width: .35rem; object-position: 56% center; }
  .lesson-label { bottom: .25rem; left: -4%; right: -3%; }
  .lesson-label span, .lesson-label strong { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .intro-title { padding: 0; }
  .intro-title h1 { font-size: clamp(1.875rem, 8.8vw, 2.65rem); line-height: 1.06; text-wrap: balance; }
  .intro-lead { font-size: 1.07rem; line-height: 1.45; }
  .program-card, .signup-top { margin-top: 0; padding: 1.25rem; border-radius: .85rem; }
  .program-card h2 { font-size: 1.8rem; }
  .signup-top h2 { font-size: 1.65rem; margin-bottom: 1.2rem; }
  .request-form { gap: .75rem; }
  .request-form input { font-size: 1.05rem; height: 3.5rem; }
  .request-submit { margin-top: .25rem; min-height: 3.5rem; }
  .request-note { margin-top: .25rem; font-size: .82rem; line-height: 1.4; }
  .program-points { margin: 1.15rem 0 0; gap: .95rem; line-height: 1.38; }
  .speaker-panels {
    grid-template-columns: minmax(0, 1fr);
    margin: 4.5rem 0 3.25rem;
    gap: .9rem;
  }
  .speaker-panel { min-height: 0; padding: 1.15rem; }
  .speaker-panel h2 { font-size: 1.75rem; }
  .speaker-label { top: -1.8rem; left: auto; right: 3%; }
  .speaker-photo { aspect-ratio: 4 / 3; }
  .speaker-note { transform: rotate(2deg); }
  .lesson-gift { grid-template-columns: minmax(0, 1fr); gap: .65rem; margin: 0 0 2.75rem; }
  .gift-stickers { width: min(75%, 14rem); margin-inline: auto; }
  .gift-copy p { font-size: 1.09rem; }
  .signup-bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "message" "form" "stickers";
    gap: 1.15rem;
    min-height: 0;
    padding: 1.25rem;
  }
  .signup-bottom-copy { display: contents; }
  .signup-bottom h2 { grid-area: message; font-size: clamp(1.65rem, 6.7vw, 2.3rem); line-height: 1.1; }
  .signup-bottom .request-form { grid-area: form; }
  .recap-stickers { grid-area: stickers; margin: .25rem .35rem .5rem auto; }
  .share-row { margin: 2.5rem 0 2rem; }
  .landing-footer { padding-bottom: 1.5rem; }
  .landing-footer p { font-size: .9rem; }
}
