/* =========================================================
   OpenParser AI — design tokens
   ========================================================= */
:root {
  --navy-deep: #0a1958;      /* hero / cta gradient start */
  --navy-mid: #0d2470;       /* hero / cta gradient end */
  --navy-dark: #002D7A;      /* header text / borders */
  --navy-footer: #060c1f;    /* footer background */
  --orange: #f5891f;
  --orange-hover: #e07a12;
  --text-body: #4a5568;
  --text-light: #c7cfe6;
  --text-muted-footer: #98a2c0;
  --border-light: #e4e7ee;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --container-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Keeps anchor-linked cards from tucking under the sticky header
   when a footer/nav link jumps to an in-page id. */
[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eef0f5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
}

.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-collapse {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex: 1;
  justify-content: flex-end;
}

.main-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
}

.main-nav li a {
  color: #2a3352;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
  position: relative;
}

.main-nav li a.active {
  color: var(--orange);
  font-weight: 600;
}

.main-nav li a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.link-login {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 22px;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.btn-outline-navy {
  border-color: var(--navy-dark);
  color: var(--navy-dark);
  background: #fff;
}

.btn-outline-navy:hover {
  background: var(--navy-dark);
  color: #fff;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hover);
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background:
    radial-gradient(1200px 400px at 15% 0%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 55%, var(--navy-deep) 100%);
  padding: 84px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-areas:
    "top    mock"
    "bottom mock";
  column-gap: 56px;
  row-gap: 28px;
  align-items: center;
}

.hero-text-top {
  grid-area: top;
  align-self: end;
}

.hero-text-bottom {
  grid-area: bottom;
  align-self: start;
}

.hero-mock {
  grid-area: mock;
}

.eyebrow {
  color: #8493c4;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.eyebrow-muted {
  color: #002D7A;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 800;
  font-size: 2.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 480px;
  margin-bottom: 24px;
}

.text-orange {
  color: var(--orange);
}

.hero-sub {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 18px;
}

.btn-play {
  gap: 8px;
}

.play-icon {
  font-size: 0.7rem;
}

.hero-microcopy {
  color: #7f8db8;
  font-size: 0.85rem;
  margin: 0;
}

/* ---- Hero banner (screenshot) ---- */
.hero-mock-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-carousel {
  border-radius : 5px;
  overflow: hidden;
}

/* =========================================================
   SHARED SECTION TITLES
   ========================================================= */
.section-title {
  font-family: var(--font-heading);
  color: #111C2E;
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-sub {
  color: #6b7280;
  font-size: 1.02rem;
  margin-bottom: 34px;
}

/* =========================================================
   FIND THE VERSION FOR YOUR TEAM
   ========================================================= */
.teams-section {
  background: #ffffff;
  padding: 76px 0;
}

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

.team-card {
  border: 1.5px solid #E6EDF5;
  border-top-width: 2px;
  border-top-color: #002D7A;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  box-shadow: 0 12px 28px rgba(59, 91, 219, 0.12);
  transform: translateY(-2px);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #002D7A;
  margin-bottom: 14px;
}

.team-quote {
  font-style: italic;
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 18px;
  border-left: 2px solid #d0d5dd;
  padding-left: 12px;
}

.team-tags {
  font-size: 0.8rem;
  color: #002D7A;
  font-weight: 600;
  margin: 0;
}

.team-quote-detail {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 500;
  color: #6b7280;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: linear-gradient(120deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  padding: 44px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}
@media (max-width: 991px) {
  .trust-inner {
      flex-direction: column;
      align-items: flex-start;
  }
}

.trust-text h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.trust-text p {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 520px;
  margin: 0;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 480px;
}

.badge-pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.trust-offers {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 40px;
}

.trust-offers h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 14px;
}


@media (max-width: 991px) {
  .trust-offers {
      border-left: none;
      border-top: 1px solid rgba(255, 255, 255, 0.18);
      padding-left: 0;
      padding-top: 24px;
      width: 100%;
  }
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section {
  background: #ffffff;
  padding: 76px 0;
}

.how-title {
  margin-bottom: 18px;
}

.how-rule {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin-bottom: 40px;
}

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

.how-step {
  border-top: 3px solid var(--orange);
  padding-top: 22px;
}

.step-label {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.how-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.how-step p {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   AGENTS GRID SECTION
   ========================================================= */
.agents-section {
  background: #f4f6fb;
  padding: 76px 0;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.agent-tile {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.agent-tile:hover {
  box-shadow: 0 12px 28px rgba(11, 30, 66, 0.08);
  border-color: #d7dcea;
  transform: translateY(-2px);
}

.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #e7ecfb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #002D7A;
}

.agent-tile h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #002D7A;
  margin-bottom: 8px;
}

.agent-tile p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tile-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #002D7A;
}

.tile-link:hover {
  color: var(--orange);
}

.build-agents-block {
  margin-top: 56px;
}

/* =========================================================
   COMPARISON SECTION
   ========================================================= */
.compare-section {
  background: #ffffff;
  padding: 76px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-col {
  padding: 28px;
}

.compare-bad {
  background: #f4f6fb;
}

.compare-good {
  background: #fff;
}

.compare-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--navy-dark);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.compare-list li {
  position: relative;
  display: flex;
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a5568;
}
.compare-list li::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #DFE6F0;
  left: 0;
  bottom: 0;
}
.compare-list li:last-child::before{
  display: none;
}
.compare-bad .bullet {
  color: #9aa3b8;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-good .bullet {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.compare-good li b {
  color: var(--navy-dark);
}

/* =========================================================
   FINAL CTA + PRICING
   ========================================================= */
.final-cta {
  background: linear-gradient(120deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  padding: 72px 0;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.final-cta-text h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 14px;
}

.final-cta-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 520px;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}

.final-cta-note {
  color: #93a6e8;
  font-size: 0.85rem;
  margin: 0;
}

.final-cta-note a {
  color: #ffffff;
  text-decoration: underline;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.price-amount {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.price-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-list li {
  color: var(--text-light);
  font-size: 0.88rem;
  display: flex;
  gap: 8px;
}

.price-list li::before {
  content: '\2713';
  color: var(--orange);
  font-weight: 700;
}

.price-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.price-footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-footer);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.brand-footer {
  margin-bottom: 18px;
}

.brand-logo-footer {
  height: 28px;
}

.footer-about,
.footer-address,
.footer-contact {
  color: var(--text-muted-footer);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 4px;
}

.footer-col h4 {
  color: #7f8bb3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: #c3cae4;
  font-size: 0.94rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #8891ae;
  font-size: 0.88rem;
}

.footer-legal a {
  color: #8891ae;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* =========================================================
   SOLUTIONS PAGE — solo hero (no side illustration)
   ========================================================= */
.hero-solo-inner {
  position: relative;
  z-index: 1;
}

.hero-title-wide,
.hero-sub-wide {
  max-width: 720px;
}

/* =========================================================
   404 PAGE — error code
   ========================================================= */
.error-code {
  font-family: var(--font-heading);
  color: var(--orange);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

/* =========================================================
   SOLUTIONS PAGE — solution cards
   (extends .team-card / .teams-grid from the homepage)
   ========================================================= */
.solution-for {
  color: #002D7A;
  font-weight: 600;
  font-size: 0.85rem;
  margin: -6px 0 16px;
}

.solution-link {
  display: inline-block;
  margin-top: 4px;
  color: #002D7A;
  font-weight: 700;
  font-size: 0.85rem;
}

.solution-link:hover {
  color: var(--orange);
}

/* =========================================================
   SOLUTIONS PAGE — what every solution shares
   (extends .agent-tile from the agents grid)
   ========================================================= */
.guarantees-section {
  background: #f4f6fb;
  padding: 76px 0;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.not-found-grid {
  grid-template-columns: repeat(5, 1fr);
}

.guarantee-card h3 {
  margin-bottom: 10px;
}

.guarantee-card p {
  margin-bottom: 0;
}

/* =========================================================
   SOLUTIONS PAGE — closing CTA banner
   ========================================================= */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  padding: 68px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.2;
  max-width: 520px;
  margin-bottom: 10px;
}

.cta-banner-text p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 480px;
  margin: 0;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =========================================================
   AGENTS PAGE — category blocks
   (extends .teams-section / .agent-tile from the homepage)
   ========================================================= */
.category-block:not(:last-child) {
  margin-bottom: 56px;
}

.category-title {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.category-sub {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* =========================================================
   AGENTS PAGE — generic card body text
   (usable inside .team-card / .agent-tile wherever a plain
   descriptive paragraph is needed instead of a quote)
   ========================================================= */
.card-text {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   AGENTS PAGE — callout box (How Agents Work)
   ========================================================= */
.callout-box {
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--navy-dark);
  background: #ffffff;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-top: 40px;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.callout-box b {
  color: var(--navy-dark);
}

/* =========================================================
   SECURITY PAGE — deployment options
   (border + radius tokens match .compare-grid)
   ========================================================= */
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.deployment-col {
  padding: 28px;
  border-left: 1px solid var(--border-light);
}

.deployment-col:first-child {
  border-left: none;
}

.deployment-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

/* =========================================================
   SECURITY PAGE — square-bullet list
   ========================================================= */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

.agents-section .bullet-square {
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.agents-section .bullet-list li {
  display: block;
  position: relative;
  padding-left: 20px;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bullet-list li b {
  color: var(--navy-dark);
}

.bullet-square {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--orange);
}

/* =========================================================
   PRICING PAGE — plan cards
   (bullet list reuses .bullet-list / .bullet-square)
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.price-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px;
  height: 100%;
}

.price-card-featured {
  border: 2px solid var(--navy-dark);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.price-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 6px;
}

.price-card-sub {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.3rem;
  color: #002D7A;
  line-height: 1.2;
  margin-bottom: 10px;
}

.price-value span {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
}

.price-note {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

/* =========================================================
   PRICING PAGE — comparison table
   ========================================================= */
.table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.compare-table thead th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy-dark);
}

.compare-table thead th:not(:first-child),
.compare-table tbody td:not(:first-child) {
  text-align: center;
}

.compare-table tbody td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: #4a5568;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: #000;
}

.compare-table .yes {
  color: var(--orange);
  font-weight: 700;
}

.compare-table .no {
  color: #c7cfe6;
  font-weight: 700;
}

/* =========================================================
   PRICING PAGE — FAQ grid
   (cards reuse .agent-tile)
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =========================================================
   RESOURCES PAGE — tag pill
   (used for "WHITEPAPER · GATED" and "ARTICLE" badges)
   ========================================================= */
.tag-pill {
  display: inline-block;
  background: #e3e9fa;
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* =========================================================
   RESOURCES PAGE — featured whitepaper
   (article cards reuse .team-card / .team-tags,
   comparison cards reuse .agent-tile / .tile-link)
   ========================================================= */
.whitepaper-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.whitepaper-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin: 0 0 14px;
}

.whitepaper-cover {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  padding: 32px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whitepaper-cover h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 10px;
}

.whitepaper-cover p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
}

/* =========================================================
   DEMO BOOKING MODAL
   (sections reuse .step-label / .card-text,
   contact link reuses .tile-link)
   ========================================================= */
.demo-modal-content {
  overflow: hidden;
}

.demo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 18px 28px;
  background: var(--navy-dark);
}

.demo-modal-header-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
}

.demo-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 40px 40px 36px;
}

.demo-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.demo-modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #12172b;
  margin-bottom: 16px;
}

.demo-accent {
  color: var(--navy-dark);
}

.demo-modal-sub {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.demo-modal-section {
  padding: 22px 0;
  border-top: 1px solid var(--border-light);
}

.demo-modal-section:last-child {
  border-bottom: 1px solid var(--border-light);
}

.demo-modal-section .step-label {
  margin-bottom: 10px;
}

.demo-modal-section .card-text {
  color: #4a5568;
  font-size: 0.98rem;
}

.demo-modal-section .card-text b {
  color: #12172b;
}

/* ---- Pick-a-time card ----
   Header and footnote are live text; the calendar / time-slot
   grid between them is a screenshot (images/calendar-timepicker.png). */
.booking-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.booking-card-head {
  padding: 22px 24px;
}

.booking-card-head h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #12172b;
  margin: 0 0 6px;
}

.booking-card-head p {
  color: #6b7280;
  font-size: 0.88rem;
  margin: 0;
}

.booking-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--border-light);
}

