:root {
  --bg-deep: #102033;
  --bg-mid: #18314d;
  --paper: #f4efe6;
  --ink: #0f1b2a;
  --muted: rgba(244, 239, 230, 0.75);
  --sun: #f7b267;
  --sky: #8ecae6;
  --mint: #9dd9d2;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 45px rgba(12, 22, 35, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at top left, rgba(247, 178, 103, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(142, 202, 230, 0.16), transparent 32%),
    linear-gradient(140deg, var(--bg-deep), var(--bg-mid));
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.page-shell {
  width: min(1100px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: rise 0.8s ease-out both;
}

.eyebrow,
.card-kicker,
.section-label {
  margin: 0 0 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.lead,
.card p,
.story-copy p,
.footer {
  line-height: 1.7;
}

.lead {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  background: var(--paper);
  color: var(--ink);
}

.button-ghost {
  color: var(--paper);
  border: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  min-height: 240px;
  padding: 28px;
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: rise 0.8s ease-out both;
}

.card:nth-child(2) {
  animation-delay: 0.12s;
}

.card:nth-child(3) {
  animation-delay: 0.24s;
}

.accent-sunrise {
  background:
    radial-gradient(circle at top right, rgba(247, 178, 103, 0.45), transparent 34%),
    #f7efe2;
}

.accent-ocean {
  background:
    radial-gradient(circle at top right, rgba(142, 202, 230, 0.45), transparent 34%),
    #edf6fb;
}

.accent-paper {
  background:
    radial-gradient(circle at top right, rgba(157, 217, 210, 0.42), transparent 36%),
    #eef6f2;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-top: 22px;
  padding: 36px 40px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 29, 0.3);
  animation: rise 0.8s ease-out both;
  animation-delay: 0.3s;
}

.story-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 900px) {
  .card-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .hero,
  .story {
    padding: 32px 24px;
  }

  h1 {
    max-width: 12ch;
  }

  .footer {
    flex-direction: column;
  }
}
