:root {
  --primary: #497f80;
  --primary-dark: #315f60;
  --primary-900: #123b3d;
  --secondary: #95d0b7;
  --secondary-dark: #69b797;
  --cream: #f8faf8;
  --ink: #172526;
  --muted: #647475;
  --line: #dce8e4;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 59, 61, 0.15);
  --shadow-soft: 0 14px 40px rgba(18, 59, 61, 0.09);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: var(--primary-900);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 248, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 232, 228, 0.65);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(18, 59, 61, .08); background: rgba(255,255,255,.92); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 10px 24px rgba(49, 95, 96, .22); }
.brand strong { display: block; font-size: 1.04rem; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: .73rem; margin-top: -2px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #314648;
  font-weight: 650;
  font-size: .94rem;
}
.site-nav a:not(.btn):hover { color: var(--primary); }
.nav-login { color: var(--primary) !important; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--primary-900);
  margin: 5px 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 750;
  border: 1px solid var(--primary);
  box-shadow: 0 14px 28px rgba(49, 95, 96, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(49, 95, 96, .24); background: var(--primary-dark); }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--primary); box-shadow: none; }
.btn-outline:hover { color: white; background: var(--primary); }
.btn-light { background: var(--secondary); border-color: var(--secondary); color: var(--primary-900); box-shadow: none; }
.btn-light:hover { background: white; border-color: white; color: var(--primary-900); }
.full { width: 100%; }

.section { padding: 96px 0; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 80px;
  background:
    radial-gradient(circle at 10% 10%, rgba(149,208,183,.35), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(73,127,128,.18), transparent 32%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  right: -250px;
  top: 120px;
  background: linear-gradient(135deg, rgba(73,127,128,.12), rgba(149,208,183,.08));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(450px, .98fr);
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 15px;
}
.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--secondary-dark);
  border-radius: 4px;
}
.eyebrow.light { color: #d8fff0; }
.eyebrow.light span { background: var(--secondary); }
.hero h1, h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.07em;
  color: var(--primary-900);
}
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.hero-lede {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 680px;
  color: #415557;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-row span {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(220,232,228,.85);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 650;
}

.product-preview {
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(220,232,228,.8);
  overflow: hidden;
  transform: rotate(1deg);
}
.browser-bar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #f1f6f4;
  border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d5e3df; }
