/* 츠키 공식 사이트 — 공용 스타일
 * 세계: 앱 B안 '먹색 다크 + 종이 질감 + 명조' (src/theme/tokens.ts) 그대로.
 * 색은 아래 토큰만 쓴다. 바탕·글자·보조·먹선은 사이트 구성안(TSUKI_SITE_PLAN.md) 값,
 * 금박·인주는 앱 토큰 값(구성안의 금 #F2C94C는 앱 화면 옆에서 노랗게 떠서 앱 금박으로 맞췄다 — 바꾸려면 --gilt 한 줄).
 */

@font-face {
  font-family: "Tsuki Serif";
  src: url("../assets/fonts/serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tsuki Serif";
  src: url("../assets/fonts/serif-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 먹 */
  --ink: #17141f;
  --ink-deep: #0f0d14;
  --sheet: #1f1b29;
  --sheet-2: #282333;
  --sheet-mute: #1b1824;
  /* 종이 글자 */
  --paper: #f5f0e6;
  --paper-soft: #c9bfae;
  --paper-faint: #8c847a;
  /* 먹선 */
  --line: #3a3347;
  --line-strong: #4e4659;
  /* 인주 */
  --seal: #a63d2f;
  --seal-deep: #8a3124;
  --seal-text: #d9604f;
  --seal-soft: #2c1f23;
  /* 금박 */
  --gilt: #c9a961;
  --gilt-bright: #ddbe78;

  --serif: "Tsuki Serif", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: 20px;
  --measure: 34rem;
  --wide: 1120px;
  --section: clamp(88px, 14vw, 168px);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background-color: #17141f;
  background-image: url("../assets/img/paper-grain.png");
  background-repeat: repeat;
  background-size: 256px 256px;
  color: var(--paper);
  font: 400 16px/1.65 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

html {
  scrollbar-color: var(--line-strong) var(--ink);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gilt);
}

::selection {
  background: var(--seal);
  color: #fff6ee;
}

:focus-visible {
  outline: 2px solid var(--gilt-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

a {
  color: var(--gilt-bright);
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, var(--gilt) 45%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--paper);
    text-decoration-color: var(--paper-soft);
  }
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--paper);
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--paper);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- 머리 줄 */

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 10px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.topnav {
  display: flex;
  gap: 4px;
}
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--paper-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
}
.topnav a[aria-current="page"] {
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .topnav a:hover {
    color: var(--paper);
    background: var(--sheet-mute);
  }
}

/* ---------------------------------------------------------------- 공통 구획 */

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-top: var(--section);
}

.section-head {
  max-width: var(--measure);
}

.h2 {
  font-size: clamp(27px, 6.6vw, 42px);
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.prose {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper-soft);
}
.prose + .prose {
  margin-top: 0.9em;
}
.h2 + .prose,
.h2 + .prose-lead {
  margin-top: 20px;
}

.meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-faint);
}

/* 인주 사각 도장 — 앱 Stamp와 같은 각진 모서리(2px) */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px 4px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.stamp--seal {
  color: #fff6ee;
  background: var(--seal);
  border-color: var(--seal);
}
.stamp--gilt {
  color: var(--gilt-bright);
}
.stamp--ink {
  color: var(--paper-soft);
}

/* 한자 장식 (앱 Hanja) */
.hanja {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gilt);
  border-radius: 2px;
  color: var(--gilt-bright);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
}

.h2-mark {
  margin-left: 12px;
  vertical-align: 0.35em;
  width: 28px;
  height: 28px;
  font-size: 16px;
}

/* ---------------------------------------------------------------- 히어로 */

.hero {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 4px var(--gutter) 0;
  display: grid;
  gap: 8px;
}

