:root {
  --ink: #112433;
  --ink-soft: #3f5668;
  --paper: #fbf6ea;
  --card: #fffaf0;
  --accent: #dd5f2f;
  --accent-deep: #9f3416;
  --ring: rgba(17, 36, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(221, 95, 47, 0.3), transparent 44%),
    radial-gradient(circle at 86% 16%, rgba(17, 36, 51, 0.15), transparent 38%),
    linear-gradient(160deg, #fff5df 0%, #f8f2e6 40%, #f2efe7 100%);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  overflow-x: hidden;
}

.ambient-glow {
  position: fixed;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: fade-in 900ms ease forwards;
}

.glow-a {
  top: -5rem;
  left: -4rem;
  background: rgba(221, 95, 47, 0.28);
}

.glow-b {
  right: -5rem;
  bottom: -6rem;
  background: rgba(17, 36, 51, 0.2);
  animation-delay: 180ms;
}

.hero,
main,
footer {
  width: min(44rem, 100%);
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  animation: rise-in 600ms ease-out both;
}

.brand-logo {
display: block;
width: clamp(120px, 18vw, 180px);
height: auto;
margin: 0 auto 0.4rem;
object-fit: contain;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.subhead {
  margin: 1rem auto 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.6;
}

main {
  margin-top: 1.6rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 1.2rem;
  padding: clamp(1.1rem, 3.5vw, 1.75rem);
  box-shadow: 0 14px 34px rgba(17, 36, 51, 0.1);
  animation: rise-in 700ms ease-out 120ms both;
}

h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
}

.card p {
  margin: 0.7rem 0 0;
  line-height: 1.7;
}

a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 34rem) {
  body {
    padding-top: 1.5rem;
  }

  .card {
    border-radius: 1rem;
  }
}