.browser-bar strong { margin-left: auto; color: var(--muted); font-size: .78rem; }
.app-shell {
  display: grid;
  grid-template-columns: 178px 1fr;
  min-height: 410px;
}
.app-shell aside {
  padding: 20px 14px;
  background: var(--primary-dark);
  color: white;
}
.mini-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  font-weight: 850;
  margin-bottom: 22px;
}
.app-shell aside p {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .78rem;
  color: #d8fff0;
}
.app-shell aside p:nth-of-type(1) { background: rgba(255,255,255,.12); color: white; }
.dashboard-ui { padding: 24px; background: linear-gradient(180deg, #fff, #f8fbfa); }
.dashboard-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.dashboard-top small { color: var(--muted); font-weight: 650; }
.dashboard-top h3 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -.03em; }
.status-pill { background: rgba(149,208,183,.2); color: var(--primary-dark); padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 850; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-grid div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: white; box-shadow: var(--shadow-soft); }
.metric-grid small { display: block; color: var(--muted); font-size: .7rem; }
.metric-grid strong { display: block; margin-top: 4px; font-size: 1.45rem; color: var(--primary-900); }
.chart-card { background: white; border: 1px solid var(--line); border-radius: 20px; margin-top: 15px; padding: 18px; min-height: 130px; box-shadow: var(--shadow-soft); }
.chart-bars { height: 100px; display: flex; align-items: end; gap: 14px; }
.chart-bars span { flex: 1; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--secondary), var(--primary)); min-height: 24px; }
.timeline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.timeline span { font-size: .72rem; padding: 6px 9px; border-radius: 999px; background: #eef5f2; color: var(--muted); font-weight: 750; }
.timeline .done { background: rgba(149,208,183,.25); color: var(--primary-dark); }
.timeline .active { background: var(--primary); color: white; }

.stats-band { padding: 28px 0; background: var(--primary-900); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-grid div { display: grid; gap: 4px; }
.stats-grid strong { font-size: 2rem; line-height: 1; color: var(--secondary); }
.stats-grid span { color: #d8fff0; font-size: .92rem; }

.split { display: grid; grid-template-columns: .93fr 1.07fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr .9fr; }
.split p, .section-head p { color: var(--muted); font-size: 1.05rem; }
.feature-stack { display: grid; gap: 16px; }
.feature-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.feature-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(149,208,183,.24);
  color: var(--primary);
  font-weight: 900;
}
.feature-card h3 { margin: 0 0 5px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); }

.section-muted { background: #eef6f2; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.narrow { max-width: 680px; text-align: center; margin-inline: auto; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.module-grid article {
  min-height: 170px;
  background: white;
  border: 1px solid rgba(220,232,228,.92);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(18,59,61,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.module-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.module-grid strong { display: block; font-size: 1.02rem; color: var(--primary-900); margin-bottom: 10px; }
.module-grid span { display: block; color: var(--muted); font-size: .93rem; }

.workflow-section { background: white; }
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.workflow div {
  position: relative;
  background: linear-gradient(180deg, #f7fbf9, #ffffff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 16px;
}
.workflow span { display: block; color: var(--secondary-dark); font-weight: 900; font-size: .82rem; margin-bottom: 32px; }
.workflow strong { display: block; color: var(--primary-900); font-size: 1.08rem; }
.workflow p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }

.section-deep {
  background: linear-gradient(135deg, var(--primary-900), #244f50 62%, #386d6e);
  color: white;
}
.section-deep h2 { color: white; }
.section-deep p { color: #d8fff0; }
.section-deep-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.portal-cards { display: grid; gap: 16px; }
.portal-cards article {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(12px);
}
.portal-cards h3 { margin: 0 0 8px; color: white; }
.portal-cards p { margin: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.price-card.featured {
  border-color: var(--secondary-dark);
  transform: translateY(-10px);
  box-shadow: 0 24px 70px rgba(18,59,61,.17);
}
.price-card small { color: var(--primary); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.price-card h3 { margin: 10px 0 8px; font-size: 1.45rem; color: var(--primary-900); }
.price-card p { color: var(--muted); margin: 0 0 16px; }
.price-card ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.price-card li { color: #43585a; padding-left: 24px; position: relative; font-size: .94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary-dark); font-weight: 900; }
.badge { position: absolute; top: 18px; right: 18px; background: var(--secondary); color: var(--primary-900); padding: 5px 10px; border-radius: 999px; font-weight: 850; font-size: .75rem; }

.assurance-card {
  background: var(--primary-900);
  border-radius: 30px;
  padding: 30px;
  color: white;
  box-shadow: var(--shadow);
}
.assurance-card h3 { margin: 0 0 22px; font-size: 1.45rem; }
.assurance-list { display: flex; flex-wrap: wrap; gap: 10px; }
.assurance-list span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 12px; color: #d8fff0; font-weight: 700; font-size: .88rem; }

.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
details {
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
summary { cursor: pointer; font-weight: 850; color: var(--primary-900); }
details p { margin: 12px 0 0; color: var(--muted); }

.cta-section {
  background: linear-gradient(180deg, #fff, #eef6f2);
  padding: 40px 0 100px;
}
.cta-card {
  display: grid;
  grid-template-columns: .9fr minmax(320px, .6fr);
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-900), var(--primary));
  color: white;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.cta-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(149,208,183,.18);
  right: -100px;
  top: -130px;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: white; }
.cta-card p { color: #d8fff0; }
.contact-form {
  display: grid;
  gap: 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: blur(14px);
}
.contact-form label { display: grid; gap: 6px; }
.contact-form span { font-size: .83rem; color: #d8fff0; font-weight: 750; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(149,208,183,.22); }
.form-note { font-size: .82rem; margin: -2px 0 0 !important; }
.form-note a { text-decoration: underline; }

.site-footer {
  background: #0e2f30;
  color: white;
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand small, .site-footer p, .footer-bottom { color: #c9e4dc; }
.site-footer h4 { margin: 0 0 12px; color: var(--secondary); }
.site-footer a:not(.brand) { display: block; color: #e9fff8; margin: 8px 0; }
.site-footer a:hover { color: var(--secondary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  font-size: .88rem;
}

@media (max-width: 1060px) {
  .hero-grid, .split, .split.reverse, .section-deep-grid, .cta-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .product-preview { transform: none; }
  .module-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .price-card.featured { transform: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; border-radius: 12px; }
  .site-nav a:not(.btn):hover { background: #eef6f2; }
  .site-nav .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 60px; }
  .section { padding: 70px 0; }
  .app-shell { grid-template-columns: 1fr; }
  .app-shell aside { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-row span { width: 100%; text-align: center; }
  .module-grid, .pricing-grid, .workflow { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-ui { padding: 16px; }
  .section-head.narrow { text-align: left; }
  .cta-card { border-radius: 24px; }
}
