:root {
  --ink: #08111f;
  --ink-soft: #203047;
  --navy: #0b1728;
  --navy-2: #11182b;
  --panel: #101c31;
  --line: #d9e2ef;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #ffffff;
  --mist: #f5f8fc;
  --mist-2: #edf4fb;
  --cyan: #19d8ff;
  --blue: #3677f5;
  --purple: #8b5cf6;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 18px 55px rgba(8, 17, 31, 0.14);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

p,
li,
td,
th,
dd,
label,
input,
textarea,
button {
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(8, 17, 31, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.nav-shell,
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), #fff 55%, var(--purple));
  border-radius: 8px;
  font-weight: 900;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a,
.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus,
.footer a:hover,
.footer a:focus {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.site-main {
  padding-top: var(--header-height);
}

.hero {
  display: grid;
  min-height: calc(100svh - 112px);
  align-items: center;
  padding: 58px 0 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.98), rgba(14, 38, 68, 0.98) 58%, rgba(32, 20, 65, 0.96)),
    var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

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

h1 {
  margin-bottom: 18px;
  font-size: 3.4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 5rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.75rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.28;
}

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

.hero-copy .lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions,
.section-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  background: #245fe0;
}

.btn.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: rgba(255, 255, 255, 0.14);
}

.btn.ghost {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: var(--mist);
}

.btn.full {
  width: 100%;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-list span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
}

.pill.dark {
  color: var(--ink);
  background: var(--mist-2);
  border-color: var(--line);
}

.hero-mockup,
.dashboard-mockup,
.review-screen,
.contact-card,
.feature-card,
.step-card,
.info-card,
.policy-block,
.tech-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-mockup {
  overflow: hidden;
  color: var(--ink);
  background: #f9fbff;
  border-color: rgba(255, 255, 255, 0.24);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  color: #fff;
  background: #101827;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.window-dots span:nth-child(2) {
  background: var(--amber);
}

.window-dots span:nth-child(3) {
  background: var(--green);
}

.mockup-title {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
}

.mockup-body {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 16px;
  padding: 18px;
}

.mockup-sidebar {
  display: grid;
  gap: 10px;
}

.sidebar-item {
  padding: 10px;
  color: var(--ink-soft);
  background: #edf4fb;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 750;
}

.sidebar-item.active {
  color: #fff;
  background: var(--blue);
}

.mockup-main {
  display: grid;
  gap: 12px;
}

.upload-box {
  min-height: 118px;
  padding: 16px;
  background: #fff;
  border: 1px dashed #9fb5cf;
  border-radius: var(--radius);
}

.upload-box strong {
  display: block;
  margin-bottom: 4px;
}

