:root {
  --ink: #10201f;
  --muted: #5d6d69;
  --soft: #eef5f2;
  --wash: #f7f8f3;
  --panel: #ffffff;
  --line: #d9e4df;
  --deep: #073d3d;
  --teal: #0f766e;
  --blue: #155eef;
  --green: #17824f;
  --amber: #b0641c;
  --red: #bd3d33;
  --shadow: 0 26px 80px rgba(16, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.52);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 80;
  transform: translateY(-140%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(16, 32, 31, 0.18);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 56px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 800;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 61, 61, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #31423e;
}

.nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: var(--deep);
  border-radius: 6px;
}

.nav .nav-cta:hover {
  text-decoration: none;
  background: #092f2f;
}

.nav .nav-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep);
  background: #fff;
}

.nav .nav-login:hover {
  text-decoration: none;
  background: var(--soft);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

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

h1 {
  font-size: 88px;
  line-height: 0.92;
  margin-bottom: 24px;
  letter-spacing: 0;
  font-weight: 830;
}

h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: 0;
  font-weight: 780;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  font-size: 29px;
  line-height: 1.18;
  color: #243633;
  font-weight: 680;
  max-width: 720px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: 40px 56px 34px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 42%, rgba(238, 245, 242, 0.72) 100%),
    radial-gradient(circle at 78% 20%, rgba(21, 94, 239, 0.12), transparent 30%);
  border-bottom: 1px solid var(--line);
}

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

.hero-copy p:not(.lead) {
  max-width: 650px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.btn:hover {
  text-decoration: none;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn.primary:hover {
  background: #0846c7;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 12px;
  color: #40504c;
  font-size: 13px;
  font-weight: 760;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual:before {
  content: "";
  position: absolute;
  inset: 8% 5% 5% 12%;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(21, 94, 239, 0.16));
  filter: blur(44px);
}

.hero-visual img {
  position: relative;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  padding: 25px 56px;
  background: #fbfcf7;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  font-size: 17px;
}

.signal-strip span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.band {
  padding: 74px 56px;
  border-bottom: 1px solid var(--line);
}

.band.wash {
  background: var(--wash);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head.center {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}

.option-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 32, 31, 0.06);
}

.option-card.saas {
  border-color: rgba(21, 94, 239, 0.28);
}

.option-card.single {
  border-color: rgba(23, 130, 79, 0.28);
}

.option-card h3 {
  font-size: 26px;
}

.option-card ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.option-card li,
.check-list li {
  position: relative;
  padding-left: 25px;
  color: #344642;
}

.option-card li:before,
.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6a66;
  font-size: 13px;
  font-weight: 820;
}

.or-divider span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.platform-grid,
.feature-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-card,
.feature-card,
.related-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.platform-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.platform-card p,
.feature-card p,
.related-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.feature-card h2 {
  font-size: 25px;
  line-height: 1.14;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.workflow div {
  min-height: 176px;
  padding: 20px;
  background: #fff;
}

.workflow strong {
  display: block;
  margin-bottom: 8px;
}

.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  font-weight: 820;
}

.trust-band {
  background: var(--deep);
  color: #fff;
}

.trust-band h2,
.trust-band h3 {
  color: #fff;
}

.trust-band p {
  color: #d6e8e4;
}

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

.trust-grid article {
  padding: 0;
}

.article-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 56px 84px;
}

.article-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.article-hero h1 {
  font-size: 66px;
  line-height: 0.98;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.note {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #cddfd8;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #f8fbfd;
}

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

.related-card {
  color: var(--ink);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.related-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(120px, 180px));
  gap: 26px;
  padding: 42px 56px;
  background: #062f30;
  color: #d8ece7;
}

.site-footer p,
.site-footer a {
  color: #d8ece7;
  font-size: 14px;
}

.site-footer h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.site-footer a,
.article-shell a,
.band a {
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .band,
  .signal-strip div,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 36px;
  }

  .platform-grid,
  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    padding: 10px 18px;
    gap: 12px;
    min-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-nav[open] summary {
    border-color: #b6cdc5;
    background: var(--soft);
  }

  .menu-icon,
  .menu-icon:before,
  .menu-icon:after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon:before,
  .menu-icon:after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-icon:before {
    top: -5px;
  }

  .menu-icon:after {
    top: 5px;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    width: min(320px, calc(100vw - 36px));
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(16, 32, 31, 0.18);
  }

  .mobile-nav:not([open]) nav {
    display: none;
  }

  .mobile-nav nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    color: #31423e;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-nav nav a:hover {
    text-decoration: none;
    background: var(--soft);
  }

  .mobile-nav .nav-cta {
    justify-content: center;
    margin-top: 4px;
    color: #fff;
    background: var(--deep);
  }

  .mobile-nav .nav-login {
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--deep);
    background: #fbfcf7;
  }

  .hero,
  .band,
  .article-shell,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 26px;
    background:
      linear-gradient(180deg, #fff 0%, #fff 46%, rgba(238, 245, 242, 0.9) 100%);
  }

  h1,
  .article-hero h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 23px;
  }

  p {
    font-size: 16px;
  }

  .actions {
    align-items: stretch;
    gap: 10px;
  }

  .hero-visual img {
    height: 340px;
    object-fit: cover;
    object-position: center bottom;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
  }

  .proof-row,
  .signal-strip,
  .option-grid,
  .platform-grid,
  .feature-grid,
  .workflow,
  .trust-grid,
  .article-grid,
  .related-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof-row {
    gap: 8px;
  }

  .proof-row span {
    justify-content: center;
    min-height: 34px;
  }

  .signal-strip div {
    padding-left: 18px;
    padding-right: 18px;
  }

  .band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-head.center {
    text-align: left;
  }

  .feature-card h2 {
    font-size: 23px;
  }

  .workflow div {
    min-height: 0;
  }

  .site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .or-divider {
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 44px;
  }

  .article-hero h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .nav a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .lead {
    font-size: 21px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual img {
    height: 300px;
  }
}

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

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