:root {
  --paper: #f4efe3;
  --paper-light: #fbf8f1;
  --ink: #17332c;
  --muted: #66756f;
  --green: #1e5a49;
  --green-light: #d9e8dc;
  --orange: #e8793d;
  --blue: #496b9b;
  --line: rgba(23, 51, 44, .14);
  --shadow: 0 24px 70px rgba(40, 54, 47, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(232, 121, 61, .08), transparent 28rem),
    radial-gradient(circle at 94% 32%, rgba(73, 107, 155, .08), transparent 30rem),
    var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--green); color: #fff; }
.brand-mark svg { width: 30px; height: 30px; fill: #fff; }
.brand-mark svg circle { fill: var(--green); }
.brand-mark .brand-nose { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }

nav { display: flex; gap: 34px; font-size: 14px; font-weight: 650; }
nav a { position: relative; padding: 10px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--orange); transition: right .25s ease; }
nav a:hover::after { right: 0; }

.date-pill { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 13px; background: rgba(255, 255, 255, .35); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(48px, 9vw, 120px); align-items: center; padding: 72px 4% 86px; }
.eyebrow, .section-index { margin: 0 0 22px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.hero h1 { max-width: 690px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(56px, 7vw, 92px); font-weight: 500; line-height: 1.06; letter-spacing: -.07em; }
.hero h1 em { color: var(--green); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; left: 3%; right: -3%; bottom: 5px; height: 14px; background: #edb64d; opacity: .45; transform: rotate(-1deg); }
.hero-intro { max-width: 590px; margin: 30px 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-bottom: 54px; }
.button { border: 0; cursor: pointer; border-radius: 7px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { padding: 15px 23px; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(30, 90, 73, .2); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(30, 90, 73, .28); }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--ink); padding: 8px 0 4px; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.mini-stats { display: flex; gap: clamp(24px, 4vw, 58px); margin: 0; }
.mini-stats div { display: flex; flex-direction: column-reverse; gap: 7px; }
.mini-stats dt { color: var(--muted); font-size: 12px; }
.mini-stats dd { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 700; }
.mini-stats small { font-family: inherit; font-size: 12px; font-weight: 500; }

.hero-card { position: relative; padding: 26px 28px 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 28px; background: rgba(251, 248, 241, .76); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: rotate(1.5deg); }
.hero-card::before, .hero-card::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero-card::before { width: 76px; height: 76px; right: -35px; top: -28px; background: #e7b654; }
.hero-card::after { width: 42px; height: 42px; left: -18px; bottom: 55px; border: 10px solid #7d9bba; }
.card-topline { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.status-dot { color: var(--muted); font-size: 11px; font-weight: 600; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #45a174; }
.progress-wrap { display: grid; place-items: center; padding: 38px 0 30px; }
.progress-ring { --progress: 0deg; position: relative; width: 190px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) var(--progress), var(--green-light) 0); transition: background .35s ease; }
.progress-ring::before { content: ""; position: absolute; width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--paper-light); }
.progress-ring div { z-index: 1; display: grid; text-align: center; }
.progress-ring strong { font-family: Georgia, serif; font-size: 43px; }
.progress-ring span { color: var(--muted); font-size: 11px; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-grid span { aspect-ratio: 1; display: grid; place-items: center; color: #9aa59f; border-radius: 50%; font-size: 11px; }
.week-grid .done { color: white; background: var(--green); }
.week-grid .active { color: var(--green); border: 1px solid var(--green); font-weight: 800; }
.card-note { margin: 20px 0 0; padding-top: 19px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-family: Georgia, "Songti SC", serif; font-size: 13px; }

.section { padding: 96px 4%; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-index { margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.04em; }
.section-heading > p { max-width: 260px; margin: 0 0 5px; color: var(--muted); text-align: right; font-size: 13px; }

.task-list { border-top: 1px solid var(--ink); }
.task-item { position: relative; display: grid; grid-template-columns: 32px 48px 1fr auto; align-items: center; gap: 18px; min-height: 105px; padding: 16px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .2s, background .2s; }
.task-item:hover { padding-left: 12px; padding-right: 12px; background: rgba(255,255,255,.27); }
.task-item input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 25px; height: 25px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; }
.custom-check::after { content: ""; width: 9px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .18s; }
.task-item input:checked + .custom-check { border-color: var(--green); background: var(--green); }
.task-item input:checked + .custom-check::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.task-item:has(input:checked) .task-main strong { color: #81908a; text-decoration: line-through; text-decoration-thickness: 1px; }
.task-number { color: #9aa59f; font-family: Georgia, serif; font-size: 13px; }
.task-main { display: grid; gap: 7px; }
.task-main strong { font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 600; transition: color .2s; }
.task-main small { color: var(--muted); font-size: 13px; }
.task-tag { min-width: 58px; padding: 7px 12px; border-radius: 99px; text-align: center; font-size: 11px; font-weight: 700; }
.tag-reading { color: #8b5729; background: #f1dfc7; }
.tag-code { color: #245e50; background: #d5e7df; }
.tag-language { color: #486586; background: #dbe4ef; }
.tag-review { color: #744f74; background: #eadbea; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.path-card:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(30, 50, 42, .13); }
.path-card::after { content: ""; position: absolute; width: 165px; height: 165px; right: -72px; bottom: -68px; border: 1px solid currentColor; border-radius: 50%; opacity: .16; }
.path-blue { color: #173a62; background: #dce6f1; }
.path-green { color: #174d3d; background: #d6e6db; }
.path-orange { color: #753d22; background: #f0ddce; }
.path-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 44px; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 20px; }
.code-icon { font-family: ui-monospace, monospace; font-size: 16px; }
.book-icon { font-family: "Songti SC", serif; }
.path-kicker { margin: 0 0 9px; opacity: .64; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.path-card h3 { margin: 0 0 13px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 600; }
.path-card > p:not(.path-kicker) { margin: 0; font-size: 14px; line-height: 1.8; opacity: .75; }
.path-meta { display: flex; gap: 8px; margin-top: 18px; }
.path-meta span { padding: 5px 8px; border: 1px solid currentColor; border-radius: 4px; font-size: 10px; opacity: .65; }
.path-card a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.path-card a span { transition: transform .2s; }
.path-card a:hover span { transform: translate(3px, -3px); }

.focus-section { display: grid; grid-template-columns: 1.05fr .8fr; gap: 11%; margin: 30px 0 80px; padding: 78px 8%; border: 0; border-radius: 28px; color: #fff; background: var(--green); box-shadow: 0 25px 60px rgba(24, 70, 58, .2); }
.section-index.light { color: #efb25e; }
.focus-copy h2 { margin: 0 0 24px; font-family: Georgia, "Songti SC", serif; font-size: clamp(40px, 5vw, 60px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }
.focus-copy > p:not(.section-index) { max-width: 500px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.85; }
blockquote { min-height: 48px; margin: 36px 0 10px; padding-left: 17px; border-left: 2px solid #efb25e; color: rgba(255,255,255,.85); font-family: Georgia, "Songti SC", serif; font-size: 14px; line-height: 1.7; }
.quote-button, .timer-reset { padding: 5px 0; color: rgba(255,255,255,.6); border: 0; border-bottom: 1px solid rgba(255,255,255,.35); background: none; cursor: pointer; font-size: 11px; }
.timer-card { align-self: center; padding: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.08); text-align: center; }
.timer-label { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 12px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #efb25e; }
.timer-card time { display: block; margin: 24px 0 17px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(58px, 7vw, 78px); font-weight: 300; letter-spacing: -.08em; }
.timer-track { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.16); }
.timer-track span { display: block; width: 0; height: 100%; background: #efb25e; transition: width 1s linear; }
.timer-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; }
.timer-start { min-width: 130px; padding: 13px 20px; color: var(--green); background: #f7f1e5; }
.timer-card > p { margin: 18px 0 0; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .08em; }

footer { min-height: 130px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer > p:last-child { text-align: right; }
.footer-brand { color: var(--ink); font-size: 13px; }
.brand-mark.small { width: 30px; height: 30px; border-radius: 9px; font-family: Georgia, serif; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 65px; padding-top: 68px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .mini-stats { justify-content: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .hero-card { width: min(390px, 90%); margin: 0 auto; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 340px; }
  .focus-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .date-pill { display: none; }
  .hero { min-height: auto; padding: 64px 2px 76px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .mini-stats { gap: 24px; }
  .mini-stats dd { font-size: 22px; }
  .hero-card { transform: none; }
  .section { padding: 72px 2px; }
  .section-heading { align-items: flex-start; }
  .section-heading > p { display: none; }
  .task-item { grid-template-columns: 28px 1fr auto; gap: 12px; min-height: 112px; }
  .task-number { display: none; }
  .task-main strong { font-size: 17px; }
  .task-main small { font-size: 11px; line-height: 1.5; }
  .task-tag { min-width: 48px; padding: 6px 8px; }
  .path-card { padding: 26px; }
  .focus-section { margin-bottom: 40px; padding: 58px 26px; }
  .timer-card { padding: 28px 18px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p:first-of-type { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
