:root {
  --red: #b31d22;
  --red-deep: #8a1519;
  --red-soft: #d94a4e;
  --black: #0a0a0a;
  --ink: #111111;
  --charcoal: #161616;
  --steel: #242424;
  --silver: #c5c5c5;
  --muted: #8d8d8d;
  --line: #2c2c2c;
  --mist: #ececec;
  --paper: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 4px;
  --max: 1160px;
  --header: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #222;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-deep);
}

h1,
h2,
h3,
h4 {
  font-family: Outfit, "Segoe UI", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 650;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e6e6;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 28px;
  padding: 12px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.drop-btn {
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
  padding: 10px 12px;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav a:hover,
.drop-btn:hover,
.site-nav a.active,
.dropdown-menu a.active {
  color: var(--red);
}

.dropdown {
  position: relative;
  padding-bottom: 0;
}

.drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drop-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
}

.drop-btn.active {
  color: var(--red);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 300px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: var(--shadow);
  padding: 8px 0 10px;
  display: none;
  z-index: 60;
}

.menu-label {
  margin: 12px 18px 4px;
  font-family: Outfit, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  padding: 10px 18px;
  color: #333;
}

.dropdown-menu a span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Outfit, sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  padding: 13px 22px;
  border-radius: var(--radius);
  transition: 0.18s ease;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--red);
  color: #fff;
}

.btn-nav {
  background: var(--red);
  color: #fff !important;
  margin-left: 8px;
}

.btn-nav:hover {
  background: var(--red-deep);
  color: #fff !important;
}

.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(179, 29, 34, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 29, 34, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 20% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(179, 29, 34, 0.35), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}

.hero p.lede {
  color: var(--silver);
  font-size: 1.15rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border: 1px solid #2f2f2f;
  padding: 28px;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.hero-panel h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--silver);
}

.hero-panel li {
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  gap: 10px;
}

.hero-panel li:last-child {
  border-bottom: 0;
}

.hero-panel strong {
  color: #fff;
}

.tick {
  color: var(--red-soft);
  font-weight: 700;
}

.trust {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #222;
  border-bottom: 4px solid var(--red);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  padding: 22px 18px;
  border-right: 1px solid #2a2a2a;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-family: Outfit, sans-serif;
  margin-bottom: 6px;
}

.trust-item strong {
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.section {
  padding: 84px 0;
}

.section-dark {
  background: var(--charcoal);
  color: #ddd;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.kicker {
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid #e7e7e7;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card.featured {
  border-color: var(--red);
  box-shadow: 0 12px 36px rgba(179, 29, 34, 0.12);
}

.price {
  font-family: Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 4px;
}

.price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.card ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: #444;
  flex: 1;
}

.card li {
  margin: 0 0 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: #d0d0d0;
  box-shadow: var(--shadow);
}

