:root {
  --bg: #14100b;
  --bg-soft: #1a150f;
  --text: #ede6d5;
  --muted: #a39885;
  --line: rgba(237, 230, 213, 0.08);
  --accent: #e4b676;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #1a1207; }

/* Warm ambient glow behind the content — subtle, gives the page a hearth-like feel */
.warmth {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(228, 182, 118, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 400px at 85% 105%, rgba(228, 182, 118, 0.05), transparent 60%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 5rem 1.75rem 3rem;
  animation: fade-in 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand {
  display: inline-flex;
  margin-bottom: 4rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.brand:hover { opacity: 1; }
.logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 3rem;
  color: var(--text);
}

.prose p {
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  color: var(--text);
  max-width: 34rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15em;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3.5rem 0;
  width: 100%;
}

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.support p,
.next p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.mail-link,
.next-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(228, 182, 118, 0.35);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.mail-link:hover,
.next-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.next-link:hover .arrow { transform: translateX(3px); }

.signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--muted);
  margin: 4rem 0 0;
  letter-spacing: 0.01em;
}

.footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.55;
}
.footer p { margin: 0; }

@media (max-width: 480px) {
  .page { padding: 3.5rem 1.5rem 2.5rem; }
  .brand { margin-bottom: 3rem; }
  .headline { margin-bottom: 2rem; }
  .divider { margin: 2.5rem 0; }
  .signoff { margin-top: 3rem; }
}
