:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #66717c;
  --line: #dfe5e8;
  --paper: #f7f9f7;
  --white: #ffffff;
  --green: #1f8a5f;
  --green-dark: #126247;
  --aqua: #00a7a0;
  --coral: #ff6f4e;
  --yellow: #f5c84b;
  --shadow: 0 24px 80px rgba(16, 20, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 247, 0.82);
  border-bottom: 1px solid rgba(223, 229, 232, 0);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-scrolled="true"] {
  border-color: rgba(223, 229, 232, 0.88);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 32px);
  color: #303941;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-cta {
  transition: color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.header-cta:hover {
  color: var(--green);
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(32px, 6vw, 80px);
  min-height: 92vh;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(247, 249, 247, 0.94), rgba(247, 249, 247, 0.66) 46%, rgba(31, 138, 95, 0.12)),
    radial-gradient(circle at 85% 25%, rgba(0, 167, 160, 0.24), transparent 34%);
}

#systemCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-inner,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 690px;
  color: #34404a;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 800;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 20, 24, 0.12);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button.full {
  width: 100%;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.signal-list span,
.trust-row span {
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf4f0;
  color: #26352f;
  font-size: 14px;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.metric-grid strong {
  display: block;
  color: var(--yellow);
  font-size: 36px;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.3;
}

section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro p:not(.eyebrow),
.idea-copy p,
.contact p {
  color: #3c4650;
  font-size: 19px;
  line-height: 1.65;
}

.services {
  background: #f0f5f2;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 8px;
  background: white;
}

.service-card p,
.step p {
  color: var(--muted);
  line-height: 1.55;
}

.service-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 800;
}

.icon-box {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: #e4f1ec;
  color: var(--green-dark);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding-top: 22px;
  border-top: 3px solid var(--coral);
}

.step strong {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
}

.idea-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: #15201c;
  color: white;
}

.idea-section .eyebrow {
  color: #9be2c6;
}

.idea-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.idea-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #29333c;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8dd;
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 150px;
  padding: 13px;
  resize: vertical;
}

.captcha-label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.robot-check {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 138, 95, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact > div:first-child {
  max-width: 680px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

footer span {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .intro,
  .idea-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

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

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 104px 16px 52px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  section {
    padding: 64px 16px;
  }

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

  .button {
    width: 100%;
  }

  .service-grid,
  .steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .idea-form {
    padding: 18px;
  }
}
