:root {
  --paper: #f3f0ea;
  --surface: #faf8f4;
  --surface-strong: #fffdf9;
  --ink: #1a1a18;
  --muted: #746f64;
  --green: #1e3d2f;
  --green-soft: #dce8df;
  --yellow: #e3a63f;
  --yellow-soft: #f7e7c8;
  --line: #dcd7cc;
  --line-strong: #c9c2b5;
  --danger: #9f3e38;
  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow: 0 18px 50px rgba(30, 61, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(227, 166, 63, 0.14), transparent 26rem),
    var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(227, 166, 63, 0.65);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(201, 194, 181, 0.82);
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(30, 61, 47, 0.07);
}

.nav .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--green);
}

.nav .nav-cta:hover {
  color: #fff;
  background: #173326;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--green);
  background: var(--surface);
  font: inherit;
  cursor: pointer;
}

.hero {
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: clamp(50px, 8vw, 108px);
  padding-block: 92px 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #a45f21;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  color: var(--green);
  font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #47443d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 680;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-secondary {
  color: var(--green);
  background: transparent;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.planner-scene {
  position: relative;
  min-height: 490px;
}

.planner-sheet {
  position: absolute;
  inset: 34px 18px 20px 46px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.planner-binding {
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  color: #fff;
  background: var(--green);
}

.planner-binding strong {
  font-size: 16px;
}

.planner-binding span {
  color: #d7e3db;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.planner-grid {
  display: grid;
  height: calc(100% - 62px);
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  background-image:
    linear-gradient(to right, transparent calc(100% - 1px), var(--line) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), var(--line) 1px);
  background-size: 20% 25%;
}

.schedule-mark {
  align-self: center;
  min-height: 14px;
  margin-inline: 12px;
  border-radius: 4px;
  background: var(--green-soft);
}

.schedule-mark.yellow {
  background: var(--yellow-soft);
}

.schedule-mark.green {
  background: #a9cbb5;
}

.schedule-mark:nth-child(1) { grid-column: 2 / 4; grid-row: 1; }
.schedule-mark:nth-child(2) { grid-column: 4 / 6; grid-row: 2; }
.schedule-mark:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
.schedule-mark:nth-child(4) { grid-column: 3 / 5; grid-row: 4; }
.schedule-mark:nth-child(5) { grid-column: 5; grid-row: 1; }

.planner-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(30, 61, 47, 0.09);
  font-size: 13px;
  font-weight: 700;
}

.planner-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.badge-top {
  top: 0;
  right: 4px;
}

.badge-bottom {
  bottom: 0;
  left: 0;
}

.section {
  padding-block: 86px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading p,
.contact-section p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-list {
  border-top: 1px solid var(--line-strong);
}

.feature-item {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--yellow-soft);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.feature-item h3 {
  margin: 5px 0 0;
  color: var(--green);
  font-size: 21px;
}

.feature-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.audience-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-block: 86px;
  border-top: 1px solid var(--line);
}

.audience-panel {
  min-height: 265px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(250, 248, 244, 0.72);
}

.audience-panel:last-child {
  background: var(--green);
  color: #fff;
}

.audience-panel .eyebrow {
  margin-bottom: 30px;
}

.audience-panel:last-child .eyebrow {
  color: #efc27a;
}

.audience-panel h2 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.audience-panel p {
  margin: 0;
  color: var(--muted);
}

.audience-panel:last-child p {
  color: #d9e4dc;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 62px;
  margin-bottom: 86px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--yellow-soft);
}

.contact-link {
  white-space: nowrap;
  color: var(--green);
  font-size: 18px;
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #eae6dc;
}

.footer-inner {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--green);
}

.legal-main {
  min-height: calc(100vh - 199px);
}

.status-main {
  display: grid;
  min-height: calc(100vh - 199px);
  place-items: center;
  padding-block: 72px;
}

.status-panel {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--green) 0 72%, var(--yellow) 72% 100%);
  content: "";
}

.status-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  border-radius: 22px;
}

.status-panel h1 {
  margin: 0;
  color: var(--green);
  font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.status-title {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 720;
}

.status-description {
  max-width: 520px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.status-panel .button {
  margin-top: 32px;
}

.legal-hero {
  padding: 82px 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(40px, 6vw, 62px);
}

.legal-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: 70px;
  justify-content: center;
  padding-block: 58px 90px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  padding-left: 16px;
  border-left: 2px solid var(--yellow);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
}

.legal-toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content section {
  scroll-margin-top: 104px;
  margin-bottom: 40px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #504c44;
}

.legal-content ul {
  padding-left: 1.25em;
}

.legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-soft);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 70px;
  }

  .planner-scene {
    min-height: 430px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-item {
    grid-template-columns: 56px 1fr;
  }

  .feature-item p {
    grid-column: 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }

  .legal-toc strong {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav[data-open] {
    display: grid;
  }

  .nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding-block: 56px 60px;
  }

  .hero h1 {
    max-width: 8em;
    font-size: 50px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .planner-scene {
    min-height: 340px;
  }

  .planner-sheet {
    inset: 24px 3px 18px 10px;
  }

  .planner-binding {
    height: 54px;
    padding-inline: 18px;
  }

  .planner-grid {
    height: calc(100% - 54px);
  }

  .planner-badge {
    padding: 9px 12px;
    font-size: 12px;
  }

  .badge-top {
    right: -3px;
  }

  .section,
  .audience-section {
    padding-block: 62px;
  }

  .feature-item {
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding-block: 24px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
  }

  .audience-section {
    grid-template-columns: 1fr;
  }

  .audience-panel {
    min-height: auto;
    padding: 28px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 26px;
    margin-bottom: 62px;
  }

  .contact-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }

  .legal-hero {
    padding-top: 58px;
  }

  .status-main {
    padding-block: 34px;
  }

  .status-panel {
    border-radius: var(--radius-md);
  }

  .legal-layout {
    padding-block: 42px 64px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise-in 520ms ease both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 170ms; }
  .hero-copy > :nth-child(5) { animation-delay: 210ms; }
  .planner-scene { animation: rise-in 650ms 120ms ease both; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