.stage {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.stage .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 원은 사용자 좌표로 그린다(vector-effect 없음) — 화면 좌표 점선이면 큰 화면에서 그리기 애니메이션이 원을 다 닫지 못한다 */
.ring .band {
  fill: none;
  stroke: var(--gilt);
  stroke-width: 1.1;
  opacity: 0.55;
}
.ring .spoke {
  stroke: var(--gilt);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.32;
}
.ring .ticks {
  transform-origin: 200px 200px;
  animation: drift 240s linear infinite;
}
.ring .tick {
  stroke: var(--gilt);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.45;
}
.ring .tick--term {
  opacity: 0.8;
}
.ring .branch {
  font-family: var(--serif);
  font-size: 19px;
  fill: var(--paper-soft);
  text-anchor: middle;
  dominant-baseline: central;
}
.ring .branch-kor {
  font-family: var(--sans);
  font-size: 9.5px;
  fill: var(--paper-faint);
  text-anchor: middle;
  dominant-baseline: central;
}

@keyframes drift {
  to {
    transform: rotate(360deg);
  }
}

.mascot {
  position: absolute;
  left: 50%;
  top: 53%;
  width: 68%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.mascot video,
.mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.mascot--myungban video,
.mascot--myungban img {
  -webkit-mask-image: url("../assets/video/myungban-mask.png");
  mask-image: url("../assets/video/myungban-mask.png");
}
.mascot--gomin video,
.mascot--gomin img {
  -webkit-mask-image: url("../assets/video/gomin-mask.png");
  mask-image: url("../assets/video/gomin-mask.png");
}
.mascot--sleep video {
  -webkit-mask-image: url("../assets/video/sleep-mask.png");
  mask-image: url("../assets/video/sleep-mask.png");
}
.mascot--sleepy video {
  -webkit-mask-image: url("../assets/video/sleepy-mask.png");
  mask-image: url("../assets/video/sleepy-mask.png");
}
.mascot .poster {
  position: absolute;
  inset: 0;
  transition: opacity 400ms ease;
}
.mascot.is-playing .poster {
  opacity: 0;
}

/* 제첨(題簽) — 옛 책 표지의 세로 제목 쪽지. 링 밖에 자리가 있는 넓은 화면에서만 */
.slip {
  display: none;
  position: absolute;
  left: 0;
  top: 6%;
  padding: 12px 7px;
  border: 1px solid var(--gilt);
  outline: 1px solid color-mix(in srgb, var(--gilt) 45%, transparent);
  outline-offset: 3px;
  background: var(--sheet);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.32em;
  color: var(--gilt-bright);
}

.hero-copy {
  text-align: center;
  padding-bottom: 8px;
}

.wordmark {
  position: relative;
  display: inline-block;
  font-size: clamp(76px, 22vw, 132px);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-right: 0.08em;
}
.wordmark .seal {
  position: absolute;
  right: -0.42em;
  bottom: 0.06em;
  width: 0.42em;
  height: 0.42em;
  border-radius: 0.07em;
  transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(18px, 4.8vw, 22px);
  letter-spacing: 0.02em;
  color: var(--gilt-bright);
}

.lede {
  max-width: 21em;
  margin: 18px auto 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--paper-soft);
}

.launch {
  display: inline-flex;
  align-items: stretch;
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--sheet);
  overflow: hidden;
}
.launch .stamp {
  border-radius: 0;
  padding: 0 14px;
  font-size: 15px;
}
.launch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}
.launch-label svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
  opacity: 0.9;
}
.launch-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--paper-faint);
}

