* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #263f36; font: 1rem/1.7 Inter, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
header, footer { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 6vw; }
header { position: absolute; inset: 0 0 auto; z-index: 1; color: #fffbed; }
.logo { font-weight: 800; letter-spacing: .08em; }
nav, .links { display: flex; gap: clamp(.9rem,3vw,2.7rem); flex-wrap: wrap; }
.cover {
  /* Replace none with url("cover.jpg") when the photograph is ready. */
  --cover-image: none;
  background: #2b594e var(--cover-image) center / cover no-repeat;
  color: #fffbed; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; position: relative;
}
h1 { font: 700 clamp(3rem,10vw,10rem)/1.2 "Songti SC", SimSun, serif; letter-spacing: .065em; margin: 0; }
.scroll { position: absolute; bottom: 5vh; text-align: center; font-size: .9rem; letter-spacing: .12em; }
.scroll span { display: block; width: 1px; height: 2rem; background: currentColor; margin: .7rem auto 0; }
.subject { padding: clamp(4rem,9vw,10rem) 8vw; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4vw; }
.english { background: #f4f3e9; }
.math { background: #e5eeea; }
small { font-weight: 700; letter-spacing: .16em; }
h2 { font-size: clamp(2rem,4vw,4rem); margin: .4rem 0; }
h3 { font-size: clamp(1.4rem,2.4vw,2.4rem); margin: 0; }
p { max-width: 37em; }
.goal { border-left: 2px solid #729581; padding-left: 1em; }
.links { margin-top: 2rem; gap: .7rem; }
.links a { padding: .55rem 1.15rem; border: 1px solid #80988c; border-radius: 2rem; }
footer { font-size: .9rem; }
@media(max-width:650px) { .subject { grid-template-columns: 1fr; } header { padding: 1rem 4vw; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
