:root {
  color-scheme: dark;
  --bg: #070b13;
  --bg-soft: #0d1320;
  --panel: #111827;
  --panel-2: #151f2e;
  --ink: #f7f7fb;
  --muted: #a8b1c0;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #1d4ed8;
  --accent-soft: rgba(29, 78, 216, 0.18);
  --accent-2: #38bdf8;
  --blue: #4f8cff;
  --warning: #93c5fd;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.26);
  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;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(56, 189, 248, 0.22), transparent 34%),
    radial-gradient(circle at 10% 12%, rgba(29, 78, 216, 0.28), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(14, 165, 233, 0.16), transparent 32%),
    linear-gradient(180deg, #070b13 0%, #0a101b 42%, #080c14 100%);
}

::selection {
  color: var(--white);
  background: var(--accent);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 8px clamp(18px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 22%, rgba(255, 255, 255, 0.08) 78%, transparent),
    linear-gradient(90deg, rgba(23, 37, 84, 0.92), rgba(29, 78, 216, 0.94), rgba(2, 132, 199, 0.92));
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.header-line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  font-weight: 950;
}

.brand-logo {
  padding: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d6dbe4;
  font-size: 0.92rem;
  font-weight: 750;
}

nav a {
  position: relative;
  padding: 10px 0;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .btn {
  justify-self: end;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  transition: 180ms ease;
}

.btn-primary {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, #2563eb, #0284c7);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.34);
}

.btn-primary::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-80%);
  transition: 240ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.44);
}

.btn-primary:hover::after {
  opacity: 1;
  transform: translateX(80%);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-large {
  min-height: 64px;
  padding: 0 34px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 52px);
  display: grid;
  align-items: start;
  padding: clamp(36px, 5.5vw, 68px) clamp(18px, 6vw, 96px) 48px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: radial-gradient(circle at 50% 16%, black, transparent 64%);
  opacity: 0.7;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 10%;
  bottom: 12%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.14);
  filter: blur(70px);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.pill,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.42);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

h1 {
  max-width: 980px;
  margin: 18px 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 em {
  color: #7dd3fc;
  font-style: normal;
  text-shadow: 0 0 34px rgba(56, 189, 248, 0.34);
}

.hero p {
  max-width: 900px;
  margin: 0 0 22px;
  color: #c9d1dc;
  font-size: clamp(0.94rem, 1.08vw, 1rem);
  line-height: 1.55;
}

.hero-note {
  margin-top: 0;
  color: #dbeafe;
}

.hero-video {
  width: min(860px, 100%);
  margin: -8px auto 24px;
  padding: 10px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 18, 38, 0.76);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #020617;
  object-fit: cover;
}

.hero-proof {
  width: fit-content;
  margin: 0 0 30px;
  padding: 11px 18px;
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(8, 18, 38, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
  font-weight: 850;
}

.hero-microcopy {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-link {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 2px;
  color: #dce4ef;
  font-weight: 850;
}

.hero-link:hover {
  color: var(--accent-2);
}

.stat-row,
.metric-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(920px, 100%);
  margin: 30px auto 0;
}

.stat {
  min-height: 108px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-soft);
  transition: 180ms ease;
}

.stat:hover,
.info-card:hover,
.engine-card:hover,
.case-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.stat strong {
  display: block;
  color: #e0f2fe;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.conversion-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin-top: 8px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 16px;
  background: rgba(147, 197, 253, 0.14);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.conversion-rail article {
  min-height: 118px;
  padding: 22px;
  background: rgba(7, 11, 19, 0.72);
  text-align: left;
}

.conversion-rail span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 950;
}

.conversion-rail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.conversion-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.trusted-section {
  padding: 36px clamp(18px, 7vw, 108px) 54px;
  background:
    linear-gradient(180deg, rgba(7, 11, 19, 0.4), rgba(11, 17, 29, 0.98)),
    #0b111d;
  overflow: hidden;
}

.trusted-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.trusted-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.logo-carousel {
  position: relative;
  width: min(1220px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-soft);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 18px;
  animation: logo-scroll 32s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-card {
  display: grid;
  width: 220px;
  height: 104px;
  flex: 0 0 auto;
  place-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.logo-card img {
  display: block;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section,
.authority,
.final-cta,
.footer {
  padding: clamp(70px, 8vw, 120px) clamp(18px, 7vw, 108px);
}

.section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 28%),
    #0b111d;
}

.section.contrast {
  background:
    radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.12), transparent 36%),
    #090e18;
}