/* 히어로 한 번의 등장 — 링이 그려지고, 츠키가 앉고, 마지막에 낙관이 찍힌다 */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .band {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw 1400ms var(--ease-out) 100ms forwards;
  }
  .js .hero .spoke,
  .js .hero .branch,
  .js .hero .branch-kor,
  .js .hero .ticks {
    opacity: 0;
    animation: fade-to 700ms var(--ease-out) forwards;
    animation-delay: calc(500ms + var(--i, 0) * 45ms);
  }
  .js .hero .ticks {
    animation: fade-to 900ms var(--ease-out) 700ms forwards, drift 240s linear 700ms infinite;
  }
  .js .hero .mascot {
    opacity: 0;
    animation: settle 900ms var(--ease-out) 350ms forwards;
  }
  .js .hero-copy > * {
    opacity: 0;
    animation: rise 800ms var(--ease-out) forwards;
  }
  .js .hero-copy > :nth-child(1) { animation-delay: 450ms; }
  .js .hero-copy > :nth-child(2) { animation-delay: 560ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 640ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 720ms; }
  .js .hero-copy > :nth-child(5) { animation-delay: 760ms; }
  .js .wordmark .seal {
    opacity: 0;
    animation: stamp 420ms var(--ease-out) 1250ms forwards;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade-to {
  to {
    opacity: var(--to, 1);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes stamp {
  0% {
    opacity: 0;
    transform: rotate(-4deg) scale(1.35);
  }
  60% {
    opacity: 1;
    transform: rotate(-4deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}

/* ---------------------------------------------------------------- 기기 프레임 */

.phone {
  --w: 280px;
  position: relative;
  width: var(--w);
  flex: none;
  aspect-ratio: 393 / 852;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: #1a1722;
  box-shadow:
    0 0 0 1px var(--line-strong),
    inset 0 0 0 1px rgba(245, 240, 230, 0.06),
    0 30px 60px -24px rgba(0, 0, 0, 0.75),
    0 8px 18px -10px rgba(0, 0, 0, 0.6);
}
.phone .screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.125);
  background: var(--ink) url("../assets/img/paper-grain.png") repeat;
  background-size: calc(var(--w) * 0.6) auto;
  display: flex;
  flex-direction: column;
}
.phone .status {
  position: relative;
  flex: none;
  height: 6.93%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 11%;
  font: 600 calc(var(--w) * 0.044) / 1 var(--sans);
  letter-spacing: -0.01em;
  color: var(--paper);
}
.phone .status svg {
  height: calc(var(--w) * 0.036);
  width: auto;
  fill: var(--paper);
}
.phone .island {
  position: absolute;
  left: 50%;
  top: 1.35%;
  width: 31%;
  height: 3.5%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.phone .shot {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.phone .home {
  position: absolute;
  left: 50%;
  bottom: 0.9%;
  width: 34%;
  height: 0.55%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.7);
  z-index: 2;
}

.shot-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--paper-faint);
  text-align: center;
}

/* ---------------------------------------------------------------- 펼침(글 + 화면) */

.spread {
  display: grid;
  gap: 40px;
  align-items: center;
}
.spread .figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.facets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.facets li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 14px;
  color: var(--paper-soft);
}
.facets li b {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gilt-bright);
}

/* ---------------------------------------------------------------- 명반 */

.chart-plate {
  position: relative;
  margin: 44px auto 0;
  max-width: 560px;
}
.chart-plate img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 28px 60px -30px rgba(0, 0, 0, 0.8);
}
/* 금박 모서리 표시 — 판을 장부에 붙인 자리 */
.chart-plate::before,
.chart-plate::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gilt);
  pointer-events: none;
}
.chart-plate::before {
  left: -10px;
  top: -10px;
  border-right: 0;
  border-bottom: 0;
}
.chart-plate::after {
  right: -10px;
  bottom: -10px;
  border-left: 0;
  border-top: 0;
}

.legend {
  display: grid;
  gap: 14px;
  margin: 36px auto 0;
  padding: 0;
  max-width: 560px;
  list-style: none;
}
.legend li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--paper-soft);
}
.legend svg {
  width: 36px;
  height: 20px;
  overflow: visible;
}

/* ---------------------------------------------------------------- 천중살 찾기 */

