* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #1A1A1A; font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.55; }

/* ---------- TOP NAV ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #F0F0F0;
  transition: box-shadow .2s;
}
.topnav.is-scrolled { box-shadow: 0 2px 12px rgba(26,26,26,.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.brand img { height: 56px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 26px; align-items: center;
  margin-left: auto; margin-right: 20px;
}
.nav-links a {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  color: #1A1A1A; text-decoration: none;
  transition: color .18s;
}
.nav-links a:hover { color: #FF6340; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-menu {
  display: none; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 4px;
  color: #1A1A1A;
}

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: all .18s cubic-bezier(.22,.61,.36,1);
}
.btn-primary { background: #FF6340; color: #fff; border-color: #FF6340; }
.btn-primary:hover { background: #E8542F; border-color: #E8542F; color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: #1A1A1A; border-color: #1A1A1A; }
.btn-secondary:hover { background: #1A1A1A; color: #fff; }

/* Ghost button — outlined "Get a Quote" style */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid #FF5F3C;
  color: #FF5F3C;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: normal;
  text-transform: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover {
  background: #FF5F3C;
  color: #fff;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
section { padding: 112px 0; }
section + section { border-top: 1px solid #F6F6F6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: #1A1A1A; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: #1A1A1A; }

/* ==================== HERO ==================== */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.hero h1 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(52px, 6.2vw, 96px); line-height: .92; letter-spacing: .003em;
  margin: 14px 0 24px; color: #1A1A1A;
}
.hero h1 em { font-style: normal; color: #FF6340; }
.hero .lede { font-size: 19px; line-height: 1.5; color: #808080; max-width: 520px; margin: 0 0 36px; }
.trust-row {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  padding-top: 28px; border-top: 2px solid #1A1A1A; margin-top: 40px;
}
.trust-row .bit {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: #808080;
}
.trust-row .bit b {
  color: #1A1A1A; font-weight: 500; display: block;
  font-size: 22px; letter-spacing: .01em; margin-bottom: 4px;
}

/* ==================== CHAT WIDGET ==================== */
.chat-frame {
  position: relative; border: 4px solid #1A1A1A; background: #fff;
  display: flex; flex-direction: column;
  height: 560px; max-height: 560px;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255,99,64,.08),
    0 0 40px 10px rgba(255,99,64,.18),
    0 0 90px 20px rgba(255,99,64,.14),
    0 4px 16px rgba(26,26,26,.05);
  overflow: hidden;
}
.chat-frame > * { position: relative; }
.chat-frame > .chat-head { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.chat-frame > .chat-foot { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }

.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 2px solid #1A1A1A;
  flex-shrink: 0;
}
.chat-head .title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Oswald', sans-serif; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: #1A1A1A;
}
.status-dot {
  width: 8px; height: 8px; background: #33EBC6; border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.status-dot.connecting { background: #FFB340; animation: none; }
.status-dot.error { background: #FF4040; animation: none; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(51,235,198,.55); }
  50%      { box-shadow: 0 0 0 6px rgba(51,235,198,0); }
}

.chat-mode {
  display: inline-flex; border: 1px solid #1A1A1A; border-radius: 4px; overflow: hidden;
}
.chat-mode button {
  background: transparent; border: 0; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 12px; color: #1A1A1A; transition: all .18s;
}
.chat-mode button.on { background: #1A1A1A; color: #fff; }

/* Voice stage */
.voice-stage {
  flex: 1; display: none; flex-direction: column; align-items: center;
  justify-content: center; padding: 32px 24px 24px; gap: 24px; text-align: center;
}
.chat-frame[data-mode="voice"] .voice-stage { display: flex; }
.chat-frame[data-mode="voice"] .msg-stage,
.chat-frame[data-mode="voice"] .composer { display: none; }

.orb {
  --size: 180px;
  position: relative; width: var(--size); height: var(--size); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1A1A1A 0%, #0a0a0a 70%);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.orb:hover { transform: scale(1.02); }
.orb::before, .orb::after {
  content: ''; position: absolute; inset: -14px;
  border: 2px solid #33EBC6; border-radius: 50%; opacity: 0;
}
.chat-frame[data-voice="on"] .orb::before { animation: ring 2.4s ease-out infinite; }
.chat-frame[data-voice="on"] .orb::after  { animation: ring 2.4s ease-out 1.2s infinite; }
@keyframes ring {
  0%  { opacity: .6; transform: scale(.9); }
  100%{ opacity: 0;  transform: scale(1.35); }
}
.orb .mic { width: 46px; height: 46px; color: #fff; }
.chat-frame[data-voice="on"] .orb {
  background: radial-gradient(circle at 35% 35%, #FF6340 0%, #B6351D 75%);
}

.waveform { display: flex; gap: 4px; align-items: center; height: 28px; }
.waveform span {
  display: block; width: 3px; background: #1A1A1A; border-radius: 2px;
  animation: bar 1s ease-in-out infinite;
}
.chat-frame[data-voice="off"] .waveform span { animation-play-state: paused; height: 4px !important; }
.waveform span:nth-child(1){height:8px; animation-delay:-.1s;}
.waveform span:nth-child(2){height:18px; animation-delay:-.3s;}
.waveform span:nth-child(3){height:26px; animation-delay:-.5s;}
.waveform span:nth-child(4){height:22px; animation-delay:-.7s;}
.waveform span:nth-child(5){height:14px; animation-delay:-.2s;}
.waveform span:nth-child(6){height:20px; animation-delay:-.4s;}
.waveform span:nth-child(7){height:10px; animation-delay:-.6s;}
.waveform span:nth-child(8){height:16px; animation-delay:-.8s;}
.waveform span:nth-child(9){height:6px;  animation-delay:-.15s;}
@keyframes bar { 0%,100%{ transform: scaleY(.5); } 50%{ transform: scaleY(1.2); } }

.voice-status {
  font-family: 'Oswald', sans-serif; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: #808080;
}
.voice-tip { font-size: 13px; color: #808080; max-width: 320px; }

/* Text stage */
.msg-stage {
  flex: 1; overflow-y: auto; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 0;
}
.msg {
  max-width: 86%; font-size: 15px; line-height: 1.5;
  padding: 12px 16px; border-radius: 4px;
}
.msg.agent {
  background: #FAFAFA; color: #1A1A1A; align-self: flex-start;
  border-left: 2px solid #1A1A1A;
}
.msg.user { background: #1A1A1A; color: #fff; align-self: flex-end; }
.msg .who {
  font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; opacity: .7; margin-bottom: 6px; display: block;
}
.msg .accent { color: #FF6340; }

.typing { display: inline-flex; gap: 4px; }
.typing span {
  width: 6px; height: 6px; background: #1A1A1A; border-radius: 50%;
  animation: tdot 1.2s ease-in-out infinite;
}
.typing span:nth-child(2){animation-delay:.15s;}
.typing span:nth-child(3){animation-delay:.3s;}
@keyframes tdot {
  0%,60%,100%{ transform: translateY(0); opacity: .3; }
  30%        { transform: translateY(-4px); opacity: 1; }
}

.prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 14px; flex-shrink: 0; }
.prompt {
  font-family: 'Barlow', sans-serif; font-size: 13px; color: #1A1A1A;
  border: 1px solid #1A1A1A; background: #fff;
  padding: 7px 12px; border-radius: 4px; cursor: pointer; transition: all .18s;
}
.prompt:hover { background: #1A1A1A; color: #fff; }

.composer {
  display: flex; align-items: center; border-top: 2px solid #1A1A1A;
  flex-shrink: 0;
}
.composer input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: 'Barlow', sans-serif; font-size: 15px; color: #1A1A1A;
  padding: 18px 22px;
}
.composer input::placeholder { color: #808080; }
.composer .send {
  background: #FF6340; color: #fff; border: 0; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 18px 22px; transition: background .18s; white-space: nowrap;
}
.composer .send:hover { background: #E8542F; }
.composer .send:disabled { background: #808080; cursor: not-allowed; }

.chat-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px; border-top: 1px solid #E2E2E2;
  font-family: 'Oswald', sans-serif; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: #808080;
  flex-shrink: 0;
}
.chat-foot .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #33EBC6; margin-right: 8px; vertical-align: middle;
}

/* ==================== WISTIA VIDEO CARDS (in chat) ==================== */
.wistia-video-card {
  display: block;
  width: 260px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin: 10px 0 4px;
  background: #fff;
  border: 1px solid #E2E2E2;
  box-shadow: 0 2px 8px rgba(26,26,26,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.wistia-video-card:hover {
  box-shadow: 0 6px 20px rgba(26,26,26,.15);
  transform: translateY(-2px);
}

.wistia-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F0F0F0;
  overflow: hidden;
}

.wistia-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wistia-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: transform .2s ease, filter .2s ease;
}
.wistia-video-card:hover .wistia-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(1.15);
}

/* Card metadata below thumbnail */
.wistia-card-meta {
  padding: 10px 12px 12px;
}
.wistia-card-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
  color: #1A1A1A;
}
.wistia-card-client {
  font-size: 12px;
  color: #808080;
  margin-top: 2px;
}
.wistia-card-details {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
}
.wistia-card-price {
  color: #FF6340;
  font-weight: 500;
}
.wistia-card-sep {
  color: #ccc;
}
.wistia-card-duration {
  color: #808080;
}

/* Loading state for card placeholder */
.wistia-card-loading {
  padding: 14px 16px;
  font-size: 12px;
  color: #808080;
  background: #FAFAFA;
  border: 1px dashed #E2E2E2;
  border-radius: 8px;
  text-align: center;
}

/* Agent text line spacing */
.msg.agent .agent-line {
  margin: 0 0 6px;
}
.msg.agent .agent-line:last-child {
  margin-bottom: 0;
}

/* ==================== SECTION TITLE PATTERN ==================== */
.s-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 48px; margin-bottom: 48px; flex-wrap: wrap;
}
.s-head h2 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(36px, 4vw, 56px); line-height: .95; letter-spacing: .01em;
  margin: 8px 0 0; color: #1A1A1A;
}
.s-head h2 em { font-style: normal; color: #FF6340; }
.s-head .lede { max-width: 420px; color: #808080; font-size: 16px; line-height: 1.5; margin: 0; }

/* ==================== CLIENTS ==================== */
.clients { padding: 56px 0; text-align: center; }
.clients-head {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: #808080; margin-bottom: 28px;
}
.clients-row {
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
}
.client-logo-img { height: 28px; width: auto; opacity: .35; transition: opacity .2s; }
.client-logo-img:hover { opacity: .7; }

/* ==================== WHY USE ==================== */
.why-wrap { padding: 112px 0; background: #FAFAFA; }
.why-card {
  background: #fff; border: 2px solid #1A1A1A; border-radius: 32px;
  padding: 64px 56px;
}
.why-card h2 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: .01em;
  margin: 0 0 48px; color: #1A1A1A; text-align: center;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-col h4 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; line-height: 1.2; margin: 0 0 12px; color: #1A1A1A;
}
.why-col p { color: #808080; font-size: 14px; line-height: 1.55; margin: 0; }
.why-footer {
  border-top: 2px solid #1A1A1A; margin-top: 48px; padding-top: 40px; text-align: center;
}
.why-footer h3 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 22px; letter-spacing: .02em; margin: 0 0 14px; color: #1A1A1A;
}
.why-footer p { color: #808080; font-size: 15px; line-height: 1.55; max-width: 720px; margin: 0 auto; }

/* ==================== PRICE TIERS ==================== */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier {
  border: 2px solid #1A1A1A; padding: 40px 32px; position: relative;
  display: flex; flex-direction: column;
}
.tier.featured { border-width: 4px; }
.flag {
  position: absolute; top: -14px; left: 24px;
  background: #FF6340; color: #fff;
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px;
}
.tier .tag {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: #808080; margin-bottom: 10px;
}
.tier .name {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 28px; line-height: 1.05; letter-spacing: .02em; color: #1A1A1A;
}
.tier .price {
  font-family: 'Oswald', sans-serif; font-weight: 500;
  font-size: 48px; line-height: 1; color: #1A1A1A; margin: 24px 0;
}
.tier .price small { font-size: 28px; color: #808080; }
.tier ul {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.tier ul li {
  font-size: 14px; color: #808080; padding-left: 18px;
  position: relative;
}
.tier ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: #1A1A1A; border-radius: 50%;
}
.tier.featured ul li::before { background: #FF6340; }
.tier .foot {
  border-top: 1px solid #E2E2E2; padding-top: 16px; margin-top: auto;
  display: flex; justify-content: space-between;
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: #808080;
}

/* ==================== DRIVERS ==================== */
.drivers { background: #1A1A1A; color: #fff; }
.drivers .eyebrow { color: #fff; }
.drivers .eyebrow::before { background: #fff; }
.drivers .s-head h2 { color: #fff; }
.drivers .s-head .lede { color: rgba(255,255,255,.6); }
.drivers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.driver {
  border: 1px solid rgba(255,255,255,.15); padding: 32px 28px;
  transition: border-color .18s;
}
.driver:hover { border-color: #FF6340; }
.driver .num {
  font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 500;
  color: #FF6340; line-height: 1; margin-bottom: 16px;
}
.driver .num b { display: block; }
.driver h4 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; margin: 0 0 10px; color: #fff;
}
.driver p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.55; margin: 0; }
.driver .range {
  font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
}
.driver .range .bar {
  flex: 1; height: 4px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
}
.driver .range .bar i {
  display: block; height: 100%; background: rgba(255,255,255,.35); border-radius: 2px;
}
.driver .range .bar i.accent { background: #FF6340; }

/* ==================== COMPARISON SECTION ==================== */
.cmp {
  background: #1A1A1A; color: #fff; padding: 80px 0;
}
.cmp .eyebrow { color: #fff; }
.cmp .eyebrow::before { background: #fff; }
.cmp .s-head h2 { color: #fff; }
.cmp .s-head .lede { color: rgba(255,255,255,.7); }
.cmp .cmp-table td:first-child { color: rgba(255,255,255,.7); }

/* ==================== COMPARISON TABLE ==================== */
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.cmp-table th, .cmp-table td {
  text-align: left; padding: 14px 20px; border-bottom: 1px solid #E2E2E2;
  font-size: 14px;
}
.cmp-table th {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: #808080;
  background: #FAFAFA;
}
.cmp-table td:first-child { font-weight: 500; color: #1A1A1A; }
.cmp-table .px {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 18px;
  color: #1A1A1A; display: block; margin-bottom: 2px;
}
.cmp .cmp-table .px { color: #fff; }
.cmp .cmp-table th, .cmp .cmp-table td { border-bottom-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.cmp .cmp-table th { background: rgba(255,255,255,.05); color: rgba(255,255,255,.5); }
.cmp .cmp-table td.highlight { color: #fff; }
.cmp .cmp-table th.highlight { color: #FF6340; }

/* ==================== TIMELINE ==================== */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 48px; }
.t-step { border-left: 3px solid #1A1A1A; padding-left: 20px; }
.t-step .wk {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: #808080; margin-bottom: 10px;
}
.t-step h4 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; margin: 0 0 10px; color: #1A1A1A;
}
.t-step p { color: #808080; font-size: 14px; line-height: 1.55; margin: 0; }
.t-step.active { border-left-color: #FF6340; }
.t-step.active .wk { color: #FF6340; }

/* ==================== USE CASES ==================== */
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uc {
  border: 2px solid #1A1A1A; padding: 32px 28px;
  display: flex; gap: 20px; align-items: start;
}
.uc > div:first-child { flex: 1; }
.uc .px { margin-left: auto; }
.uc .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: #1A1A1A; color: #fff; border-radius: 8px;
  display: grid; place-items: center;
}
.uc h4 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; margin: 0 0 8px; color: #1A1A1A;
}
.uc p { color: #808080; font-size: 14px; line-height: 1.55; margin: 0; }
.uc .px {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 24px;
  color: #1A1A1A; white-space: nowrap; text-align: right; flex-shrink: 0;
}
.uc .px small {
  display: block; font-size: 12px; font-weight: 400; letter-spacing: .14em;
  text-transform: uppercase; color: #808080; margin-top: 4px;
}

/* ==================== PRICE TABLE ==================== */
.px-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.px-table th, .px-table td {
  text-align: left; padding: 14px 20px; border-bottom: 1px solid #E2E2E2;
  font-size: 14px;
}
.px-table th {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: #808080;
  background: #FAFAFA;
}
.px-table td:first-child { font-weight: 500; color: #1A1A1A; }
.px-table .range { font-family: 'Oswald', sans-serif; font-weight: 500; color: #1A1A1A; }

/* ==================== PORTFOLIO ==================== */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card {
  cursor: pointer; transition: transform .3s cubic-bezier(.22,.61,.36,1);
  text-decoration: none; display: block;
}
.p-card:hover { transform: translateY(-2px); }
.p-thumb {
  aspect-ratio: 16/9; border: 2px solid #1A1A1A; background: #FAFAFA;
  position: relative; overflow: hidden;
}
.p-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-thumb .corner {
  position: absolute; top: -2px; left: -2px; width: 20px; height: 20px;
  border-top: 4px solid #FF6340; border-left: 4px solid #FF6340; z-index: 1;
}
.p-card:hover .p-thumb { box-shadow: 0 6px 18px rgba(26,26,26,.10); }
.p-card .tag {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: #808080; margin-top: 16px;
}
.p-card .title {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 20px; line-height: 1.05; letter-spacing: .02em; color: #1A1A1A; margin-top: 6px;
}
.p-card .px { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .18em; color: #FF6340; margin-top: 6px; }

/* ==================== ORANGE MID-CTA BAND ==================== */
.mid-cta { background: #FF6340; color: #fff; padding: 72px 0; text-align: center; }
.mid-cta h2 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: .02em;
  color: #fff; margin: 0 0 14px;
}
.mid-cta p { font-size: 16px; color: #fff; margin: 0 0 28px; opacity: .95; }
.btn-connect {
  display: inline-block; font-family: 'Oswald', sans-serif; font-weight: 500;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 32px; border: 2px solid #fff; color: #fff; text-decoration: none;
  border-radius: 999px; background: transparent; cursor: pointer;
  transition: all .18s cubic-bezier(.22,.61,.36,1);
}
.btn-connect:hover { background: #fff; color: #FF6340; }

/* ==================== FAQ ==================== */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
  border-top: 2px solid #1A1A1A;
}
.faq { border-bottom: 1px solid #E2E2E2; padding: 24px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: start; gap: 24px;
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; color: #1A1A1A;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: 'Oswald', sans-serif; font-size: 24px; line-height: 1;
  color: #1A1A1A; flex-shrink: 0;
}
.faq[open] summary::after { content: '−'; }
.faq summary:hover { color: #FF6340; }
.faq p { margin: 14px 0 0; color: #808080; font-size: 15px; line-height: 1.55; max-width: 560px; }

/* ==================== RELATED ==================== */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rel {
  border-left: 2px solid #1A1A1A; padding: 4px 0 4px 20px;
  transition: border-color .18s; text-decoration: none; display: block;
}
.rel:hover { border-left-color: #FF6340; }
.rel .cat { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .22em; color: #808080; text-transform: uppercase; }
.rel h4 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; margin: 10px 0 10px; color: #1A1A1A;
}
.rel:hover h4 { color: #FF6340; }
.rel p { color: #808080; font-size: 14px; line-height: 1.5; margin: 0; }

/* ==================== FINAL CTA ==================== */
.cta-section { padding: 140px 0; }
.cta-frame {
  aspect-ratio: 16/9; max-width: 920px; margin: 0 auto; border: 6px solid #1A1A1A;
  padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.cta-frame .top {
  font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: #808080;
}
.cta-frame h2 {
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(44px, 6vw, 88px); line-height: .92; letter-spacing: .005em;
  margin: 0; color: #1A1A1A;
}
.cta-frame h2 em { font-style: normal; color: #FF6340; }
.cta-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.cta-bottom p { margin: 0; font-size: 16px; color: #808080; max-width: 360px; line-height: 1.5; }

/* ==================== FOOTER ==================== */
footer { background: #1A1A1A; color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
footer h5 {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 20px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
footer ul a:hover { color: #fff; }
.footer-brand img { height: 72px; width: auto; object-fit: contain; display: block; }
.footer-tag { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 320px; margin: 18px 0 24px; }
.footer-bottom {
  max-width: 1280px; margin: 56px auto 0; padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between;
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5);
}

/* ==================== HIDE WP_FOOTER INJECTED CONTENT ==================== */
body.epipheo-landing > *:not(.topnav):not(.hero):not(section):not(.clients):not(.why-wrap):not(.drivers):not(.mid-cta):not(.cta-section):not(footer):not(script):not(link):not(style):not(noscript):not(#hs-quote-modal):not(#video-lightbox) {
  display: none !important;
}
body.epipheo-landing footer ~ *:not(#hs-quote-modal):not(#video-lightbox) {
  display: none !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .tier-grid, .drivers-grid, .portfolio-grid, .related-grid { grid-template-columns: 1fr; }
  .uc-grid, .faq-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; margin: 0; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid #F0F0F0; border-bottom: 2px solid #1A1A1A;
    padding: 20px 32px; gap: 16px; z-index: 99;
  }
  .nav-menu { display: flex; }
  section { padding: 72px 0; }
  .cta-section { padding: 72px 0; }
  .cta-frame { aspect-ratio: unset; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card { padding: 48px 32px; border-radius: 28px; }
  .cmp-table { display: block; overflow-x: auto; }
  .px-table { display: block; overflow-x: auto; }
  .wistia-video-card { width: 240px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 12px 20px; }
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-frame { padding: 28px 24px; }
  .trust-row { gap: 20px; }
  .wistia-video-card { width: 100%; }
}

/* ==================== HUBSPOT QUOTE MODAL ==================== */

/* Overlay backdrop — z-index 99998 sits one below video-lightbox (99999) */
#hs-quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#hs-quote-modal.is-open {
  display: flex;
}

/* Modal card */
.hs-modal-card {
  position: relative;
  background: #fff;
  color: #1A1A1A;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 44px 44px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 95, 60, 0.12);
  font-family: 'Barlow', sans-serif;
  animation: hs-modal-in 0.22s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes hs-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Close button */
.hs-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: 0;
  color: rgba(26, 26, 26, 0.35);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
  font-family: 'Barlow', sans-serif;
}
.hs-modal-close:hover { color: #FF5F3C; }

/* Modal header */
.hs-modal-header { margin-bottom: 28px; }
.hs-modal-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FF5F3C;
  margin: 0 0 10px;
}
.hs-modal-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #1A1A1A;
  margin: 0 0 12px;
}
.hs-modal-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: rgba(26, 26, 26, 0.55);
  margin: 0;
  line-height: 1.5;
}

/* ---- HubSpot form overrides inside the modal ---- */

/* Labels */
#hs-form-target .hs-form label,
#hs-form-target .hs-form .hs-field-desc {
  font-family: 'Oswald', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #1A1A1A !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Input fields */
#hs-form-target .hs-form input[type="text"],
#hs-form-target .hs-form input[type="email"],
#hs-form-target .hs-form input[type="tel"],
#hs-form-target .hs-form textarea,
#hs-form-target .hs-form select {
  font-family: 'Barlow', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #1A1A1A !important;
  background: #F9F9F9 !important;
  border: 1px solid rgba(26, 26, 26, 0.15) !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.18s !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
#hs-form-target .hs-form input[type="text"]:focus,
#hs-form-target .hs-form input[type="email"]:focus,
#hs-form-target .hs-form input[type="tel"]:focus,
#hs-form-target .hs-form textarea:focus,
#hs-form-target .hs-form select:focus {
  border-color: #FF5F3C !important;
  box-shadow: 0 0 0 2px rgba(255, 95, 60, 0.18) !important;
}
#hs-form-target .hs-form input::placeholder,
#hs-form-target .hs-form textarea::placeholder {
  color: rgba(26, 26, 26, 0.35) !important;
}

/* Textarea height */
#hs-form-target .hs-form textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

/* Field groups / rows */
#hs-form-target .hs-form .hs-form-field {
  margin-bottom: 18px !important;
}
#hs-form-target .hs-form fieldset {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
#hs-form-target .hs-form .form-columns-2 .hs-form-field {
  width: 100% !important;
  float: none !important;
}

/* Error messages */
#hs-form-target .hs-form .hs-error-msgs label,
#hs-form-target .hs-form .hs-error-msg {
  font-family: 'Barlow', sans-serif !important;
  font-size: 12px !important;
  color: #FF5F3C !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin-top: 4px !important;
}

/* Submit button */
#hs-form-target .hs-form .hs-button,
#hs-form-target .hs-form input[type="submit"] {
  font-family: 'Oswald', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: #FF5F3C !important;
  border: 2px solid #FF5F3C !important;
  border-radius: 999px !important;
  padding: 14px 36px !important;
  cursor: pointer !important;
  transition: background 0.18s, border-color 0.18s !important;
  width: auto !important;
  display: inline-block !important;
  margin-top: 8px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
#hs-form-target .hs-form .hs-button:hover,
#hs-form-target .hs-form input[type="submit"]:hover {
  background: #E8542F !important;
  border-color: #E8542F !important;
}

/* Legal / GDPR text */
#hs-form-target .hs-form .legal-consent-container,
#hs-form-target .hs-form .hs-richtext {
  font-family: 'Barlow', sans-serif !important;
  font-size: 12px !important;
  color: rgba(26, 26, 26, 0.45) !important;
  line-height: 1.5 !important;
}
#hs-form-target .hs-form .legal-consent-container a {
  color: rgba(26, 26, 26, 0.55) !important;
}

/* Remove default HubSpot background/box */
#hs-form-target .hs-form,
#hs-form-target .hbspt-form {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Success state */
.hs-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0 16px;
  gap: 16px;
}
.hs-modal-success h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  margin: 0;
}
.hs-modal-success p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: rgba(26, 26, 26, 0.55);
  margin: 0;
}

/* Scrollbar inside modal card */
.hs-modal-card::-webkit-scrollbar { width: 4px; }
.hs-modal-card::-webkit-scrollbar-track { background: transparent; }
.hs-modal-card::-webkit-scrollbar-thumb { background: rgba(26,26,26,0.15); border-radius: 2px; }

/* Responsive */
@media (max-width: 600px) {
  .hs-modal-card {
    padding: 36px 24px 32px;
    border-radius: 10px;
  }
}

/* ============================================================
   HERO LEAD FORM
   Occupies the hero slot on pages where the AI agent is switched
   off via the ACF field 'hide_ai_agent'. Deliberately mirrors
   .chat-frame's border, radius and glow so the hero composition
   is unchanged when the agent is swapped out.
   ============================================================ */
.hero-form-frame {
  position: relative;
  border: 4px solid #1A1A1A;
  background: #fff;
  border-radius: 16px;
  padding: 32px 30px 26px;
  box-shadow:
    0 0 0 1px rgba(255,99,64,.08),
    0 0 40px 10px rgba(255,99,64,.18),
    0 0 90px 20px rgba(255,99,64,.14),
    0 4px 16px rgba(26,26,26,.05);
}
.hero-form-head { margin-bottom: 20px; }
.hero-form-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: #FF5F3C;
  margin: 0 0 12px;
}
.hero-form-eyebrow .dot {
  width: 8px; height: 8px; background: #33EBC6; border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-form-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: .95; letter-spacing: .01em;
  color: #1A1A1A;
  margin: 0 0 10px;
}
.hero-form-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 15px; line-height: 1.5;
  color: #4A4A4A;
  margin: 0;
}
.hero-form-foot {
  font-family: 'Barlow', sans-serif;
  font-size: 13px; line-height: 1.5;
  color: #6B6B6B;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #EFEFEF;
}
.hero-form-fallback {
  font-family: 'Barlow', sans-serif;
  font-size: 15px; line-height: 1.6; color: #4A4A4A; margin: 0;
}
.hero-form-fallback a { color: #FF5F3C; }

@media (max-width: 600px) {
  .hero-form-frame { padding: 26px 20px 22px; border-radius: 12px; border-width: 3px; }
}
