:root {
  --river: #1d6f86;
  --river-deep: #0c3f4a;
  --cedar: #344f3e;
  --oak: #6d7b55;
  --limestone: #f2eadb;
  --cream: #fffaf0;
  --clay: #b46a43;
  --sun: #e4b76f;
  --ink: #172421;
  --muted: #66756f;
  --line: rgba(23, 36, 33, 0.16);
  --shadow: 0 22px 70px rgba(12, 63, 74, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.3);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.92rem;
}

.top-nav a {
  text-decoration: none;
  opacity: 0.9;
}

.top-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 9svh;
  color: white;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 35, 34, 0.82), rgba(12, 35, 34, 0.5) 48%, rgba(12, 35, 34, 0.16)),
    linear-gradient(0deg, rgba(12, 35, 34, 0.42), rgba(12, 35, 34, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 1.6vw, 1.34rem);
  color: rgba(255, 255, 255, 0.9);
}

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

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--sun);
  border-color: var(--sun);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.54);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.next-actions h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.summary-item {
  min-height: 182px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--limestone);
}

.summary-kicker,
.time {
  display: block;
  color: var(--river);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.summary-item strong {
  display: block;
  margin-top: 8px;
  font-size: 1.22rem;
}

.summary-item p,
.agenda-card p,
.loop-step p,
.check-card li,
.inspiration-grid p,
.copy-card p,
.next-actions li,
.site-footer p {
  color: var(--muted);
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.agenda-card,
.check-card,
.copy-card,
.inspiration-grid article,
.prompt-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 42px rgba(23, 36, 33, 0.06);
}

.agenda-card {
  padding: 24px;
}

.agenda-card h3,
.loop-step h3,
.check-card h3,
.copy-card h3,
.inspiration-grid h3,
.prompt-panel h3 {
  margin: 12px 0 8px;
  font-size: 1.12rem;
}

.river-section {
  background: linear-gradient(180deg, #eef7f5, #fffaf0);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.loop-step {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--river-deep);
  color: white;
  box-shadow: var(--shadow);
}

.loop-step:nth-child(2) {
  background: var(--cedar);
}

.loop-step:nth-child(3) {
  background: var(--clay);
}

.loop-step:nth-child(4) {
  background: #6a563f;
}

.loop-step:nth-child(5) {
  background: var(--river);
}

.loop-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-weight: 800;
}

.loop-step p {
  color: rgba(255, 255, 255, 0.82);
}

.prompt-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--river-deep);
}

.copy-button {
  color: var(--river-deep);
  background: white;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.check-card {
  padding: 24px;
}

.check-card ul {
  padding-left: 18px;
}

.check-card li + li {
  margin-top: 8px;
}

.check-card.warning {
  background: #fff0df;
  border-color: rgba(180, 106, 67, 0.32);
}

.inspiration {
  background: var(--cedar);
  color: white;
}

.inspiration .eyebrow {
  color: var(--sun);
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.inspiration-grid article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.inspiration-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.copy-section {
  background: #f7f0e4;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.copy-card {
  padding: 24px;
}

.copy-card p {
  min-height: 84px;
  font-size: 1.05rem;
}

.next-actions {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.next-actions ol {
  margin: 0;
  padding-left: 22px;
}

.next-actions li + li {
  margin-top: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
}

.footer-links a {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro-band,
  .agenda-grid,
  .loop-grid,
  .checklist-grid,
  .inspiration-grid,
  .copy-grid,
  .next-actions,
  .prompt-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .loop-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 94svh;
    padding-top: 150px;
  }

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

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .summary-item,
  .agenda-card,
  .check-card,
  .copy-card,
  .inspiration-grid article,
  .prompt-panel {
    padding: 20px;
  }
}
