:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #607089;
  --line: #d9e2ec;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --blue: #2563eb;
  --teal: #0f9f8f;
  --green: #17a673;
  --amber: #f59e0b;
  --navy: #0b1b33;
  --shadow: 0 24px 60px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 236, 0.78);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.proof-row,
.hero-actions,
.logos,
.tab-list,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
}

.nav {
  gap: clamp(14px, 2.6vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
}

.hero {
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px) 48px;
  background:
    radial-gradient(circle at 82% 16%, rgba(15, 159, 143, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #eff6ff 52%, #eefbf8 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text,
.section-heading p,
.workflow-copy p,
.split p,
.control-grid p,
.feature-card p,
.demo h2 + p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.proof-row {
  flex-wrap: wrap;
  gap: 12px;
}

.proof-row span {
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 8px;
}

.proof-row strong {
  color: var(--ink);
}

.product-visual {
  overflow: hidden;
  background: #0b1b33;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-topbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

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

.visual-card {
  min-height: 146px;
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.visual-card.wide {
  grid-column: 1 / -1;
}

.visual-card p,
.price-card p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.visual-card strong {
  display: block;
  font-size: 2rem;
}

.visual-card small {
  color: rgba(255, 255, 255, 0.62);
}

.health-bars {
  display: flex;
  height: 120px;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
}

.health-bars span {
  flex: 1;
  min-width: 18px;
  background: linear-gradient(180deg, #6ee7b7, #2563eb);
  border-radius: 6px 6px 0 0;
}

.list div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.ok {
  background: var(--green);
}

.status.warn {
  background: var(--amber);
}

.logos {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  overflow-x: auto;
  color: #6d7d91;
  background: #fff;
  border-block: 1px solid var(--line);
  font-weight: 900;
  white-space: nowrap;
}

.section,
.workflow-section,
.pricing,
.demo {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

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

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

.feature-card,
.control-grid div,
.estimator,
.price-card,
.demo-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 33, 61, 0.08);
}

.feature-card {
  padding: 28px;
}

.icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.workflow-section,
.pricing,
.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: #fff;
}

.tab-list {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tab {
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  background: #f2f6fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.tab.active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.workflow-panel {
  padding: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #164e63);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-header span,
.panel-header strong {
  display: block;
}

.panel-header span {
  color: #9debdc;
  font-weight: 900;
}

.panel-header strong {
  margin-top: 6px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.workflow-panel ul,
.price-card ul {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding-left: 20px;
}

.workflow-panel li {
  color: rgba(255, 255, 255, 0.86);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.estimator,
.price-card,
.demo-form {
  padding: 28px;
}

.estimator label,
.demo-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9c7d8;
  border-radius: 8px;
  font: inherit;
}

input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--blue);
}

.estimator label span {
  color: var(--blue);
  font-size: 1.2rem;
}

.estimate-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.estimate-output span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.estimate-output strong {
  font-size: 3.5rem;
  line-height: 1;
}

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

.control-grid div {
  padding: 24px;
}

.pricing {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(15, 159, 143, 0.1)),
    #f8fbfe;
}

.price-card p {
  color: var(--teal);
}

.price-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 1;
}

.price-card strong span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card li {
  color: var(--muted);
}

.price-card .button {
  width: 100%;
  margin-top: 24px;
}

.demo {
  background: var(--navy);
  color: #fff;
}

.demo .eyebrow {
  color: #9debdc;
}

.demo-form {
  color: var(--ink);
}

.demo-form .button {
  width: 100%;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: #071428;
}

footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .workflow-section,
  .split,
  .pricing,
  .demo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .header-action {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .product-visual {
    min-width: 0;
  }

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

  .visual-card.wide {
    grid-column: auto;
  }

  .estimate-output {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
