:root {
  --ink: #202124;
  --muted: #5e646e;
  --line: #d9e0e7;
  --paper: #fbfaf7;
  --white: #ffffff;
  --sage: #7c9a88;
  --sage-dark: #2f5f4a;
  --clay: #b85f45;
  --amber: #d59d2b;
  --blue: #527aa3;
  --green: #4f8b67;
  --shadow: 0 24px 70px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  align-items: center;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  min-height: calc(100vh - 70px);
  padding: 82px 6vw 56px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

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

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

h1 {
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 34px;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.preview {
  align-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  padding: 18px 20px;
}

.status {
  background: #e8f1eb;
  border-radius: 999px;
  color: var(--sage-dark);
  font-size: 12px;
  padding: 6px 10px;
}

.sheet {
  padding: 12px;
}

.sheet-row {
  align-items: center;
  border-bottom: 1px solid #edf0f2;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr;
  min-height: 48px;
  padding: 0 10px;
}

.sheet-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sheet-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tag {
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  padding: 6px 9px;
}

.tag.amber {
  background: var(--amber);
}

.tag.blue {
  background: var(--blue);
}

.tag.green {
  background: var(--green);
}

.email-card {
  background: #f6f2ea;
  border-top: 1px solid var(--line);
  padding: 20px;
}

.email-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.email-card .email-subject {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 8px;
}

.section {
  padding: 76px 6vw;
}

.section-copy {
  max-width: 780px;
}

.section-copy p:not(.eyebrow):not(.disclosure) {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.intro {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.included-grid,
.timeline,
.template-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

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

.included-grid article,
.timeline article,
.template-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.included-grid p,
.timeline p,
.template-list p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.number,
.day {
  color: var(--sage-dark);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

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

.templates {
  background: #eef3ef;
}

.signup {
  background: #f4eadf;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.signup .button {
  margin-top: 10px;
}

.small-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 0;
}

code {
  background: rgba(32, 33, 36, 0.08);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  padding: 2px 5px;
}

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

.subject {
  color: var(--ink) !important;
  font-weight: 800;
  margin-bottom: 10px !important;
}

.tracker-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  overflow: hidden;
}

.tracker-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.5fr 1fr;
  min-height: 56px;
  padding: 0 20px;
  align-items: center;
}

.tracker-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tracker-head {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-note {
  background: var(--ink);
  color: var(--white);
}

.tool-note .eyebrow {
  color: #f0b77f;
}

.tool-note .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.disclosure {
  border-left: 3px solid var(--sage);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
  margin-top: 26px;
  padding-left: 14px;
}

footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px 6vw;
  color: var(--muted);
  font-size: 14px;
}

.resource-hero {
  min-height: calc(100vh - 70px);
}

.resource-list ul {
  list-style: none;
  margin: 0;
  padding: 12px 20px 20px;
}

.resource-list li {
  border-bottom: 1px solid #edf0f2;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
  padding: 16px 0;
}

.resource-list li:last-child {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 22px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 22px 40px;
  }

  .section {
    padding: 58px 22px;
  }

  .included-grid,
  .timeline,
  .template-list {
    grid-template-columns: 1fr;
  }

  .tracker-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .tracker-head {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 22px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 44px;
  }

  .lede {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .sheet-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 8px;
  }

  .sheet-head {
    display: none;
  }
}
