/* Hunny's Park — 디지털 AI 공원
   자연광·초록빛 + 은은한 디지털 네온 (글래스모피즘) */

:root {
  --ink: #0f2a20;
  --ink-soft: #2c4a3d;
  --muted: #55705f;
  --green-deep: #0b3d2a;
  --green: #1a7a53;
  --green-light: #35a56d;
  --lime: #c6f27a;
  --neon: #2ee6b0;
  --sky: #eaf6ef;
  --cream: #fbfdf9;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(15, 60, 42, 0.1);
  --shadow-sm: 0 2px 10px rgba(13, 53, 37, 0.06);
  --shadow: 0 18px 40px -22px rgba(11, 61, 42, 0.45);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.15em; }
button { font-family: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ── 배경 ───────────────────────────────── */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 520px at 12% -8%, #e6f8ee 0%, rgba(230, 248, 238, 0) 62%),
    radial-gradient(900px 480px at 92% 4%, #e7f6ff 0%, rgba(231, 246, 255, 0) 60%),
    radial-gradient(760px 600px at 50% 108%, #f3fbe6 0%, rgba(243, 251, 230, 0) 65%),
    #fbfdf9;
}
.sky::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(26, 122, 83, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
}

/* ── 헤더 ───────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 253, 249, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  max-width: var(--max); margin: 0 auto; padding: 11px 16px;
  display: flex; align-items: center; gap: 10px;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px;
  background: linear-gradient(150deg, #1a7a53, #2ee6b0 70%, #c6f27a);
  display: grid; place-items: center; font-size: 17px;
  box-shadow: 0 6px 16px -6px rgba(46, 230, 176, 0.9);
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand__sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; }
.head-nav { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.head-nav a {
  font-size: 12.5px; color: var(--ink-soft); padding: 7px 9px; border-radius: 9px; white-space: nowrap;
}
.head-nav a:hover { background: rgba(26, 122, 83, 0.08); color: var(--green); text-decoration: none; }
@media (max-width: 430px) {
  .head-nav a:not(.head-nav__cta) { display: none; }
  .head-nav__cta { background: var(--green-deep); color: #fff !important; }
  .head-nav__cta:hover { background: var(--green) !important; }
}

/* ── 히어로 ─────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.hero { padding-top: 18px; padding-bottom: 6px; }
.hero__inner { display: grid; gap: 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--green-deep);
  background: rgba(26, 122, 83, 0.08); border: 1px solid rgba(26, 122, 83, 0.14);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.pill--neon { background: rgba(46, 230, 176, 0.14); border-color: rgba(46, 230, 176, 0.4); }
.pill--date {
  background: linear-gradient(135deg, rgba(19, 110, 76, 0.1), rgba(46, 230, 176, 0.18));
  border-color: rgba(19, 110, 76, 0.28); color: var(--green-deep); font-weight: 700;
  letter-spacing: 0.01em;
}
.hero h1 { font-size: clamp(26px, 7.6vw, 40px); font-weight: 850; color: var(--green-deep); line-height: 1.16; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #1a7a53, #12a5a0 55%, #5bc24a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; max-width: 46em; }
@media (min-width: 900px) {
  .hero { padding-top: 16px; padding-bottom: 4px; }
  .hero__inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 26px; align-items: stretch; }
  /* 오른쪽 그림이 왼쪽 컬럼(배지~통계 박스) 높이에 딱 맞게 꽉 차도록 */
  .hero-art,
  .hero-art picture,
  .hero-art img { height: 100%; width: 100%; }
  .hero-art img { aspect-ratio: auto; object-fit: cover; object-position: center 52%; }
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 14px; margin-top: 8px; }
  .stats { margin-top: 12px; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 13px; padding: 12px 18px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, #136e4c, #1a9a68);
  color: #fff; box-shadow: 0 12px 24px -14px rgba(19, 110, 76, 0.95);
}
.btn--ghost { background: var(--glass-strong); color: var(--green-deep); border-color: var(--line); }
.btn:hover { text-decoration: none; }

.hero-art {
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(26, 122, 83, 0.16);
  box-shadow: var(--shadow); background: #dff3e8;
}
.hero-art picture { display: block; }
.hero-art img {
  display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center 52%;
}
.hero-art svg { display: block; width: 100%; height: auto; }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px;
}
.stat {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center; backdrop-filter: blur(10px);
}
.stat b { display: block; font-size: 18px; color: var(--green-deep); letter-spacing: -0.02em; }
.stat span { font-size: 11px; color: var(--muted); }

