:root {
  --ink: #07172f;
  --muted: #5c6d83;
  --line: #d9e5ee;
  --bg: #f7fbfd;
  --panel: #ffffff;
  --teal: #009b9a;
  --teal-dark: #047677;
  --green: #72bf44;
  --aqua: #dff8f5;
  --amber: #f8b84e;
  --violet: #6657f5;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(178, 209, 223, 0.7);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 53, 79, 0.09);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 210px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #24415d;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--teal-dark);
  background: #edf9f8;
}

.nav-cta {
  color: #fff !important;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(0, 155, 154, 0.25);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 142px 24px 76px;
  background:
    linear-gradient(90deg, rgba(4, 18, 38, 0.86), rgba(4, 32, 48, 0.58), rgba(231, 250, 248, 0.1)),
    radial-gradient(circle at 78% 26%, rgba(114, 191, 68, 0.28), transparent 30%),
    linear-gradient(135deg, #062641 0%, #078080 50%, #e9fbf8 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.live-board {
  position: relative;
  width: min(540px, 100%);
  justify-self: end;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px);
}

.board-top,
.screen-header,
.site-footer,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.board-top span,
.screen-header small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.board-top strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.board-top small {
  padding: 7px 12px;
  border-radius: 999px;
  color: #06351e;
  background: #a6ffbf;
  font-weight: 900;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.stat-row div,
.queue-preview div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  padding: 16px;
}

.stat-row strong {
  display: block;
  font-size: 30px;
}

.stat-row span,
.queue-preview span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.queue-preview {
  display: grid;
  gap: 10px;
}

.queue-preview div {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
}

.queue-preview b {
  font-size: 24px;
  color: #bbffed;
}

.queue-preview em {
  font-style: normal;
  color: #062034;
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 540px);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.hero-text {
  max-width: 670px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9effd2;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.35vw, 78px);
  line-height: 0.98;
  font-weight: 900;
}

@media (max-width: 1320px) and (min-width: 1041px) {
  .hero h1 {
    max-width: 610px;
    font-size: clamp(44px, 5.15vw, 70px);
  }

  .hero-copy,
  .hero-trust {
    max-width: 570px;
  }

  .live-board {
    width: min(510px, 100%);
  }
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 18px 34px rgba(0, 155, 154, 0.28);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-trust {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.metrics-section,
.section,
.demo-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.metrics-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transform: translateY(-38px);
}

.metric {
  min-height: 128px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(29, 65, 91, 0.09);
}

.metric strong {
  display: block;
  font-size: 38px;
  font-weight: 900;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 900;
}

.intro-grid p,
.operation-copy p,
.demo-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.value-grid,
.security-grid,
.module-grid {
  display: grid;
  gap: 18px;
}

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

.value-grid article,
.module-grid article,
.security-grid article,
.mini-cards article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 16px 38px rgba(18, 50, 75, 0.06);
}

.icon-pill,
.module-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--aqua);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

article p,
.mini-cards span {
  color: var(--muted);
  line-height: 1.65;
}

.modules-section {
  padding-top: 46px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-heading.compact h2 {
  max-width: 900px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-weight: 900;
}

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

.module-grid article:nth-child(2n) span {
  color: #3b319c;
  background: #eeecff;
}

.module-grid article:nth-child(3n) span {
  color: #7c4b00;
  background: #fff1d6;
}

.operations-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #344b64;
  font-weight: 700;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.product-shot {
  overflow: hidden;
  border: 1px solid rgba(205, 222, 232, 0.8);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.product-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff7a59;
}

.product-bar span:nth-child(2) {
  background: var(--amber);
}

.product-bar span:nth-child(3) {
  background: var(--green);
}

.product-bar strong {
  margin-left: 8px;
  font-size: 13px;
  color: var(--muted);
}

.product-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 450px;
}

.product-body aside {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  background: #f3f8fb;
}

.product-body aside b {
  padding: 11px 12px;
  border-radius: 12px;
  color: #38526b;
  font-size: 13px;
}

.product-body aside b:nth-child(3) {
  color: #fff;
  background: var(--teal);
}

.screen {
  padding: 24px;
}

.screen-header small {
  color: var(--teal);
}

.screen-header strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.screen-header button,
.screen-table button {
  border: 0;
  border-radius: 999px;
  background: #eaf7f5;
  color: var(--teal-dark);
  font-weight: 900;
}

.screen-header button {
  height: 38px;
  padding: 0 16px;
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.screen-cards span {
  min-height: 90px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4fbff, #e9f8f1);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.screen-cards b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 28px;
}

.screen-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.screen-table p {
  display: grid;
  grid-template-columns: 1fr 110px 84px;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e8f0f5;
}

.screen-table p:last-child {
  border-bottom: 0;
}

.screen-table p:first-child {
  background: #f7fbfd;
  font-size: 13px;
}

.screen-table em {
  color: var(--teal-dark);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.screen-table button {
  min-height: 32px;
}

.security-section {
  padding-top: 42px;
}

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

.faq-section {
  padding-top: 34px;
}

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

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(235, 250, 248, 0.72), rgba(255, 255, 255, 0.98)),
    #fff;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(18, 50, 75, 0.05);
}

.faq-grid h3 {
  margin-bottom: 10px;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.testimonials-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.quote-card {
  padding: 40px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #06324b, #067f80 68%, #72bf44);
}

.quote-card p {
  margin-bottom: 24px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 900;
}

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

.mini-cards {
  display: grid;
  gap: 16px;
}

.mini-cards strong,
.mini-cards span {
  display: block;
}

.mini-cards strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
  margin-top: 54px;
  margin-bottom: 72px;
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(223, 248, 245, 0.92), rgba(255, 255, 255, 0.96)),
    linear-gradient(90deg, #fff, #f5fbfd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-copy h2 {
  margin-bottom: 18px;
}

.demo-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.demo-points span {
  padding: 14px 16px;
  border: 1px solid rgba(0, 155, 154, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #173c51;
  font-weight: 800;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

label {
  display: grid;
  gap: 8px;
  color: #29435d;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfe0ea;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 114px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 155, 154, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.success {
  color: var(--teal-dark);
  font-weight: 900;
}

.site-footer {
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .live-board {
    width: min(100%, 640px);
    justify-self: start;
    margin: 0;
  }

  .hero {
    align-items: start;
  }

  .module-grid,
  .faq-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .operations-section,
  .testimonials-section,
  .demo-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    min-height: 64px;
    border-radius: 16px;
  }

  .brand img {
    width: 170px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 10px;
    right: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
    padding: 128px 16px 54px;
  }

  h1 {
    font-size: 43px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 8vw, 64px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .metrics-section {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
    padding-top: 18px;
  }

  .intro-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .product-body aside {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-section {
    padding: 24px;
    border-radius: 24px;
  }

  .demo-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

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

@media (max-width: 560px) {
  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 46px);
    line-height: 1.02;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stat-row,
  .module-grid,
  .faq-grid,
  .security-grid,
  .metrics-section,
  .screen-cards {
    grid-template-columns: 1fr;
  }

  .queue-preview div,
  .screen-table p {
    grid-template-columns: 1fr;
  }

  .product-body aside {
    grid-template-columns: 1fr 1fr;
  }
}
