:root {
  --cream: #f5eee2;
  --paper: #fffdf9;
  --ink: #1b2524;
  --muted: #69716e;
  --coral: #e8795a;
  --coral-dark: #c9593d;
  --line: #cfc5b6;
  --soft: #eee5d8;
  --shadow: 0 18px 52px rgba(52, 43, 32, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-rounded, "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--coral-dark); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 9px 15px;
  color: white;
  background: var(--ink);
  border-radius: 9px;
}
.skip-link:focus { top: 16px; }

.info-header {
  width: min(1080px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.info-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.info-brand img { display: block; width: 42px; height: 42px; object-fit: contain; }
.info-brand span { display: flex; flex-direction: column; line-height: 1.3; }
.info-brand small { color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.info-brand strong { font-family: "Songti SC", "STSong", serif; font-size: 17px; letter-spacing: .04em; }

.info-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.info-header nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.info-header nav a:hover,
.info-header nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--coral);
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 18px auto 0;
}

.info-article {
  padding: clamp(34px, 6vw, 72px) clamp(24px, 7vw, 84px);
  background: var(--paper);
  border: 1px solid rgba(27, 37, 36, .13);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1, h2, h3 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  line-height: 1.35;
}
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 7vw, 62px);
  letter-spacing: -.035em;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 4vw, 34px);
}

p { margin: 0 0 1.05em; }
.lead {
  max-width: 750px;
  margin: 24px 0 0;
  color: #37413f;
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  margin: 30px 0 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.primary-link {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.primary-link:hover { color: white; background: var(--coral-dark); }
.text-link { color: var(--muted); }

.info-article > section {
  margin-top: clamp(48px, 7vw, 76px);
}

.topic-grid {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.topic-grid li {
  min-height: 105px;
  padding: 17px 18px;
  background: #faf5ed;
  border: 1px solid rgba(27, 37, 36, .1);
  border-radius: 10px;
}
.topic-grid strong { display: block; margin-bottom: 3px; font-size: 15px; }
.topic-grid span { display: block; color: var(--muted); font-size: 13px; line-height: 1.65; }

.faq-section details {
  padding: 16px 0;
  border-top: 1px solid rgba(27, 37, 36, .14);
}
.faq-section details:last-child { border-bottom: 1px solid rgba(27, 37, 36, .14); }
.faq-section summary {
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}
.faq-section details p { margin: 11px 0 0; color: #4d5653; }

.studio-note,
.quick-reference {
  padding: clamp(22px, 4vw, 34px);
  background: #f6eee2;
  border-left: 4px solid var(--coral);
  border-radius: 5px 12px 12px 5px;
}
.studio-note h2,
.quick-reference h2 { font-size: clamp(23px, 3vw, 29px); }
.studio-note p:last-child,
.quick-reference p:last-child { margin-bottom: 0; }

.example-box {
  margin: 25px 0 0;
  padding: 22px 24px;
  background: #f5eee3;
  border-radius: 10px;
}
.example-box p:last-child { margin-bottom: 0; }
.example-label { color: var(--coral-dark); font-size: 13px; font-weight: 800; }

.quick-reference ol {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.quick-reference li {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  border-top: 1px solid rgba(27, 37, 36, .12);
}
.quick-reference li:last-child { border-bottom: 1px solid rgba(27, 37, 36, .12); }
.quick-reference li span { color: var(--coral-dark); font-size: 13px; }
.quick-reference li strong { font-size: 15px; }

.closing-action {
  margin-top: 66px;
  padding-top: 30px;
  border-top: 1px solid rgba(27, 37, 36, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing-action p { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: 22px; }

.info-footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 720px) {
  .info-header {
    width: calc(100% - 28px);
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .info-header nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }
  main { width: calc(100% - 20px); margin-top: 5px; }
  .info-article { padding: 30px 20px 38px; border-radius: 7px; }
  h1 { font-size: 38px; }
  .lead { margin-top: 18px; font-size: 17px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-grid li { min-height: 0; }
  .closing-action { align-items: flex-start; flex-direction: column; }
  .quick-reference li { grid-template-columns: 78px 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
