:root {
  --bg: #f4f0e8;
  --bg-2: #f9e9d0;
  --ink: #1a1a1a;
  --muted: #5e5652;
  --accent: #ff5c4d;
  --accent-2: #2d7dd2;
  --accent-3: #00a38c;
  --card: #fffaf1;
  --shadow: rgba(26, 26, 26, 0.12);
  --shadow-strong: rgba(26, 26, 26, 0.2);
  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gill Sans", "Trebuchet MS", "Optima", "Segoe UI", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #ffe6c7, transparent 55%),
    radial-gradient(circle at 80% 10%, #d6f0ff, transparent 48%),
    linear-gradient(130deg, var(--bg), var(--bg-2));
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: radial-gradient(circle at 15% 75%, rgba(255, 92, 77, 0.18), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(45, 125, 210, 0.18), transparent 55%);
}

body::after {
  background: radial-gradient(circle at 50% 120%, rgba(0, 163, 140, 0.22), transparent 55%);
}

a {
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.brand {
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.brand h1,
.page-title {
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--shadow-strong);
  background: #ffffff;
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  background: var(--card);
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px var(--shadow);
  animation: liftIn 0.6s ease both;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h2 {
  font-size: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.button {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 24px var(--shadow-strong);
}

.ghost {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

.grid,
.split,
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(140deg, #ffffff, #ffe9d4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px var(--shadow);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: liftIn 0.6s ease both;
}

.tile span {
  font-weight: 400;
  color: var(--muted);
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--shadow-strong);
}

.text-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent-2);
}

.text-link:hover {
  text-decoration: underline;
}

.list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.observation,
.qa-item,
.signal,
.news-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  animation: liftIn 0.6s ease both;
}

.observation {
  border-left: 4px solid var(--accent);
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 4px solid var(--accent-2);
}

.news-date {
  font-weight: 600;
  color: var(--accent-2);
}

.qa-item .question {
  font-weight: 700;
  margin-bottom: 6px;
}

.qa-item .answer {
  color: var(--muted);
}

.signal {
  border-top: 4px solid var(--accent-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

textarea {
  min-height: 140px;
  resize: vertical;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

button {
  align-self: flex-start;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px var(--shadow-strong);
}

button:hover {
  filter: brightness(0.95);
}

.form-note,
.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 50px;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid .tile:nth-child(2),
.split .card:nth-child(2),
.list > li:nth-child(2),
.media-grid .signal:nth-child(2) {
  animation-delay: 0.08s;
}

.grid .tile:nth-child(3),
.list > li:nth-child(3),
.media-grid .signal:nth-child(3) {
  animation-delay: 0.16s;
}

.grid .tile:nth-child(4),
.list > li:nth-child(4),
.media-grid .signal:nth-child(4) {
  animation-delay: 0.24s;
}

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

@media (max-width: 720px) {
  .page {
    padding: 24px 18px 70px;
  }

  .site-nav a {
    padding: 8px 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
