:root {
  --green-950: #102f27;
  --green-900: #173f34;
  --green-800: #1f5d42;
  --green-700: #287d70;
  --green-100: #e6f0ec;
  --green-50: #f2f7f4;

  --cream: #f7f4ec;
  --paper: #fffdf8;
  --white: #ffffff;

  --ink: #17211d;
  --muted: #5e6b65;
  --line: #d8e1dc;

  --shadow-sm: 0 14px 35px rgba(16, 47, 39, 0.08);
  --shadow-lg: 0 28px 70px rgba(16, 47, 39, 0.15);

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--green-950);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(216, 225, 220, 0.75);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

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

.site-nav .nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green-800);
  color: var(--white);
}

.site-nav .nav-cta:hover {
  background: var(--green-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--green-50);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-900);
}

.hero {
  padding: 90px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(40, 125, 112, 0.13), transparent 34%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

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

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

.hero h1,
.section-heading h2,
.decision-panel h2,
.cta-wrap h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

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

.hero-intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.button-secondary {
  border-color: var(--green-800);
  color: var(--green-800);
  background: transparent;
}

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

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

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  margin-top: 58px;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.trust-note {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.94rem;
}

.trust-note strong {
  color: var(--green-900);
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--green-50);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 32%),
    var(--green-950);
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading h2,
.decision-panel h2,
.cta-wrap h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
}

.section-heading > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  color: var(--green-800);
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
}

.feature-grid,
.security-grid,
.impact-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.feature-card,
.impact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.feature-number,
.showcase-label {
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.architecture-item h3,
.showcase-copy h3,
.security-card h3,
.impact-card h3 {
  margin: 14px 0 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-card p,
.architecture-item p,
.showcase-copy p,
.security-card p,
.impact-card p {
  margin: 0;
  color: var(--muted);
}

.green-divider {
  width: min(calc(100% - 40px), var(--container));
  height: 3px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--green-800);
}

.architecture-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.architecture-image img {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.architecture-list {
  display: grid;
  gap: 18px;
}

.architecture-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.architecture-item > span {
  color: var(--green-700);
  font-weight: 850;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.stack-row span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-900);
  font-size: 0.87rem;
  font-weight: 750;
}

.showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.showcase:last-child {
  border-bottom: 0;
}

.showcase-reverse {
  grid-template-columns: 1.28fr 0.72fr;
}

.showcase-reverse .showcase-copy {
  order: 2;
}

.showcase-reverse .showcase-image {
  order: 1;
}

.showcase-copy h3 {
  margin-top: 12px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

.showcase-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
  color: var(--muted);
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-700);
}

.showcase-image img {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

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

.security-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.security-card span {
  color: #95cbb7;
  font-weight: 850;
}

.security-card h3 {
  margin-top: 28px;
}

.security-card p {
  color: rgba(255, 255, 255, 0.68);
}

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

.impact-card {
  min-height: 220px;
}

.impact-card h3 {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.decision-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin-top: 28px;
  padding: 52px;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.decision-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-section {
  padding: 86px 0;
  background: var(--green-800);
  color: var(--white);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-wrap > div:first-child {
  max-width: 720px;
}

.cta-wrap .eyebrow {
  color: #bfe2d5;
}

.site-footer {
  padding: 42px 0;
  background: var(--green-950);
  color: var(--white);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-wrap p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .stat-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .architecture-layout,
  .showcase,
  .showcase-reverse,
  .decision-panel {
    grid-template-columns: 1fr;
  }

  .showcase-reverse .showcase-copy,
  .showcase-reverse .showcase-image {
    order: initial;
  }

  .showcase {
    gap: 30px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding: 62px 0 58px;
  }

  .section {
    padding: 78px 0;
  }

  .green-divider {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat-grid,
  .security-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .feature-card,
  .impact-card,
  .security-card {
    padding: 26px;
  }

  .showcase {
    padding: 42px 0;
  }

  .decision-panel {
    padding: 30px;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}