:root {
  --bg: #f4efe4;
  --paper: rgba(255, 251, 245, 0.8);
  --paper-strong: #fffaf1;
  --paper-soft: rgba(255, 246, 231, 0.72);
  --ink: #1e1a17;
  --muted: #63584f;
  --muted-strong: #4c433c;
  --accent: #cb5c34;
  --accent-soft: #f4c8aa;
  --accent-deep: #8e341a;
  --leaf: #1f5c52;
  --leaf-soft: rgba(31, 92, 82, 0.12);
  --line: rgba(30, 26, 23, 0.1);
  --shadow: 0 24px 80px rgba(76, 49, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(203, 92, 52, 0.2), transparent 26%),
    radial-gradient(circle at 85% 8%, rgba(31, 92, 82, 0.2), transparent 20%),
    linear-gradient(180deg, #f7f1e8 0%, #efe5d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 88%);
}

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

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

.page-shell {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 4rem;
}

.topbar,
.hero,
.section {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #ffe6d4 0 18%, transparent 20%),
    linear-gradient(135deg, var(--accent) 0%, var(--leaf) 100%);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.35);
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
}

.hero,
.section {
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 3rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -15%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 200, 170, 0.7), transparent 62%);
  pointer-events: none;
}

.eyebrow,
.section-label,
.card-label,
.column-label {
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 1rem;
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  line-height: 1.05;
}

.lede,
.problem-card p,
.flow-step p,
.narrative-grid p,
.roadmap-column li,
.proof-card p,
.cta p,
.brief-copy,
.brief-warning,
.card-footnote {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button-primary {
  border-color: transparent;
  color: #fff8f2;
  background: linear-gradient(135deg, var(--ink) 0%, #3b2e29 100%);
}

.button-secondary {
  background: rgba(255, 250, 241, 0.75);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(30, 26, 23, 0.24);
}

.brief-card,
.problem-card,
.flow-step,
.roadmap-column,
.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
}

.brief-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}

.brief-card-inner {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 243, 232, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(203, 92, 52, 0.12);
}

.brief-day {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-strong);
}

.brief-title {
  margin-bottom: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.brief-warning {
  margin-bottom: 0;
  padding-left: 0.95rem;
  border-left: 3px solid var(--accent);
  color: var(--muted-strong);
}

.card-footnote {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.problem-grid,
.flow-grid,
.roadmap-grid,
.proof-grid,
.narrative-grid {
  display: grid;
  gap: 1rem;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.narrative-grid,
.roadmap-grid,
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card,
.flow-step,
.roadmap-column,
.proof-card {
  padding: 1.35rem;
}

.flow-step {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 244, 236, 0.94)),
    var(--paper-strong);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-size: 0.95rem;
  font-weight: 700;
}

.narrative {
  background:
    linear-gradient(135deg, rgba(31, 92, 82, 0.08), rgba(255, 250, 241, 0.85) 45%),
    var(--paper);
}

.narrative-grid p {
  margin-bottom: 0;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li + li {
  margin-top: 0.85rem;
}

.proof-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(244, 239, 228, 0.84));
}

.cta {
  text-align: center;
}

.cta .section-heading {
  align-items: center;
}

.cta h2 {
  max-width: none;
}

@media (max-width: 980px) {
  .hero,
  .problem-grid,
  .flow-grid,
  .roadmap-grid,
  .proof-grid,
  .narrative-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    gap: 0.8rem 1rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 1rem, 1180px);
    padding-bottom: 2rem;
  }

  .topbar,
  .hero,
  .section {
    padding: 1.15rem;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
