/* Top Rank ROI theme v4.0.0. Plain CSS, no frameworks. */
:root {
  --ink: #f5f8ff;
  --muted: #b7c4d8;
  --quiet: #8c9bb2;
  --night: #03060c;
  --navy-950: #050b14;
  --navy-900: #07111f;
  --navy-850: #0a1828;
  --navy-800: #0d1f33;
  --cyan: #40e8ff;
  --cyan-soft: #a6f6ff;
  --gold: #f6b84a;
  --gold-soft: #ffd88f;
  --line: rgba(146, 191, 234, 0.16);
  --line-strong: rgba(64, 232, 255, 0.4);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 76px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { color: #001018; background: var(--cyan); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px;
  color: #001018; background: var(--cyan); border-radius: 10px; font-weight: 800;
  transform: translateY(-200%); transition: transform 0.15s ease; text-decoration: none;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 9, 17, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(64, 232, 255, 0.35); border-radius: 13px;
  background: linear-gradient(145deg, rgba(64, 232, 255, 0.12), rgba(246, 184, 74, 0.08));
}
.brand-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg path:nth-child(2) { stroke: var(--gold); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-copy strong { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.06em; }
.brand-copy small { margin-top: 4px; color: var(--quiet); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.primary-nav a { color: #d3deec; font-size: 0.92rem; font-weight: 700; text-decoration: none; padding: 6px 0; }
.primary-nav a:hover { color: #fff; }
.primary-nav .nav-cta {
  padding: 10px 16px; border-radius: 12px; color: #001018;
  background: linear-gradient(135deg, var(--cyan), #9cf7ff);
}
.primary-nav .nav-cta:hover { color: #001018; filter: brightness(1.06); }

.header-actions { display: none; align-items: center; gap: 10px; order: 2; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; color: #fff; font-weight: 800; font-size: 0.92rem; text-decoration: none;
}
.header-call .icon { color: var(--cyan); }
.header-call-sr { display: none; }
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer;
}
.menu-toggle .bar { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.18s, opacity 0.18s; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px;
  font-size: 0.97rem; font-weight: 800; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001018; background: linear-gradient(135deg, var(--cyan), #9cf7ff); box-shadow: 0 12px 34px rgba(64, 232, 255, 0.2); }
.button-primary:hover { color: #001018; box-shadow: 0 16px 42px rgba(64, 232, 255, 0.32); }
.button-gold { color: #1a1000; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); box-shadow: 0 12px 34px rgba(246, 184, 74, 0.18); }
.button-gold:hover { color: #1a1000; box-shadow: 0 16px 42px rgba(246, 184, 74, 0.3); }
.button-ghost { color: #fff; border-color: rgba(166, 246, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.button-ghost:hover { color: #fff; border-color: var(--cyan); background: rgba(64, 232, 255, 0.08); }
.button-full { width: 100%; }
.text-link { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--gold-soft); font-weight: 800; text-decoration: none; }
.text-link:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-block: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading h2, .proof-copy h2, .about-copy h2, .fit-layout h2, .contact-copy h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 850; }
.kicker {
  margin: 0 0 14px; color: var(--gold); font-size: 0.78rem; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.lead { color: #dbe5f2; font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.6; }
.section-heading .lead { margin-top: 20px; }
.card {
  position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 31, 51, 0.85), rgba(7, 17, 31, 0.85));
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(35, 140, 255, 0.22), transparent 38rem),
    radial-gradient(circle at 90% 70%, rgba(246, 184, 74, 0.1), transparent 30rem),
    linear-gradient(rgba(146, 191, 234, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(146, 191, 234, 0.05) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--cyan-soft); background: rgba(64, 232, 255, 0.06); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; }
.hero-lede { margin: 24px 0 0; max-width: 640px; color: #d5e0ee; font-size: clamp(1.08rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.hero-visual { margin: 0; position: relative; }
.hero-visual img, .proof-visual img, .about-visual img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--navy-850);
}
.hero-visual img { object-position: 50% 78%; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; z-index: -1; border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(246, 184, 74, 0.3);
}

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--navy-900); }
.trust-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-list li {
  display: flex; align-items: center; gap: 12px; padding: 22px 18px; color: #e8eff9;
  font-size: 0.95rem; font-weight: 700; line-height: 1.35;
}
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001018' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Quick answers (AEO summary) ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.quick-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-850); }
.quick-item:last-child { grid-column: 1 / -1; }
.quick-item dt { margin-bottom: 8px; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.quick-item dd { margin: 0; color: #dbe5f2; }

/* ---------- Outcomes ---------- */
.outcome-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.outcome-grid li { grid-column: span 2; }
.outcome-grid li:nth-child(4) { grid-column: 2 / span 2; }
.num { display: block; margin-bottom: 18px; color: var(--cyan); font-size: 0.85rem; font-weight: 900; letter-spacing: 0.12em; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-icon {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 18px; border-radius: 12px;
  fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(64, 232, 255, 0.08); border: 1px solid rgba(64, 232, 255, 0.22);
}
.service-card-feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px;
  border-color: rgba(246, 184, 74, 0.45);
  background: linear-gradient(135deg, rgba(246, 184, 74, 0.1), rgba(13, 31, 51, 0.9) 45%);
}
.service-card-feature .service-icon { grid-row: span 3; stroke: var(--gold); background: rgba(246, 184, 74, 0.1); border-color: rgba(246, 184, 74, 0.35); }
.service-card-feature p { max-width: 820px; }
.service-card-feature .text-link { justify-self: start; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-top: 3px solid var(--cyan); background: rgba(13, 31, 51, 0.6); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  color: #001018; background: var(--cyan); font-weight: 900;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- Standards ---------- */
.standards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.standards-grid li { padding: 26px 0 26px 40px; border-top: 1px solid var(--line); position: relative; }
.standards-grid li::before {
  content: ""; position: absolute; left: 0; top: 30px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.standards-grid h3 { font-size: 1.18rem; margin-bottom: 8px; }
.standards-grid p { color: var(--muted); }

/* ---------- Proof ---------- */
.proof-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.proof-copy h2 { margin-bottom: 22px; }
.proof-copy p { color: var(--muted); }
.proof-copy .lead { color: #dbe5f2; }
.proof-copy .button { margin-top: 12px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; }
.proof-stats div { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-850); }
.proof-stats dt { color: var(--gold); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.proof-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.proof-visual { margin: 0; }
.proof-visual img { aspect-ratio: 16 / 11; object-position: 50% 80%; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-visual { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-visual img { object-position: 50% 82%; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: #dbe5f2; }
.quote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(246, 184, 74, 0.07); }
.quote p { color: #fff; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 750; line-height: 1.4; }
.quote footer { margin-top: 10px; color: var(--gold-soft); font-weight: 700; }
.fine-print { color: var(--quiet) !important; font-size: 0.85rem; line-height: 1.55; }

/* ---------- Fit ---------- */
.fit-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.check-list { margin: 18px 0 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-900); color: #e8eff9; font-weight: 650; }
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001018' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.fit-note { color: var(--muted); font-style: italic; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-layout .section-heading { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-850); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; color: #fff; font-weight: 750; font-size: 1.04rem; line-height: 1.35;
  border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover { color: var(--cyan-soft); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-section {
  background:
    radial-gradient(circle at 0% 100%, rgba(64, 232, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 100% 0%, rgba(246, 184, 74, 0.08), transparent 30rem), var(--night);
}
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-methods { margin: 28px 0; display: grid; gap: 12px; }
.contact-methods li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-weight: 700; color: #e8eff9; }
.contact-methods .label { min-width: 64px; color: var(--quiet); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-methods a { color: #fff; font-size: 1.2rem; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(64, 232, 255, 0.5); word-break: break-word; }
.contact-methods a:hover { text-decoration-color: var(--cyan); }

.contact-form {
  padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 31, 51, 0.95), rgba(5, 11, 20, 0.95)); box-shadow: var(--shadow);
}
.form-required-note { color: var(--quiet); font-size: 0.85rem; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 18px; }
.field label, .choice-group legend { display: block; margin-bottom: 7px; color: #e8eff9; font-size: 0.92rem; font-weight: 750; }
.req { color: var(--gold); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(166, 196, 230, 0.32); border-radius: 12px;
  background: rgba(3, 6, 12, 0.7); color: #fff; font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340e8ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select option { color: #000; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #7f8ea5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(64, 232, 255, 0.28); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.choice-group { border: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid rgba(166, 196, 230, 0.32);
  border-radius: 999px; color: #dbe5f2; font-size: 0.9rem; font-weight: 700; transition: background 0.15s, border-color 0.15s;
}
.choice:hover span { border-color: var(--cyan); }
.choice input:checked + span { color: #001018; background: var(--cyan); border-color: var(--cyan); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; line-height: 1.5; }
.form-status:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-status.is-success { color: #d9ffef; background: rgba(64, 239, 174, 0.12); border: 1px solid rgba(64, 239, 174, 0.5); }
.form-status.is-error { color: #ffe1e1; background: rgba(255, 99, 99, 0.12); border: 1px solid rgba(255, 120, 120, 0.55); }
.form-status a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--line); background: var(--navy-950); color: var(--muted); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-line { margin: 0 0 6px; }
.footer-line-main { color: #fff; font-weight: 800; }
.footer-line a, .footer-bottom a, .footer-nav a { color: inherit; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.footer-nav a { color: #d3deec; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.back-top { text-decoration: none; }

/* ---------- Plain pages ---------- */
.simple-page { padding: clamp(56px, 8vw, 100px) 0; }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ---------- Ava widget ---------- */
.ava-widget[data-launcher-hidden]:not(.is-active) { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust-list li:nth-child(4) { border-left: 0; }
  .trust-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-actions { display: flex; }
  .brand-copy small { display: none; }
  .primary-nav {
    order: 3; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav .nav-cta { margin-top: 14px; padding: 15px; text-align: center; border-bottom: 0; }

  .hero-layout, .proof-layout, .about-layout, .fit-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-visual img { aspect-ratio: 16 / 12; }
  .about-visual, .faq-layout .section-heading { position: static; }
  .about-visual { max-width: 520px; }
  .about-visual img { aspect-ratio: 16 / 12; }
  .faq-layout .section-heading { margin-bottom: 0; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid li, .outcome-grid li:nth-child(4) { grid-column: auto; }
  .outcome-grid li:nth-child(5) { grid-column: 1 / -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .header-call-text { display: none; }
  .header-call-sr { display: inline; }
  .header-call { width: 46px; padding: 0; justify-content: center; }
  .eyebrow { border-radius: 14px; font-size: 0.74rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual::before { display: none; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding: 14px 4px; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .quick-grid, .outcome-grid, .service-grid, .process-grid, .standards-grid { grid-template-columns: 1fr; }
  .outcome-grid li:nth-child(5) { grid-column: auto; }
  .card { padding: 22px; }
  .service-card-feature { display: block; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats div { display: flex; align-items: baseline; gap: 14px; }
  .proof-stats dd { margin: 0; }
  .proof-copy .button { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner, .footer-bottom { flex-direction: column; }
}

/* Small fixes */
a[href^="tel:"] { white-space: nowrap; }
.hero-visual { isolation: isolate; }
@media (max-width: 640px) { .proof-stats dt { white-space: nowrap; min-width: 92px; font-size: 1.35rem; } }

/* ==========================================================================
   V4: wider menu (Videos, Toyota Assistant, Sample Sites dropdown),
   Videos page and Toyota assistant demo page.
   ========================================================================== */

/* Header: a little wider than the page so the longer menu fits on one line. */
.site-header .container { width: min(1320px, calc(100% - 48px)); }
.primary-nav a, .nav-dropdown-toggle { white-space: nowrap; }
.primary-nav { gap: clamp(14px, 1.4vw, 22px); }

/* Sample Sites dropdown (desktop) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: #d3deec; font-size: 0.92rem; font-weight: 700;
}
.nav-dropdown-toggle:hover, .nav-dropdown.is-open .nav-dropdown-toggle { color: #fff; }
.nav-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s; }
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { display: grid; gap: 2px; }
.nav-dropdown.is-ready .nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 60;
  min-width: 250px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--navy-850); box-shadow: var(--shadow);
}
.nav-dropdown.is-ready.is-open .nav-dropdown-menu { display: grid; }
.primary-nav .nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #e8eff9; white-space: nowrap; }
.primary-nav .nav-dropdown-menu a:hover, .primary-nav .nav-dropdown-menu a:focus-visible { color: #fff; background: rgba(64, 232, 255, 0.12); }
.primary-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* The menu has more items now: switch to the menu button below 1300px. */
@media (max-width: 1300px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-actions { display: flex; }
  .primary-nav {
    order: 3; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav .nav-cta { margin-top: 14px; padding: 15px; text-align: center; border-bottom: 0; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-dropdown.is-ready .nav-dropdown-menu {
    position: static; transform: none; min-width: 0; padding: 0 0 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none;
  }
  .primary-nav .nav-dropdown-menu a { padding: 12px 4px; border-radius: 0; font-size: 1rem; }
  .primary-nav a[aria-current="page"] { text-underline-offset: 6px; }
}

/* Inner-page hero */
.page-hero { padding-top: clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.breadcrumbs { position: relative; margin-bottom: clamp(20px, 3vw, 36px); font-size: 0.88rem; font-weight: 700; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--quiet); }
.breadcrumbs a { color: var(--cyan-soft); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #e8eff9; }
.credit-card { position: relative; align-self: center; border-color: var(--line-strong); background: rgba(10, 24, 40, 0.92); }
.credit-card h2 { margin-bottom: 16px; font-size: 1.25rem; }
.credit-list { display: grid; gap: 10px; margin-bottom: 16px; }
.credit-list li { position: relative; padding-left: 30px; color: #e8eff9; font-weight: 700; }
.credit-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23001018' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.credit-card p { color: var(--muted); font-size: 0.95rem; }

/* Videos page */
.video-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.video-figure { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.video-figure figcaption strong { color: #fff; }
.video-facts h3 { font-size: 1.25rem; }
.video-facts .check-list { margin-top: 16px; }

/* Toyota demo page */
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-layout .section-heading { margin-bottom: 0; }
.demo-layout .section-heading .button { margin-top: 26px; }
.demo-note { margin-top: 18px; }
.demo-questions h3 { margin-bottom: 14px; font-size: 1.2rem; }
.question-list { display: grid; gap: 10px; }
.question-list li { padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); background: var(--navy-850); color: #e8eff9; font-weight: 650; }
.model-strip { margin-top: 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-900); color: #dbe5f2; font-weight: 650; line-height: 1.7; }
.model-strip-label { display: block; margin-bottom: 4px; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.yours-lead { margin-top: 20px; }
.check-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
.disclaimer-strip { padding: 26px 0; border-top: 1px solid var(--line); background: var(--navy-950); }
.disclaimer-strip p { max-width: 900px; color: var(--quiet); font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 960px) {
  .video-layout, .demo-layout { grid-template-columns: 1fr; }
  .credit-card { max-width: 520px; }
}
@media (max-width: 640px) {
  .check-grid { grid-template-columns: 1fr; }
  .demo-layout .section-heading .button { width: 100%; }
}
@media (min-width: 1301px) and (max-width: 1420px) { .brand-copy small { display: none; } }

/* ===== V4.0.2: footer social icons + credit ===== */
.footer-social { width: 100%; display: flex; justify-content: center; margin-top: 28px; }
.footer-social-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--navy-850); color: #d3deec; text-decoration: none; transition: color .15s, border-color .15s, background-color .15s; }
.footer-social-link:hover { color: var(--navy-950); background: var(--cyan); border-color: var(--cyan); }
.footer-social-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 50%; color: #fff; background: var(--navy-800); }
.footer-social-link svg { display: block; }
.footer-credit { width: 100%; margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 0.88rem; }
.footer-credit a { color: #d3deec; }
.footer-credit a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .footer-social-link { transition: none; } }
