:root {
  --ink: #13231d;
  --muted: #64736d;
  --line: #dfe6e2;
  --panel: #f5f8f6;
  --green: #0f5d46;
  --green-dark: #0a352b;
  --gold: #d8ad2f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 35, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 230, 226, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.footer nav,
.actions,
.contact-card {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.footer a:hover {
  color: var(--green);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
}

.nav-cta,
.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 66px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 80px clamp(18px, 5vw, 72px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 25, 20, 0.92) 0%, rgba(8, 25, 20, 0.76) 34%, rgba(8, 25, 20, 0.15) 72%),
    linear-gradient(0deg, rgba(8, 25, 20, 0.32), rgba(8, 25, 20, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.trial-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

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

.metric-strip article {
  min-height: 128px;
  padding: 28px clamp(18px, 3vw, 38px);
  background: var(--white);
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
}

.trust-strip div {
  min-height: 116px;
  padding: 26px clamp(18px, 3vw, 38px);
  background: var(--white);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.trust-strip span,
.section p,
.notice p,
.price-card li {
  color: var(--muted);
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.steps,
.feature-grid,
.source-grid {
  display: grid;
  gap: 18px;
}

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

.demo-flow {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 28px;
  align-items: stretch;
}

.phone-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #eef3f0;
  padding: 22px;
  box-shadow: var(--shadow);
}

.phone-top {
  align-self: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bubble {
  max-width: 86%;
  border-radius: 16px;
  padding: 13px 15px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(19, 35, 29, 0.08);
}

.bubble.user {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
}

.bubble.accent {
  border: 1px solid rgba(216, 173, 47, 0.42);
  background: #fff8de;
}

.steps article,
.feature-grid article,
.source-grid article,
.price-card,
.notice,
.contact-card,
.video-card,
.video-points article,
.commands-table,
.dashboard-mock,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps article,
.feature-grid article,
.source-grid article,
.video-points article {
  padding: 26px;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--green);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 46px;
  background: var(--panel);
}

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

.video-section {
  background: var(--green-dark);
  color: var(--white);
}

.video-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.video-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.video-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #071b15;
  box-shadow: var(--shadow);
}

.video-card img,
.video-card video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.play-badge:hover,
.video-modal-actions button:hover {
  background: var(--gold);
  color: var(--green-dark);
}

body.modal-open {
  overflow: hidden;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 44px);
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 18, 14, 0.78);
  cursor: pointer;
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #05120e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  background: var(--green-dark);
  color: var(--white);
}

.video-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-modal-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 13px;
}

.video-modal-actions .video-close {
  display: grid;
  width: 42px;
  min-width: 42px;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1;
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 140px);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-points {
  display: grid;
  gap: 14px;
}

.video-points article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.video-points strong,
.video-points span {
  display: block;
}

.video-points strong {
  margin-bottom: 8px;
}

.video-points span {
  color: rgba(255, 255, 255, 0.72);
}

.sources {
  background: var(--panel);
}

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

.source-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #eef7f3;
  color: var(--green);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.pending-source {
  opacity: 0.86;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
}

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

.price-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #eef7f3;
  color: var(--green);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.price-card strong {
  display: block;
  font-size: 58px;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 24px 0;
}

.notice {
  margin: 0 clamp(18px, 5vw, 72px);
  padding: 28px;
  background: #fff9e8;
  border-color: #ead99f;
}

.commands-table {
  overflow-x: auto;
}

.commands-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.commands-table th,
.commands-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.commands-table th {
  background: var(--panel);
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.commands-table tr:last-child td {
  border-bottom: 0;
}

.commands-table code {
  border-radius: 6px;
  background: var(--panel);
  padding: 4px 7px;
  color: var(--green-dark);
}

.cabinet {
  background: var(--panel);
}

.dashboard-mock {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dashboard-mock aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px;
}

.dashboard-mock aside strong {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 20px;
}

.dashboard-mock aside span {
  border-radius: 8px;
  padding: 10px 12px;
}

.dashboard-mock aside span:first-of-type {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.dash-main {
  display: grid;
  align-content: start;
  gap: 16px;
  background: var(--white);
  padding: 26px;
}

.dash-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  color: var(--muted);
}

.dash-main article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.dash-main p {
  margin: 8px 0;
  color: var(--muted);
}

.dash-main article span {
  color: var(--green);
  font-weight: 800;
}

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

.pricing {
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
}

.price-card.highlighted {
  border-color: rgba(15, 93, 70, 0.28);
}

.muted-card {
  box-shadow: none;
  background: var(--panel);
}

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

.faq-grid article {
  padding: 24px;
}

.notice h2 {
  font-size: 24px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
}

.contact-card {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.contact-card a {
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer nav {
  gap: 18px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 18px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 24px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 25, 20, 0.94), rgba(8, 25, 20, 0.54));
  }

  .trust-strip,
  .metric-strip,
  .demo-flow,
  .steps,
  .feature-grid,
  .source-grid,
  .video-wrap,
  .split,
  .pricing,
  .contact,
  .plans,
  .dashboard-mock,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-mock aside {
    display: none;
  }

  .price-card,
  .contact-card {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: stretch;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

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

  .button,
  .nav-cta {
    width: 100%;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }

  .video-modal {
    padding: 8px;
  }

  .video-modal-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .video-modal-actions {
    justify-content: space-between;
  }

  .video-modal-actions button:not(.video-close) {
    flex: 1;
  }
}
