:root {
  --ink: #17231e;
  --muted: #627069;
  --line: #dbe3de;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --green: #176b4b;
  --green-dark: #10543a;
  --mint: #dff3e9;
  --lime: #9bddba;
  --shadow: 0 24px 70px rgba(27, 63, 47, 0.12);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

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

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

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 227, 222, 0.7);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 6px;
  border-radius: 8px;
  background: var(--green);
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 4px;
  background: white;
}

.brand-mark i:nth-child(1) { height: 6px; opacity: 0.6; }
.brand-mark i:nth-child(2) { height: 10px; opacity: 0.8; }
.brand-mark i:nth-child(3) { height: 15px; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  color: #46544d;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 14px;
}

.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 30px rgba(23, 107, 75, 0.2);
}

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

.button-ghost {
  border-color: var(--line);
  background: white;
}

.button-ghost:hover {
  border-color: #b8c8bf;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 78% 30%, rgba(182, 230, 207, 0.43), transparent 27%),
    linear-gradient(180deg, #fbfdfc 0%, #f3f7f5 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: radial-gradient(#bdd0c5 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.35;
  mask-image: linear-gradient(to left, black, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 78px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #29a66f;
  box-shadow: 0 0 0 5px rgba(41, 166, 111, 0.12);
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 640px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.text-link {
  color: var(--green);
  font-size: 15px;
  font-weight: 750;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-notes {
  display: flex;
  gap: 28px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-notes li::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.monitor-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(204, 218, 210, 0.85);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.monitor-card::after {
  position: absolute;
  right: 30px;
  bottom: -20px;
  left: 30px;
  z-index: -1;
  height: 60px;
  border-radius: 50%;
  background: rgba(48, 120, 89, 0.15);
  filter: blur(24px);
  content: "";
}

.monitor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid #e8edea;
}

.monitor-label {
  display: block;
  margin-bottom: 8px;
  color: #7b8881;
  font-size: 12px;
  font-weight: 650;
}

.monitor-head strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25a66e;
  box-shadow: 0 0 0 5px rgba(37, 166, 110, 0.12);
}

.time-badge {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
}

.uptime {
  padding-top: 22px;
}

.uptime-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.uptime-row b,
.uptime-row small {
  display: block;
}

.uptime-row b {
  font-size: 14px;
}

.uptime-row small {
  margin-top: 2px;
  color: #7b8881;
  font-size: 11px;
}

.uptime-row > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.bars {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  height: 32px;
}

.bars i {
  border-radius: 3px;
  background: #51bb88;
}

.bars i:nth-child(5n) { background: #72cda1; }
.bars i:nth-child(7n) { background: #8bd6af; }

.monitor-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid #e8edea;
  color: #839088;
  font-size: 10px;
}

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

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

.metrics div {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border: 0;
}

.metrics strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}

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

.section {
  padding: 112px 0;
}

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

.section-heading {
  max-width: 650px;
  margin-bottom: 48px;
}

.section-heading h2,
.about-panel h2,
.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.about-copy,
.contact-card p {
  color: var(--muted);
}

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

.feature-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(31, 74, 55, 0.08);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 13px;
  background: var(--mint);
  color: var(--green);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3,
.steps h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.workflow-grid .section-heading {
  margin: 0;
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ced9d2;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #ced9d2;
}

.steps li > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.about-panel {
  min-height: 290px;
  padding: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.72)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(23,107,75,.12) 48px),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(23,107,75,.12) 48px),
    var(--mint);
}

.about-panel h2 {
  max-width: 480px;
}

.about-copy {
  padding-bottom: 18px;
  font-size: 17px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact-section {
  padding-top: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  padding: 58px;
  border-radius: 28px;
  background: var(--green-dark);
  color: white;
}

.contact-card h2 {
  max-width: 670px;
}

.contact-card p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-light {
  color: var(--lime);
}

.contact-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
}

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

.contact-actions span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  text-align: center;
}

.site-footer {
  padding: 44px 0;
}

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

.footer-inner p,
.footer-inner > span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.reveal {
  animation: reveal 700ms cubic-bezier(.2,.8,.2,1) both;
}

.reveal-delay {
  animation-delay: 120ms;
}

.reveal-delay-long {
  animation-delay: 220ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-grid,
  .workflow-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

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

  .monitor-card {
    max-width: 620px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 30px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

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

  .header-inner .button {
    display: none;
  }

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

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-notes {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

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

  .monitor-head strong {
    font-size: 14px;
  }

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

  .metrics div {
    min-height: 104px;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:nth-child(2) {
    border-right: 0;
  }

  .metrics div:nth-child(n+3) {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .feature-card,
  .about-panel {
    padding: 25px;
  }

  .about-grid {
    gap: 35px;
  }

  .about-panel {
    min-height: 250px;
  }

  .contact-section {
    padding-top: 10px;
  }

  .contact-card {
    padding: 34px 24px;
    border-radius: 22px;
  }

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
