:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #66716b;
  --line: #d9ddd3;
  --paper: #f7f3ea;
  --paper-deep: #eee5d5;
  --panel: #fffdf8;
  --green: #536b55;
  --green-strong: #31463a;
  --clay: #b76546;
  --ochre: #c49a46;
  --blue: #5d7f8f;
  --stone: #7b7164;
  --shadow: 0 24px 70px rgba(49, 70, 58, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(83, 107, 85, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(83, 107, 85, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--green-strong);
  font-size: 18px;
  font-weight: 780;
  text-decoration: none;
}

nav,
.site-footer div,
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--green-strong);
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: 62px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.hero-copy h1,
.document h1 {
  margin: 10px 0 20px;
  color: var(--green-strong);
  font-size: clamp(52px, 7.8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.mobile-chart-preview {
  display: none;
}

.lede {
  max-width: 640px;
  color: var(--stone);
  font-size: 22px;
}

.hero-kicker {
  margin: -8px 0 18px;
  color: var(--clay);
  font-size: 19px;
  font-weight: 760;
}

.release-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

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

.button.primary {
  color: #fffdf8;
  background: var(--green-strong);
}

.button.secondary {
  color: var(--green-strong);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
}

.product-stage {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-stage::before {
  position: absolute;
  inset: 32px 8px;
  z-index: -1;
  border: 1px solid rgba(83, 107, 85, 0.18);
  border-radius: 999px;
  content: "";
}

.preview-device {
  width: min(100%, 430px);
  margin-left: 0;
  padding: 24px;
  border: 1px solid rgba(83, 107, 85, 0.18);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.device-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.device-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.device-brand span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(83, 107, 85, 0.09);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.device-top strong {
  max-width: 170px;
  color: var(--green-strong);
  font-size: 28px;
  line-height: 1.05;
  text-align: right;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pillar-grid div,
.signal-list {
  border: 1px solid rgba(83, 107, 85, 0.14);
  border-radius: 8px;
  background: #fbf6eb;
}

.pillar-grid div {
  min-height: 112px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-grid span {
  color: var(--muted);
  font-size: 12px;
}

.pillar-grid strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
}

.signal-list {
  margin-top: 12px;
  padding: 12px 14px;
}

.signal-list p {
  margin: 8px 0;
  color: var(--stone);
  font-size: 14px;
  font-weight: 660;
}

.signal-list span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--clay);
}

.signal-list p:nth-child(2) span {
  background: var(--blue);
}

.signal-list p:nth-child(3) span {
  background: var(--ochre);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid rgba(83, 107, 85, 0.18);
}

.intro-section {
  padding-bottom: 26px;
}

.feature-section {
  padding-top: 24px;
}

.section-heading {
  max-width: 760px;
}

.section-kicker,
.feature-cn {
  color: var(--clay);
  font-weight: 720;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 18px;
}

.section h2,
.document h2 {
  margin: 8px 0 14px;
  color: var(--green-strong);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature,
.contact-box {
  border: 1px solid rgba(83, 107, 85, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  padding: 24px;
}

.feature-index {
  color: var(--clay);
  font-size: 13px;
  font-weight: 780;
}

.feature h3 {
  margin: 18px 0 10px;
  color: var(--green-strong);
  font-size: 20px;
}

.feature-cn {
  margin: -4px 0 10px;
  font-size: 14px;
}

.feature p,
.section p,
.document p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.document {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.document h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.document a {
  color: var(--green-strong);
  font-weight: 700;
}

.contact-box {
  margin: 28px 0;
  background: rgba(238, 229, 213, 0.68);
}

.contact-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-box a {
  font-size: 22px;
}

.site-footer {
  min-height: 92px;
  border-top: 1px solid rgba(83, 107, 85, 0.18);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1160px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    padding: 16px 0;
  }

  .hero,
  .section,
  .document {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 28px 0 46px;
    gap: 24px;
  }

  .mobile-chart-preview {
    display: block;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(83, 107, 85, 0.18);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 18px 48px rgba(49, 70, 58, 0.12);
  }

  .mobile-preview-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
  }

  .mobile-preview-top span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 780;
    text-transform: uppercase;
  }

  .mobile-preview-top strong {
    color: var(--green-strong);
    font-size: 21px;
    line-height: 1.05;
    text-align: right;
  }

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

  .mobile-pillars span {
    min-height: 112px;
    border: 1px solid rgba(83, 107, 85, 0.15);
    border-radius: 8px;
    background: #fbf6eb;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 780;
    line-height: 1.18;
    text-align: center;
  }

  .mobile-pillars span:nth-child(1) {
    border-top: 4px solid var(--green);
  }

  .mobile-pillars span:nth-child(2) {
    border-top: 4px solid var(--clay);
  }

  .mobile-pillars span:nth-child(3) {
    border-top: 4px solid var(--ochre);
  }

  .mobile-pillars span:nth-child(4) {
    border-top: 4px solid var(--blue);
  }

  .hero-copy h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .lede {
    font-size: 18px;
  }

  .product-stage {
    display: none;
  }

  .preview-device {
    width: min(100%, 430px);
    margin-left: 0;
  }

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

@media (max-width: 520px) {
  .site-header {
    min-height: 62px;
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    width: min(100% - 24px, 1160px);
    padding-top: 18px;
  }

  nav,
  .site-footer div,
  .actions {
    gap: 12px;
  }

  .product-stage {
    min-height: auto;
    padding-top: 16px;
  }

  .product-stage::before {
    display: none;
  }

  .preview-device {
    margin-left: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .device-top strong {
    font-size: 22px;
  }

  .pillar-grid div {
    min-height: 78px;
    padding: 12px;
  }

  .pillar-grid strong {
    font-size: 18px;
  }

  .signal-list {
    padding: 10px 12px;
  }

  .signal-list p {
    font-size: 13px;
  }

  .section {
    padding: 54px 0;
  }
}