/* ── 광고 슬롯 ──────────────────────────── */
.ad-slot {
  max-width: var(--max); margin: 18px auto; padding: 0 16px;
}
.ad-slot:empty { display: none; }
.ad-slot__box {
  border: 1px dashed rgba(26, 122, 83, 0.28); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5); color: #8aa294;
  font-size: 11px; letter-spacing: 0.02em; text-align: center; padding: 14px 10px;
}

/* ── 메인 탭 (전체 11종 · 3개 존 · 가이드·FAQ) ──── */
.tabbar {
  position: sticky; position: -webkit-sticky; top: 57px; z-index: 35;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px;
  width: calc(100% - 32px); max-width: calc(var(--max) - 32px);
  margin: 14px auto 4px;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(251, 253, 249, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.tabbtn {
  flex: 0 1 auto;
  border: 1px solid transparent; background: transparent; color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 0; font-size: 12.5px; font-weight: 700; line-height: 1.35; text-align: center;
  padding: 9px 11px; border-radius: 12px; word-break: keep-all; white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tabbtn.is-on {
  background: linear-gradient(135deg, #136e4c, #1a9a68); color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px -14px rgba(19, 110, 76, 0.95);
}
/* 선택되지 않은 탭은 절대 초록으로 칠하지 않는다 (활성 1개만 강조) */
.tabbtn[aria-selected="false"] {
  background: #fff; color: var(--ink-soft); border-color: var(--line);
  box-shadow: none;
}
.tabbtn[aria-selected="false"]:hover { background: #f2f8f4; color: var(--green-deep); }
.tabbtn:focus-visible { outline: 2px solid rgba(46, 230, 176, 0.7); outline-offset: 1px; }
/* 태블릿·PC: 5개 탭을 한 줄에 균등 간격으로 */
@media (min-width: 768px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 940px; gap: 6px; }
  .tabbtn { font-size: 14px; padding: 11px 10px; }
}
@media (min-width: 1200px) {
  .tabbar { max-width: 1040px; }
  .tabbtn { font-size: 14.5px; padding: 12px 14px; }
}
.tabpanel:focus { outline: none; }
.tabpanel { scroll-margin-top: 118px; }
[hidden] { display: none !important; }
.panel-guide__back { padding: 24px 16px 4px; text-align: center; }
.panel-guide__back .btn { padding: 11px 18px; }

/* ── 툴바(검색·필터) ───────────────────── */
.toolbar { position: relative; padding-top: 6px; padding-bottom: 10px; }
.toolbar__glass {
  background: var(--glass-strong); border: 1px solid var(--line); border-radius: 16px;
  padding: 9px; box-shadow: var(--shadow-sm); backdrop-filter: blur(14px);
}
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); }
.search input {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  padding: 11px 38px 11px 36px; font-family: inherit; font-size: 14px; color: var(--ink);
  appearance: none;
}
.search input:focus { outline: 2px solid rgba(46, 230, 176, 0.55); outline-offset: 1px; border-color: transparent; }
.search__clear {
  position: absolute; right: 6px; border: 0; background: rgba(15, 60, 42, 0.07); color: var(--muted);
  width: 26px; height: 26px; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; display: none;
}
.search__clear.is-on { display: block; }
.chips { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.chip[aria-pressed="true"] {
  background: var(--green-deep); border-color: var(--green-deep); color: #fff;
  box-shadow: 0 8px 18px -12px rgba(11, 61, 42, 0.9);
}
.result-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 4px 0; }
.result-line p { font-size: 12px; color: var(--muted); }
.result-line strong { color: var(--green-deep); }

/* ── 존 & 카드 ─────────────────────────── */
.zone { padding: 18px 0 6px; scroll-margin-top: 122px; }
.zone__head { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.zone__title { font-size: clamp(18px, 5.2vw, 24px); font-weight: 800; color: var(--green-deep); display: flex; align-items: center; gap: 8px; }
.zone__title .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--z, var(--green)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--z, #1a7a53) 18%, transparent); }
.zone__desc { font-size: 12.5px; color: var(--muted); }
.zone__line { flex: 1 1 100%; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--z, #1a7a53) 45%, transparent), transparent); }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--glass-strong); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 15px 13px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--z), color-mix(in srgb, var(--z) 25%, #2ee6b0));
  opacity: 0.85;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--z) 35%, transparent); }
.card__top { display: flex; align-items: flex-start; gap: 10px; }
.card__icon {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; display: grid; place-items: center;
  font-size: 20px; background: color-mix(in srgb, var(--z) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--z) 22%, transparent);
}
.card__name { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.card__role { font-size: 11.5px; color: color-mix(in srgb, var(--z) 75%, #33544a); font-weight: 600; margin-top: 1px; }
.card__desc { font-size: 13px; color: var(--ink-soft); flex: 1 1 auto; }
.card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 10.5px; color: var(--muted); background: rgba(15, 60, 42, 0.05);
  border-radius: 6px; padding: 2px 6px;
}
.card__acts { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 2px; }
.card__open {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--green-deep); color: #fff; border-radius: 11px; padding: 10px 12px;
  font-size: 13px; font-weight: 700;
}
.card__open:hover { background: var(--green); text-decoration: none; }
.card__more {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: 11px;
  padding: 10px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.card__more:hover { border-color: color-mix(in srgb, var(--z) 45%, transparent); color: var(--green-deep); }
.card.is-hidden { display: none; }
.zone.is-empty { display: none; }

.empty {
  display: none; text-align: center; padding: 26px 16px; color: var(--muted);
  background: var(--glass); border: 1px dashed rgba(26, 122, 83, 0.3); border-radius: var(--radius);
  font-size: 13.5px;
}
.empty.is-on { display: block; }
.empty b { display: block; color: var(--green-deep); font-size: 15px; margin-bottom: 4px; }

/* ── 가이드(접이식) ────────────────────── */
.section { padding-top: 30px; padding-bottom: 6px; scroll-margin-top: 122px; }
.section__head { margin-bottom: 14px; }
.section__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--green); text-transform: uppercase; }
.section__title { font-size: clamp(20px, 5.6vw, 28px); font-weight: 850; color: var(--green-deep); margin-top: 4px; }
.section__lead { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; max-width: 52em; }

