:root {
  color-scheme: light;
  --navy: #071a33;
  --navy-2: #0d2b52;
  --blue: #1d5fd1;
  --teal: #0f8f8c;
  --ink: #102033;
  --text: #43546a;
  --muted: #6d7a8c;
  --line: #d8e1ec;
  --soft: #f5f8fc;
  --soft-blue: #eef5ff;
  --paper: #ffffff;
  --shadow: 0 18px 55px rgba(7, 26, 51, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 225, 236, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px;
  border-radius: 10px;
  background: var(--navy);
}

.brand-mark span {
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
}

.brand-mark span:nth-child(2) {
  width: 72%;
  background: #86d6d3;
}

.brand-mark span:nth-child(3) {
  width: 48%;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.text-link {
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
}

.header-cta,
.button.primary {
  background: var(--navy);
  color: #ffffff;
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 7.5vw, 88px) 24px 56px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 710px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 760px;
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero-text {
  max-width: 650px;
  margin-top: 22px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 650;
  line-height: 1.45;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  transform: rotate(-45deg);
}

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

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  grid-template-areas:
    "input arrow process"
    "output output output"
    "result result result";
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29, 95, 209, 0.05), transparent 44%),
    #ffffff;
  box-shadow: var(--shadow);
}

.hero-visual > p,
.visual-result {
  grid-area: result;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.visual-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.visual-label,
.preview-top span,
.demo-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-card h3 {
  margin: 0;
  font-size: 18px;
}

.input-card {
  grid-area: input;
  padding: 20px 18px;
}

.input-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.input-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.input-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.input-card strong {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.input-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.input-card b {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue);
  font-size: 11px;
}

.process-card {
  grid-area: process;
  gap: 10px;
}

.process-status {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 10px;
  background: #ffffff;
}

.process-status span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.process-status strong {
  color: var(--navy);
  font-size: 13px;
}

.visual-arrow {
  grid-area: arrow;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.output-card {
  grid-area: output;
  width: 100%;
  background: #ffffff;
}

.output-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.output-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(5, 122, 99, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.report-preview {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(3, 23, 54, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(29, 95, 209, 0.06), transparent 55%),
    #ffffff;
}

.report-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.report-total span,
.report-metrics span,
.report-check span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.report-total strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.report-metrics div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: var(--soft);
}

.report-metrics strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}

.report-check {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(5, 122, 99, 0.08);
}

.report-check strong {
  color: var(--teal);
  font-size: 15px;
  line-height: 1.25;
}

.mini-table,
.preview-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.mini-table {
  grid-template-columns: 1fr 0.7fr 1.05fr 1.05fr;
}

.mini-table div,
.preview-table div {
  min-width: 0;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mini-table div:nth-child(-n + 4),
.preview-table div:nth-child(-n + 4) {
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-compact {
  padding-top: 38px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

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

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 14px;
  color: var(--text);
  line-height: 1.65;
}

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

.problem-grid article {
  display: grid;
  gap: 13px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.line-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #bdd3f7;
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.problem-grid p,
.demo-cards p,
.package-card p,
.timeline p,
.trust-panel p,
.faq-list p,
.contact-copy p,
.site-footer span {
  color: var(--text);
  line-height: 1.6;
}

.demo-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 18px;
}

.demo-preview {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.preview-top strong {
  color: var(--navy);
  font-size: 20px;
}

.preview-table {
  grid-template-columns: 0.8fr 1.2fr 0.7fr 1fr;
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-cards article,
.package-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.demo-cards article {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.demo-cards dl {
  display: grid;
  gap: 10px;
}

.demo-cards dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.demo-cards dt {
  color: var(--navy);
  font-weight: 900;
}

.demo-cards dd {
  color: var(--text);
  line-height: 1.5;
}

.text-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.packages-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: #ffffff;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}

.package-card.highlighted {
  border-color: #9bbdf6;
  box-shadow: 0 0 0 1px #9bbdf6;
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.price {
  color: var(--navy) !important;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0;
}

.package-card ul {
  display: grid;
  gap: 9px;
  padding-left: 19px;
  color: var(--text);
  line-height: 1.5;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: calc(100% - 10px);
  background: var(--line);
}

.timeline span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.timeline div {
  display: grid;
  gap: 6px;
}

.trust-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.trust-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  background: var(--soft-blue);
}

.trust-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0;
}

.trust-icon::before {
  content: "";
  width: 24px;
  height: 18px;
  border: 3px solid #ffffff;
  border-top: 0;
  border-radius: 4px;
}

.trust-panel p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 10px;
}

.trust-panel ul {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-left: 19px;
  color: var(--text);
  line-height: 1.5;
}

.faq-section {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  padding: 0 22px 22px;
}

.contact-section {
  max-width: none;
  padding: 62px max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: var(--navy);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.92fr);
  gap: 42px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: #ffffff;
}

.contact-copy {
  align-self: start;
}

.contact-copy p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 17px;
}

.response-note {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--navy) !important;
  font-weight: 900;
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

label span {
  color: var(--muted);
  font-weight: 650;
}

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

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.14);
  outline: none;
}

.intake-form button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 72px);
  background: #061527;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--soft);
}

.thanks-card {
  width: min(100%, 720px);
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.thanks-brand {
  margin-bottom: 10px;
}

.thanks-card h1 {
  font-size: clamp(36px, 5vw, 56px);
  overflow-wrap: anywhere;
}

.thanks-card p:not(.eyebrow) {
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.thanks-card .button {
  width: fit-content;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .demo-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .contact-card {
    max-width: 760px;
  }

  .problem-grid,
  .package-grid,
  .timeline,
  .demo-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand-copy small,
  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .hero {
    padding: 36px 18px 42px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  h2 {
    font-size: 30px;
  }

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

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

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "input"
      "arrow"
      "process"
      "output"
      "result";
    padding: 18px;
  }

  .visual-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .visual-card {
    min-height: auto;
    padding: 18px;
  }

  .output-heading {
    align-items: flex-start;
  }

  .report-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-total strong {
    font-size: 22px;
  }

  .mini-table {
    grid-template-columns: 1fr 0.58fr 0.98fr 0.95fr;
  }

  .mini-table div {
    padding: 9px 8px;
    font-size: 11px;
  }

  .section,
  .demo-section,
  .packages-section,
  .trust-section,
  .contact-section {
    padding: 44px 18px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .problem-grid,
  .package-grid,
  .timeline,
  .demo-cards,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .demo-preview {
    padding: 16px;
  }

  .preview-top {
    display: grid;
  }

  .preview-table {
    grid-template-columns: 1fr 1fr;
  }

  .preview-table div:nth-child(-n + 4) {
    display: none;
  }

  .demo-cards dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .badge {
    position: static;
    width: fit-content;
    transform: none;
  }

  .timeline {
    gap: 20px;
  }

  .timeline li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 0;
  }

  .timeline li::after {
    display: none;
  }

  .timeline span {
    grid-row: span 2;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-card {
    padding: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 18px;
  }

  .thanks-page {
    padding: 18px;
  }

  .thanks-card {
    padding: 28px;
  }

  .thanks-card h1 {
    font-size: 34px;
  }

  .thanks-card .button {
    width: 100%;
  }
}