.progress-bar {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  background: #d8e3f0;
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.mockup-field {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.status-chip {
  padding: 9px 8px;
  text-align: center;
  background: #eef5fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 850;
}

.status-chip.ready {
  color: #064e3b;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.status-chip.published {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.section {
  padding: 78px 0;
}

.section.tight {
  padding: 54px 0;
}

.section.mist {
  background: var(--mist);
}

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

.section-header {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section.dark .lead,
.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.78);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.overview-list,
.check-list,
.policy-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.overview-list li,
.check-list li,
.policy-list li {
  position: relative;
  padding-left: 28px;
}

.overview-list li::before,
.check-list li::before,
.policy-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  content: "✓";
}

.metric-grid,
.feature-grid,
.demo-grid,
.contact-grid,
.tech-grid,
.facts-grid {
  display: grid;
  gap: 16px;
}

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

.metric {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 1.65rem;
  line-height: 1;
}

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

.feature-card,
.step-card,
.info-card,
.policy-block,
.tech-card,
.contact-card {
  padding: 22px;
}

.feature-card {
  min-height: 180px;
}

.card-kicker,
.mini-label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p,
.step-card p,
.info-card p,
.tech-card p,
.policy-block p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.callout {
  margin-top: 24px;
  padding: 18px 20px;
  color: #0f3f2b;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.data-table th {
  color: #fff;
  background: var(--navy-2);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

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

.review-screen {
  overflow: hidden;
  background: var(--paper);
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #fff;
  background: var(--navy-2);
}

.screen-body {
  display: grid;
  min-height: 210px;
  gap: 12px;
  padding: 16px;
}

.ui-line {
  height: 12px;
  background: #dce7f3;
  border-radius: 999px;
}

.ui-line.short {
  width: 58%;
}

.ui-line.accent {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.ui-box {
  min-height: 68px;
  background: #eef5fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ui-box.video {
  display: grid;
  min-height: 118px;
  place-items: center;
  color: var(--ink-soft);
  background: repeating-linear-gradient(135deg, #e8f1fa 0 12px, #f8fbff 12px 24px);
  font-weight: 850;
}

.notice {
  padding: 16px 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  color: #7c2d12;
}

.notice[data-state="active"] {
  outline: 2px solid rgba(245, 158, 11, 0.28);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 28px;
  align-items: start;
}

.dark-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.dark-panel .pill {
  margin: 4px;
}

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

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-row dt {
  color: var(--ink-soft);
  font-weight: 750;
}

.fact-row dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.page-hero {
  padding: 74px 0 52px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.99), rgba(12, 36, 64, 0.98) 60%, rgba(28, 22, 58, 0.96)),
    var(--navy);
}

.page-hero .lead {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #fff;
  font-weight: 800;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.policy-block + .policy-block,
.tech-card + .tech-card {
  margin-top: 16px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--ink-soft);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bccadd;
  border-radius: var(--radius);
  font: inherit;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(54, 119, 245, 0.16);
}

.field-error {
  min-height: 18px;
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-status {
  min-height: 22px;
  color: #166534;
  font-weight: 800;
}

.company-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}

.company-list dt {
  color: var(--ink-soft);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
}

.dashboard-mockup {
  overflow: hidden;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  min-height: 520px;
}

.dash-side {
  padding: 18px;
  color: #fff;
  background: var(--navy-2);
}

.dash-side nav {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.dash-side a {
  padding: 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  font-weight: 750;
}

.dash-side a.active {
  color: #fff;
  background: var(--blue);
}

.dash-main,
.dash-preview {
  padding: 20px;
  background: #f8fbff;
}

.dash-main {
  border-right: 1px solid var(--line);
}

.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dash-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dash-input {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: #f1f6fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.phone-preview {
  width: min(100%, 220px);
  margin: 0 auto;
  padding: 10px;
  background: #111827;
  border-radius: 24px;
}

.phone-screen {
  display: grid;
  min-height: 380px;
  align-content: end;
  gap: 10px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(180deg, #253247, #0f172a);
  border-radius: 18px;
}

.video-frame {
  display: grid;
  min-height: 250px;
  place-items: center;
  background: repeating-linear-gradient(135deg, #263449 0 16px, #1b2638 16px 32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-weight: 850;
}

.reviewer-notes {
  margin-top: 24px;
  padding: 20px;
  color: #072a36;
  background: #dff8ff;
  border: 1px solid #a5edff;
  border-radius: var(--radius);
}

.footer {
  color: #fff;
  background: #060b14;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.6fr));
  gap: 28px;
  padding: 46px 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
}

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

.footer h2,
.footer h3 {
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

@media (max-width: 1050px) {
  .nav-panel {
    gap: 10px;
  }

  .nav-links {
    gap: 9px;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

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

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

  .dashboard-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dash-preview {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .nav-shell,
  .container {
    width: min(100% - 28px, 1160px);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: rgba(8, 17, 31, 0.98);
    border-bottom: 1px solid var(--line-dark);
  }

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

  .nav-links {
    display: grid;
    gap: 2px;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-panel .btn {
    width: 100%;
  }

  .hero-grid,
  .two-column,
  .security-grid,
  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 34px;
  }

  h1,
  .hero h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-mockup {
    max-width: 640px;
  }

  .toc {
    position: static;
  }

  .facts-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section {
    padding: 56px 0;
  }

  .hero-actions,
  .section-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .mockup-body,
  .feature-grid,
  .timeline,
  .demo-grid,
  .tech-grid,
  .footer-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    min-height: 0;
  }

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

  .dash-row,
  .company-list div {
    grid-template-columns: 1fr;
  }

  .fact-row {
    display: grid;
  }

  .fact-row dd {
    text-align: left;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
