:root {
  --paper: #f4f2ea;
  --paper-deep: #e9e7dd;
  --ink: #111510;
  --muted: #62685f;
  --green: #2f6b50;
  --green-dark: #214b39;
  --green-soft: #dce8df;
  --line: #cdd0c6;
  --dark: #142219;
  --dark-deep: #0d1611;
  --white: #fff;
  --acid: #d7f06b;
  --shell: 1180px;
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--green);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--green);
  color: var(--white);
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(205 208 198 / 82%);
  background: rgb(244 242 234 / 88%);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 45%);
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 750;
  transition: background .2s ease, transform .25s var(--ease);
}

.header-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  padding: 86px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: -.068em;
  line-height: 1.07;
}

.hero h1 span {
  color: var(--green);
}

.lead {
  max-width: 630px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 25px;
  border-radius: 999px;
  font-weight: 780;
  transition: background .2s ease, color .2s ease, transform .25s var(--ease);
}

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

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

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

.button-accent {
  background: var(--acid);
  color: var(--dark);
}

.button-accent:hover {
  background: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.text-link {
  width: max-content;
  padding-block: 7px 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: color .2s ease;
}

.text-link:hover {
  color: var(--green);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-points li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.status-card {
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 34px 80px rgb(20 34 25 / 18%);
}

.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #34443a;
  color: #aab8ae;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-card-head strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
}

.status-card-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgb(215 240 107 / 55%);
  animation: signal 2.4s ease-out infinite;
}

.status-main {
  display: grid;
  gap: 6px;
  padding: 28px 0 26px;
}

.status-main > span {
  color: #aab8ae;
  font-size: 13px;
}

.status-main > strong {
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -.045em;
}

.status-main > em {
  width: max-content;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.status-card ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #34443a;
  list-style: none;
}

.status-card li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #34443a;
}

.status-card li > span,
.status-card li small {
  color: #91a096;
}

.status-card li div {
  display: grid;
  gap: 1px;
}

.status-card li strong {
  font-size: 14px;
}

.status-card li small {
  font-size: 11px;
}

.status-card li b {
  color: var(--acid);
  font-size: 11px;
}

.status-card > p {
  margin: 18px 0 0;
  color: #aab8ae;
  font-size: 12px;
  text-align: center;
}

.quick-strip {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-soft);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-grid > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.quick-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.quick-grid span {
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.quick-grid strong {
  font-size: 16px;
}

.quick-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  max-width: 960px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 110px);
}

.section-heading.compact {
  max-width: 720px;
  grid-template-columns: 1fr;
  gap: 0;
}

.section-heading h2,
.install h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -.058em;
  line-height: 1.14;
}

.section-heading > p:not(.eyebrow) {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.problem-grid,
.solution-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 58px;
}

.problem-grid article,
.platform-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 34%);
}

.problem-grid span,
.platform-grid span,
.platform-grid strong {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.problem-grid h3,
.platform-grid h3,
.solution-grid h3 {
  margin: 44px 0 12px;
  font-size: 24px;
  letter-spacing: -.035em;
  line-height: 1.35;
}

.problem-grid p,
.platform-grid p,
.solution-grid p {
  margin: 0;
  color: var(--muted);
}

.solution {
  background: var(--dark);
  color: var(--white);
}

.section-heading.inverse .eyebrow {
  color: var(--acid);
}

.section-heading.inverse > p:not(.eyebrow) {
  color: #aab8ae;
}

.solution-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #34443a;
  border-radius: 20px;
  background: rgb(255 255 255 / 2%);
}

.solution-grid article > span {
  color: var(--acid);
  font-size: 12px;
  font-weight: 850;
}

.solution-grid h3 {
  margin-top: 54px;
}

.solution-grid p {
  color: #aab8ae;
}

