:root {
  --bg: #f4efe4;
  --surface: rgba(255, 251, 243, 0.72);
  --surface-strong: rgba(255, 251, 243, 0.92);
  --text: #132117;
  --muted: #4f6354;
  --line: rgba(19, 33, 23, 0.12);
  --accent: #204c35;
  --shadow: 0 24px 80px rgba(25, 46, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(132, 177, 118, 0.3), transparent 30%),
    radial-gradient(circle at top right, rgba(235, 187, 110, 0.24), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #eef3e7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 76, 53, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 76, 53, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.page-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  margin-bottom: 4rem;
}

.brand,
.site-nav a,
.button {
  text-decoration: none;
}

.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.status-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  padding: clamp(2rem, 5vw, 4rem);
  animation: rise-in 700ms ease both;
}

.hero::after,
.status-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(119, 168, 126, 0.32), transparent 70%);
  pointer-events: none;
}

.hero::after {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  right: -4rem;
}

.eyebrow,
.status-label,
.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero h1,
.status-panel h2,
.card h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.hero h1 {
  max-width: 12ch;
  margin: 0.6rem 0 1rem;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.intro,
.status-panel p,
.card p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #f7f6f1;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 16px 48px rgba(22, 39, 24, 0.08);
  animation: rise-in 700ms ease both;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 220ms;
}

.card h2,
.status-panel h2 {
  margin: 0.7rem 0 0.8rem;
  font-size: 1.75rem;
  line-height: 1.1;
}

.status-panel {
  margin-top: 1rem;
  padding: 2rem;
  animation: rise-in 700ms ease both;
  animation-delay: 180ms;
}

.status-panel::after {
  width: 14rem;
  height: 14rem;
  right: -3rem;
  bottom: -5rem;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 0 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 1rem, 1080px);
    padding-top: 0.8rem;
  }

  .hero,
  .status-panel,
  .card {
    border-radius: 22px;
  }

  .hero-actions,
  .site-nav {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .card,
  .status-panel {
    animation: none;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
