:root {
  --home-ink: #162019;
  --home-muted: #5d6a61;
  --home-line: #d9e0da;
  --home-surface: #ffffff;
  --home-canvas: #f2f5f2;
  --home-green: #167a3c;
  --home-green-dark: #0f5b2b;
  --home-teal: #0f6b68;
  --home-amber: #b37520;
  --home-warm: #f4ead8;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--home-canvas); }
body {
  margin: 0;
  color: var(--home-ink);
  background: var(--home-canvas);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }

.home-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(217, 224, 218, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.home-brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.home-brand img { border-radius: 7px; }
.home-brand span { display: grid; gap: 1px; }
.home-brand strong { font-size: 18px; line-height: 1.15; }
.home-brand small { color: var(--home-muted); font-size: 11px; }
.home-nav { display: flex; align-items: center; gap: 26px; }
.home-nav a, .home-footer nav a {
  color: #455048;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.home-nav a:hover, .home-footer nav a:hover, .home-link:hover { color: var(--home-green-dark); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-signin { color: #354039; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-signin:hover { color: var(--home-green-dark); }

.home-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 9px 17px;
  font-weight: 700;
  text-decoration: none;
}
.home-button.primary { color: #fff; background: var(--home-green); }
.home-button.primary:hover { background: var(--home-green-dark); }
.home-button.secondary { border-color: #b8c3ba; color: var(--home-ink); background: #fff; }
.home-button.secondary:hover { background: #f5f7f5; }
.home-button.text { color: var(--home-green-dark); background: transparent; }
.home-button:focus-visible, .home-nav a:focus-visible, .home-link:focus-visible, .home-footer a:focus-visible {
  outline: 3px solid rgba(17, 119, 170, .28);
  outline-offset: 3px;
}

.home-hero {
  position: relative;
  min-height: min(590px, calc(82svh - 64px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 48px clamp(20px, 7vw, 104px) 54px;
  color: #fff;
  background: #172019;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 29, 21, .99) 0%, rgba(18, 29, 21, .96) 34%, rgba(18, 29, 21, .7) 58%, rgba(18, 29, 21, .14) 100%),
    url("/assets/product-overview.png") 72% center / cover no-repeat;
}
.hero-content { position: relative; z-index: 1; width: min(570px, 100%); }
.home-eyebrow {
  width: max-content;
  margin-bottom: 11px;
  border-left: 3px solid var(--home-green);
  padding-left: 9px;
  color: var(--home-green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.home-hero .home-eyebrow {
  border-left-color: #6fd28f;
  color: #8de1a8;
}
.home-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(50px, 6vw, 76px);
  line-height: 1;
}
.hero-lead {
  max-width: 540px;
  margin-bottom: 24px;
  color: #d7e1da;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.home-button.hero-primary { color: #172019; background: #fff; }
.home-button.hero-primary:hover { background: #e9f0eb; }
.home-button.hero-secondary { border-color: #6b796f; color: #fff; background: rgba(23, 32, 25, .56); }
.home-button.hero-secondary:hover { border-color: #97a49b; background: rgba(44, 58, 48, .76); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  color: #c5d0c8;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.hero-proof li { position: relative; padding-left: 16px; }
.hero-proof li::before {
  position: absolute;
  top: .43em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fd28f;
  content: "";
}

.home-section { padding: 74px clamp(20px, 7vw, 104px); }
.section-heading { width: min(720px, 100%); margin-bottom: 38px; }
.home-section h2, .home-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.12;
}
.section-heading > p:last-child, .workflow-intro > p, .security-points span {
  color: var(--home-muted);
  line-height: 1.7;
}
.platform-band { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article {
  min-width: 0;
  min-height: 250px;
  padding: 25px 25px 28px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #f7f9f7;
}
.feature-grid article:nth-child(2) { background: #f0f7f5; }
.feature-grid article:nth-child(3) { background: #faf6ee; }
.feature-grid article + article { padding-left: 25px; }
.feature-number { color: var(--home-amber); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 20px 0 9px; font-size: 20px; }
.feature-grid p { margin-bottom: 0; color: var(--home-muted); line-height: 1.65; }

.workflow-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 112px);
  background: #edf2ee;
}
.workflow-intro { align-self: center; }
.home-link { display: inline-block; margin-top: 14px; color: var(--home-green-dark); font-weight: 750; }
.workflow-steps { margin: 0; padding: 0; border-top: 1px solid var(--home-line); list-style: none; }
.workflow-steps li {
  min-height: 124px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-line);
}
.workflow-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #9acaaa;
  border-radius: 50%;
  color: var(--home-green-dark);
  font-size: 13px;
  font-weight: 800;
}
.workflow-steps strong { display: block; margin: 4px 0 8px; font-size: 19px; }
.workflow-steps p { margin: 0; color: var(--home-muted); line-height: 1.6; }

.pricing-band { background: #fff; }
.pricing-heading {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  gap: 48px;
}
.pricing-heading > p { margin-bottom: 14px; color: var(--home-muted); line-height: 1.7; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pricing-plan {
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #f7f9f7;
}
.pricing-plan.featured { border-top: 4px solid var(--home-green); padding-top: 23px; background: #f0f7f2; }
.plan-name { margin-bottom: 16px; color: var(--home-green-dark); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.plan-price { min-height: 56px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 7px; }
.plan-price strong { font-size: 38px; line-height: 1.05; }
.plan-price span, .plan-annual { color: var(--home-muted); }
.plan-annual { min-height: 42px; margin: 0; font-size: 13px; line-height: 1.55; }
.pricing-plan ul { display: grid; gap: 11px; margin: 0; padding-left: 20px; color: #455048; line-height: 1.45; }
.pricing-plan .home-button { align-self: flex-start; margin-top: auto; }
.trial-note { margin: 20px 0 0; color: var(--home-muted); font-size: 13px; text-align: center; }

.security-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  gap: clamp(46px, 8vw, 106px);
  color: #fff;
  background: #15211a;
}
.security-band .home-eyebrow { color: #7ad398; }
.security-points { border-top: 1px solid #405046; }
.security-points p {
  display: grid;
  grid-template-columns: minmax(130px, .4fr) minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid #405046;
}
.security-points strong { color: #fff; }
.security-points span { color: #b8c3ba; }

.home-cta {
  padding: 66px 20px 70px;
  text-align: center;
  background: var(--home-warm);
}
.home-cta .home-eyebrow { color: #825719; border-left-color: var(--home-amber); margin-inline: auto; }
.home-cta h2 { max-width: 780px; margin-inline: auto; }
.home-cta > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.home-footer {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 24px clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--home-line);
  background: #fff;
}
.home-footer p { margin: 0; color: var(--home-muted); font-size: 13px; text-align: center; }
.home-footer nav { justify-self: end; display: flex; gap: 22px; }

@media (max-width: 860px) {
  .home-header { grid-template-columns: 1fr auto; }
  .home-nav { display: none; }
  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(18, 29, 21, .99) 0%, rgba(18, 29, 21, .91) 62%, rgba(18, 29, 21, .5) 100%),
      url("/assets/product-overview.png") 64% center / cover no-repeat;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; padding: 25px; }
  .feature-grid article + article { padding-left: 25px; }
  .feature-grid h3 { margin-top: 18px; }
  .workflow-band, .security-band, .pricing-heading { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-plan { min-height: 0; }
  .home-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .home-footer nav { justify-self: center; }
}

@media (max-width: 560px) {
  .home-header { height: 64px; padding-inline: 16px; }
  .home-header .home-brand small { display: none; }
  .header-actions { gap: 0; }
  .header-signin {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #b8c3ba;
    border-radius: 5px;
    padding: 7px 12px;
    background: #fff;
  }
  .header-actions .home-button { display: none; }
  .home-hero { min-height: calc(82svh - 64px); padding: 42px 20px 46px; }
  .home-hero h1 { font-size: 48px; }
  .hero-lead { font-size: 19px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .home-button { width: 100%; }
  .home-section { padding: 58px 20px; }
  .home-section h2, .home-cta h2 { font-size: 32px; }
  .workflow-band, .security-band { gap: 40px; }
  .workflow-steps li { grid-template-columns: 42px 1fr; gap: 14px; }
  .security-points p { grid-template-columns: 1fr; gap: 8px; }
  .home-footer nav { flex-wrap: wrap; justify-content: center; }
}

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