/* Luvolora - one column, plain text. */

:root {
  --paper:     #fbfaf7;
  --ink:       #0f1b2e;
  --ink-soft:  #3c4c63;
  --ink-muted: #5a6b80;
  --blue:      #2f6fd0; /* passes 4.5:1 on paper, safe for text */
  --rule:      #e2e0da;

  --font-display: 'Archivo', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(64px, 14vh, 144px) 16px 48px;
}

h1, h2 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  /* Line under the wordmark: fit-content keeps it as wide as "luvolora." */
  width: fit-content;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

/* Square mark from logo.png, above the wordmark. Decorative: the h1 names the site. */
.mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  margin-bottom: 24px;
}

.accent {
  color: var(--blue);
}

.sub {
  margin: 12px 0 40px;
  color: var(--ink-muted);
}

/* Banner on a legal text that is not final yet. Remove it from the page once
   the text is approved. Dark amber on pale amber, passes 4.5:1. */
.draft {
  margin: 0 0 32px;
  padding: 12px 16px;
  border: 1px solid #e0b252;
  border-radius: 8px;
  background: #fdf3dc;
  color: #6b4a00;
  font-weight: 600;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 40px 0 8px;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

footer {
  margin-top: 72px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Legal pages (privacy.html, terms.html): smaller title, readable lists. */
.doc h1 {
  font-size: clamp(2rem, 6vw, 2.5rem);
}

.doc p + p {
  margin-top: 12px;
}

.doc ul,
.doc ol {
  margin: 8px 0 0 1.4em;
}

.doc li + li {
  margin-top: 6px;
}

.doc li ul {
  margin-top: 6px;
}

footer a {
  color: var(--ink-muted);
}