.section-head {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head .kicker {
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p,
.split p,
.authority p,
.final-cta p,
.footer p,
.info-card p,
.engine-card p,
.case-card p,
.stack-list p,
details p {
  color: var(--muted);
  line-height: 1.65;
}

.symptom-grid,
.engine-grid,
.case-grid,
.diagnostic-grid,
.three-grid,
.fit-grid {
  display: grid;
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

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

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

.info-card,
.engine-card,
.case-card,
.stack-list article,
.fit-column,
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(9, 14, 24, 0.74);
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

.info-card,
.engine-card,
.case-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
}

.info-card::before,
.engine-card::before,
.case-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  content: "";
  opacity: 0.68;
}

.info-card > span,
.engine-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 10px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.34), rgba(56, 189, 248, 0.16));
  font-weight: 900;
}

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

.warning-band {
  width: min(980px, 100%);
  margin: 28px auto 0;
  padding: 24px;
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 14px;
  color: #dbeafe;
  background:
    linear-gradient(90deg, rgba(29, 78, 216, 0.16), rgba(255, 255, 255, 0.035));
  text-align: center;
  box-shadow: var(--shadow-soft);
  font-weight: 850;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.engine-card {
  min-height: 250px;
}

.case-card strong {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: 1.65rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list article {
  min-height: 120px;
  padding: 20px;
}

.authority {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.16), transparent 34%),
    linear-gradient(135deg, #111827, #070b13);
}

.authority > div:first-child {
  max-width: 640px;
}

.authority-stack {
  display: grid;
  gap: 16px;
}

.authority-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.authority-photo {
  display: grid;
  width: min(340px, 100%);
  height: 420px;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.34), rgba(56, 189, 248, 0.18)),
    #0f1623;
  overflow: hidden;
}

.authority-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.authority-photo span {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 950;
}

.authority-profile strong,
.authority-profile small {
  display: block;
}

.authority-profile small {
  margin-top: 4px;
  color: var(--accent-2);
  font-weight: 850;
  text-transform: uppercase;
}

.authority-profile p {
  margin: 12px 0 0;
  color: #d6dbe4;
  line-height: 1.55;
}

.metric-wall {
  width: 100%;
  margin: 0;
}

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

.fit-column {
  padding: 24px;
}

.fit-column ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fit-column li {
  position: relative;
  padding-left: 30px;
  color: #d6dbe4;
  line-height: 1.5;
}

.fit-column li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.fit-column.yes li::before {
  content: "+";
  color: var(--accent-2);
}

.fit-column.no li::before {
  content: "x";
  color: var(--accent);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(960px, 100%);
  margin: 0 auto;
}

details {
  padding: 0 20px;
}

summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin-bottom: 20px;
}

.final-cta {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(56, 189, 248, 0.18), transparent 34%),
    linear-gradient(rgba(7, 11, 19, 0.82), rgba(7, 11, 19, 0.95)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
}

.final-cta h2 {
  max-width: 900px;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 28px;
}

.final-cta small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #080d16, #050812);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 54px;
  height: 54px;
}

.footer a,
.footer button {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

.mobile-sticky-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 40;
  display: none;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, #2563eb, #0284c7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  font-weight: 900;
}

.thanks-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 18px;
  overflow: hidden;
}

.thanks-page::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: radial-gradient(circle at 50% 22%, black, transparent 68%);
  pointer-events: none;
}

.thanks-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.thanks-brand strong,
.thanks-brand small {
  display: block;
  text-align: left;
}

.thanks-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.thanks-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(29, 78, 216, 0.16);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.thanks-card h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.thanks-card > p {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.thanks-video {
  width: min(760px, 100%);
  margin: 0 0 32px;
  padding: 8px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(7, 11, 19, 0.52);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.thanks-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #020617;
  object-fit: cover;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0 0 32px;
}

.thanks-steps article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 11, 19, 0.42);
  text-align: left;
}

.thanks-steps span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 950;
}

