:root {
  --bg: #f3efe7;
  --bg-deep: #0f1720;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fffdf8;
  --surface-dark: #18232e;
  --line: rgba(32, 44, 58, 0.12);
  --text: #14202b;
  --muted: #5f6c77;
  --primary: #0e6d68;
  --primary-deep: #083f42;
  --accent: #d58a32;
  --accent-soft: rgba(213, 138, 50, 0.14);
  --shadow: 0 24px 70px rgba(17, 27, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 109, 104, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(213, 138, 50, 0.18), transparent 24%),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

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

.site-header {
  margin-bottom: 36px;
}

.site-header-simple {
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--surface-dark) 0%, #223140 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  border-radius: 4px;
  background: linear-gradient(135deg, #50d4c4 0%, #1f8d87 100%);
}

.brand-mark span:nth-child(2) {
  background: linear-gradient(135deg, #ffd08b 0%, #d58a32 100%);
}

.brand-mark span:nth-child(3) {
  grid-column: 1 / -1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
h1,
h2 {
  font-family: "Libre Baskerville", serif;
}

.brand-copy strong {
  font-size: 1.55rem;
  line-height: 1;
}

.brand-copy span,
.site-nav a,
.footer-links a,
.lead,
.content-card p,
.narrative-strip p,
.content-list {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.92rem;
}

.site-nav,
.footer-links,
.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.site-nav a,
.footer-links a {
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.narrative-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy,
.content-card,
.narrative-strip {
  padding: 34px;
}

.hero-panel {
  padding: 18px;
}

.eyebrow,
.section-tag {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2 {
  margin: 0 0 16px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lead,
.content-card p,
.narrative-strip p,
.content-list {
  line-height: 1.75;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.signal-card {
  height: 100%;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(80, 212, 196, 0.16), transparent 28%),
    linear-gradient(160deg, #12202c 0%, #1b2a36 100%);
  color: #f5fbff;
}

.panel-topline,
.signal-item span,
.timeline-item span {
  color: rgba(235, 244, 250, 0.72);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-item-strong {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(80, 212, 196, 0.18) 0%, rgba(213, 138, 50, 0.18) 100%);
}

.signal-item span,
.signal-item strong {
  display: block;
}

.signal-item span {
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.signal-item strong {
  font-size: 1.18rem;
  line-height: 1.4;
}

.timeline-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-card h2 {
  font-size: 1.3rem;
}

.timeline-item + .timeline-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item span {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 32%),
    var(--surface);
}

.content-list {
  margin: 0;
  padding-left: 20px;
}

.pill-row {
  margin-top: 22px;
}

.pill-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 32, 43, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.narrative-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.content-page {
  display: grid;
  gap: 24px;
}

.site-footer {
  margin-top: 30px;
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .hero,
  .section-grid,
  .narrative-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .hero-copy,
  .content-card,
  .narrative-strip {
    padding: 26px;
  }

  h1 {
    font-size: 2.3rem;
  }
}