.solution-grid article > strong {
  margin-top: auto;
  padding-top: 28px;
  color: var(--acid);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.boundary {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 23px 28px;
  border-radius: 16px;
  background: #203329;
}

.boundary p {
  margin: 0;
  color: #aab8ae;
  font-size: 14px;
}

.boundary a {
  color: var(--acid);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.platforms {
  background: #ece9df;
}

.platform-grid article {
  min-height: 270px;
  background: var(--paper);
  transition: border-color .2s ease, transform .25s var(--ease);
}

.platform-grid article:hover {
  border-color: var(--green);
  transform: translateY(-5px);
}

.platform-grid h3 {
  margin-top: 46px;
}

.platform-grid p {
  min-height: 78px;
  margin-bottom: 24px;
}

.install {
  padding: 94px 0;
  background: var(--green);
  color: var(--white);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 10vw, 130px);
}

.install .eyebrow {
  color: var(--acid);
}

.install h2 {
  font-size: clamp(40px, 4vw, 56px);
}

.install-grid > div:first-child > p:not(.eyebrow) {
  margin: 26px 0 30px;
  color: #d9e7dd;
  font-size: 16px;
}

.install small {
  display: block;
  margin-top: 25px;
  color: #c0d5c7;
  font-size: 11px;
}

.download-list {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 20px;
  background: rgb(17 21 16 / 22%);
}

.download-list a {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 23px 26px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  transition: background .2s ease;
}

.download-list a:first-child {
  border-top: 0;
}

.download-list a:hover {
  background: rgb(255 255 255 / 9%);
}

.download-list span {
  color: var(--acid);
  font-size: 12px;
  font-weight: 850;
}

.download-list strong {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 14px;
}

.download-list em {
  color: #d9e7dd;
  font-size: 12px;
  font-style: normal;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(64px, 11vw, 150px);
}

.faq .section-heading {
  position: sticky;
  top: 112px;
}

.faq .text-link {
  margin-top: 30px;
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 27px 48px 27px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 4px;
  content: "+";
  color: var(--green);
  font-size: 25px;
  font-weight: 400;
  transition: transform .25s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: -5px 0 25px;
  color: var(--muted);
}

.faq-list code {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .9em;
}

.final-cta {
  padding: 10px 0 88px;
}

.final-cta-inner {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 44px 48px;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.final-cta h2 {
  font-size: clamp(34px, 3.5vw, 48px);
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 36px;
}

.footer-inner strong {
  font-size: 14px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner > p {
  justify-self: end;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes signal {
  55%, 100% { box-shadow: 0 0 0 12px rgb(215 240 107 / 0%); }
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 22px 60px rgb(17 21 16 / 18%);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
    gap: 48px;
  }

  .problem-grid,
  .solution-grid,
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .problem-grid article:last-child,
  .solution-grid article:last-child,
  .platform-grid article:last-child {
    grid-column: 1 / -1;
  }

  .solution-grid article:last-child {
    min-height: 260px;
  }

  .boundary {
    grid-template-columns: 150px 1fr;
  }

  .boundary a {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .shell {
    width: calc(100% - 40px);
  }

  .hero {
    padding: 60px 0 68px;
  }

  .hero-grid,
  .section-heading,
  .install-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .section-heading {
    gap: 26px;
  }

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

  .quick-grid > div,
  .quick-grid > div:first-child {
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quick-grid > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .quick-grid > div:last-child {
    padding-bottom: 0;
  }

  .section {
    padding: 82px 0;
  }

  .problem-grid,
  .solution-grid,
  .platform-grid {
    margin-top: 42px;
  }

  .boundary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .boundary a {
    grid-column: auto;
    margin-top: 8px;
  }

  .install-grid {
    gap: 48px;
  }

  .faq-grid {
    gap: 46px;
  }

  .faq .section-heading {
    position: static;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-inner > p {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.2;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  .lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .status-card {
    padding: 23px;
    border-radius: 20px;
  }

  .status-main > strong {
    font-size: 30px;
  }

  .section-heading h2,
  .install h2,
  .final-cta h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .problem-grid,
  .solution-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article:last-child,
  .solution-grid article:last-child,
  .platform-grid article:last-child {
    grid-column: auto;
  }

  .problem-grid article,
  .platform-grid article,
  .solution-grid article,
  .solution-grid article:last-child {
    min-height: 0;
  }

  .problem-grid h3,
  .platform-grid h3,
  .solution-grid h3 {
    margin-top: 34px;
  }

  .solution-grid article > strong {
    margin-top: 30px;
  }

  .download-list a {
    grid-template-columns: 74px 1fr;
    padding: 19px;
  }

  .download-list em {
    display: none;
  }

  .download-list strong {
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .final-cta-inner {
    padding: 32px 24px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
