/* ============================================================
   Clxrity information pages — legal, about, and support.
   Keeps the marketing site's quiet editorial system while giving
   long-form content a comfortable reading width and clear structure.
   ============================================================ */

.info-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--p2) 9%, transparent), transparent 28rem),
    var(--paper);
}

.info-page .lp-nav { position: sticky; }
.lp-brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.info-nav-current { color: var(--ink) !important; }

.info-main { padding: 74px 0 96px; }
.info-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.info-hero--document { align-items: start; }
.info-kicker {
  margin: 0 0 18px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.info-title {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.info-title--wide { max-width: 16ch; }
.info-lead {
  max-width: 37em;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}
.info-updated { margin: 18px 0 0; color: var(--ink-faint); font-size: 13px; }

.info-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-card);
}
.info-note-label {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.info-note p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.info-note p + p { margin-top: 10px; }
.info-note strong { color: var(--ink); }

.document-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 710px);
  gap: 68px;
  justify-content: center;
  padding-top: 54px;
}
.document-toc { position: sticky; top: 102px; align-self: start; }
.document-toc h2 {
  margin: 0 0 16px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.document-toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.document-toc a:hover { color: var(--ink); }

.document { min-width: 0; }
.document section { scroll-margin-top: 104px; }
.document section + section { margin-top: 38px; padding-top: 38px; border-top: 1px solid var(--line-soft); }
.document h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.document h3 { margin: 24px 0 0; font-size: 16px; line-height: 1.35; }
.document p, .document li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.72; }
.document p { margin: 13px 0 0; }
.document ul { margin: 14px 0 0; padding-left: 20px; }
.document li + li { margin-top: 8px; }
.document a { color: var(--ink); text-underline-offset: 3px; }
.document strong { color: var(--ink); }
.document-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}
.document-callout p { margin: 0; }

.info-section { padding-top: 72px; }
.info-section + .info-section { margin-top: 72px; border-top: 1px solid var(--line); }
.info-section-head { max-width: 650px; }
.info-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.info-section-head p { margin: 17px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }

.principle-grid, .support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.principle, .support-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.principle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}
.principle h3, .support-card h3 { margin: 18px 0 0; font-size: 17px; }
.principle p, .support-card p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.58; }

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: start;
}
.about-quote {
  margin: 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.about-quote p { margin: 0; color: #fff; font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.about-quote footer { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.about-copy p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.72; }
.about-copy p + p { margin-top: 18px; }

.support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 28px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--on-accent);
}
.support-contact h2 { margin: 0; color: inherit; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.support-contact p { margin: 7px 0 0; color: color-mix(in srgb, var(--on-accent) 72%, transparent); font-size: 14px; line-height: 1.5; }
.support-contact a {
  flex: none;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--on-accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.support-card .support-step { margin-top: 13px; color: var(--ink); font-size: 13px; font-weight: 700; }
.support-card a { color: var(--ink); text-underline-offset: 3px; }

.faq-list { max-width: 800px; margin-top: 34px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--ink-faint); font-size: 22px; font-weight: 400; line-height: 0.8; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 44px 23px 0; }
.faq-answer p, .faq-answer li { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.faq-answer p { margin: 0; }
.faq-answer p + p, .faq-answer ul { margin-top: 12px; }
.faq-answer ul { padding-left: 20px; }
.faq-answer a { color: var(--ink); text-underline-offset: 3px; }

.info-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 80px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.info-cta h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.info-cta p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
.info-cta a {
  flex: none;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-accent);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 820px) {
  .info-main { padding-top: 54px; }
  .info-hero { grid-template-columns: 1fr; gap: 32px; }
  .info-note { max-width: 560px; }
  .document-layout { grid-template-columns: 1fr; gap: 32px; }
  .document-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .document-toc h2 { width: 100%; margin-bottom: 8px; }
  .document-toc a { padding: 2px 0; }
  .principle-grid, .support-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .info-wrap { padding: 0 20px; }
  .info-main { padding: 44px 0 70px; }
  .info-title { font-size: 46px; }
  .info-lead { font-size: 16px; }
  .info-section, .document-layout { padding-top: 42px; }
  .info-section + .info-section { margin-top: 52px; }
  .support-contact, .info-cta { align-items: flex-start; flex-direction: column; padding: 26px; }
  .support-contact a, .info-cta a { width: 100%; text-align: center; }
  .footer { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
