:root {
  --home-ink: #0b2344;
  --home-muted: #586674;
  --home-line: #d5dfe6;
  --home-surface: #ffffff;
  --home-canvas: #f3f7f8;
  --home-navy: #062a5e;
  --home-navy-dark: #041c42;
  --home-green: #008f57;
  --home-green-dark: #006e43;
  --home-teal: #008f57;
  --home-amber: #062a5e;
  --home-warm: #eef4fa;
}

* { 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; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.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: var(--home-navy-dark);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 22, 51, .99) 0%, rgba(4, 25, 58, .96) 34%, rgba(5, 34, 75, .72) 58%, rgba(5, 34, 75, .16) 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: var(--home-navy); background: #fff; }
.home-button.hero-primary:hover { background: #e9f0eb; }
.home-button.hero-secondary { border-color: #7c92ad; color: #fff; background: rgba(5, 32, 72, .58); }
.home-button.hero-secondary:hover { border-color: #aec0d3; background: rgba(10, 48, 94, .82); }
.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); }
.product-choice { padding: 64px clamp(20px, 7vw, 104px) 72px; border-bottom: 1px solid var(--home-line); background: #fff; }
.product-choice-intro { width: min(800px, 100%); margin-bottom: 30px; }
.product-choice-intro h2 { margin-bottom: 14px; font-size: clamp(30px, 3.7vw, 46px); line-height: 1.12; }
.product-choice-intro > p:last-child { color: var(--home-muted); font-size: 17px; line-height: 1.65; }
.product-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--home-line); border-bottom: 0; background: #f4f6f4; }
.product-tab {
  min-width: 0;
  min-height: 78px;
  display: grid;
  gap: 5px;
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 15px 22px 13px;
  color: #59655d;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.product-tab + .product-tab { border-left: 1px solid var(--home-line); }
.product-tab span { color: #69756d; font-size: 13px; font-weight: 600; }
.product-tab[aria-selected="true"] { color: var(--home-ink); background: #fff; }
.personal-tab[aria-selected="true"] { border-bottom-color: var(--home-teal); }
.business-tab[aria-selected="true"] { border-bottom-color: var(--home-navy); }
.product-tab:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(17, 119, 170, .28); outline-offset: -4px; }
.product-panel { min-width: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(38px, 7vw, 96px); padding: clamp(34px, 5vw, 62px); border: 1px solid var(--home-line); border-top: 0; }
.product-panel[hidden] { display: none; }
.personal-product { background: #edf6f5; }
.business-product { background: #eef4fa; }
.product-summary h3 { max-width: 660px; margin-bottom: 16px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.14; }
.product-label { margin-bottom: 10px; color: var(--home-teal); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.business-product .product-label { color: var(--home-navy); }
.product-lead { max-width: 670px; margin-bottom: 24px; color: var(--home-muted); font-size: 17px; line-height: 1.65; }
.product-detail-heading { margin-bottom: 16px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.product-capabilities { display: grid; gap: 0; margin: 0; padding: 0; color: #3f4c44; list-style: none; }
.product-capabilities li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(94, 112, 100, .22); }
.product-capabilities li:last-child { border-bottom: 1px solid rgba(94, 112, 100, .22); }
.product-capabilities strong { color: var(--home-ink); }
.product-capabilities span { line-height: 1.5; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; }
.product-actions .home-link { margin-top: 0; }
.home-button.personal-action { color: #fff; background: var(--home-teal); }
.home-button.personal-action:hover { background: #0a5553; }
.home-button.business-action { color: #fff; background: var(--home-navy); }
.home-button.business-action:hover { background: var(--home-navy-dark); }
.separation-note { margin: 20px 0 0; border-left: 3px solid var(--home-teal); padding-left: 13px; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.business-product .separation-note { border-left-color: var(--home-navy); }
.separation-note strong { color: var(--home-ink); }
.personal-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(48px, 8vw, 112px); background: #f0f5f4; }
.personal-intro { align-self: center; }
.personal-intro > p:last-child { color: var(--home-muted); line-height: 1.7; }
.personal-points { border-top: 1px solid var(--home-line); }
.personal-points p { display: grid; gap: 7px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--home-line); }
.personal-points strong { font-size: 18px; }
.personal-points span { color: var(--home-muted); line-height: 1.6; }
.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(2, 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:nth-child(4) { background: #f4f1f8; }
.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 h3 a { color: inherit; text-decoration: none; }
.feature-grid h3 a:hover { color: var(--home-green-dark); text-decoration: underline; text-underline-offset: 4px; }
.feature-grid p { margin-bottom: 0; color: var(--home-muted); line-height: 1.65; }

.banking-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 112px);
  background: #f4f6f8;
}
.banking-intro { align-self: center; }
.banking-intro > p:last-child { color: var(--home-muted); line-height: 1.7; }
.banking-points { border-top: 1px solid var(--home-line); }
.banking-points p { display: grid; gap: 7px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--home-line); }
.banking-points strong { font-size: 18px; }
.banking-points span { color: var(--home-muted); line-height: 1.6; }

.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(4, 22, 51, .99) 0%, rgba(4, 25, 58, .92) 62%, rgba(5, 34, 75, .54) 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, .banking-band, .personal-band, .security-band, .pricing-heading, .product-panel { 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; }
  .product-choice { padding: 52px 20px 58px; }
  .product-choice-intro { margin-bottom: 24px; }
  .product-tabs { grid-template-columns: 1fr; border-bottom: 1px solid var(--home-line); }
  .product-tab { min-height: 66px; }
  .product-tab + .product-tab { border-left: 0; border-top: 1px solid var(--home-line); }
  .product-tab[aria-selected="true"] { border-bottom-width: 4px; }
  .product-panel { padding: 30px 22px 34px; border-top: 0; }
  .product-summary h3 { font-size: 30px; }
  .product-actions { align-items: stretch; flex-direction: column; }
  .product-actions .home-button { width: 100%; }
  .product-actions .home-link { padding: 9px 0; text-align: center; }
  .home-section h2, .home-cta h2 { font-size: 32px; }
  .workflow-band, .personal-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; }
}
