:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f2f5f0;
  --text: #11130f;
  --muted: #5d645b;
  --line: rgba(17, 19, 15, .12);
  --accent: #667d61;
  --accent-soft: #edf3eb;
  --accent-ink: #ffffff;
  --radius: 20px;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}

body[data-app="steady"] {
  --surface-soft: #f1f4f6;
  --accent: #536d80;
  --accent-soft: #edf2f5;
}

body { background: var(--bg); color: var(--text); }
.wrap { width: min(100%, var(--max)); padding-inline: var(--pad); }
.reading-progress { display: none; }

.site-head {
  min-height: 74px;
  border-bottom: 1px solid rgba(17, 19, 15, .07);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav { min-height: 74px; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { display: none; }
.nav-links { gap: 24px; font-weight: 650; }
.nav-links .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(17, 19, 15, .1);
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(17, 19, 15, .06);
}

.guide-hero { padding: clamp(72px, 8vw, 106px) 0 clamp(46px, 6vw, 70px); text-align: center; }
.breadcrumb { justify-content: center; margin-bottom: 24px; font-size: 13px; }
.guide-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(50px, 5.5vw, 65px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}
.guide-hero .dek { max-width: 737px; margin: 20px auto 0; font-size: 17px; font-weight: 500; line-height: 1.5; }
.meta { justify-content: center; margin-top: 22px; font-size: 13px; }

.hero-image {
  width: min(calc(100% - (2 * var(--pad))), 1050px);
  margin-bottom: clamp(70px, 9vw, 112px);
  border-radius: var(--radius);
  box-shadow: none;
}
.hero-image img { border-radius: inherit; }

.article-shell { grid-template-columns: minmax(0, 760px) 250px; gap: clamp(50px, 8vw, 96px); padding-bottom: clamp(88px, 11vw, 142px); }
.article h2 { margin: 70px 0 18px; font-size: clamp(34px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.article h3 { margin: 40px 0 12px; font-size: clamp(23px, 2.3vw, 28px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.article strong { font-weight: 750; }
.article .lede { font-size: 21px; line-height: 1.56; }

.toc { margin-top: 38px; padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.callout { margin: 38px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); border-radius: 0; background: transparent; }
.checklist { gap: 0 26px; }
.checklist li { margin: 0; padding: 14px 0 14px 25px; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.checklist li::before { left: 0; top: 13px; }

.app-note { margin: 56px 0; padding: clamp(28px, 5vw, 42px); border-radius: var(--radius); background: var(--accent-soft); color: var(--text); box-shadow: none; }
.app-note-head { align-items: center; gap: 12px; margin-bottom: 24px; }
.app-note img { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; }
.app-note h2 { margin: 0; font-size: clamp(28px, 3.1vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.app-note p { max-width: 62ch; color: color-mix(in oklch, var(--text) 78%, var(--accent)); line-height: 1.65; }
.app-note .btn { margin-top: 4px; background: var(--text); color: #fff; }
.btn { min-height: 50px; padding: 0 21px; background: var(--text); color: #fff; font-weight: 750; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 19, 15, .12); filter: none; }
.btn:active { transform: translateY(1px) scale(.98); }

.side-card { padding: 23px 0; }
.side-card strong { margin-bottom: 7px; }
.side-card a { font-weight: 700; }
.faq summary { font-weight: 750; }

.hub-hero { padding: clamp(82px, 9vw, 118px) 0 clamp(72px, 8vw, 102px); text-align: center; }
.hub-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(52px, 5.5vw, 65px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}
.hub-hero p { max-width: 737px; margin: 20px auto 0; font-size: 17px; font-weight: 500; line-height: 1.5; }

.guide-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: clamp(86px, 11vw, 132px); }
.guide-card {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 42px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: none;
}
.guide-card:last-child { border-bottom: 1px solid var(--line); }
.guide-card:nth-child(even) .cover { order: 2; }
.guide-card:hover { transform: none; box-shadow: none; }
.guide-card .cover { border-radius: var(--radius); }
.guide-card img { border-radius: inherit; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.guide-card:hover img { transform: scale(1.018); }
.guide-card .copy { padding: 0; }
.guide-card .topic { color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .09em; }
.guide-card h2 { max-width: 14ch; margin: 12px 0; font-size: clamp(32px, 3.7vw, 46px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
.guide-card p { max-width: 48ch; }
.guide-card .read { margin-top: 20px; font-weight: 750; }

.hub-note { margin-bottom: clamp(86px, 11vw, 132px); padding: clamp(34px, 5vw, 54px); border-radius: var(--radius); background: var(--accent-soft); color: var(--text); }
.hub-note h2 { font-size: clamp(35px, 4.5vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.hub-note p { color: var(--muted); }

.related { padding: clamp(76px, 9vw, 112px) 0; background: var(--surface-soft); }
.related h2 { margin-bottom: 32px; font-size: clamp(34px, 4.5vw, 50px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.related-grid { gap: 34px; }
.related-card { grid-template-columns: 142px 1fr; min-height: 150px; align-items: center; border-radius: 0; background: transparent; }
.related-card img { width: 142px; height: 142px; border-radius: 18px; }
.related-card div { padding: 18px 0 18px 20px; }
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }

@media (max-width: 900px) {
  .article-shell { grid-template-columns: 1fr; }
  .side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .side-card { padding: 20px 0; border-radius: 0; background: transparent; }
  .related-card { grid-template-columns: 118px 1fr; }
  .related-card img { width: 118px; height: 118px; }
}

@media (max-width: 640px) {
  :root { --radius: 17px; }
  .site-head, .nav { min-height: 66px; }
  .nav-links { gap: 12px; }
  .nav-links .nav-cta { padding: 0 14px; }
  .guide-hero { padding-top: 54px; }
  .guide-hero h1, .hub-hero h1 { font-size: clamp(44px, 12.8vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
  .hero-image { width: calc(100% - 32px); margin-bottom: 64px; }
  .article .lede { font-size: 19px; }
  .guide-card { grid-template-columns: 1fr; gap: 25px; padding: 32px 0; }
  .guide-card:nth-child(even) .cover { order: 0; }
  .guide-card h2 { max-width: none; }
  .related-card { grid-template-columns: 104px 1fr; }
  .related-card img { width: 104px; height: 104px; }
  .app-note { padding: 24px; }
  .app-note-head { align-items: center; margin-bottom: 20px; }
  .app-note img { width: 46px; height: 46px; border-radius: 13px; }
  .app-note h2 { font-size: 27px; }
}

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

@media (prefers-reduced-transparency: reduce) {
  .site-head { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