.thanks-steps strong {
  display: block;
  margin-bottom: 8px;
}

.thanks-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 30%),
    #0f1623;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.56);
}

dialog:has(.schedule-form) {
  width: min(1040px, calc(100vw - 28px));
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.lead-form,
.editor-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  padding-right: 42px;
}

.step-tabs button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.step-tabs button span {
  margin-right: 6px;
}

.step-tabs button.active {
  color: var(--ink);
  border-color: rgba(56, 189, 248, 0.46);
  background: rgba(37, 99, 235, 0.22);
}

.step-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.step-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-form h2,
.editor-form h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
}

.lead-form p,
.editor-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.choice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  transition: 160ms ease;
}

.choice-card:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.62);
  background: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 34px rgba(29, 78, 216, 0.18);
}

.choice-card:hover {
  border-color: rgba(147, 197, 253, 0.34);
  transform: translateY(-1px);
}

.choice-card input {
  accent-color: var(--accent);
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  color: #d6dbe4;
  font-weight: 800;
}

.field-grid input,
.editor-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.field-grid input {
  height: 48px;
  padding: 0 14px;
}

.calendar-embed {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

.editor-form textarea {
  min-height: 420px;
  padding: 14px;
  resize: vertical;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(520px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #1b2534;
  opacity: 0;
  transform: translate(-50%, 10px);
  overflow: hidden;
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  nav {
    display: none;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .symptom-grid,
  .engine-grid,
  .conversion-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: 46px;
    padding: 8px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-video {
    margin: -8px auto 22px;
    padding: 6px;
    border-radius: 12px;
  }

  .hero-video video {
    border-radius: 8px;
  }

  h1 {
    margin: 16px 0 12px;
    font-size: clamp(1.55rem, 6.6vw, 2.12rem);
    line-height: 1.08;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-link {
    min-height: 44px;
    display: grid;
    place-items: center;
  }

  .stat-row,
  .conversion-rail,
  .metric-wall,
  .symptom-grid,
  .engine-grid,
  .three-grid,
  .case-grid,
  .diagnostic-grid,
  .fit-grid,
  .split,
  .authority,
  .footer {
    grid-template-columns: 1fr;
  }

  .conversion-rail article {
    min-height: auto;
    text-align: center;
  }

  .trusted-section {
    padding-top: 28px;
  }

  .logo-track {
    gap: 12px;
    animation-duration: 24s;
  }

  .logo-card {
    width: 180px;
    height: 88px;
    padding: 14px 18px;
  }

  .authority-profile {
    grid-template-columns: 1fr;
  }

  .authority-photo {
    width: 100%;
    max-width: 180px;
    height: 180px;
  }

  dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .lead-form,
  .editor-form {
    gap: 12px;
    padding: 18px 14px 16px;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .step-tabs {
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    gap: 5px;
    padding-right: 38px;
  }

  .step-tabs button {
    min-height: 34px;
    padding: 0;
    font-size: 0;
  }

  .step-tabs button span {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    margin: 0;
    border-radius: 50%;
    font-size: 0.76rem;
  }

  .step-tabs button.active span {
    color: var(--white);
    background: var(--accent);
  }

  .step-meta {
    font-size: 0.72rem;
  }

  .lead-form h2,
  .editor-form h2 {
    font-size: clamp(1.28rem, 6vw, 1.72rem);
    line-height: 1.1;
  }

  .lead-form p,
  .editor-form p {
    font-size: 0.92rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .choice-card {
    min-height: 50px;
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  .field-grid {
    gap: 10px;
  }

  .field-grid input {
    height: 44px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .btn,
  .form-actions a.btn {
    width: 100%;
    min-height: 46px;
  }

  .btn-large {
    width: 100%;
    min-height: 58px;
    padding: 10px 18px;
  }

  .calendar-embed,
  .calendar-embed iframe {
    height: 560px;
    min-height: 560px;
  }

  .thanks-card {
    padding: 24px 16px;
  }

  .thanks-brand .brand-mark {
    width: 54px;
    height: 54px;
  }

  .thanks-card h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .thanks-video {
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 12px;
  }

  .thanks-video video {
    border-radius: 8px;
  }

  .thanks-steps {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    display: block;
  }
}
