/* lovlov teaser — tokens verbatim from the frozen golden (tokens.css) */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream0: #fcf7f0;
  --lav1: #e7ddf0;
  --plum: #2c1840;
  --plumdim: rgba(44, 24, 64, 0.7);
  --plumfaint: rgba(44, 24, 64, 0.36);
  --purple: #7c3aed;
  --gold: #9b6c2e;
  --boxbd: #efe2d4;
  --warmgrad:
    radial-gradient(120% 72% at 50% 2%, rgba(250, 213, 160, 0.5) 0%, transparent 50%),
    radial-gradient(80% 52% at 84% 24%, rgba(232, 170, 182, 0.28) 0%, transparent 58%),
    linear-gradient(178deg, #fcf7f0 0%, #f3ebf3 54%, #e7ddf0 100%);
  --col: 460px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--plum);
  background: var(--warmgrad);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Fixed gradient only on larger screens — avoids iOS Safari repaint jank on scroll */
@media (min-width: 768px) {
  body { background-attachment: fixed; }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.col { max-width: var(--col); width: 100%; }

.wordmark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plumdim);
  margin-top: 0.35rem;
}

.chip {
  display: inline-block;
  margin-top: 2.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.4);
}

h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1.12;
  margin-top: 1.1rem;
  text-wrap: balance;
}
h1 em { font-style: italic; color: var(--purple); }

.lead {
  margin: 1.4rem auto 0;
  color: var(--plumdim);
  font-size: 1.02rem;
  max-width: 40ch;
  text-wrap: pretty;
}

.closing {
  margin: 1.9rem auto 0;
  max-width: 40ch;
  font-size: 1.02rem;
  color: var(--plumdim);
  text-wrap: pretty;
}
.closing-payoff {
  margin: 1.2rem auto 0;
  max-width: 30ch;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1.28;
  color: var(--purple);
  text-wrap: balance;
}

.privacy-tag {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plumdim);
}

.trustline {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--plumfaint);
}

footer {
  padding: 1.4rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--plumfaint);
}
footer a { color: var(--plumdim); text-decoration: none; border-bottom: 1px solid var(--boxbd); }
footer a:hover { color: var(--purple); }
footer .sep { margin: 0 0.5rem; }

/* legal pages */
.legal main { justify-content: flex-start; text-align: left; padding-top: 4rem; }
.legal .wordmark { font-size: 1.3rem; text-decoration: none; }
.legal h1 { font-size: 1.9rem; margin: 1.8rem 0 0.4rem; }
.legal h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.6rem 0 0.3rem;
}
.legal p { color: var(--plumdim); font-size: 0.94rem; margin-top: 0.4rem; }
.legal a { color: var(--purple); text-decoration: none; }
.legal .back { display: inline-block; margin-top: 2.4rem; font-size: 0.85rem; }