.finder {
  margin-top: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--sheet);
  overflow: hidden;
}
.finder-form {
  display: grid;
  gap: 10px;
  padding: 22px 20px 20px;
  border-bottom: 1px solid var(--line);
}
.finder-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-soft);
}
.finder-row {
  display: flex;
  gap: 8px;
}
.finder input[type="date"] {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font: 500 17px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
.finder input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
.finder input[type="date"]:focus-visible {
  outline: 2px solid var(--gilt-bright);
  outline-offset: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--seal);
  color: #fff6ee;
  font: 700 16px/1.2 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--seal-deep);
    color: #fff6ee;
  }
}
.btn--quiet {
  background: var(--sheet-mute);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn--quiet:hover {
    background: var(--sheet-2);
    color: var(--paper);
  }
}

.finder-hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-faint);
}

.finder-body {
  display: grid;
  gap: 22px;
  padding: 22px 20px 26px;
}

.finder-ring {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.finder-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.finder-ring .center-day {
  font-family: var(--serif);
  font-size: 34px;
  fill: var(--paper);
  text-anchor: middle;
  dominant-baseline: central;
}
.finder-ring .center-sub {
  font-family: var(--sans);
  font-size: 15px;
  fill: var(--paper-faint);
  text-anchor: middle;
  dominant-baseline: central;
}
.finder-ring .seat {
  transition: opacity 500ms var(--ease-out);
}
.finder-ring .seat-void {
  fill: none;
  stroke: var(--gilt-bright);
  stroke-width: 1.2;
  stroke-dasharray: 3 3.4;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.7);
  transition: opacity 600ms var(--ease-out) 250ms, transform 600ms var(--ease-out) 250ms;
}
.finder-ring .rot {
  transform-box: view-box;
  transform-origin: 200px 200px;
  transition: transform 1500ms var(--ease-out);
}
.finder-ring .rot text {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1500ms var(--ease-out), fill 400ms ease;
}
.finder-ring .seat.is-void .branch {
  fill: var(--gilt-bright);
}
.finder-ring .seat.is-void .branch-kor {
  fill: var(--gilt-bright);
}
.finder-ring .seat.is-void .seat-void {
  opacity: 1;
  transform: scale(1);
}
.finder-ring .branch {
  transition: opacity 700ms var(--ease-out);
}

.finder-result[hidden] {
  display: none;
}
.finder-pair {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.finder-pair .pair-hanja {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--gilt-bright);
}
.finder-pair .pair-kor {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--paper);
}
.finder-path {
  margin-top: 6px;
  font-size: 14px;
  color: var(--paper-faint);
  font-variant-numeric: tabular-nums;
}
.finder-meaning {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper-soft);
}
.finder-years {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--paper-soft);
}
.finder-years b {
  font-weight: 600;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.finder-next {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper-faint);
}
.finder-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper-faint);
}
.finder-empty {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--paper-faint);
  text-align: center;
}
.finder-error {
  font-size: 14px;
  color: var(--seal-text);
}

@media (prefers-reduced-motion: reduce) {
  .finder-ring .seat-void,
  .finder-ring .branch,
  .finder-ring .seat,
  .finder-ring .rot,
  .finder-ring .rot text {
    transition: opacity 200ms ease;
  }
  .finder-ring .seat-void {
    transform: none;
  }
}

/* 결과 장부 — 앱 만세력 표(PillarsView)처럼 먹선 칸 */
.finder-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}
.finder-ledger div {
  display: grid;
  grid-template-rows: auto 1fr;
}
.finder-ledger div + div {
  border-left: 1px solid var(--line-strong);
}
.finder-ledger dt {
  padding: 7px 10px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper-faint);
  text-align: center;
}
.finder-ledger dd {
  margin: 0;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.finder-ledger b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.finder-ledger dd span {
  font-size: 13px;
  color: var(--paper-soft);
}
.finder-ledger .is-void {
  background: var(--seal-soft);
}
.finder-ledger .is-void b {
  color: var(--gilt-bright);
  font-size: 30px;
}
.finder-ledger .is-void dd span {
  color: var(--gilt-bright);
}

/* ---------------------------------------------------------------- 꿈 × 사주 */

.steps {
  display: grid;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gilt);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gilt-bright);
  margin-top: 2px;
}
.steps h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
.steps p {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--paper-soft);
}

