:root {
  color-scheme: light;
  --ink: #23231f;
  --muted: #686a61;
  --soft: #f6f3ea;
  --paper: #fffdf7;
  --line: #ded9cb;
  --green: #2f6f5e;
  --green-deep: #1f5145;
  --blue: #3f638c;
  --gold: #a46f24;
  --rose: #9b4d5a;
  --shadow: 0 22px 55px rgba(49, 43, 31, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(63, 99, 140, 0.08), transparent 36%),
    linear-gradient(220deg, rgba(47, 111, 94, 0.12), transparent 32%),
    var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: 24px;
}

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

.site-header {
  padding-block: 22px;
}

.site-header nav,
.site-footer nav,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 720;
  padding: 9px 10px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(255, 253, 247, 0.72);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 188px);
  padding-block: 54px 62px;
}

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

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

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.legal-page h1 {
  font-size: clamp(2.7rem, 7vw, 4.8rem);
}

h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.62;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 1.18rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 780;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--green-deep);
}

.button.secondary {
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid var(--line);
  color: var(--ink);
}

.app-preview {
  width: 100%;
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.preview-top {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
}

.preview-top span,
.preview-stats span,
.preview-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-top strong {
  font-size: 2.35rem;
  line-height: 0.95;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.preview-stats div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.preview-stats strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
}

.preview-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.preview-tabs span {
  flex: 0 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  padding: 9px 12px;
}

.preview-tabs .active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.preview-list {
  display: grid;
  gap: 10px;
}

.preview-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 72px;
  padding: 14px;
}

.preview-list article div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.done {
  background: var(--green);
  border-radius: 999px;
  color: white !important;
  font-weight: 780;
  padding: 7px 10px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

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

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 62px;
}

.feature-band article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 22px 30px;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  max-width: 840px;
  padding-block: 46px 70px;
}

.legal-page section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 24px;
}

.legal-page a {
  color: var(--green-deep);
  font-weight: 750;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-block: 38px 48px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-footer,
  main {
    padding-inline: 18px;
  }

  h1 {
    font-size: 3rem;
  }

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

  .button {
    width: 100%;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }
}