.acc { display: grid; gap: 8px; }
.acc details {
  background: var(--glass-strong); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.acc summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 14px; position: relative;
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 7px; background: rgba(26, 122, 83, 0.1); color: var(--green-deep);
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
}
.acc details[open] summary::after { content: "–"; }
.acc summary .sum-tag { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.acc__body { padding: 0 14px 14px; font-size: 13px; color: var(--ink-soft); }
.acc__body ol, .acc__body ul { display: grid; gap: 6px; margin-top: 4px; }
.acc__body li::marker { color: var(--green); font-weight: 700; }
.acc__body p + p { margin-top: 8px; }

/* ── 소개 / FAQ ────────────────────────── */
.about-grid { display: grid; gap: 10px; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 1.25fr 1fr; } }
.panel {
  background: var(--glass-strong); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 16px; color: var(--green-deep); margin-bottom: 8px; }
.panel p + p { margin-top: 9px; }
.panel p { font-size: 13.5px; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; display: grid; gap: 9px; }
.facts li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-soft); }
.facts li span:first-child { flex: 0 0 auto; }

/* ── 푸터 ──────────────────────────────── */
.site-foot {
  margin-top: 34px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232, 246, 237, 0.4), rgba(223, 243, 232, 0.75));
}
.site-foot__in {
  max-width: var(--max); margin: 0 auto; padding: 26px 16px 34px;
  display: grid; gap: 16px;
}
@media (min-width: 760px) { .site-foot__in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--green-deep); }
.foot-note { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.foot-open { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--green, #136e4c); }
.foot-col h4 { font-size: 12px; letter-spacing: 0.08em; color: var(--green); text-transform: uppercase; margin: 0 0 7px; }
.foot-col a, .foot-col p { display: block; font-size: 12.5px; color: var(--ink-soft); padding: 3px 0; }
.foot-copy {
  max-width: var(--max); margin: 0 auto; padding: 0 16px 26px; font-size: 11.5px; color: #7b9186;
  display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between;
}

/* ── 모달 ──────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 80; display: none;
  background: rgba(8, 32, 23, 0.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 16px; overflow-y: auto;
}
.modal.is-open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .modal.is-open { align-items: center; } }
.modal__panel {
  width: 100%; max-width: 520px; background: #fff; border-radius: 22px;
  box-shadow: 0 30px 70px -30px rgba(4, 30, 20, 0.7); overflow: hidden;
  animation: pop 0.22s ease-out;
}
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head {
  display: flex; gap: 11px; align-items: flex-start; padding: 18px 18px 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--z, #1a7a53) 14%, #fff), #fff);
  border-bottom: 1px solid var(--line);
}
.modal__head .card__icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 22px; }
.modal__title { font-size: 18px; font-weight: 850; color: var(--green-deep); }
.modal__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.modal__x {
  margin-left: auto; border: 0; background: rgba(15, 60, 42, 0.07); color: var(--ink-soft);
  width: 30px; height: 30px; border-radius: 50%; font-size: 16px; cursor: pointer; flex: 0 0 30px;
}
.modal__body { padding: 16px 18px 6px; }
.modal__body h4 { font-size: 12.5px; letter-spacing: 0.06em; color: var(--green); margin: 0 0 6px; text-transform: uppercase; }
.modal__body ul { font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 5px; }
.modal__body .block + .block { margin-top: 14px; }
.modal__tip {
  margin-top: 12px; font-size: 12.5px; color: var(--green-deep);
  background: rgba(46, 230, 176, 0.12); border: 1px solid rgba(46, 230, 176, 0.32);
  border-radius: 11px; padding: 10px 12px;
}
.modal__foot { padding: 14px 18px 18px; display: grid; gap: 8px; }
.modal__url {
  font-size: 11px; color: var(--muted); text-align: center; word-break: break-all;
}
body.is-locked { overflow: hidden; }

/* ── 문서 페이지(privacy·terms) ─────────── */
.doc { max-width: 780px; margin: 0 auto; padding: 26px 16px 10px; }
.doc h1 { font-size: clamp(23px, 6.4vw, 32px); color: var(--green-deep); }
.doc__meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.doc h2 { font-size: 17px; color: var(--green-deep); margin: 26px 0 8px; }
.doc h3 { font-size: 14px; color: var(--ink); margin: 16px 0 5px; }
.doc p, .doc li { font-size: 13.5px; color: var(--ink-soft); }
.doc p + p, .doc ul + p { margin-top: 8px; }
.doc ul, .doc ol { margin-top: 6px; display: grid; gap: 5px; }
.doc .card { box-shadow: none; background: #fff; }
.doc__toc {
  margin-top: 16px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 13px;
}
.doc__toc ol { gap: 3px; margin-top: 6px; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }

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