/* inpresent — brand-matched web styles (α Hearth palette, Fraunces + Inter).
   Shared by the landing page and the legal/acknowledgments pages. */

:root {
  --bg: #14100c;
  --bg-soft: #1c1612;
  --bg-elevated: #221b15;
  --ink: #efe6d6;
  --ink-soft: #c8bba6;
  --ink-mute: #8a7d6a;
  --honey: #d4a574;
  --honey-deep: #b78959;
  --hairline: rgba(239, 230, 214, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--honey); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: #dfb486; }

/* ---- Shared text column (privacy / terms / acknowledgments) ---- */
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 34px; margin: 0 0 8px; font-optical-sizing: auto; }
h2 { font-size: 22px; margin: 44px 0 12px; }
h3 { font-size: 17px; margin: 28px 0 8px; color: var(--ink-soft); }

p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin: 0 0 8px; }
strong { color: var(--ink); font-weight: 500; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 18px;
}

.meta { color: var(--ink-mute); font-size: 13px; margin: 0 0 40px; }

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

hr { border: none; border-top: 1px solid var(--hairline); margin: 40px 0; }

/* Footer on the legal / acknowledgments pages */
.wrap footer {
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.wrap footer .spacer { flex: 1; }

/* ============================================================
   Landing — a single quiet screen. The product is the quote.
   ============================================================ */
body.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* One soft Hearth glow pooled behind the card; deep espresso ground below.
     A single radial — depth and warmth from the same gradient, never stacked. */
  background:
    radial-gradient(120% 86% at 50% 24%,
      rgba(212, 165, 116, 0.20) 0%,
      rgba(212, 165, 116, 0.07) 30%,
      rgba(74, 46, 28, 0.04) 50%,
      transparent 72%),
    var(--bg);
  overflow-x: hidden;
}

/* Ambient fine-veil grain across the whole viewport.
   Overlay blend at low opacity — printed, never TV-static. */
.veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px 40px;
}

.stage .logomark {
  width: 72px;
  height: auto;
  opacity: 0.96;
  margin-bottom: 26px;
}

/* A daily quote, quietly kept. — quiet headline above the card. */
.headline {
  margin: 0 0 30px;
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(24px, 2.9vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* The Hearth-glow quote card — the brand's most-seen surface, on the web. */
.card {
  position: relative;
  width: min(92vw, 500px);
  margin: 0;
  padding: 54px 48px;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  /* Single radial: honey from center-top → transparent at 58% → soft black wash
     at the falloff. One gradient does both the glow and the depth. */
  background:
    radial-gradient(116% 116% at 50% 0%,
      rgba(212, 165, 116, 0.16) 0%,
      transparent 58%,
      rgba(0, 0, 0, 0.22) 100%),
    var(--bg-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 32px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* Letterpress grain on the card. Overlay blend, opacity 0.55. */
.card-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Every quote occupies the same grid cell, so the card's height is always the
   tallest quote in the rotation — a fixed footprint that never resizes (and so
   never nudges the headline above or the CTA below). Re-derives per width, so it
   stays correct on mobile too. */
.quote-stack {
  position: relative;
  display: grid;
}
.quote-stack > .q-layer {
  grid-area: 1 / 1;          /* all layers share one cell */
  align-self: center;        /* shorter quotes sit centered, never top-anchored */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}
.quote-stack > .q-layer.is-active {
  opacity: 1;
  transform: none;
}

.quote {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(22px, 3.4vw, 31px);
  line-height: 1.34;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.attr {
  margin: 22px 0 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.context {
  position: relative;
  margin: 40px 0 0;
  max-width: 32ch;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  background: var(--honey);
  color: #2a1e10;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 999px;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.cta:hover { background: #dfb486; color: #2a1e10; transform: translateY(-1px); }
.cta:active { transform: scale(0.98); }

.sub { margin-top: 18px; color: var(--ink-mute); font-size: 13px; }

.landing-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 24px 38px;
  font-size: 12.5px;
}
.landing-footer .wordmark { font-size: 16px; }
.landing-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.landing-footer a { color: var(--ink-mute); }
.landing-footer a:hover { color: var(--honey); }

@media (max-width: 540px) {
  .wrap { padding: 52px 20px 72px; }
  h1 { font-size: 28px; }
  .stage { padding: 56px 20px 32px; }
  .stage .logomark { margin-bottom: 32px; }
  .card { padding: 40px 30px; }
  .context { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .quote, .attr { transition: none; }
  .cta { transition: none; }
}
