/* Shared with /privacy/, /terms/, /support/ — aligns with index.html tokens and footer */

@font-face {
  font-family: 'Recoleta';
  src: url('fonts/Recoleta-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #d33479;
  --pink-dark: #a82960;
  --pink-soft: #fdeef4;
  --lavender: #D3D3FF;
  --lavender-muted: #e8e8ff;
  --text: #14121a;
  --text-muted: #4d4a55;
  --white: #fff;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --section-pad: clamp(4rem, 10vw, 6.25rem);
  --max: 920px;
  --max-doc: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--pink);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.75rem;
}

h1, h2 {
  font-family: 'Recoleta', Georgia, 'Times New Roman', serif;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-doc {
  width: min(100% - 2rem, var(--max-doc));
  margin-inline: auto;
}

/* Compact page header (homepage hero, scaled down) */
.doc-header {
  padding: clamp(2rem, 5vw, 3rem) 0;
  text-align: center;
  background: linear-gradient(168deg, var(--pink-soft) 0%, var(--lavender-muted) 48%, #f2f4ff 100%);
}

.doc-header-brand {
  margin-bottom: 1rem;
}

.doc-header-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 0.85rem);
  text-decoration: none;
  color: inherit;
}
.doc-header-brand-link:hover .doc-header-wordmark {
  color: var(--pink-dark);
}

.doc-header-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(211, 52, 121, 0.18);
}

.doc-header-wordmark {
  font-family: 'Recoleta', Georgia, 'Times New Roman', serif;
  font-weight: bold;
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pink);
}

.doc-header h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--text);
  max-width: 20ch;
  margin-inline: auto;
}

.doc-header .last-updated {
  margin-top: 0.5rem;
}

.doc-header-subtitle {
  margin-top: 0.5rem;
  max-width: 28rem;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.last-updated {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.doc-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 4rem);
}

.doc-main h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.doc-main h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.doc-main p,
.doc-main li {
  margin-bottom: 0.75rem;
}

.doc-main ul {
  padding-left: 1.25rem;
}

.doc-main h2[id] {
  scroll-margin-top: 1rem;
}

a {
  color: var(--pink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* Privacy summary — testimonial-card language */
.summary {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(211, 52, 121, 0.14);
  border-radius: 20px;
  box-shadow:
    0 10px 36px rgba(80, 40, 100, 0.08),
    0 2px 8px rgba(211, 52, 121, 0.06);
}
.summary p {
  margin: 0;
  color: var(--text);
}

.summary-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

/* Terms table of contents */
.toc-card {
  margin-bottom: 2rem;
  padding: 1.25rem 1.4rem 1.15rem;
  background: var(--white);
  border: 1px solid rgba(211, 52, 121, 0.14);
  border-radius: 20px;
  border-left: 4px solid var(--pink);
  box-shadow:
    0 10px 36px rgba(80, 40, 100, 0.06),
    0 2px 8px rgba(211, 52, 121, 0.05);
}

ul.toc {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
ul.toc li {
  margin-bottom: 0.45rem;
}
ul.toc li:last-child {
  margin-bottom: 0;
}

.placeholder {
  background: #fff3cd;
  border: 1px dashed #f0ad4e;
  border-radius: 4px;
  padding: 0 4px;
  font-style: italic;
  color: #856404;
}

/* Support */
.support-card {
  margin-top: 1.75rem;
  padding: 1.5rem 1.5rem 1.45rem;
  background: var(--white);
  border: 1px solid rgba(211, 52, 121, 0.14);
  border-radius: var(--radius-lg);
  box-shadow:
    0 10px 36px rgba(80, 40, 100, 0.08),
    0 2px 8px rgba(211, 52, 121, 0.06);
}
.support-card p {
  margin: 0;
  color: var(--text-muted);
}
.support-card .btn-primary {
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--pink) 55%, #e85a9a 100%);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(211, 52, 121, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(211, 52, 121, 0.4);
  text-decoration: none;
}

/* Waitlist (embedded form) */
.waitlist-form {
  width: 100%;
  margin-top: 0.25rem;
  overflow-x: hidden;
}
.waitlist-form iframe {
  display: block;
  width: 100% !important;
  min-width: 100%;
  height: 3751px;
  border: none;
}

/* Footer — matches index */
.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.site-footer nav {
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: var(--pink);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer .sep {
  margin: 0 0.5rem;
  color: #ccc;
}