.service-num {
  font-family: Outfit, sans-serif;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.why-grid,
.process,
.two-col {
  display: grid;
  gap: 22px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process {
  grid-template-columns: repeat(3, 1fr);
}

.two-col {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.step,
.why {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 26px;
}

.section-dark .step,
.section-dark .why {
  background: #1b1b1b;
  border-color: #2c2c2c;
}

.step-num {
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

.audit {
  background: linear-gradient(135deg, #140f0f, #1c1212 45%, #120c0c);
  color: #fff;
  border: 1px solid #3a1f1f;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.audit h2,
.audit p {
  color: #fff;
}

.audit p {
  color: #d7d7d7;
  max-width: 720px;
}

.page-hero {
  background: var(--black);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: var(--silver);
  max-width: 680px;
  font-size: 1.12rem;
}

.crumbs {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 16px;
}

.crumbs a {
  color: #bbb;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  background: var(--red);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  display: block;
  overflow-x: auto;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}

.pricing-table th {
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.note {
  font-size: 0.95rem;
  color: #555;
  background: #fff;
  border-left: 4px solid var(--red);
  padding: 16px 18px;
}

.form {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 28px;
}

label {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #333;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 12px 12px;
  border: 1px solid #d8d8d8;
  background: #fff;
  margin-bottom: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-success {
  display: none;
  background: #111;
  color: #fff;
  padding: 18px;
  margin-bottom: 16px;
}

.form-success.show {
  display: block;
}

.site-footer {
  background: var(--black);
  color: #aaa;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: #ccc;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.footer-logo {
  height: 68px;
  margin-bottom: 12px;
  background: #fff;
  padding: 8px 12px;
  width: fit-content;
}

.legal {
  border-top: 1px solid #222;
  padding-top: 18px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pronounce {
  color: #888;
  font-size: 0.9rem;
}

.checklist {
  columns: 2;
  gap: 24px;
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin: 0 0 10px;
  break-inside: avoid;
}

@media (max-width: 980px) {
  .hero-grid,
  .packages,
  .trust-grid,
  .why-grid,
  .process,
  .two-col,
  .services-grid,
  .audit,
  .footer-grid,
  .form-row,
  .demo-split,
  .ba {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #eee;
  }

  .site-nav.open {
    display: flex;
  }

  .drop-btn {
    display: inline-flex;
    text-align: left;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    min-width: 0;
    display: none;
    padding: 0 0 8px 12px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .checklist {
    columns: 1;
  }

  .header-inner {
    gap: 12px;
    padding: 10px 0;
  }

  .logo {
    width: min(78vw, 280px);
  }

  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  body {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(2.15rem, 8.5vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 2.05rem);
  }

  .btn,
  .btn-nav {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-panel {
    padding: 22px;
  }

  .hero::after {
    width: 240px;
    height: 240px;
  }

  .site-nav a,
  .drop-btn {
    font-size: 1rem;
    padding: 14px 12px;
  }

  .btn-nav {
    margin: 8px 0 0;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .page-hero {
    padding: 44px 0;
  }

  .audit {
    padding: 22px;
  }

  .logo {
    width: min(82vw, 300px);
  }

  .card,
  .service-card,
  .step,
  .why {
    padding: 22px 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .demo-split {
    grid-template-columns: 1fr;
  }

  .device-stage {
    display: none;
  }

  .demo-mobile-cta {
    display: block;
  }

  .switch {
    display: none;
  }
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.demo-split.is-web {
  grid-template-columns: 1fr min(460px, 42%);
}

.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.ba div {
  border: 1px solid #e8e8e8;
  padding: 12px 14px;
  background: #fff;
}

.ba strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ba .after strong {
  color: var(--red);
}

.roi {
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.roi span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  font-family: "Source Sans 3", sans-serif;
}

.switch {
  display: inline-flex;
  border: 1px solid #ddd;
  margin: 14px 0 18px;
}

.switch button {
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.switch button.on {
  background: var(--ink);
  color: #fff;
}

.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.phone {
  width: 300px;
  height: 620px;
  background: #0b0b0b;
  border-radius: 36px;
  padding: 12px 10px 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  background: #050505;
  border-radius: 14px;
  z-index: 2;
}

.phone::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 108px;
  height: 4px;
  transform: translateX(-50%);
  background: #2a2a2a;
  border-radius: 4px;
  z-index: 2;
}

.phone iframe,
.phone .loop {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 26px;
  background: #fff;
}

.phone.is-web {
  width: min(100%, 420px);
  height: 680px;
  border-radius: 16px;
  padding: 0;
}

.phone.is-web::before,
.phone.is-web::after {
  display: none;
}

.phone.is-web iframe {
  border-radius: 16px;
}

.loop {
  color: #111;
  padding: 48px 16px 16px;
  font-size: 0.88rem;
  overflow: hidden;
}

.loop-screen {
  animation: loopplay 8s infinite;
}

@keyframes loopplay {
  0%, 28% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; }
}

.loop .s2 { animation-delay: 2.6s; }
.loop .s3 { animation-delay: 5.2s; }
.loop-screen {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 48px;
}

.phone .loop {
  position: relative;
}

.demo-mobile-cta {
  display: none;
}