.pair {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 40px calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.pair::-webkit-scrollbar {
  display: none;
}
.pair-item {
  margin: 0;
  flex: none;
  scroll-snap-align: start;
}
.pair .phone {
  --w: min(76vw, 300px);
}
.pair-item figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--paper-soft);
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gilt);
  border-radius: 2px;
  font-size: 13px;
  color: var(--gilt-bright);
}
.pair-link {
  display: none;
  position: absolute;
  left: 50%;
  top: 40%;
  width: 22%;
  height: 24px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

/* ---------------------------------------------------------------- 신년 (시즌 블록) */

.season {
  position: relative;
  margin-top: var(--section);
}
.season-sheet {
  position: relative;
  padding: 40px 22px 30px;
  border: 1px solid var(--gilt);
  border-radius: 8px;
  /* 달력 캡처 바탕(앱 팝업 면)과 같은 색 — 이미지가 테두리 없이 종이에 그대로 앉는다 */
  background: #211c2b;
}
.season-stamp {
  position: absolute;
  top: -15px;
  right: 22px;
  z-index: 1;
  padding: 5px 11px 6px;
  font-size: 15px;
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.season-sheet::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--gilt) 42%, transparent);
  border-radius: 5px;
  pointer-events: none;
}
.season-figure {
  margin-top: 30px;
}
.season-figure img {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
}
.season-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--paper-soft);
}
.season-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot--push {
  background: var(--gilt);
}
.dot--stable {
  border: 1px solid var(--paper-faint);
}
.dot--empty {
  background: var(--seal-text);
}
.season-until {
  margin-top: 20px;
  font-size: 14px;
  color: var(--paper-faint);
}

/* ---------------------------------------------------------------- 가격 장부 */

.ledger {
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.ledger-group {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}
.ledger-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-faint);
}
.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
}
.ledger-row .name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
}
.ledger-row .lead {
  flex: 1;
  min-width: 16px;
  height: 1px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-4px);
}
.ledger-row .price {
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger-row .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper-faint);
}
.ledger-sub {
  margin: 2px 0 6px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper-soft);
}
.ledger-plus {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.ledger-plus li {
  position: relative;
  padding-left: 18px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-soft);
}
.ledger-plus li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gilt);
}
.ledger-free {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ledger-free li {
  padding: 6px 11px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 14px;
  color: var(--paper-soft);
}
.ledger-foot {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-faint);
}

/* ---------------------------------------------------------------- FAQ */

.faq {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--paper);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .chev {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--paper-faint);
  fill: none;
  stroke-width: 1.6;
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary .chev {
  transform: rotate(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover {
    color: var(--gilt-bright);
  }
}
.faq .answer {
  padding: 0 2px 22px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--paper-soft);
}
.faq .answer p + p,
.faq .answer p + ol,
.faq .answer ol + p {
  margin-top: 0.7em;
}
.faq .answer ol {
  margin: 0;
  padding-left: 1.3em;
}
.faq .answer ol li + li {
  margin-top: 0.25em;
}
.path {
  font-family: var(--sans);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}
.more-link {
  display: inline-flex;
  margin-top: 28px;
}
.only-wide {
  display: none;
}
.doc-aside {
  margin-top: 12px;
  max-width: 26rem;
}

/* ---------------------------------------------------------------- 바닥 */

.footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-deep) 55%, transparent);
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}
.goodnight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}
.goodnight .mascot {
  position: relative;
  left: auto;
  top: auto;
  width: 168px;
  transform: none;
}
.goodnight p {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-soft);
}
.footer-grid {
  display: grid;
  gap: 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px 0 0;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--gilt-bright);
  }
}
.operator {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-faint);
}
.operator div {
  display: flex;
  gap: 8px;
}
.operator dt {
  flex: none;
  min-width: 4.5em;
}
.operator dd {
  margin: 0;
  color: var(--paper-soft);
}
.operator a {
  color: var(--paper-soft);
}
.fine {
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-faint);
}

/* 아직 정해지지 않은 칸 — 천중살 빈자리처럼 점선으로 비워 둔다 */
.todo {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 3px;
  color: var(--paper-faint);
  font-size: 0.92em;
}

/* ---------------------------------------------------------------- 문서 페이지(지원·개인정보) */

.doc-head {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.doc-head h1 {
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.doc-head .prose {
  max-width: var(--measure);
  margin-top: 18px;
}

.support-hero {
  display: grid;
  gap: 4px;
  align-items: center;
}
.support-hero .mascot {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  order: -1;
  width: 132px;
  margin: -4px 0 -10px -14px;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .jump a:hover {
    background: var(--sheet);
    border-color: var(--gilt);
  }
}

.doc-section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}
.doc-section > h2 {
  font-size: clamp(24px, 5.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* 문의 양식 자리 — 금테 쪽지 */
.form-slot {
  position: relative;
  margin-top: 26px;
  max-width: 640px;
  padding: 26px 22px 24px;
  border: 1px solid var(--gilt);
  border-radius: 8px;
  background: var(--sheet);
}
.form-slot::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--gilt) 42%, transparent);
  border-radius: 5px;
  pointer-events: none;
}
.form-slot-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 아직 비어 있는 자리 — 명반의 천중살 점선 원과 같은 표시 */
.form-slot-status .seat-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.2px dashed var(--gilt-bright);
  flex: none;
}
.form-slot-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
}
.form-slot p.prose {
  margin-top: 10px;
  font-size: 16px;
}
.privacy-line {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-faint);
}
.mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.copy-state {
  min-height: 1.5em;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gilt-bright);
}
.types {
  margin-top: 22px;
}
.types-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-soft);
}
.type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.type-list li {
  padding: 6px 11px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 14px;
  color: var(--paper-soft);
}
.mail-tips {
  margin: 18px 0 0;
  padding: 0 0 0 1.2em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper-soft);
}

.operator-sheet {
  margin-top: 22px;
  max-width: 640px;
  border-top: 1px solid var(--line-strong);
}
.operator-sheet div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.operator-sheet dt {
  color: var(--paper-faint);
}
.operator-sheet dd {
  margin: 0;
  color: var(--paper);
}

/* 개인정보처리방침 본문 */
.policy {
  display: grid;
  gap: 40px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}
.toc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sheet-mute);
  padding: 16px 18px 12px;
}
.toc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-faint);
}
.toc ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-height: 40px;
  padding: 9px 0;
  color: var(--paper-soft);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
}
.toc a::before {
  content: counter(toc);
  min-width: 1.2em;
  font-family: var(--serif);
  color: var(--gilt);
}
@media (hover: hover) and (pointer: fine) {
  .toc a:hover {
    color: var(--paper);
  }
}
.toc a.is-current {
  color: var(--paper);
}

.policy-body {
  max-width: 44rem;
}
.policy-body .intro {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--paper-soft);
}
.clause {
  padding-top: 44px;
  scroll-margin-top: 16px;
}
.clause h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(21px, 5vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.clause h2 .no {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gilt);
  border-radius: 2px;
  font-size: 15px;
  color: var(--gilt-bright);
  transform: translateY(-3px);
}
.clause ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.clause li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--paper-soft);
}
.clause li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.82em;
  width: 5px;
  height: 5px;
  background: var(--gilt);
  border-radius: 1px;
}
.clause li b,
.clause p b {
  font-weight: 600;
  color: var(--paper);
}
.clause p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--paper-soft);
}
.processors {
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.processors div {
  display: grid;
  grid-template-columns: minmax(8em, 34%) 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}
.processors dt {
  color: var(--paper);
  font-weight: 600;
}
.processors dd {
  margin: 0;
  color: var(--paper-soft);
}
.effective {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--paper-faint);
}

