/* Kishi Notch site: text pages (Privacy Policy, Terms & License, Contact). Loaded after style.css,
   only on those pages; the header and footer come from the home page markup (build.py). */

.doc { position: relative; padding: clamp(112px, 13vw, 160px) 0 clamp(72px, 9vw, 112px); overflow: hidden; }
.doc::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 0%, rgba(53, 216, 138, .10), transparent 70%);
}
.doc .wrap { position: relative; max-width: 760px; }

.doc__head { margin-bottom: 34px; }
.doc__kicker { color: var(--brand); font-size: 14px; font-weight: 650; letter-spacing: .01em; margin-bottom: 12px; }
.doc h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance; }
.doc__updated { margin-top: 14px; color: var(--dim); font-size: 14px; }
.doc__head .lead { margin-top: 18px; }

.doc__summary {
  margin: 0 0 8px; padding: 16px 20px; border-radius: 16px;
  background: rgba(53, 216, 138, .06); border: 1px solid rgba(53, 216, 138, .22);
  color: var(--text); font-size: 16.5px; line-height: 1.5;
}

.doc h2 { font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; letter-spacing: -0.022em; margin: 46px 0 12px; text-wrap: balance; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: #c9c9d0; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; margin-top: 10px; }
.doc li { position: relative; padding-left: 20px; }
.doc li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc strong { color: var(--text); font-weight: 650; }
.doc a:not(.btn) { color: #86e8b8; text-underline-offset: 3px; }
.doc a:not(.btn):hover { color: #b4f2d2; }
.doc__basis { color: var(--muted); font-size: 15px; }
.doc__basis strong { color: #c9c9d0; }

.doc__contact {
  display: grid; justify-items: start; gap: 14px; margin: 6px 0 8px; padding: 26px;
  border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.doc__contact .btn { white-space: normal; text-align: center; }
.doc__contact p { color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .doc__contact { padding: 20px; }
  .doc__contact .btn { width: 100%; }
}

.footer__nav a[aria-current="page"] { color: var(--text); }
