.lg-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lg-head h1 { font-size: clamp(27px, 2.8vw + 18px, 46px); }
.lg-terms .lg-head h1 { font-size: clamp(20px, 1.3vw + 16px, 30px); line-height: 1.35; letter-spacing: 0; }
.lg-doc .lg-updated { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; line-height: 1.6; }
.lg-updated svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--faint); }
.lg-doc .lg-head + * { margin-top: 26px; }
.lg-doc .lg-note { margin-top: 20px; background: var(--blue-soft); }
.lg-note svg { color: var(--blue-strong); }
.lg-doc h2 { margin-top: 46px; font-size: clamp(21px, 0.6vw + 18px, 25px); }
.lg-doc h2::before { content: ''; display: block; width: 32px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--grad); }
.lg-terms h2 { font-size: clamp(19px, 0.5vw + 17px, 23px); letter-spacing: 0; }
.lg-terms h3 { margin-top: 32px; font-size: 16.5px; line-height: 1.45; letter-spacing: 0.01em; }
.lg-terms h2 + h3 { margin-top: 18px; }
.lg-cl { position: relative; padding-left: 2.3em; }
.lg-num { position: absolute; left: 0; top: 0; font-weight: 800; color: var(--blue-strong); font-variant-numeric: tabular-nums; }
.lg-doc .lg-sub { margin-left: 2px; padding: 5px 0 5px 14px; border-left: 3px solid var(--blue-soft); }
.lg-doc .lg-sub + .lg-sub { margin-top: 0; }
.lg-doc .lg-cl.lg-sub { padding-left: calc(14px + 2em); }
.lg-doc .lg-cl.lg-sub2 { padding-left: calc(14px + 3.4em); }
.lg-sub .lg-num { top: 5px; left: 14px; }
.lg-sub2 .lg-num { left: calc(14px + 1.4em); }
.lg-contact { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.lg-doc .lg-contact { margin-top: 48px; }
.lg-contact h2 { margin: 6px 0 4px; font-size: 19px; }
.lg-contact h2::before { display: none; }
.lg-contact p { font-size: 15.5px; line-height: 1.7; }

.da-col { display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.da-col .page-head { margin-bottom: 8px; }
.da-sec.prose { max-width: none; margin: 0; font-size: 15.5px; line-height: 1.7; }
.da-sec.prose > * + * { margin-top: 14px; }
.da-sec-head { display: flex; align-items: center; gap: 14px; }
.da-sec-head h2 { margin: 0; min-width: 0; font-size: clamp(19px, 0.5vw + 17px, 22px); line-height: 1.35; }
.da-sec .da-list li { font-size: 15.5px; }
.da-form { margin-top: 18px; align-items: center; }

.nf-screen { gap: 18px; padding-top: 40px; }
.nf-cat { width: min(220px, 56vw); height: auto; }
.nf-screen h1 { font-size: clamp(72px, 6vw + 50px, 120px); line-height: 1; letter-spacing: -0.04em; }
.nf-screen h1::after { content: ''; display: block; width: 44px; height: 5px; margin: 20px auto 0; border-radius: 3px; background: var(--grad); }
.nf-screen .btn { margin-top: 8px; }

.id-body { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; }
.id-screen { width: 100%; gap: 14px; padding-top: 40px; padding-bottom: 56px; }
.id-logo { width: auto; height: 30px; margin-bottom: 22px; }
.id-ico svg { display: none; }
.id-screen[data-state='ok'] .i-ok, .id-screen[data-state='no'] .i-no, .id-screen[data-state='wait'] .i-wait { display: block; }
.id-screen[data-state='ok'] .id-ico { background: var(--coral-tint); color: var(--coral-deep); }
.id-screen[data-state='no'] .id-ico { background: var(--line); color: var(--ink-2); }
.id-screen h1 { font-size: clamp(24px, 1.2vw + 20px, 32px); line-height: 1.25; }
.id-screen p:empty { display: none; }
.id-back { max-width: 30em; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (min-width: 521px) {
  .da-form { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (min-width: 761px) {
  .lg-doc { max-width: 840px; padding: 44px 40px 48px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-hero); box-shadow: var(--sh-card); }
  .lg-doc .lg-sub { margin-left: 2.3em; }
  .lg-doc .lg-contact { background: var(--surface); border-color: transparent; }
}

@media (min-width: 1025px) {
  .lg-doc { padding: 56px 60px 60px; }
}