/* 404 */
.lost {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px var(--gutter);
}
.lost .mascot {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 200px;
}
.lost h1 {
  margin-top: 6px;
  font-size: clamp(28px, 7vw, 40px);
}
.lost .prose {
  margin-top: 12px;
}
.lost .btn {
  margin-top: 28px;
}

/* ---------------------------------------------------------------- 넓은 화면 */

@media (min-width: 720px) {
  :root {
    --gutter: 40px;
  }
  .phone {
    --w: 300px;
  }
  .pair {
    justify-content: center;
    gap: 72px;
    margin: 44px 0 0;
    padding: 0;
    overflow: visible;
  }
  .pair .phone {
    --w: 280px;
  }
  .pair-item:nth-child(3) {
    margin-top: 12%;
  }
  .pair-link {
    display: block;
    width: 72px;
  }
  .finder-form {
    padding: 26px 28px 24px;
  }
  .finder-body {
    grid-template-columns: 300px minmax(0, 34rem);
    align-items: center;
    gap: 48px;
    padding: 34px 32px 36px;
  }
  .finder-ring {
    width: 300px;
  }
  .season-sheet {
    padding: 48px 48px 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1000px) {
  :root {
    --section: clamp(96px, 10.5vw, 136px);
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: min(640px, calc(100vh - 140px));
    padding-top: 0;
  }
  .hero + .section {
    padding-top: clamp(40px, 5vw, 72px);
  }
  .spread {
    align-items: start;
  }
  .slip {
    display: block;
    left: -64px;
    top: 4%;
  }
  .lede {
    font-size: 18px;
  }
  .only-wide {
    display: inline-flex;
  }
  .only-narrow {
    display: none;
  }
  .finder-body {
    grid-template-columns: 340px minmax(0, 34rem);
    gap: 64px;
    padding: 40px 48px 44px;
  }
  .finder-ring {
    width: 340px;
  }
  .finder-form {
    padding: 28px 48px 26px;
  }
  .finder-row {
    max-width: 520px;
  }
  .hero-copy {
    order: -1;
    text-align: left;
    padding-bottom: 0;
  }
  .lede {
    margin-left: 0;
  }
  .stage {
    width: min(100%, 520px);
  }
  .spread {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
  }
  .chart-grid .chart-plate {
    margin-top: 0;
    margin-right: 10px;
  }
  .chart-grid .legend {
    margin-left: 0;
  }
  .spread--flip .figure {
    order: -1;
  }
  .spread .copy {
    max-width: 30rem;
  }
  .spread--flip .copy {
    justify-self: start;
  }
  .phone {
    --w: 320px;
  }
  .split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: start;
  }
  .split .finder {
    margin-top: 0;
  }
  .dream-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
  }
  .dream-grid .pair {
    margin-top: 0;
  }
  .season-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    padding: 56px;
  }
  .season-figure {
    margin-top: 0;
  }
  .price-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
  }
  .price-grid .ledger {
    margin-top: 0;
  }
  .faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
  }
  .faq-grid .faq {
    margin-top: 0;
  }
  .support-hero {
    grid-template-columns: 1fr auto;
  }
  .support-hero .mascot {
    order: 0;
    width: 220px;
    margin: 0;
  }
  .policy {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .toc {
    position: sticky;
    top: 24px;
  }
  .doc-two {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }
  .doc-two .faq,
  .doc-two .operator-sheet,
  .doc-two .form-slot {
    margin-top: 0;
  }
}

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

@media print {
  body {
    background: #fff;
    color: #111;
  }
  .topbar,
  .footer,
  .toc,
  .jump {
    display: none;
  }
}
