/* Legal documents: same world as the landing, tuned for long reading. */
@import url("styles.css");

.doc-page {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgb(120 22 14 / 0.6), transparent 70%),
    var(--crimson-deep);
  min-height: 100vh;
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.doc-header .link-arrow { font-size: 15px; }
.doc-back-icon { transform: rotate(180deg); }

.doc {
  max-width: 760px;
  padding: 48px 0 96px;
}
.doc h1 {
  margin: 0 0 12px;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.doc h1 strong { font-weight: 800; }
.doc__meta {
  margin: 0 0 48px;
  font-size: 14px;
  color: var(--ivory-soft);
}
.doc h2 {
  margin: 48px 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ivory-soft);
}
.doc p { margin: 0 0 14px; max-width: 70ch; }
.doc ol,
.doc ul { margin: 0 0 14px; padding-left: 1.3em; max-width: 70ch; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--ivory); text-underline-offset: 3px; }
.doc strong { color: var(--ivory); font-weight: 600; }

.doc__note {
  margin: 32px 0;
  padding: 20px 24px;
  border: 1px solid var(--ivory-line);
  border-radius: 8px;
}
.doc__note p:last-child { margin-bottom: 0; }

.doc-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgb(243 237 230 / 0.2);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ivory-soft);
}
.doc-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.doc-footer a { color: var(--ivory-soft); }
.doc-footer p { margin: 0; }

@media (max-width: 899px) {
  .doc-header { height: 72px; }
  .doc { padding: 24px 0 64px; }
  .doc h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .doc h2 { font-size: 19px; margin-top: 36px; }
  .doc p, .doc li { font-size: 16px; }
}