.booking-card-footnote {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: #f7f8fb;
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

.demo-modal-contact {
  margin-top: 20px;
  color: #6b7280;
  font-size: 0.95rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "mock"
      "bottom";
    row-gap: 32px;
  }

  .demo-modal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-modal-body {
    padding: 32px 24px 28px;
  }

  .demo-modal-header {
    padding: 16px 20px;
  }

  .hero-text-top,
  .hero-text-bottom {
    align-self: auto;
  }

  .hero-mock {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.3rem;
    max-width: none;
  }

  .hero-sub {
    max-width: none;
  }

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .deployment-grid {
    grid-template-columns: 1fr;
  }

  .deployment-col {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .deployment-col:first-child {
    border-top: none;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    max-width: 420px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .whitepaper-grid {
    grid-template-columns: 1fr;
  }

  .whitepaper-card {
    padding: 28px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

/* Header collapses to a hamburger menu below 1100px — the full nav
   (5 links + login + 2 buttons) needs roughly that much room to lay
   out on one line without crowding. */
@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: inline-flex;
    order: 2;
  }

  .nav-collapse {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    margin-top: 18px;
    padding-top: 18px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-light);
  }

  .nav-collapse.show {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .main-nav li a.active::after {
    bottom: -4px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .header-actions .btn {
    width: 100%;
  }

  .link-login {
    padding: 6px 0;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 15px 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .hero-cta-row,
  .final-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn,
  .final-cta-buttons .btn {
    width: 100%;
  }

  .teams-section,
  .how-section,
  .agents-section,
  .compare-section {
    padding: 56px 0;
  }

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .guarantees-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-text p {
    max-width: none;
  }

  .final-cta-text h2 {
    font-size: 1.7rem;
  }

  .pricing-card {
    max-width: none;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-text h2,
  .cta-banner-text p {
    max-width: none;
  }

  .cta-banner-buttons {
    width: 100%;
  }

  .cta-banner-buttons .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .error-code {
    font-size: 3.5rem;
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}
