:root {
  --ink: #17362f;
  --ink-muted: #567069;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d3;
  --accent: #ce6544;
  --line: rgba(23, 54, 47, 0.18);
  --panel: rgba(255, 255, 255, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 16%, rgba(206, 101, 68, 0.11), transparent 24rem),
    linear-gradient(rgba(23, 54, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 54, 47, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  width: min(100% - 3rem, 82rem);
  min-height: 100vh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.brand-text,
.eyebrow,
.status,
.note-card,
.site-footer {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.brand-text {
  font-weight: 700;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--ink-muted);
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem rgba(206, 101, 68, 0.12);
}

.hero {
  display: grid;
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
}

.hero-copy {
  align-self: center;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.93;
}

h1 span {
  display: block;
  margin-top: 0.22em;
  margin-left: 0.6em;
  color: transparent;
  font-size: 0.54em;
  letter-spacing: 0.12em;
  -webkit-text-stroke: 1px var(--ink);
}

.intro {
  max-width: 34rem;
  margin: 2.5rem 0 0;
  color: var(--ink-muted);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.9;
}

.note-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 1.5rem 4rem rgba(23, 54, 47, 0.08);
  backdrop-filter: blur(12px);
}

.note-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}

.note-label {
  margin: 2rem 0 0.8rem;
  color: var(--accent);
}

.note-title {
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0;
}

.progress {
  height: 2px;
  margin: 2rem 0 1rem;
  overflow: hidden;
  background: var(--paper-deep);
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--accent);
}

.note-caption {
  margin: 0;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 2rem, 40rem);
  }

  .site-header {
    padding: 1.25rem 0;
  }

  .brand-text {
    display: none;
  }

  .hero {
    align-items: initial;
    gap: 3.5rem;
    padding: 4.5rem 0 3rem;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(4.4rem, 24vw, 7rem);
  }

  h1 span {
    margin-left: 0.35em;
  }

  .intro {
    margin-top: 2rem;
    font-size: 1rem;
  }

  .note-card {
    width: min(100%, 26rem);
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .status {
    letter-spacing: 0.08em;
  }

  .site-footer {
    align-items: flex-start;
    gap: 0.6rem;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

