:root {
  color-scheme: light;
  font-family:
    "Avenir Next", Avenir, "Helvetica Neue", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #122019;
  background: #f7f8f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --forest: #003f2d;
  --forest-dark: #082219;
  --green: #0fbd2d;
  --cream: #f7f8f3;
  --paper: #ffffff;
  --sage: #e6eee4;
  --sage-deep: #cbdcc8;
  --muted: #637269;
  --gold: #d8aa4b;
  --border: #dfe7dd;
  --shadow: 0 30px 80px rgb(0 63 45 / 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 7%, rgb(216 170 75 / 0.13), transparent 25rem),
    var(--cream);
}

body,
a {
  color: #122019;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--forest);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.button svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-small {
  min-height: 42px;
  padding: 0.6rem 1rem;
}

.button-quiet {
  border-color: #c9d7cb;
  background: rgb(255 255 255 / 0.64);
}

.button-primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 12px 30px rgb(0 63 45 / 0.2);
}

.button-primary:hover {
  background: #07533d;
  box-shadow: 0 16px 34px rgb(0 63 45 / 0.25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(34rem, 1.08fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  min-height: 660px;
  padding: 3.5rem 0 5.5rem;
}

.eyebrow,
.section-label,
.dashboard-kicker {
  margin: 0;
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow span {
  width: 1.8rem;
  height: 2px;
  background: var(--green);
}

h1 {
  max-width: 690px;
  margin: 1.3rem 0 1.5rem;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.89;
}

h1 em {
  display: block;
  color: var(--forest);
  font-weight: 400;
}

.hero-intro {
  max-width: 36rem;
  margin: 0;
  color: #4d6055;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.text-link {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
}

.supporting-note {
  margin: 1rem 0 0;
  color: #7b887f;
  font-size: 0.78rem;
}

.dashboard-shell {
  overflow: hidden;
  border: 1px solid rgb(0 63 45 / 0.15);
  border-radius: 1.4rem;
  background: #f3f6ef;
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 1.2rem;
  border-bottom: 1px solid #dbe4d8;
  background: white;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
}

.dashboard-content {
  padding: 1.5rem;
}

.welcome-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.welcome-row h2 {
  margin: 0.25rem 0 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid #d5dfd3;
  border-radius: 999px;
  background: white;
  color: #40544a;
  font-size: 0.68rem;
  font-weight: 700;
}

.home-pill svg {
  width: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
}

.preview-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dce4d9;
  border-radius: 0.9rem;
  background: white;
  box-shadow: 0 1px 1px rgb(0 63 45 / 0.03);
}

.preview-card h3 {
  margin: 0.18rem 0 0;
  color: var(--forest-dark);
  font-size: 0.96rem;
}

.card-heading {
  display: flex;
  justify-content: space-between;
}

.count-pill {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  background: #e0f3df;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.task-list li,
.search-result {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.task-check {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid #a8b9aa;
  border-radius: 50%;
}

.preview-card strong,
.preview-card small {
  display: block;
}

.preview-card strong {
  color: #263a2f;
  font-size: 0.72rem;
}

.preview-card small {
  margin-top: 0.08rem;
  color: #7b897f;
  font-size: 0.61rem;
}

.find-card {
  background: var(--forest);
}

.find-card .dashboard-kicker,
.find-card small {
  color: #9ec3ae;
}

.find-card h3,
.find-card strong {
  color: white;
}

.search-result {
  margin-top: 1rem;
  padding: 0.7rem;
  border-radius: 0.7rem;
  background: rgb(255 255 255 / 0.1);
}

.result-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.55rem;
  background: #e5f4e1;
  color: var(--forest);
}

.result-icon svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.records-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.record-stats {
  display: flex;
  gap: 1.5rem;
}

.record-stats span {
  min-width: 3.2rem;
  padding-left: 0.8rem;
  border-left: 1px solid #dce4d9;
}

.record-stats strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.promise {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 3rem;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}

.promise-copy {
  display: grid;
  gap: 1.5rem;
}

.promise-copy p {
  max-width: 820px;
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.features {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4.5rem, 9vw, 8rem);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.feature {
  grid-column: span 2;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3.5rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.7);
}

.feature-wide {
  grid-column: span 3;
  min-height: 330px;
}

.feature-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
}

.feature-icon svg {
  width: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-number {
  margin: 0 0 0.85rem;
  color: #8a978f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature h3 {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.feature p:last-child {
  max-width: 34rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 510px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgb(15 189 45 / 0.22), transparent 18rem),
    radial-gradient(circle at 85% 85%, rgb(216 170 75 / 0.16), transparent 20rem),
    var(--forest);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  left: -8rem;
  top: -7rem;
}

.final-cta::after {
  right: -7rem;
  bottom: -9rem;
}

.final-cta img {
  margin-bottom: 1.5rem;
  padding: 0.55rem;
  border-radius: 1rem;
  background: #f4f7ef;
}

.final-cta .section-label {
  color: #91d59b;
}

.final-cta h2 {
  margin-top: 0.8rem;
  color: white;
}

.final-cta > p:not(.section-label) {
  max-width: 34rem;
  margin: 1.2rem 0 1.8rem;
  color: #c6d5cb;
  line-height: 1.7;
}

.button-light {
  background: white;
  color: var(--forest);
  box-shadow: none;
}

.button-light:hover {
  background: #edf5e9;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 110px;
  color: var(--muted);
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

footer > a:last-child {
  justify-self: end;
  color: var(--forest);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.5rem;
  }

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

  .dashboard-shell {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .feature {
    grid-column: span 3;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .button-quiet {
    padding-inline: 0.8rem;
  }

  .hero {
    gap: 3rem;
    padding: 3rem 0 4rem;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

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

  .dashboard-content {
    padding: 1rem;
  }

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

  .records-card {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .record-stats {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .promise {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .feature,
  .feature-wide {
    grid-column: auto;
    min-height: 300px;
  }

  .final-cta {
    min-height: 460px;
    padding-inline: 1.25rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    justify-items: start;
    padding: 2rem 0;
  }

  footer > a:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
