@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --card-line: rgba(0, 0, 0, .06);
  --nav-bg: rgba(255, 255, 255, .74);
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --accent: #0066cc;
  --accent-solid: #0071e3;
  --accent-hover: #0077ed;
  --on-accent: #ffffff;
  --warn: #b25000;
  --warn-soft: #fff3e8;
  --inv-bg: #000000;
  --inv-bg-2: #161618;
  --inv-ink: #f5f5f7;
  --inv-ink-2: #86868b;
  --inv-line: #2c2c2e;
  --inv-accent: #2997ff;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --scale: .87;
  --rhythm: .85;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 980px;
  --shadow-1: 0 1px 3px rgba(0, 0, 0, .05);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .06);
  --shadow-3: 0 4px 14px rgba(0, 0, 0, .06), 0 26px 70px rgba(0, 0, 0, .10);
  --container: 1360px;
  --container-narrow: 840px;
  --gutter: clamp(24px, 4.5vw, 80px);
  --hero-pad-top: calc(clamp(56px, 7vw, 96px) * var(--rhythm));
  --hero-pad-bottom: calc(clamp(44px, 5.5vw, 72px) * var(--rhythm));
  --hero-title-size: calc(clamp(42px, 6.2vw, 76px) * var(--scale));
  --section-title-size: calc(clamp(30px, 4.1vw, 52px) * var(--scale));
  --lead-size: calc(clamp(18px, 1.55vw, 22px) * var(--scale));
  --text: var(--ink);
  --muted: var(--ink-2);
  --soft: #48484a;
  --primary: var(--accent-solid);
  --primary-dim: rgba(0, 113, 227, .09);
  --accent2: var(--accent);
  --border: var(--line);
  --border-lit: rgba(0, 113, 227, .24);
  --surface: var(--bg-2);
  --surface-alt: #fbfbfd;
  --surface-hi: #eeeeF2;
  --corner: var(--r-md);
  --shadow: var(--shadow-2);
  --shadow-sm: var(--shadow-1);
  --grad: linear-gradient(110deg, var(--ink) 0%, var(--accent) 100%);
  --grad-solid: var(--accent-solid);

  /* Brand buttons — the Aidiven logo navy, not Apple blue. */
  --brand: #00113f;
  --btn-bg: #00113f;
  --btn-bg-hover: #0a2559;
  --btn-fg: #ffffff;

  /* Tinted surfaces used by portfolio / case-study panels. */
  --surface-blue: rgba(0, 17, 63, .045);
  --surface-blue-border: rgba(0, 17, 63, .12);
  --surface-green: rgba(22, 163, 74, .10);
  --surface-green-border: rgba(22, 163, 74, .22);
  --surface-contact: rgba(0, 17, 63, .04);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #131315;
  --card: #1c1c1e;
  --card-line: rgba(255, 255, 255, .09);
  --nav-bg: rgba(0, 0, 0, .72);
  --ink: #f5f5f7;
  --ink-2: #98989d;
  --line: #2a2a2d;
  --accent: #2997ff;
  --accent-solid: #0a84ff;
  --accent-hover: #2b93ff;
  --on-accent: #ffffff;
  --warn: #ff9f45;
  --warn-soft: rgba(255, 159, 69, .15);
  --inv-bg: #f5f5f7;
  --inv-bg-2: #ebebed;
  --inv-ink: #1d1d1f;
  --inv-ink-2: #6e6e73;
  --inv-line: #d2d2d7;
  --inv-accent: #0066cc;
  --soft: #c7c7cc;
  --primary: var(--accent-solid);
  --primary-dim: rgba(10, 132, 255, .16);
  --border: var(--line);
  --border-lit: rgba(41, 151, 255, .32);
  --surface: var(--bg-2);
  --surface-alt: #171719;
  --surface-hi: #242426;
  --shadow-1: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .45), 0 12px 32px rgba(0, 0, 0, .5);
  --shadow-3: 0 4px 14px rgba(0, 0, 0, .5), 0 26px 70px rgba(0, 0, 0, .6);

  /* Inverted for dark: a light, high-contrast pill. */
  --brand: #2f5bd0;
  --btn-bg: #f5f5f7;
  --btn-bg-hover: #ffffff;
  --btn-fg: #00113f;

  --surface-blue: rgba(255, 255, 255, .05);
  --surface-blue-border: rgba(255, 255, 255, .12);
  --surface-green: rgba(52, 199, 89, .14);
  --surface-green-border: rgba(52, 199, 89, .28);
  --surface-contact: rgba(255, 255, 255, .04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000;
    --bg-2: #131315;
    --card: #1c1c1e;
    --card-line: rgba(255, 255, 255, .09);
    --nav-bg: rgba(0, 0, 0, .72);
    --ink: #f5f5f7;
    --ink-2: #98989d;
    --line: #2a2a2d;
    --accent: #2997ff;
    --accent-solid: #0a84ff;
    --accent-hover: #2b93ff;
    --on-accent: #ffffff;
    --warn: #ff9f45;
    --warn-soft: rgba(255, 159, 69, .15);
    --inv-bg: #f5f5f7;
    --inv-bg-2: #ebebed;
    --inv-ink: #1d1d1f;
    --inv-ink-2: #6e6e73;
    --inv-line: #d2d2d7;
    --inv-accent: #0066cc;
    --soft: #c7c7cc;
    --primary: var(--accent-solid);
    --primary-dim: rgba(10, 132, 255, .16);
    --border: var(--line);
    --border-lit: rgba(41, 151, 255, .32);
    --surface: var(--bg-2);
    --surface-alt: #171719;
    --surface-hi: #242426;
    --shadow-1: 0 1px 3px rgba(0, 0, 0, .4);
    --shadow-2: 0 2px 8px rgba(0, 0, 0, .45), 0 12px 32px rgba(0, 0, 0, .5);
    --shadow-3: 0 4px 14px rgba(0, 0, 0, .5), 0 26px 70px rgba(0, 0, 0, .6);

    --brand: #2f5bd0;
    --btn-bg: #f5f5f7;
    --btn-bg-hover: #ffffff;
    --btn-fg: #00113f;

    --surface-blue: rgba(255, 255, 255, .05);
    --surface-blue-border: rgba(255, 255, 255, .12);
    --surface-green: rgba(52, 199, 89, .14);
    --surface-green-border: rgba(52, 199, 89, .28);
    --surface-contact: rgba(255, 255, 255, .04);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Large vw-scaled headings can outgrow their grid column at unusual zoom levels or viewport
   widths (a long word rendered at clamp()'s upper bound can exceed a fixed-width column before
   the browser gets a chance to wrap it) — this keeps them from overlapping neighboring content. */
h1, h2, h3 {
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: calc(17px * var(--scale));
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  display: none;
}

a {
  color: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.018em;
}

p,
li {
  color: var(--ink-2);
}

ul,
ol {
  padding-left: 20px;
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-solid);
  outline-offset: 3px;
  border-radius: 6px;
}

.container,
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow,
.article-wrap,
.legal-block {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[data-include="header"] {
  display: block;
  min-height: 82px;
}

/* Banner + header travel together and stick to the top as one unit. */
.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
}

.top-banner {
  background: var(--bg-2);
  border-bottom: 1px solid var(--card-line);
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  padding-block: 10px;
  text-align: center;
}

.top-banner .container {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-banner strong {
  color: var(--ink);
  font-weight: 600;
}

.top-banner a {
  color: var(--accent);
  text-decoration: none;
}

.top-banner a:hover {
  text-decoration: underline;
}

.top-banner .container {
  position: relative;
  padding-right: calc(var(--gutter) + 30px);
}

.banner-close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  transition: color .2s ease, background-color .2s ease;
}

.banner-close:hover {
  color: var(--ink);
  background: var(--card);
}

/* Audit link lives in the menu only after the banner is dismissed. */
.nav-links a.nav-audit {
  display: none;
  color: var(--accent);
  font-weight: 500;
}

:root[data-banner="off"] .top-banner {
  display: none;
}

:root[data-banner="off"] .nav-links a.nav-audit {
  display: inline-flex;
}

.site-header {
  position: relative;
  z-index: 60;
  height: 46px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

nav {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.logo-img {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
}

.logo,
.footer-brand-name {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}

.logo-ai,
.logo-rest,
.gradient-text {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.tagline-small {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  font-weight: 450;
}

.nav-links a,
.nav-dropdown-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0;
  color: inherit;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, opacity .18s ease;
}

.nav-links a:hover,
.nav-links a.active-nav,
.nav-dropdown-summary:hover {
  color: var(--ink);
  background: transparent;
}

.nav-links a.active-nav {
  font-weight: 600;
}

.nav-links a.nav-cta {
  color: var(--accent);
  font-weight: 500;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  font-size: calc(13px * var(--scale));
  font-weight: 550;
  line-height: 1;
}

.nav-login span {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1;
}

.nav-login:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active-nav {
  color: var(--accent-hover);
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
}

.theme-icon {
  display: none;
}

/* Theme toggle — icons swap via CSS so there's no flash on load. */
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.theme-toggle:hover {
  border-color: var(--ink-2);
  background: var(--bg-2);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
}

.theme-toggle .icon-moon {
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(clamp(58px, 8vw, 104px) * var(--rhythm)) 0 calc(clamp(48px, 6vw, 76px) * var(--rhythm));
  border-bottom: 0;
  background: var(--bg);
  text-align: left;
}

.hero::before,
.hero::after,
.section-title::after,
.card::before,
.split::before,
.result-card::before,
.svc-card::before,
.wwd-col::before,
.testimonial-card::before {
  display: none;
}

.testimonial-card {
  margin: 0;
}

.home-hero-copy,
.hero .container > h1,
.hero h1 {
  max-width: 900px;
}

.hero h1,
.home-hero-copy h1 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: var(--hero-title-size);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.024em;
}

.hero p,
.home-hero-text p,
.hero-lead,
.hero-copy,
.section-title p,
.split p {
  max-width: 690px;
  color: var(--ink-2);
  font-size: var(--lead-size);
  line-height: 1.34;
}

.hero p,
.home-hero-text p {
  margin-top: 16px;
}

.hero-copy,
.home-hero-text p + p {
  font-size: calc(17px * var(--scale));
  line-height: 1.52;
}

.pill,
.eyebrow,
.service-label,
.discovery-label,
.pilot-kicker,
.result-industry,
.blog-chip,
.portfolio-card-category,
.project-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.pill::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-solid);
}

.section {
  position: relative;
  padding: calc(clamp(60px, 8.5vw, 105px) * var(--rhythm)) 0;
  border-bottom: 0;
  background: var(--bg);
}

.section:nth-of-type(even),
.section:nth-of-type(2n),
.sec-alt,
.discovery-shift,
.ea-band,
.pricing-table-wrap {
  background: var(--bg-2);
}

.section-title {
  max-width: 820px;
  margin: 0 0 calc(38px * var(--rhythm));
  text-align: left;
}

.section-title h2,
.split h2,
.ea-headline {
  margin: 0;
  color: var(--ink);
  font-size: var(--section-title-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.section-title p,
.split p,
.ea-sub {
  margin: 14px 0 0;
  font-size: calc(17px * var(--scale));
  line-height: 1.52;
}

.section-title p a {
  color: var(--accent);
  text-decoration: none;
}

.section-title p a:hover {
  text-decoration: underline;
}

.grid,
.prompt-grid,
.coming-soon-grid,
.results-grid,
.testimonials-grid,
.why-grid,
.svc-grid,
.business-value-grid,
.portfolio-card-pills,
.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 18px;
}

.grid-2,
.discovery-flow,
.contact-wrap,
.blog-layout,
.founder-wrap,
.results-grid--2,
.testimonials-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.card,
.prompt-card,
.blog-card,
.portfolio-card,
.project-header-card,
.detail-panel,
.coming-soon-card,
.result-card,
.testimonial-card,
.why-item,
.svc-card,
.discovery-lane,
.contact-wrap,
.contact-form-wrap,
.audit-mockup,
.notice-panel,
.article-note,
.article-toc,
.enterprise-banner,
.free-scan-banner,
.transparency-notice,
.pricing-card,
.outcome-table,
.compare-table,
.growth-chart-wrap,
.services-progress-wrap,
.service-track-list,
.keywords-note,
.keyword-list {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}

.card,
.prompt-card,
.blog-card,
.portfolio-card,
.project-header-card,
.detail-panel,
.coming-soon-card,
.result-card,
.testimonial-card,
.why-item,
.svc-card,
.discovery-lane,
.audit-mockup,
.notice-panel,
.article-note,
.article-toc,
.enterprise-banner,
.free-scan-banner,
.transparency-notice {
  padding: 24px 22px;
}

.card:hover,
.blog-card:hover,
.portfolio-card:not(.portfolio-card--disabled):hover,
.svc-card:hover,
.result-card:hover,
.why-item:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.help-card,
.answer-card,
.analytics-card,
.business-signal-card,
.ai-choice-step,
.service-process-step {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.help-card:hover,
.analytics-card:hover,
.business-signal-card:hover,
.ai-choice-step:hover,
.service-process-step:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}

.answer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}

.card h3,
.prompt-card h3,
.blog-card h3,
.portfolio-card h3,
.result-title,
.why-item h3,
.svc-card h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: calc(clamp(21px, 2.4vw, 28px) * var(--scale));
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.018em;
}

.card p,
.card li,
.prompt-card,
.blog-card p,
.portfolio-card p,
.result-desc,
.testimonial-card p,
.why-item p,
.svc-card p {
  color: var(--ink-2);
  font-size: calc(15.5px * var(--scale));
  line-height: 1.58;
}

.split {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-2);
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: none;
}

.split .card,
.split .notice-panel {
  background: var(--card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: calc(12px * var(--scale)) calc(24px * var(--scale));
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  cursor: pointer;
  font-size: calc(17px * var(--scale));
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

.btn-primary,
.cf-submit,
.footer-cta {
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 113, 227, .18);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.footer-cta {
  width: max-content;
  min-width: 146px;
  white-space: nowrap;
  padding-inline: 28px;
}

.btn-primary:hover,
.cf-submit:hover,
.footer-cta:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 113, 227, .26);
  transform: translateY(-1px);
}

.btn-secondary,
.btn-quiet,
.back-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-secondary:hover,
.btn-quiet:hover,
.back-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  text-decoration: none;
}

.cta-row,
.badges,
.platform-strip,
.footer-pill-row,
.footer-socials,
.project-meta-pills,
.result-services {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row {
  margin-top: 30px;
}

.footer-socials {
  margin-top: 18px;
}

.badge,
.platform-strip span,
.footer-pill-row span,
.project-meta-pill,
.portfolio-card-pill,
.svc-badge,
.svc-badge-sm,
.service-badge,
.contact-services-list span,
.popular-badge,
.coming-soon-badge,
.founder-cred-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.popular-badge {
  width: max-content;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-color: var(--btn-bg);
}

.discovery-flow {
  align-items: stretch;
}

.ai-choice-story {
  display: grid;
  max-width: 1040px;
  gap: clamp(24px, 4vw, 42px);
}

.ai-choice-intro {
  max-width: 760px;
}

.ai-choice-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--section-title-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.ai-choice-intro p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: calc(17px * var(--scale));
  line-height: 1.55;
}

.ai-choice-steps {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 14px;
  align-items: stretch;
}

.ai-choice-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.ai-choice-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 15px;
  height: 1px;
  background: var(--line);
}

.ai-step-number,
.service-process-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.ai-choice-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: calc(19px * var(--scale));
  line-height: 1.22;
}

.ai-choice-step p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
  line-height: 1.48;
}

.ai-source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ai-source-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: calc(12.5px * var(--scale));
  font-weight: 750;
}

.ai-choice-result {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-left: 4px solid var(--accent-solid);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.ai-choice-result strong {
  color: var(--ink);
  font-size: calc(16px * var(--scale));
}

.ai-choice-result p {
  margin: 0;
  color: var(--ink-2);
  font-size: calc(15px * var(--scale));
  line-height: 1.5;
}

.ai-choice-panel {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ai-choice-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--section-title-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.ai-choice-copy p {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: calc(17px * var(--scale));
  line-height: 1.55;
}

.ai-choice-copy .decision-note {
  margin-top: 22px;
  padding: 15px 16px;
  font-size: calc(16px * var(--scale));
  line-height: 1.45;
}

.ai-choice-visual {
  display: grid;
  gap: 10px;
  max-width: 760px;
  justify-self: end;
}

.ai-question-card,
.ai-answer-card {
  padding: 20px 22px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.ai-question-card span,
.ai-answer-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ai-question-card strong {
  display: block;
  color: var(--ink);
  font-size: calc(clamp(21px, 1.8vw, 28px) * var(--scale));
  line-height: 1.12;
}

.ai-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ai-flow-arrow::before,
.ai-flow-arrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--line);
}

.ai-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--surface-alt);
}

.ai-source-grid span {
  display: grid;
  min-height: 36px;
  place-items: center;
  padding: 7px 8px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  font-size: calc(12.5px * var(--scale));
  font-weight: 750;
  text-align: center;
}

.ai-answer-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aiChoice;
}

.ai-answer-card li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--card-line);
  border-radius: 0;
  background: transparent;
  counter-increment: aiChoice;
}

.ai-answer-card li:last-child {
  border-bottom: 0;
}

.ai-answer-card li::before {
  content: counter(aiChoice);
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.ai-answer-card__risk {
  margin-inline: -10px;
  padding-inline: 10px !important;
  border-bottom-color: transparent;
  border-radius: var(--r-sm);
  background: rgba(178, 80, 0, .08);
}

.ai-answer-card__risk::before {
  background: #b25000;
}

.ai-answer-card li div,
.ai-answer-card li strong,
.ai-answer-card li em {
  display: block;
  min-width: 0;
}

.ai-answer-card li strong {
  color: var(--ink);
  font-size: calc(14.5px * var(--scale));
  line-height: 1.25;
}

.ai-answer-card li em {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-style: normal;
}

.discovery-lane {
  padding: 26px;
}

.discovery-lane--new {
  border-color: var(--border-lit);
  background: var(--surface-alt);
}

.discovery-lane-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.discovery-lane-head strong {
  color: var(--ink);
  font-size: calc(18px * var(--scale));
  text-align: right;
}

.discovery-steps {
  display: grid;
}

.discovery-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.discovery-step > span,
.step .n,
.process .card::after {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
  font-weight: 600;
}

.discovery-step strong,
.text-strong-sm,
.mock-row strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.discovery-step p {
  margin: 5px 0 0;
  font-size: calc(14.5px * var(--scale));
  line-height: 1.5;
}

.discovery-step--engine,
.aidiven-fit-visual {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(0, 113, 227, .18);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}

.discovery-connector {
  width: 1px;
  height: 28px;
  margin: 8px 0 8px 16px;
  background: var(--line);
}

.aidiven-fit-visual {
  margin: 16px 0 16px 48px;
  overflow: hidden;
}

.aidiven-fit-visual::before {
  display: none;
}

.fit-sources,
.fit-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fit-sources span,
.fit-actions span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.fit-path {
  height: 28px;
  position: relative;
}

.fit-path::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
}

.fit-path::after,
.fit-path span {
  display: none;
}

.fit-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--card);
}

.fit-core-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-solid);
}

.fit-core strong {
  color: var(--ink);
}

.fit-core small,
.aidiven-fit-visual p,
.text-muted-sm,
.muted,
.keywords-note {
  color: var(--ink-2);
}

.process {
  counter-reset: step;
}

.process .card {
  counter-increment: step;
  padding-top: 64px;
}

.process .card::after {
  content: "0" counter(step);
  position: absolute;
  top: 22px;
  left: 22px;
  color: #fff;
  border-color: var(--accent-solid);
  background: var(--accent-solid);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
}

.check::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #147a3f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.keyword-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
}

.notice-panel {
  border-color: rgba(178, 80, 0, .22);
  background: var(--warn-soft);
  color: var(--warn);
}

.notice-panel strong {
  color: var(--warn);
}

.audit-mockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-2);
}

.mock-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-2);
  font-weight: 600;
}

.mock-topline strong {
  color: var(--accent-solid);
  font-size: 30px;
  line-height: 1;
}

.mock-meter {
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-2);
}

.mock-meter span,
.service-track-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent-solid);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-line);
  color: var(--ink-2);
}

.status-low,
.status-mid {
  color: var(--warn) !important;
}

.status-ok {
  color: #21833a !important;
}

.contact-wrap {
  padding: clamp(24px, 4vw, 44px);
  align-items: stretch;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}

.cf-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
}

.contact-info,
.contact-form-wrap {
  min-width: 0;
}

.contact-form-wrap {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.contact-link,
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  text-decoration: none;
}

.contact-link:hover,
.footer-contact-link:hover {
  color: var(--ink);
}

.contact-link-icon,
.footer-contact-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  background: var(--card);
  font-size: 12px;
  font-weight: 600;
}

.contact-icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.cf-full {
  grid-column: 1 / -1;
}

.cf-group {
  display: grid;
  gap: 7px;
}

.cf-group label {
  color: var(--ink);
  font-size: calc(13px * var(--scale));
  font-weight: 600;
  letter-spacing: -.01em;
}

.cf-req {
  color: var(--warn);
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: calc(14.5px * var(--scale));
  letter-spacing: -.01em;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

/* Custom chevron so selects match the theme instead of the OS default. */
.cf-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 4.5 6 8l3.5-3.5' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
  cursor: pointer;
}

:root[data-theme="dark"] .cf-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 4.5 6 8l3.5-3.5' stroke='%2398989d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cf-group select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 4.5 6 8l3.5-3.5' stroke='%2398989d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  }
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: var(--ink-2);
  opacity: .7;
}

.cf-group textarea {
  min-height: 108px;
  resize: vertical;
}

.cf-group input:hover,
.cf-group select:hover,
.cf-group textarea:hover {
  border-color: var(--ink-2);
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--brand);
  background: var(--card);
  box-shadow: 0 0 0 4px var(--primary-dim);
}

.cf-note {
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
}

.cf-note--success {
  color: #21833a;
}

.cf-note--error {
  color: var(--warn);
}

.footer-social {
  --social-color: var(--ink-2);
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--social-color);
  background: var(--card);
  text-decoration: none;
}

.footer-social:hover {
  color: var(--social-color);
  border-color: currentColor;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-social--linkedin { --social-color: #0a66c2; }
.footer-social--facebook { --social-color: #1877f2; }
.footer-social--instagram { --social-color: #e4405f; }
.footer-social--tiktok { --social-color: #111111; }
.footer-social--x { --social-color: #111111; }
.footer-social--youtube { --social-color: #ff0000; }
.footer-social--whatsapp { --social-color: #25d366; }

:root[data-theme="dark"] .footer-social--tiktok,
:root[data-theme="dark"] .footer-social--x {
  --social-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-social--tiktok,
  :root:not([data-theme="light"]) .footer-social--x {
    --social-color: #ffffff;
  }
}

.outcome-table,
.compare-table,
.pricing-table-wrap,
.pricing-table-scroll {
  overflow-x: auto;
}

.outcome-row,
.compare-table tr,
.pricing-table tr {
  border-bottom: 1px solid var(--card-line);
}

.outcome-row {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
}

.outcome-row > div,
.compare-table th,
.compare-table td,
.pricing-table th,
.pricing-table td {
  padding: 15px 18px;
  color: var(--ink-2);
  font-size: calc(15px * var(--scale));
  text-align: left;
  vertical-align: top;
}

.outcome-row > div:first-child,
.compare-table th,
.pricing-table th {
  color: var(--ink);
  font-weight: 600;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

thead th,
.outcome-head {
  background: var(--bg-2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.pricing-card--featured {
  border-color: rgba(0, 113, 227, .35);
  box-shadow: var(--shadow-2);
}

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

.price-box,
.priority-list,
.package-details,
.service-track {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}

.package-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.blog-card,
.portfolio-card,
.svc-card {
  color: inherit;
  text-decoration: none;
}

.blog-meta,
.portfolio-card-footer,
.project-link,
.portfolio-card-link,
.svc-link,
.results-note a {
  color: var(--accent);
  text-decoration: none;
}

.blog-meta:hover,
.project-link:hover,
.portfolio-card-link:hover,
.svc-link:hover,
.results-note a:hover {
  text-decoration: underline;
}

.article-content {
  max-width: var(--container);
  margin-inline: auto;
  color: var(--ink-2);
  font-size: calc(17px * var(--scale));
}

.article-content h2,
.article-content h3,
.legal-block h2,
.legal-block h3 {
  margin-top: 34px;
  color: var(--ink);
}

.article-content p,
.legal-block p,
.legal-block li {
  line-height: 1.65;
}

.article-toc ul,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li,
.footer-links li {
  margin-bottom: 8px;
}

.article-toc a,
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}

.article-toc a:hover,
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.search-evolution,
.outcome-tiles,
.wwd-three,
.ai-prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.se-step,
.outcome-tile,
.wwd-col,
.ai-prompt-card {
  padding: 20px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  text-align: center;
}

.se-icon,
.outcome-icon,
.svc-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--accent);
}

.se-arrow,
.wwd-arrow,
.journey-arrow,
.journey-vs {
  color: var(--ink-2);
  text-align: center;
}

.founder-wrap {
  grid-template-columns: 240px 1fr;
}

.founder-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
}

.founder-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--surface-blue);
}

.founder-avatar-col {
  text-align: center;
}

.founder-name {
  color: var(--ink);
  font-size: calc(19px * var(--scale));
  font-weight: 600;
  letter-spacing: -.01em;
}

.founder-role {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  margin-top: 14px;
  color: var(--primary);
  font-size: calc(13.5px * var(--scale));
  font-weight: 650;
  text-decoration: none;
}

.founder-linkedin svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}

.founder-linkedin:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.founder-story p {
  line-height: 1.65;
}

.founder-quote {
  margin: 24px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
  font-size: calc(17px * var(--scale));
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT — info cards + centered form card
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.contact-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-blue);
  border: 1px solid var(--surface-blue-border);
  color: var(--accent);
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card-label {
  font-size: calc(12px * var(--scale));
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.contact-card-value {
  font-size: calc(16.5px * var(--scale));
  font-weight: 600;
  color: var(--ink);
}

.contact-card-value small {
  color: var(--ink-2);
  font-weight: 400;
}

/* Centered form card — shared by contact + pricing enquiry forms. */
.form-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--card-line);
  border-radius: calc(var(--r-lg) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-solid), #8ec5ff);
}

.form-card .cf-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  letter-spacing: -.01em;
}

/* Two-column "info | form" layout — contact page and reused on the free-scan page. */
.contact-layout {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-layout .form-card {
  max-width: none;
  margin-inline: 0;
}

.contact-cards--stack {
  grid-template-columns: 1fr;
}

.contact-info-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--surface-alt);
  color: var(--ink-2);
  font-size: calc(13.5px * var(--scale));
  line-height: 1.55;
}

.contact-info-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 113, 227, .10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 58%, var(--surface-alt) 100%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.contact-hero-copy {
  max-width: 840px;
}

.contact-hero-copy h1 {
  max-width: 860px;
}

.contact-hero-copy p {
  max-width: 720px;
}

.contact-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.contact-proof-row span {
  padding: 8px 11px;
  border: 1px solid rgba(0, 17, 63, .10);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .74);
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
  font-weight: 700;
}

.contact-hero-panel {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
    radial-gradient(circle at 100% 0%, rgba(0, 113, 227, .10), transparent 32%);
  box-shadow: var(--shadow-3);
}

.contact-panel-top {
  display: grid;
  gap: 8px;
}

.contact-panel-top span,
.contact-signal-list span,
.form-card-head span {
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-panel-top strong {
  color: var(--ink);
  font-size: calc(clamp(22px, 2.2vw, 30px) * var(--scale));
  line-height: 1.1;
}

.contact-signal-list {
  display: grid;
  gap: 10px;
}

.contact-signal-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--card-line);
}

.contact-signal-list strong {
  color: var(--ink);
  font-size: calc(14px * var(--scale));
  text-align: right;
}

.contact-panel-link {
  display: inline-flex;
  width: fit-content;
  color: var(--primary);
  font-size: calc(15px * var(--scale));
  font-weight: 700;
  text-decoration: none;
}

.contact-panel-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-redesign-section {
  background: linear-gradient(180deg, var(--surface-alt), var(--bg-2));
}

.contact-layout--redesign {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 58px);
}

.contact-sidebar {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.contact-sidebar-title {
  margin-bottom: 0;
  text-align: left;
}

.contact-sidebar-title h2,
.contact-sidebar-title p {
  margin-inline: 0;
}

.contact-card--highlight {
  border-color: rgba(0, 113, 227, .26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92)),
    var(--surface-blue);
}

.contact-next-card {
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.contact-next-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: calc(19px * var(--scale));
}

.contact-next-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  line-height: 1.5;
}

.contact-next-card li::marker {
  color: var(--accent-solid);
  font-weight: 800;
}

.contact-form-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .90)),
    var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 44px rgba(0, 17, 63, .08);
}

.contact-form-card::before {
  display: none;
}

.form-card-head {
  display: grid;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--card-line);
}

.form-card-head strong {
  color: var(--ink);
  font-size: calc(clamp(20px, 1.8vw, 26px) * var(--scale));
  line-height: 1.16;
}

.contact-form-section {
  display: grid;
  gap: 14px;
}

.contact-form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-section-head span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--card-line);
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink-2);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
}

.contact-form-section-head strong {
  color: var(--ink);
  font-size: calc(14px * var(--scale));
}

.contact-form-card .cf-row {
  gap: 14px;
}

.contact-form-card .cf-group {
  gap: 6px;
}

.contact-form-card .cf-group label {
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
  font-weight: 800;
}

.contact-form-card .cf-group input,
.contact-form-card .cf-group select,
.contact-form-card .cf-group textarea {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface-alt);
  padding: 13px 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 17, 63, .07);
}

.contact-form-card .cf-group input:hover,
.contact-form-card .cf-group select:hover,
.contact-form-card .cf-group textarea:hover {
  border-color: transparent;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(0, 17, 63, .16);
}

.contact-form-card .cf-group input:focus,
.contact-form-card .cf-group select:focus,
.contact-form-card .cf-group textarea:focus {
  border-color: transparent;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px var(--primary-dim);
}

.contact-form-card textarea {
  min-height: 138px;
}

.audit-form-card {
  border-color: rgba(0, 113, 227, .16);
}

.audit-form-card .form-card-head {
  background:
    linear-gradient(90deg, rgba(0, 113, 227, .075), transparent 72%);
  margin: calc(clamp(22px, 3vw, 34px) * -1) calc(clamp(22px, 3vw, 34px) * -1) 0;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 34px) 20px;
}

.audit-form-card .contact-form-section-head span {
  background: rgba(0, 113, 227, .09);
  color: var(--accent);
}

.audit-form-card #cf-challenge {
  min-height: 112px;
}

.contact-submit-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--card-line);
}

.contact-submit-row .cf-submit {
  width: 100%;
  margin-top: 0;
  border-radius: 8px;
}

.contact-submit-row .cf-note {
  margin: 0;
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
  line-height: 1.45;
}

:root[data-theme="dark"] .contact-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(142, 197, 255, .12), transparent 34%),
    linear-gradient(180deg, #05070b 0%, #0b1018 58%, var(--surface-alt) 100%);
}

:root[data-theme="dark"] .contact-proof-row span,
:root[data-theme="dark"] .contact-hero-panel,
:root[data-theme="dark"] .contact-card--highlight,
:root[data-theme="dark"] .contact-form-card {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .12);
}

:root[data-theme="dark"] .contact-form-section-head span,
:root[data-theme="dark"] .contact-form-card .cf-group input,
:root[data-theme="dark"] .contact-form-card .cf-group select,
:root[data-theme="dark"] .contact-form-card .cf-group textarea {
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-hero {
    background:
      radial-gradient(circle at 82% 18%, rgba(142, 197, 255, .12), transparent 34%),
      linear-gradient(180deg, #05070b 0%, #0b1018 58%, var(--surface-alt) 100%);
  }

  :root:not([data-theme="light"]) .contact-proof-row span,
  :root:not([data-theme="light"]) .contact-hero-panel,
  :root:not([data-theme="light"]) .contact-card--highlight,
  :root:not([data-theme="light"]) .contact-form-card {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .12);
  }

  :root:not([data-theme="light"]) .contact-form-section-head span,
  :root:not([data-theme="light"]) .contact-form-card .cf-group input,
  :root:not([data-theme="light"]) .contact-form-card .cf-group select,
  :root:not([data-theme="light"]) .contact-form-card .cf-group textarea {
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  }
}

@media (max-width: 900px) {
  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .contact-proof-row {
    display: grid;
  }

  .contact-signal-list div {
    display: grid;
    gap: 4px;
  }

  .contact-signal-list strong {
    text-align: left;
  }

  .contact-submit-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq details[open] {
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: calc(16.5px * var(--scale));
  font-weight: 600;
  letter-spacing: -.012em;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-2);
  font-size: calc(15.5px * var(--scale));
  line-height: 1.62;
}

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
  line-height: 1.5;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr);
  gap: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-logo-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.footer-logo-line img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-tagline,
.foot-note {
  max-width: 42ch;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title,
.foot h4 {
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--scale));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-social:hover {
  color: var(--social-color);
  border-color: currentColor;
  background: var(--bg);
}

.footer-contact-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-bottom,
.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
}

.footer-copyright {
  color: var(--ink-2);
}

.footer-legal,
.footer-product {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-product-link {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-product-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Keep "Aidiven is a product of  [logo] Kandhani ..." on one baseline. */
.footer-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-product > span {
  color: var(--ink-2);
  white-space: nowrap;
}

.footer-product-link img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-s { margin-top: calc(12px * var(--rhythm)); }
.section-title--form { margin-bottom: 24px; }

#audit-form {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

#audit-form .container {
  max-width: 1180px;
}

#audit-form .section-title--form {
  max-width: 760px;
  margin-inline: 0;
  margin-bottom: 30px;
  text-align: left;
}

#audit-form .section-title--form h2,
#audit-form .section-title--form p {
  margin-inline: 0;
}

#audit-form .section-title--form h2 {
  max-width: 720px;
  font-size: calc(clamp(34px, 4.3vw, 58px) * var(--scale));
  line-height: 1.03;
}

#audit-form .contact-layout {
  grid-template-columns: minmax(260px, .62fr) minmax(520px, .9fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1120px;
  align-items: start;
}

#audit-form .check-list {
  max-width: 420px;
  gap: 12px;
  padding: 18px 0 4px;
}

#audit-form .check {
  gap: 12px;
  font-size: calc(14px * var(--scale));
}

#audit-form .contact-info-note {
  max-width: 420px;
  margin-top: 26px;
  border-radius: 8px;
  background: var(--card);
}

#auditForm {
  max-width: 720px;
  justify-self: end;
}

#auditForm.contact-form-card {
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 34px rgba(0, 17, 63, .07);
}

#auditForm .form-card-head {
  margin: -24px -24px 0;
  padding: 22px 24px 20px;
}

#auditForm .form-card-head strong {
  max-width: 560px;
  font-size: calc(clamp(20px, 1.7vw, 25px) * var(--scale));
}

#auditForm .contact-form-section {
  gap: 12px;
}

#auditForm .contact-form-section-head {
  margin-top: 2px;
}

#auditForm .cf-row {
  gap: 12px;
}

#auditForm .cf-group input,
#auditForm .cf-group select,
#auditForm .cf-group textarea {
  min-height: 44px;
  padding: 11px 13px;
  font-size: calc(14px * var(--scale));
}

#auditForm textarea {
  min-height: 104px;
}

#auditForm #cf-challenge {
  min-height: 96px;
}

#auditForm .contact-submit-row {
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  padding-top: 16px;
}

#auditForm .contact-submit-row .cf-submit {
  min-height: 48px;
}

@media (max-width: 900px) {
  #audit-form .contact-layout {
    grid-template-columns: 1fr;
    max-width: none;
  }

  #auditForm {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  #audit-form .section-title--form h2 {
    font-size: calc(clamp(32px, 10vw, 44px) * var(--scale));
  }

  #auditForm.contact-form-card {
    padding: 20px;
  }

  #auditForm .form-card-head {
    margin: -20px -20px 0;
    padding: 20px;
  }

  #auditForm .contact-submit-row {
    grid-template-columns: 1fr;
  }
}
.mt-m { margin-top: calc(20px * var(--rhythm)); }
.mt-l { margin-top: calc(34px * var(--rhythm)); }
.center { text-align: center; }

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.28, .11, .32, 1), transform .7s cubic-bezier(.28, .11, .32, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

:root[data-journey-current="invisible"] {
  --journey-progress: .06;
}

:root[data-journey-current="discovered"] {
  --journey-progress: .38;
}

:root[data-journey-current="trusted"] {
  --journey-progress: .68;
}

:root[data-journey-current="recommended"] {
  --journey-progress: 1;
}

.journey-experience {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--surface-alt), var(--bg) 34%, var(--bg-2) 100%);
}

.journey-illustration {
  position: sticky;
  top: var(--site-top-h, 74px);
  z-index: 12;
  width: 188px;
  height: 0;
  margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  transform: translateY(28px);
}

.journey-illustration-title {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: calc(10.5px * var(--scale));
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.journey-rail {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 430px;
  margin: 0;
  padding: 14px 10px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 28px rgba(0, 17, 63, .07);
  list-style: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.journey-rail::before {
  content: none;
}

.journey-rail::after {
  content: none;
}

.journey-rail li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 8px 7px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.journey-rail li::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 0;
  bottom: 7px;
  left: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.journey-rail li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  top: calc(50% + 20px);
  bottom: calc(-12px - 20px);
  z-index: 0;
  width: 3px;
  border-radius: var(--r-pill);
  background: linear-gradient(
    180deg,
    rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
    var(--line) var(--segment-progress, 0%) 100%
  );
  transition: box-shadow .25s ease;
}

.journey-rail li.is-passed:not(:last-child)::after {
  box-shadow: 0 0 10px rgba(var(--stage-rgb), .16);
}

.journey-rail li:not(:last-child) .journey-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 20px + var(--segment-marker-offset, 0px));
  z-index: 4;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='3' y1='13' x2='21' y2='13'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: var(--segment-marker-opacity, 0);
  transform: translate(-50%, -50%) scale(var(--segment-marker-scale, .7));
  transition: top .18s ease-out, left .18s ease-out, opacity .18s ease, transform .18s ease;
}

.journey-rail li:not(:last-child) .journey-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 20px + var(--segment-marker-offset, 0px));
  z-index: 3;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid var(--card);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 44%),
    rgb(var(--stage-rgb));
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(var(--stage-rgb), .14), 0 8px 18px rgba(var(--stage-rgb), .26);
  opacity: var(--segment-marker-opacity, 0);
  transform: translate(-50%, -50%) scale(var(--segment-marker-scale, .7));
  transition: top .18s ease-out, left .18s ease-out, opacity .18s ease, transform .18s ease;
}

.journey-rail li[data-stage-key="invisible"] {
  --stage-rgb: 142, 142, 147;
}

.journey-rail li[data-stage-key="discovered"] {
  --stage-rgb: 0, 113, 227;
}

.journey-rail li[data-stage-key="trusted"] {
  --stage-rgb: 20, 122, 63;
}

.journey-rail li[data-stage-key="recommended"] {
  --stage-rgb: 184, 134, 11;
}

.journey-rail li:hover,
.journey-rail li:focus-visible {
  color: var(--ink);
  outline: 0;
}

.journey-rail li:hover::before,
.journey-rail li:focus-visible::before {
  border-color: rgba(var(--stage-rgb), .18);
  background: rgba(var(--stage-rgb), .045);
}

.journey-rail li.is-active {
  color: var(--ink);
  transform: none;
}

.journey-rail li.is-active::before {
  border-color: rgba(var(--stage-rgb), .26);
  background:
    linear-gradient(135deg, rgba(var(--stage-rgb), .12), rgba(var(--stage-rgb), .045)),
    rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 28px rgba(var(--stage-rgb), .1);
}

.journey-rail li.is-passed {
  color: var(--ink-2);
}

.journey-rail strong,
.journey-rail em {
  display: block;
  min-width: 0;
}

.journey-rail strong {
  color: currentColor;
  font-size: calc(11.8px * var(--scale));
  font-weight: 900;
  line-height: 1.15;
}

.journey-rail em {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: calc(10px * var(--scale));
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.journey-rail li.is-passed em {
  color: inherit;
}

.journey-icon {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: rgb(var(--stage-rgb));
  box-shadow: var(--shadow-1);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.journey-rail li > div {
  position: relative;
  z-index: 2;
}

.journey-rail li.is-active .journey-icon {
  border-color: rgba(var(--stage-rgb), .36);
  background: rgba(var(--stage-rgb), .12);
  box-shadow: 0 0 0 7px rgba(var(--stage-rgb), .09);
  transform: scale(1.08);
}

.journey-rail li.is-passed .journey-icon {
  border-color: rgba(var(--stage-rgb), .26);
  background: var(--card);
  color: rgb(var(--stage-rgb));
}

.journey-icon-glyph {
  position: absolute;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: opacity .22s ease, transform .22s ease;
}

.journey-icon-glyph--star {
  fill: currentColor;
  stroke: none;
}

:root[data-theme="dark"] .journey-illustration-title {
  color: rgba(245, 245, 247, .74);
}

:root[data-theme="dark"] .journey-rail {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(28, 28, 30, .84);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .38);
}

:root[data-theme="dark"] .journey-rail li {
  color: rgba(245, 245, 247, .62);
}

:root[data-theme="dark"] .journey-rail li:hover,
:root[data-theme="dark"] .journey-rail li:focus-visible,
:root[data-theme="dark"] .journey-rail li.is-active {
  color: #f5f5f7;
}

:root[data-theme="dark"] .journey-rail em {
  color: rgba(245, 245, 247, .52);
}

:root[data-theme="dark"] .journey-rail li.is-active em {
  color: rgba(245, 245, 247, .76);
}

:root[data-theme="dark"] .journey-rail li::before {
  border-color: transparent;
}

:root[data-theme="dark"] .journey-rail li:hover::before,
:root[data-theme="dark"] .journey-rail li:focus-visible::before {
  border-color: rgba(var(--stage-rgb), .34);
  background: rgba(var(--stage-rgb), .1);
}

:root[data-theme="dark"] .journey-rail li.is-active::before {
  border-color: rgba(var(--stage-rgb), .42);
  background:
    linear-gradient(135deg, rgba(var(--stage-rgb), .22), rgba(var(--stage-rgb), .075)),
    rgba(17, 17, 20, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 34px rgba(0, 0, 0, .28), 0 0 0 1px rgba(var(--stage-rgb), .06);
}

:root[data-theme="dark"] .journey-rail li:not(:last-child)::after {
  background: linear-gradient(
    180deg,
    rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
    rgba(245, 245, 247, .24) var(--segment-progress, 0%) 100%
  );
}

:root[data-theme="dark"] .journey-rail li.is-passed:not(:last-child)::after {
  box-shadow: 0 0 14px rgba(var(--stage-rgb), .32);
}

:root[data-theme="dark"] .journey-icon {
  border-color: rgba(255, 255, 255, .14);
  background: #111114;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
}

:root[data-theme="dark"] .journey-rail li.is-active .journey-icon {
  border-color: rgba(var(--stage-rgb), .56);
  background: rgba(var(--stage-rgb), .18);
  box-shadow: 0 0 0 8px rgba(var(--stage-rgb), .14), 0 12px 26px rgba(0, 0, 0, .42);
}

:root[data-theme="dark"] .journey-rail li.is-passed .journey-icon {
  border-color: rgba(var(--stage-rgb), .42);
  background: #111114;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .journey-illustration-title {
    color: rgba(245, 245, 247, .74);
  }

  :root:not([data-theme="light"]) .journey-rail {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(28, 28, 30, .84);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .38);
  }

  :root:not([data-theme="light"]) .journey-rail li {
    color: rgba(245, 245, 247, .62);
  }

  :root:not([data-theme="light"]) .journey-rail li:hover,
  :root:not([data-theme="light"]) .journey-rail li:focus-visible,
  :root:not([data-theme="light"]) .journey-rail li.is-active {
    color: #f5f5f7;
  }

  :root:not([data-theme="light"]) .journey-rail em {
    color: rgba(245, 245, 247, .52);
  }

  :root:not([data-theme="light"]) .journey-rail li.is-active em {
    color: rgba(245, 245, 247, .76);
  }

  :root:not([data-theme="light"]) .journey-rail li:hover::before,
  :root:not([data-theme="light"]) .journey-rail li:focus-visible::before {
    border-color: rgba(var(--stage-rgb), .34);
    background: rgba(var(--stage-rgb), .1);
  }

  :root:not([data-theme="light"]) .journey-rail li.is-active::before {
    border-color: rgba(var(--stage-rgb), .42);
    background:
      linear-gradient(135deg, rgba(var(--stage-rgb), .22), rgba(var(--stage-rgb), .075)),
      rgba(17, 17, 20, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 34px rgba(0, 0, 0, .28), 0 0 0 1px rgba(var(--stage-rgb), .06);
  }

  :root:not([data-theme="light"]) .journey-rail li:not(:last-child)::after {
    background: linear-gradient(
      180deg,
      rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
      rgba(245, 245, 247, .24) var(--segment-progress, 0%) 100%
    );
  }

  :root:not([data-theme="light"]) .journey-rail li.is-passed:not(:last-child)::after {
    box-shadow: 0 0 14px rgba(var(--stage-rgb), .32);
  }

  :root:not([data-theme="light"]) .journey-icon {
    border-color: rgba(255, 255, 255, .14);
    background: #111114;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
  }

  :root:not([data-theme="light"]) .journey-rail li.is-active .journey-icon {
    border-color: rgba(var(--stage-rgb), .56);
    background: rgba(var(--stage-rgb), .18);
    box-shadow: 0 0 0 8px rgba(var(--stage-rgb), .14), 0 12px 26px rgba(0, 0, 0, .42);
  }

  :root:not([data-theme="light"]) .journey-rail li.is-passed .journey-icon {
    border-color: rgba(var(--stage-rgb), .42);
    background: #111114;
  }
}

.journey-experience .journey-stage > .container {
  padding-left: max(calc(var(--gutter) + 202px), calc((100vw - var(--container)) / 2 + var(--gutter) + 202px));
}

.journey-stage {
  --stage-rgb: 0, 113, 227;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 76px;
}

.journey-stage > .container {
  position: relative;
  z-index: 1;
}

.journey-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--stage-rgb), .12), transparent 32%),
    linear-gradient(90deg, rgba(var(--stage-rgb), .08), transparent 42%);
  opacity: 0;
  transform: scale(.985);
  transition: opacity .55s ease, transform .55s ease;
}

.journey-stage.is-current-stage::before {
  opacity: 1;
  transform: scale(1);
}

.journey-stage.is-current-stage .stage-badge {
  transform: translateY(-2px);
  border-color: rgba(var(--stage-rgb), .28);
  box-shadow: 0 10px 26px rgba(var(--stage-rgb), .12);
}

.journey-stage.is-passed-stage .stage-badge {
  border-color: rgba(20, 122, 63, .25);
  background: rgba(20, 122, 63, .08);
}

.journey-stage.is-passed-stage .stage-badge::before {
  background: #147a3f;
}

.journey-stage--invisible {
  --stage-rgb: 142, 142, 147;
}

.journey-stage--discovered {
  --stage-rgb: 0, 113, 227;
}

.journey-stage--trusted {
  --stage-rgb: 20, 122, 63;
}

.journey-stage--recommended {
  --stage-rgb: 184, 134, 11;
}

.stage-badge {
  --stage-color: var(--accent-solid);
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-size: calc(12px * var(--scale));
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .28s ease, border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.stage-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stage-color);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .10);
}

.stage-badge--invisible {
  --stage-color: #8e8e93;
}

.stage-badge--discovered {
  --stage-color: #0071e3;
}

.stage-badge--trusted {
  --stage-color: #147a3f;
}

.stage-badge--recommended {
  --stage-color: #b8860b;
}

.stage-badge--invisible::before {
  box-shadow: 0 0 0 4px rgba(142, 142, 147, .16);
}

.stage-badge--trusted::before {
  box-shadow: 0 0 0 4px rgba(20, 122, 63, .14);
}

.stage-badge--recommended::before {
  box-shadow: 0 0 0 4px rgba(184, 134, 11, .14);
}

.status-change-note {
  position: relative;
  width: fit-content;
  max-width: 560px;
  margin: -2px 0 20px;
  padding: 0 0 0 18px;
  color: var(--soft);
  font-size: calc(14.5px * var(--scale));
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  transform: translateY(5px);
  opacity: .82;
  transition: opacity .4s ease, transform .4s ease, color .4s ease;
}

.status-change-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--stage-rgb));
  box-shadow: 0 0 0 4px rgba(var(--stage-rgb), .10);
}

.journey-stage.is-current-stage .status-change-note {
  opacity: 1;
  transform: translateY(0);
  color: var(--ink);
}

.status-phase-section {
  min-height: 74vh;
  display: flex;
  align-items: center;
}

.status-phase {
  display: grid;
  grid-template-columns: minmax(0, 510px) minmax(360px, 520px);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.status-phase-copy {
  min-width: 0;
}

.status-phase-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: calc(clamp(42px, 4.4vw, 68px) * var(--scale));
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.018em;
}

.status-phase-copy p {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: calc(18px * var(--scale));
  line-height: 1.45;
}

.status-point-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status-point-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(var(--stage-rgb), .22);
  border-radius: var(--r-pill);
  background: rgba(var(--stage-rgb), .08);
  color: var(--ink);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
  white-space: nowrap;
}

.status-phase-copy .cta-row {
  margin-top: 28px;
}

.status-info-card {
  overflow: hidden;
  border: 1px solid rgba(var(--stage-rgb), .18);
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .82)),
    radial-gradient(circle at 88% 12%, rgba(var(--stage-rgb), .16), transparent 36%);
  box-shadow: var(--shadow-2);
}

.status-info-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--card-line);
  background: rgba(var(--stage-rgb), .055);
}

.status-info-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--scale));
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.status-info-head strong {
  display: block;
  color: var(--ink);
  font-size: calc(27px * var(--scale));
  line-height: 1.08;
}

.status-info-visual {
  min-height: 190px;
  padding: 28px 24px;
}

.status-search-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.status-result-stack,
.status-check-stack,
.status-rank-list {
  display: grid;
  gap: 10px;
}

.status-info-visual--missing {
  display: grid;
  align-content: center;
  gap: 18px;
}

.status-result-stack span,
.status-check-stack span,
.status-rank-list span {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-size: calc(13px * var(--scale));
  font-weight: 800;
}

.status-result-stack span:not(.status-result-missing) {
  width: 72%;
}

.status-result-stack span:nth-child(2) {
  width: 84%;
}

.status-result-missing {
  color: #b25000;
  border-style: dashed;
  background: rgba(178, 80, 0, .06);
}

.status-info-visual--signals {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
}

.status-signal-grid {
  position: absolute;
  inset: 24px;
}

.status-signal-grid span {
  position: absolute;
  display: grid;
  min-width: 90px;
  min-height: 40px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(var(--stage-rgb), .2);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-size: calc(12px * var(--scale));
  font-weight: 850;
}

.status-signal-grid span::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 2px;
  border-radius: var(--r-pill);
  background: rgba(var(--stage-rgb), .34);
}

.status-signal-grid span:nth-child(1) {
  top: 0;
  left: 0;
}

.status-signal-grid span:nth-child(1)::after {
  right: -58px;
  bottom: -16px;
  transform: rotate(28deg);
}

.status-signal-grid span:nth-child(2) {
  top: 0;
  right: 0;
}

.status-signal-grid span:nth-child(2)::after {
  left: -58px;
  bottom: -16px;
  transform: rotate(-28deg);
}

.status-signal-grid span:nth-child(3) {
  bottom: 0;
  left: 0;
}

.status-signal-grid span:nth-child(3)::after {
  right: -58px;
  top: -16px;
  transform: rotate(-28deg);
}

.status-signal-grid span:nth-child(4) {
  right: 0;
  bottom: 0;
}

.status-signal-grid span:nth-child(4)::after {
  left: -58px;
  top: -16px;
  transform: rotate(28deg);
}

.status-ai-core,
.status-trust-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(var(--stage-rgb), .3);
  border-radius: 50%;
  background: rgba(var(--stage-rgb), .12);
  color: rgb(var(--stage-rgb));
  box-shadow: 0 0 0 10px rgba(var(--stage-rgb), .06);
  font-size: calc(18px * var(--scale));
  font-weight: 900;
}

.status-info-visual--trust {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.status-trust-mark {
  width: 104px;
  height: 104px;
  border-radius: 30px;
}

.status-check-stack span {
  position: relative;
  padding-left: 38px;
}

.status-check-stack span::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 13px;
  height: 7px;
  border-left: 3px solid rgb(var(--stage-rgb));
  border-bottom: 3px solid rgb(var(--stage-rgb));
  transform: rotate(-45deg);
}

.status-info-visual--rank {
  display: grid;
  align-content: center;
}

.status-rank-list span {
  justify-content: space-between;
}

.status-rank-list strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(var(--stage-rgb), .1);
  color: rgb(var(--stage-rgb));
}

.status-rank-winner {
  min-height: 56px !important;
  border-color: rgba(var(--stage-rgb), .32) !important;
  background: rgba(var(--stage-rgb), .1) !important;
  transform: translateX(14px);
}

.status-info-points {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 18px 24px;
  border-top: 1px solid var(--card-line);
  background: rgba(var(--stage-rgb), .045);
}

.status-info-points strong {
  color: var(--ink);
  font-size: calc(16px * var(--scale));
  line-height: 1.3;
}

:root[data-theme="dark"] .status-info-card {
  background:
    linear-gradient(180deg, rgba(28, 28, 30, .9), rgba(28, 28, 30, .82)),
    radial-gradient(circle at 88% 12%, rgba(var(--stage-rgb), .16), transparent 36%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status-info-card {
    background:
      linear-gradient(180deg, rgba(28, 28, 30, .9), rgba(28, 28, 30, .82)),
      radial-gradient(circle at 88% 12%, rgba(var(--stage-rgb), .16), transparent 36%);
  }
}

.status-journey-section {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.status-stage-panel {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(360px, 500px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.status-stage-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: var(--section-title-size);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -.018em;
}

.status-stage-copy > p:not(.status-change-note) {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: calc(18px * var(--scale));
  line-height: 1.55;
}

.status-screen {
  overflow: hidden;
  border: 1px solid rgba(142, 142, 147, .28);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .88)),
    radial-gradient(circle at 100% 0%, rgba(142, 142, 147, .18), transparent 34%);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .08);
}

.status-screen-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--card-line);
  background: var(--surface-alt);
}

.status-screen-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--scale));
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-screen-head strong {
  display: block;
  color: var(--ink);
  font-size: calc(24px * var(--scale));
  line-height: 1.18;
}

.status-scan-list {
  display: grid;
  padding: 14px;
  gap: 10px;
}

.status-scan-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--card);
}

.status-scan-row span {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: rgba(142, 142, 147, .14);
  color: var(--ink-2);
  font-size: calc(11px * var(--scale));
  font-weight: 900;
}

.status-scan-row strong {
  color: var(--ink);
  font-size: calc(15.5px * var(--scale));
  line-height: 1.3;
}

.status-scan-row--risk {
  border-color: rgba(178, 80, 0, .24);
  background: rgba(178, 80, 0, .07);
}

.status-scan-row--risk span {
  background: rgba(178, 80, 0, .14);
  color: #b25000;
}

.journey-stage.is-current-stage .hero-dashboard,
.journey-stage.is-current-stage .ai-choice-step,
.journey-stage.is-current-stage .service-process-step,
.journey-stage.is-current-stage .scan-result-row,
.journey-stage.is-current-stage .scan-report-card,
.journey-stage.is-current-stage .plain-answer-box,
.journey-stage.is-current-stage .status-info-card,
.journey-stage.is-current-stage .status-point-row span,
.journey-stage.is-current-stage .status-screen,
.journey-stage.is-current-stage .status-scan-row {
  animation: statusUnlock .62s cubic-bezier(.2, .8, .2, 1) both;
}

.journey-stage.is-current-stage .ai-choice-step:nth-child(2),
.journey-stage.is-current-stage .service-process-step:nth-child(2),
.journey-stage.is-current-stage .scan-result-row:nth-child(2),
.journey-stage.is-current-stage .status-point-row span:nth-child(2),
.journey-stage.is-current-stage .status-scan-row:nth-child(2) {
  animation-delay: .08s;
}

.journey-stage.is-current-stage .ai-choice-step:nth-child(3),
.journey-stage.is-current-stage .service-process-step:nth-child(3),
.journey-stage.is-current-stage .scan-result-row:nth-child(3),
.journey-stage.is-current-stage .status-point-row span:nth-child(3),
.journey-stage.is-current-stage .status-scan-row:nth-child(3) {
  animation-delay: .16s;
}

.journey-stage.is-current-stage .service-process-step:nth-child(4),
.journey-stage.is-current-stage .scan-result-row:nth-child(4) {
  animation-delay: .24s;
}

@keyframes statusUnlock {
  from {
    opacity: .72;
    transform: translateY(18px) scale(.985);
    box-shadow: var(--shadow-1);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:root[data-theme="dark"] .stage-badge {
  background: rgba(28, 28, 30, .86);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stage-badge {
    background: rgba(28, 28, 30, .86);
  }
}


.home-hero-upgrade {
  position: relative;
  overflow: clip;
  padding-block: calc(clamp(64px, 9vw, 116px) * var(--rhythm)) calc(clamp(54px, 7vw, 86px) * var(--rhythm));
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 113, 227, .16), transparent 38%),
    radial-gradient(circle at 8% 92%, rgba(20, 122, 63, .07), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--surface-alt));
}

/* A soft dot-grid gives the hero some texture instead of a flat wash — recessive
   enough to read as atmosphere, not a pattern competing with the content. */
.home-hero-upgrade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(0, 17, 63, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 76% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 76% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.home-hero-upgrade .hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.micro-trust {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: calc(13.5px * var(--scale));
  font-weight: 600;
}

.hero-platforms {
  margin-top: 22px;
}

.hero-dashboard,
.analytics-card,
.business-signal-card,
.scan-report-card,
.ai-choice-step,
.service-process-step,
.answer-card,
.help-card,
.audit-panel,
.why-aidiven-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-2);
}

:root[data-theme="dark"] .hero-dashboard,
:root[data-theme="dark"] .analytics-card,
:root[data-theme="dark"] .business-signal-card,
:root[data-theme="dark"] .scan-report-card,
:root[data-theme="dark"] .ai-choice-step,
:root[data-theme="dark"] .service-process-step,
:root[data-theme="dark"] .answer-card,
:root[data-theme="dark"] .help-card,
:root[data-theme="dark"] .audit-panel,
:root[data-theme="dark"] .why-aidiven-panel {
  background: rgba(28, 28, 30, .84);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-dashboard,
  :root:not([data-theme="light"]) .analytics-card,
  :root:not([data-theme="light"]) .business-signal-card,
  :root:not([data-theme="light"]) .scan-report-card,
  :root:not([data-theme="light"]) .ai-choice-step,
  :root:not([data-theme="light"]) .service-process-step,
  :root:not([data-theme="light"]) .answer-card,
  :root:not([data-theme="light"]) .help-card,
  :root:not([data-theme="light"]) .audit-panel,
  :root:not([data-theme="light"]) .why-aidiven-panel {
    background: rgba(28, 28, 30, .84);
  }
}

.hero-dashboard {
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 24px);
  transform: translateY(0);
  animation: dashboardLift .8s ease both;
}

.dashboard-topline,
.testimonial-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dashboard-topline strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.demo-label,
.dashboard-topline span,
.score-card span,
.metric-card span,
.testimonial-meta small,
.upgraded-testimonial footer span {
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
  font-weight: 600;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--primary-dim);
  color: var(--accent);
  font-size: calc(12px * var(--scale));
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.hero-score-grid,
.hero-metric-grid,
.audit-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dash-card {
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  padding: 14px;
  box-shadow: var(--shadow-1);
}

.score-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: calc(28px * var(--scale));
  line-height: 1;
}

.score-card small {
  color: #147a3f;
  font-weight: 700;
}

.grid-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  opacity: .6;
}

.area-path {
  fill: url(#visibilityArea);
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.chat-bubble {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: calc(13.5px * var(--scale));
  line-height: 1.45;
}

/* The thread plays out on load like a real exchange: the question appears, a
   typing indicator "thinks" for a beat, then the answer lands and the citation
   badge/highlight settle in right after — rather than dumping everything on
   screen at once. Every element here has a matching reduced-motion fallback
   below since it starts from opacity:0 and relies on the animation to reveal it. */
.chat-bubble--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--bg-2);
  color: var(--ink);
  opacity: 0;
  animation: chatBubbleIn .5s ease .6s forwards;
}

.chat-typing {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 15px;
  border-bottom-left-radius: 4px;
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow-1);
  opacity: 0;
  animation: chatTypingLife 1.8s ease 1.2s forwards;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-2);
  animation: chatDotBounce 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: .15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: .3s;
}

.chat-bubble--ai {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--card);
  border: 1px solid var(--card-line);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  opacity: 0;
  animation: chatBubbleIn .5s ease 3s forwards;
}

.chat-ai-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #0071e3);
  color: #ffffff;
  font-size: 11px;
  animation: chatAvatarPulse 1.2s ease 3s 2;
}

.chat-ai-text p {
  margin: 0;
}

.chat-cite {
  color: var(--ink);
  font-weight: 700;
}

.chat-cite sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  border-radius: 50%;
  background: rgba(0, 113, 227, .14);
  color: var(--accent-solid);
  font-size: 9px;
  font-weight: 800;
  font-style: normal;
  vertical-align: super;
  line-height: 14px;
}

.chat-sources {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: calc(11px * var(--scale));
  font-weight: 500;
}

.chat-sources span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 113, 227, .14);
  color: var(--accent-solid);
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(20, 122, 63, .08);
  border: 1px solid rgba(20, 122, 63, .22);
  color: #147a3f;
  font-size: calc(12px * var(--scale));
  font-weight: 700;
  opacity: 0;
  animation: chatBubbleIn .5s ease 3.5s forwards;
}

.chat-highlight-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #147a3f;
  flex-shrink: 0;
}

@keyframes chatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatTypingLife {
  0%, 100% { opacity: 0; }
  10%, 85% { opacity: 1; }
  95% { opacity: 0; }
}

@keyframes chatDotBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: .4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes chatAvatarPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, .2); }
  50% { box-shadow: 0 0 0 6px rgba(0, 113, 227, 0); }
}

:root[data-theme="dark"] .chat-bubble--user {
  background: rgba(255, 255, 255, .06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chat-bubble--user {
    background: rgba(255, 255, 255, .06);
  }
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: calc(24px * var(--scale));
}

.platform-status,
.mini-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.platform-status span,
.mini-indicators span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  background: var(--surface-alt);
  font-size: calc(11.5px * var(--scale));
  font-weight: 700;
}

.journey-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-list li {
  position: relative;
  padding: 12px 12px 12px 48px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
  color: var(--ink);
  font-weight: 600;
  counter-increment: journey;
}

.journey-list li::before {
  content: counter(journey);
  position: absolute;
  top: 10px;
  left: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
}

.decision-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent-solid);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  font-size: calc(21px * var(--scale));
  font-weight: 700;
  box-shadow: var(--shadow-1);
}

.answer-grid,
.help-steps,
.why-aidiven-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.answer-card,
.help-card {
  border-radius: var(--r-md);
  padding: 24px;
}

.answer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-weight: 800;
}

.answer-card--good {
  border-color: rgba(20, 122, 63, .24);
}

.answer-card--mid {
  border-color: rgba(178, 80, 0, .22);
}

.answer-card--low {
  border-color: rgba(190, 40, 40, .20);
}

.answer-card h3,
.help-card h3,
.why-aidiven-grid h3 {
  margin-bottom: 9px;
}

.service-journey-title {
  max-width: 900px;
}

.journey-headline {
  max-width: 850px;
}

@media (min-width: 1120px) {
  .journey-headline {
    white-space: normal;
  }
}

.service-process {
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-process-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.service-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  right: -14px;
  width: 14px;
  height: 1px;
  background: var(--line);
}

.service-process-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: calc(20px * var(--scale));
  line-height: 1.18;
}

.service-process-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
  line-height: 1.5;
}

.service-process-step strong {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--card-line);
  color: var(--ink);
  font-size: calc(13.5px * var(--scale));
  line-height: 1.4;
}

.analytics-preview {
  background: linear-gradient(180deg, var(--surface-alt), var(--bg-2));
}

.analytics-grid,
.business-signal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.analytics-card,
.business-signal-card {
  grid-column: span 2;
  border-radius: var(--r-md);
  padding: 20px;
}

.business-signal-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--card-line);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.business-signal-card--wide {
  grid-column: span 4;
  min-height: 280px;
}

.business-signal-card--action {
  border-color: rgba(20, 122, 63, .24);
  background: linear-gradient(180deg, rgba(20, 122, 63, .08), var(--card));
}

.scan-check-panel {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.scan-check-copy {
  min-width: 0;
}

.scan-check-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: calc(clamp(42px, 4.4vw, 68px) * var(--scale));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.018em;
}

.scan-check-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: calc(18px * var(--scale));
  line-height: 1.45;
}

.scan-check-panel--cta .cta-row {
  margin-top: 28px;
}

.signal-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.signal-mini-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(184, 134, 11, .22);
  border-radius: var(--r-pill);
  background: rgba(184, 134, 11, .08);
  color: var(--ink);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.plain-answer-box {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent-solid);
  border-radius: var(--r-sm);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.plain-answer-box strong {
  color: var(--ink);
  font-size: calc(15px * var(--scale));
}

.plain-answer-box span {
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
  line-height: 1.5;
}

.scan-report-card {
  overflow: hidden;
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.scan-report-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--card-line);
  background: var(--surface-alt);
}

.scan-report-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--scale));
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.scan-report-head strong {
  display: block;
  color: var(--ink);
  font-size: calc(28px * var(--scale));
  line-height: 1.08;
}

.scan-result-list {
  display: grid;
}

.scan-result-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--card-line);
}

.scan-result-row:last-child {
  border-bottom: 0;
}

.scan-result-row strong {
  display: block;
  color: var(--ink);
  font-size: calc(16px * var(--scale));
  line-height: 1.3;
}

.scan-result-row p {
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  line-height: 1.48;
}

.scan-result-row--next {
  background: rgba(20, 122, 63, .07);
}

.scan-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: var(--surface-alt);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
  white-space: nowrap;
}

.scan-status--good {
  color: #147a3f;
  background: rgba(20, 122, 63, .12);
}

.scan-status--warn {
  color: #8a5a00;
  background: rgba(178, 125, 0, .14);
}

.scan-status--risk {
  color: #b25000;
  background: rgba(178, 80, 0, .13);
}

.scan-status--next {
  color: var(--btn-fg);
  background: var(--btn-bg);
}

.signal-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  background: var(--surface-alt);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.business-signal-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: calc(clamp(22px, 2.2vw, 30px) * var(--scale));
  font-weight: 600;
  line-height: 1.12;
}

.analytics-card p,
.business-signal-card p,
.help-card p,
.why-aidiven-grid p {
  margin: 14px 0 0;
  font-size: calc(14.5px * var(--scale));
}

.signal-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.signal-path span {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
  text-align: center;
}

.signal-path span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 9px;
  height: 1px;
  background: var(--line);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: calc(13.5px * var(--scale));
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  transition: gap .2s;
}

.card-link:hover {
  gap: 10px;
}

.bar-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bar-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bar-list span {
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
  font-weight: 700;
}

.bar-list strong {
  position: relative;
  min-height: 26px;
  padding-right: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink);
  font-size: calc(12px * var(--scale));
  z-index: 1;
}

.bar-list strong::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: var(--r-pill);
  background: var(--primary-dim);
  z-index: -1;
}

.bar-list strong::before {
  background: linear-gradient(90deg, var(--accent-solid), rgba(0, 113, 227, .32));
}

.free-audit-upgrade {
  background:
    linear-gradient(180deg, rgba(0, 113, 227, .08), transparent 58%),
    var(--bg-2);
}

.audit-panel {
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 38px);
}

.audit-panel--split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: clamp(26px, 5vw, 54px);
  align-items: center;
}

.audit-panel .section-title {
  margin-bottom: 24px;
}

.audit-copy .section-title {
  max-width: 680px;
}

.audit-checklist {
  display: grid;
  gap: 12px;
}

.audit-check-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
}

.audit-check-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
}

.audit-check-item strong {
  display: block;
  color: var(--ink);
  font-size: calc(16px * var(--scale));
}

.audit-check-item p {
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  line-height: 1.5;
}

.why-aidiven-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.why-aidiven-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--section-title-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.why-aidiven-copy p {
  margin: 14px 0 24px;
  color: var(--ink-2);
  font-size: calc(16.5px * var(--scale));
  line-height: 1.55;
}

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

.why-aidiven-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
}

.why-aidiven-row span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
}

.why-aidiven-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: calc(17px * var(--scale));
  font-weight: 700;
  line-height: 1.25;
}

.why-aidiven-row p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  line-height: 1.5;
}

.upgraded-testimonial {
  padding: 24px;
}

.testimonial-meta {
  align-items: center;
  margin-bottom: 16px;
}

.client-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
}

.testimonial-meta > div {
  min-width: 0;
  flex: 1;
}

.testimonial-meta strong {
  display: block;
  color: var(--ink);
}

.testimonial-meta em {
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--primary-dim);
  color: var(--accent);
  font-size: calc(11px * var(--scale));
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.upgraded-testimonial footer {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--card-line);
}

.upgraded-testimonial footer strong {
  color: var(--ink);
}

@keyframes dashboardLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .journey-experience .journey-stage > .container {
    padding-left: var(--gutter);
  }

  /* Collapse to a compact horizontal stepper pinned below the header, instead of a tall
     card that renders once at the top of the section and scrolls out of view — otherwise
     the active/passed states never get seen updating as the visitor scrolls the stages. */
  .journey-illustration {
    position: sticky;
    top: var(--site-top-h, 76px);
    z-index: 30;
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-line);
    box-shadow: 0 8px 20px rgba(0, 17, 63, .06);
    transform: none;
  }

  .journey-illustration-title {
    display: none;
  }

  .journey-rail {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    min-height: 0;
    max-width: 620px;
    margin: 0 auto;
    padding: 10px var(--gutter) 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .journey-rail::before,
  .journey-rail::after {
    content: none;
  }

  .journey-rail li:not(:last-child)::after {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    top: 14px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
      var(--line) var(--segment-progress, 0%) 100%
    );
  }

  .journey-rail li:not(:last-child) .journey-icon::after {
    left: calc(50% + 20px + var(--segment-marker-offset, 0px));
    top: 50%;
    width: 9px;
    height: 9px;
  }

  .journey-rail li:not(:last-child) .journey-icon::before {
    left: calc(50% + 20px + var(--segment-marker-offset, 0px));
    top: 50%;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    clip-path: none;
    transform: translate(-50%, -50%) scale(var(--segment-marker-scale, .7));
  }

  :root[data-theme="dark"] .journey-rail li:not(:last-child)::after {
    background: linear-gradient(
      90deg,
      rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
      rgba(245, 245, 247, .24) var(--segment-progress, 0%) 100%
    );
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .journey-rail li:not(:last-child)::after {
      background: linear-gradient(
        90deg,
        rgb(var(--stage-rgb)) 0 var(--segment-progress, 0%),
        rgba(245, 245, 247, .24) var(--segment-progress, 0%) 100%
      );
    }
  }

  .journey-rail li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 0;
    padding: 0;
    flex: 1 1 0;
    text-align: center;
  }

  .journey-rail li::before {
    display: none;
  }

  .journey-rail li.is-active {
    transform: none;
  }

  .journey-icon {
    width: 28px;
    height: 28px;
  }

  .journey-icon-glyph {
    width: 15px;
    height: 15px;
  }

  .journey-rail em {
    display: none !important;
  }

  .journey-rail strong {
    font-size: 9.5px;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  .hero-grid,
  .answer-grid,
  .help-steps,
  .why-aidiven-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: grid;
  }

  .hero-dashboard {
    max-width: 620px;
  }

  .ai-choice-panel {
    grid-template-columns: 1fr;
  }

  .ai-choice-steps,
  .service-process {
    grid-template-columns: 1fr;
  }

  .ai-choice-step:not(:last-child)::after,
  .service-process-step:not(:last-child)::after {
    display: none;
  }

  .ai-choice-result {
    grid-template-columns: 1fr;
  }

  .status-stage-panel {
    grid-template-columns: 1fr;
  }

  .status-phase {
    grid-template-columns: 1fr;
  }

  .scan-check-panel {
    grid-template-columns: 1fr;
  }

  .analytics-card,
  .business-signal-card,
  .business-signal-card--wide {
    grid-column: span 6;
  }

  .audit-panel--split {
    grid-template-columns: 1fr;
  }

  .why-aidiven-panel {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 14px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
  }

  .nav-links.show-menu {
    display: flex;
  }

  .nav-links a,
  .nav-dropdown-summary {
    justify-content: flex-start;
    min-height: 42px;
    border-bottom: 1px solid var(--card-line);
  }

  .nav-login {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .grid-2,
  .discovery-flow,
  .contact-wrap,
  .blog-layout,
  .split,
  .founder-wrap,
  .footer-top,
  .pricing-grid,
  .results-grid--2,
  .testimonials-grid--2 {
    grid-template-columns: 1fr;
  }

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

  .footer-product {
    margin-left: 0;
  }
}

@media (max-width: 734px) {
  :root {
    --gutter: 18px;
  }

  .journey-stage {
    scroll-margin-top: 62px;
  }

  .journey-illustration {
    top: var(--site-top-h, 62px);
  }

  .top-banner .container {
    justify-content: flex-start;
    text-align: left;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1,
  .home-hero-copy h1 {
    font-size: calc(clamp(38px, 13vw, 60px) * var(--scale));
  }

  .section {
    padding-block: 56px;
  }

  .cf-row,
  .outcome-row,
  .footer-grid,
  .price-panel,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    padding: 22px;
  }

  .aidiven-fit-visual {
    margin-left: 0;
  }

  .hero-score-grid,
  .hero-metric-grid,
  .audit-benefit-grid {
    grid-template-columns: 1fr;
  }

  .signal-path {
    grid-template-columns: 1fr;
  }

  .signal-path span:not(:last-child)::after {
    display: none;
  }

  .status-journey-section {
    min-height: 0;
  }

  .status-phase-section {
    min-height: 0;
  }

  .status-phase-copy h2 {
    font-size: calc(clamp(34px, 11vw, 48px) * var(--scale));
  }

  .status-phase-copy p {
    font-size: calc(16px * var(--scale));
  }

  .status-point-row {
    gap: 8px;
  }

  .status-info-head,
  .status-info-points {
    padding-inline: 18px;
  }

  .status-info-head strong {
    font-size: calc(22px * var(--scale));
  }

  .status-info-visual {
    gap: 10px;
    padding: 22px 18px;
  }

  .status-info-visual--signals {
    min-height: 260px;
  }

  .status-signal-grid {
    inset: 18px 10px;
  }

  .status-signal-grid span {
    min-width: 76px;
    min-height: 36px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .status-signal-grid span::after {
    width: 42px;
  }

  .status-signal-grid span:nth-child(1)::after,
  .status-signal-grid span:nth-child(3)::after {
    right: -38px;
  }

  .status-signal-grid span:nth-child(2)::after,
  .status-signal-grid span:nth-child(4)::after {
    left: -38px;
  }

  .status-info-visual--trust {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .status-check-stack {
    width: 100%;
  }

  .status-rank-winner {
    transform: none;
  }

  .status-info-points {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .status-scan-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .audit-check-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .ai-choice-panel {
    padding: 0;
  }

  .ai-choice-step,
  .service-process-step {
    min-height: 0;
    padding: 18px;
  }

  .ai-source-tags span {
    min-height: 28px;
    padding: 5px 9px;
  }

  .ai-choice-result {
    padding: 16px;
  }

  .ai-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .ai-answer-card li {
    align-items: start;
  }

  .scan-result-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 16px;
  }

  .scan-status {
    width: fit-content;
  }

  .why-aidiven-panel {
    padding: 22px;
  }

  .why-aidiven-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .bar-list div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .testimonial-meta {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .btn,
  .cf-submit {
    width: 100%;
  }
}



/* First-fold polish: make the hero feel intentional, compact, and premium. */
.home-hero-upgrade {
  padding-block: calc(clamp(56px, 6.8vw, 92px) * var(--rhythm)) calc(clamp(44px, 5vw, 70px) * var(--rhythm));
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 113, 227, .11), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, var(--surface-alt) 100%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(42px, 5.4vw, 72px);
  align-items: center;
}

.home-hero-upgrade .pill {
  margin-bottom: 18px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgba(0, 46, 133, .14);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(0, 113, 227, .08), rgba(0, 46, 133, .04));
  color: #354154;
  font-size: calc(13px * var(--scale));
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 17, 63, .04);
}

.home-hero-upgrade .pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-solid);
}

.home-hero-upgrade .home-hero-copy,
.home-hero-upgrade .hero .container > h1,
.home-hero-upgrade h1 {
  max-width: 900px;
}

.home-hero-upgrade h1 {
  display: grid;
  gap: 4px;
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.018em;
}

.home-hero-upgrade .gradient-text {
  color: var(--brand);
}

.home-hero-upgrade .home-hero-text {
  max-width: 680px;
  margin-top: 20px;
}

.home-hero-upgrade .hero-lead {
  max-width: 700px;
  margin-top: 0;
  color: var(--ink-2);
  font-size: calc(18px * var(--scale));
  line-height: 1.45;
  font-weight: 400;
}

.home-hero-upgrade .hero-copy {
  max-width: 680px;
  margin-top: 16px;
  color: #626b7a;
  font-size: calc(17px * var(--scale));
  line-height: 1.52;
}

.home-hero-upgrade .cta-row {
  margin-top: 24px;
  gap: 12px;
}

.home-hero-upgrade .btn {
  min-height: 50px;
  padding-inline: 28px;
  font-size: calc(16px * var(--scale));
  font-weight: 700;
}

.home-hero-upgrade .btn-primary {
  background: linear-gradient(135deg, #0a1f4d, var(--brand) 70%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 17, 63, .22);
}

.home-hero-upgrade .btn-primary:hover {
  background: linear-gradient(135deg, #081a40, #0a2559 70%);
  color: #ffffff;
  box-shadow: 0 20px 38px rgba(0, 17, 63, .28);
  transform: translateY(-2px);
}

.hero .micro-trust,
.home-hero-upgrade .micro-trust {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: none;
  margin-top: 16px;
  color: #5f6673;
  font-size: calc(13px * var(--scale));
  line-height: 1.35;
  font-weight: 600;
}

.hero .micro-trust::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #147a3f;
  box-shadow: 0 0 0 4px rgba(20, 122, 63, .10);
}

.hero-platforms {
  margin-top: 26px;
  gap: 8px;
}

.home-hero-upgrade .platform-strip span {
  min-height: 30px;
  padding-inline: 14px;
  background: #ffffff;
  border-color: rgba(0, 17, 63, .08);
  box-shadow: 0 2px 6px rgba(0, 17, 63, .05);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.home-hero-upgrade .platform-strip span:hover {
  border-color: rgba(0, 113, 227, .3);
  box-shadow: 0 6px 16px rgba(0, 17, 63, .08);
  transform: translateY(-1px);
}

.hero-dashboard {
  max-width: 580px;
  justify-self: end;
  border-radius: 20px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .90)),
    radial-gradient(circle at 95% 0%, rgba(0, 113, 227, .10), transparent 28%);
  box-shadow: 0 32px 80px rgba(0, 17, 63, .18), 0 3px 12px rgba(0, 0, 0, .05), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 580px;
}

/* A soft blurred glow sitting behind the card, peeking out at the edges, is what
   sells "floating premium card" instead of "flat rectangle on a white page." */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 113, 227, .28), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(20, 122, 63, .16), transparent 50%);
  filter: blur(38px);
  opacity: .8;
}

.hero-visual .hero-dashboard {
  position: relative;
  z-index: 1;
  max-width: none;
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.window-dots span:first-child {
  background: #ff5f57;
}

.window-dots span:nth-child(2) {
  background: #febc2e;
}

.window-dots span:nth-child(3) {
  background: #28c840;
}

.dashboard-topline {
  align-items: center;
  margin-bottom: 14px;
}

.dashboard-topline > div {
  min-width: 0;
}

.dashboard-topline strong {
  margin-top: 2px;
  font-size: calc(18px * var(--scale));
  line-height: 1.2;
}

.hero-score-grid {
  margin-top: 0;
  gap: 10px;
}

.dash-card {
  padding: 13px;
  border-radius: 12px;
}

.score-card strong {
  font-size: calc(25px * var(--scale));
}

.trend-card {
  margin-top: 10px;
}

.trend-card .chart-head {
  align-items: center;
}

.mini-line-chart {
  max-height: 150px;
  margin-top: 8px;
}

.hero-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.metric-card strong {
  font-size: calc(22px * var(--scale));
}

.platform-status {
  margin-top: 12px;
}

.platform-status span {
  min-height: 25px;
  padding-inline: 8px;
  font-size: calc(10.8px * var(--scale));
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  }
}

@media (max-width: 900px) {
  .hero-dashboard {
    justify-self: stretch;
    max-width: 620px;
  }
}

@media (max-width: 734px) {
  .home-hero-upgrade {
    padding-top: 46px;
  }

  .home-hero-upgrade h1 {
    display: block;
    line-height: 1.06;
  }

  .home-hero-upgrade h1 span {
    display: inline;
  }

  .hero .micro-trust,
  .home-hero-upgrade .micro-trust {
    display: flex;
    font-size: calc(13px * var(--scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .chat-bubble--user,
  .chat-bubble--ai,
  .chat-highlight {
    opacity: 1;
    transform: none;
  }

  .chat-typing {
    display: none;
  }
}


/* Wide-screen hero balance after first visual pass. */
.home-hero-upgrade .hero-grid {
  max-width: var(--container);
}

@media (min-width: 1200px) {
  .home-hero-upgrade {
    padding-block: calc(clamp(62px, 7vw, 96px) * var(--rhythm)) calc(clamp(46px, 5vw, 70px) * var(--rhythm));
  }

  .home-hero-upgrade .hero-copy {
    font-size: calc(17px * var(--scale));
  }

  .hero-dashboard {
    max-width: 540px;
  }
}


/* Keep the final wide-screen hero overrides from squeezing mobile layout. */
@media (max-width: 900px) {
  .home-hero-upgrade .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: var(--container);
  }

  .home-hero-upgrade .hero-content,
  .home-hero-upgrade .home-hero-copy,
  .home-hero-upgrade .home-hero-text,
  .home-hero-upgrade .hero-lead,
  .home-hero-upgrade .hero-copy {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 734px) {
  .home-hero-upgrade .pill {
    display: flex;
    align-items: flex-start;
    max-width: 100%;
  }

  .home-hero-upgrade h1 {
    max-width: 100%;
  }

  .home-hero-upgrade .hero-lead {
    font-size: calc(16px * var(--scale));
    line-height: 1.45;
  }
}


/* Dark-mode repair for the polished homepage hero. */
:root[data-theme="dark"] .home-hero-upgrade {
  background:
    radial-gradient(circle at 76% 18%, rgba(41, 151, 255, .16), transparent 34%),
    linear-gradient(180deg, #000000 0%, #0b0b0d 60%, var(--bg-2) 100%);
}

:root[data-theme="dark"] .home-hero-upgrade .pill,
:root[data-theme="dark"] .home-hero-upgrade .hero-lead,
:root[data-theme="dark"] .home-hero-upgrade .hero-copy,
:root[data-theme="dark"] .home-hero-upgrade .micro-trust {
  color: var(--ink-2);
}

:root[data-theme="dark"] .home-hero-upgrade .pill {
  border-color: rgba(41, 151, 255, .28);
  background: linear-gradient(135deg, rgba(41, 151, 255, .16), rgba(41, 151, 255, .05));
  box-shadow: none;
}

:root[data-theme="dark"] .home-hero-upgrade .gradient-text {
  color: #8ec5ff;
}

:root[data-theme="dark"] .home-hero-upgrade .btn-primary {
  background: #ffffff;
  color: #00113f;
  box-shadow: 0 14px 34px rgba(255, 255, 255, .10);
}

:root[data-theme="dark"] .home-hero-upgrade .btn-primary:hover {
  background: #eaf3ff;
  color: #00113f;
}

:root[data-theme="dark"] .home-hero-upgrade h1,
:root[data-theme="dark"] .home-hero-upgrade h1 span {
  color: var(--ink);
}

:root[data-theme="dark"] .home-hero-upgrade .platform-strip span,
:root[data-theme="dark"] .platform-status span {
  background: var(--card);
  color: var(--ink-2);
  border-color: var(--line);
  box-shadow: none;
}

:root[data-theme="dark"] .home-hero-upgrade .platform-strip span:hover {
  border-color: rgba(41, 151, 255, .38);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

:root[data-theme="dark"] .hero-dashboard {
  background:
    linear-gradient(180deg, rgba(28, 28, 30, .96), rgba(22, 22, 24, .94)),
    radial-gradient(circle at 95% 0%, rgba(41, 151, 255, .15), transparent 30%);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34), 0 2px 10px rgba(0, 0, 0, .24);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home-hero-upgrade {
    background:
      radial-gradient(circle at 76% 18%, rgba(41, 151, 255, .16), transparent 34%),
      linear-gradient(180deg, #000000 0%, #0b0b0d 60%, var(--bg-2) 100%);
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .pill,
  :root:not([data-theme="light"]) .home-hero-upgrade .hero-lead,
  :root:not([data-theme="light"]) .home-hero-upgrade .hero-copy,
  :root:not([data-theme="light"]) .home-hero-upgrade .micro-trust {
    color: var(--ink-2);
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .pill {
    border-color: rgba(41, 151, 255, .28);
    background: linear-gradient(135deg, rgba(41, 151, 255, .16), rgba(41, 151, 255, .05));
    box-shadow: none;
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .gradient-text {
    color: #8ec5ff;
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .btn-primary {
    background: #ffffff;
    color: #00113f;
    box-shadow: 0 14px 34px rgba(255, 255, 255, .10);
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .btn-primary:hover {
    background: #eaf3ff;
    color: #00113f;
  }

  :root:not([data-theme="light"]) .home-hero-upgrade h1,
  :root:not([data-theme="light"]) .home-hero-upgrade h1 span {
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .platform-strip span,
  :root:not([data-theme="light"]) .platform-status span {
    background: var(--card);
    color: var(--ink-2);
    border-color: var(--line);
    box-shadow: none;
  }

  :root:not([data-theme="light"]) .home-hero-upgrade .platform-strip span:hover {
    border-color: rgba(41, 151, 255, .38);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  }

  :root:not([data-theme="light"]) .hero-dashboard {
    background:
      linear-gradient(180deg, rgba(28, 28, 30, .96), rgba(22, 22, 24, .94)),
      radial-gradient(circle at 95% 0%, rgba(41, 151, 255, .15), transparent 30%);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .34), 0 2px 10px rgba(0, 0, 0, .24);
  }
}


/* How It Works page */
.hiw-hero {
  background:
    radial-gradient(circle at 84% 20%, rgba(0, 113, 227, .10), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--surface-alt));
}

.hiw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .82fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}

.hiw-hero-copy {
  min-width: 0;
}

.hiw-hero h1 {
  max-width: 900px;
}

.hiw-hero .micro-trust {
  max-width: none;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
  font-weight: 600;
}

.hiw-journey-graphic,
.hiw-dashboard-card {
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-2);
}

.hiw-journey-graphic {
  padding: clamp(18px, 3vw, 24px);
}

.hiw-graphic-head,
.hiw-dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.hiw-graphic-head span,
.hiw-dashboard-top span {
  color: var(--ink-2);
  font-size: calc(12.5px * var(--scale));
  font-weight: 700;
}

.hiw-graphic-head strong,
.hiw-dashboard-top strong {
  color: var(--ink);
}

.hiw-flow-map {
  display: grid;
  gap: 10px;
}

.hiw-flow-map div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
}

.hiw-flow-map span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 12px;
}

.hiw-flow-map strong,
.hiw-mini-dashboard strong,
.hiw-score-row strong {
  color: var(--ink);
}

.hiw-flow-map small {
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
}

.hiw-mini-dashboard,
.hiw-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.hiw-mini-dashboard div,
.hiw-score-row div {
  padding: 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-sm);
  background: var(--card);
}

.hiw-mini-dashboard span,
.hiw-score-row span,
.hiw-score-row small {
  display: block;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--scale));
  font-weight: 700;
}

.hiw-overview,
.hiw-dashboard-section {
  background: var(--bg-2);
}

.hiw-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hiw-signal-grid article {
  border: 1px solid var(--card-line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-1);
  padding: 22px 20px;
}

.hiw-signal-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.hiw-signal-grid h3 {
  margin-bottom: 8px;
}

.hiw-signal-grid p,
.hiw-dashboard-layout p {
  color: var(--ink-2);
  font-size: calc(14.5px * var(--scale));
  line-height: 1.55;
}

.hiw-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hiw-dashboard-card {
  padding: clamp(18px, 3vw, 24px);
}

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

.hiw-score-row strong {
  display: block;
  margin-top: 4px;
  font-size: calc(30px * var(--scale));
}

.hiw-score-row small {
  color: #147a3f;
}

.hiw-bar-chart {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hiw-bar-chart div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.hiw-bar-chart span {
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 700;
}

.hiw-bar-chart b {
  position: relative;
  min-height: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 8px;
  color: var(--ink);
  font-size: calc(12px * var(--scale));
  z-index: 1;
}

.hiw-bar-chart b::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent-solid), rgba(0, 113, 227, .24));
  z-index: -1;
}

.hiw-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hiw-action-list span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 700;
}

@media (max-width: 980px) {
  .hiw-hero-grid,
  .hiw-dashboard-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 734px) {
  .hiw-signal-grid,
  .hiw-mini-dashboard,
  .hiw-score-row {
    grid-template-columns: 1fr;
  }

  .hiw-bar-chart div {
    grid-template-columns: 94px minmax(0, 1fr);
  }
}


/* How It Works first-fold polish */
.hiw-hero {
  padding-block: calc(clamp(52px, 7vw, 86px) * var(--rhythm)) calc(clamp(42px, 5vw, 64px) * var(--rhythm));
}

.hiw-hero p {
  max-width: 640px;
  font-size: var(--lead-size);
}

.hiw-hero .cta-row {
  margin-top: 26px;
}

@media (min-width: 1200px) {
  .hiw-hero-grid {
    max-width: var(--container);
  }
}

/* Header breathing room and softer How It Works timeline detail chips. */
.site-header {
  height: 54px;
}

nav {
  min-height: 54px;
}

[data-include="header"] {
  min-height: 90px;
}

@media (max-width: 900px) {
  .nav-links {
    top: 54px;
  }
}

/* Connected step-flow diagram: numbered circles joined by a line. Reused on
   How It Works and the four service pages. */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
}

.process-flow .flow-step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}

.process-flow .flow-step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--card-line);
}

.process-flow .flow-step:first-child::before {
  display: none;
}

.process-flow .flow-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-dim);
  color: var(--accent);
  font-weight: 800;
}

.process-flow h3 {
  margin-bottom: 6px;
  font-size: calc(15px * var(--scale));
}

.process-flow p {
  margin: 0;
  color: var(--ink-2);
  font-size: calc(13.5px * var(--scale));
  line-height: 1.5;
}

@media (max-width: 734px) {
  .process-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-flow .flow-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    text-align: left;
    padding: 0;
  }

  .process-flow .flow-num {
    margin: 0;
  }

  .process-flow .flow-step::before {
    top: 44px;
    left: 21px;
    width: 2px;
    height: 22px;
  }
}

/* One page frame for every top section. Keep this last in the shared CSS. */
.hero,
.home-hero-upgrade,
.hiw-hero {
  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);
}

.container,
.wrap,
.wrap-narrow,
.article-wrap,
.legal-block,
.home-hero-upgrade .hero-grid,
.hiw-hero-grid {
  width: min(100%, var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Audit page form reset. This intentionally lives after the global frame rules. */
.audit-hero {
  padding-bottom: calc(clamp(18px, 2.8vw, 34px) * var(--rhythm));
}

.section.audit-report-section {
  padding-top: 0;
  padding-bottom: calc(clamp(42px, 5vw, 72px) * var(--rhythm));
  background: var(--bg);
}

.audit-split {
  padding: clamp(22px, 3.2vw, 36px);
}

.audit-faq-section {
  padding-top: calc(clamp(28px, 3.6vw, 46px) * var(--rhythm));
}

#audit-form {
  margin-top: 0;
  border-top: 1px solid var(--card-line);
  background: var(--surface);
  box-shadow: inset 0 18px 36px rgba(0, 0, 0, .025);
}

#audit-form > .container {
  width: min(100%, 1120px);
  max-width: 1120px;
}

#audit-form .section-title--form {
  max-width: 720px;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}

#audit-form .section-title--form h2,
#audit-form .section-title--form p {
  margin-inline: 0;
}

#audit-form .section-title--form h2 {
  max-width: 690px;
  font-size: calc(clamp(34px, 4vw, 54px) * var(--scale));
  line-height: 1.04;
}

.audit-form-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 620px);
  gap: 48px;
  align-items: start;
}

.audit-form-side {
  padding-top: 2px;
}

.audit-form-side .check-list {
  gap: 12px;
}

.audit-form-side .check {
  font-size: calc(14px * var(--scale));
}

.audit-form-side .contact-info-note {
  margin-top: 28px;
  padding: 15px 17px;
  border-radius: 8px;
  background: var(--card);
}

#auditForm.audit-form-card {
  width: 100%;
  max-width: 620px;
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}

#auditForm.audit-form-card .form-card-head {
  margin: -22px -22px 0;
  padding: 20px 22px 18px;
  background: linear-gradient(90deg, var(--primary-dim), transparent 72%);
}

#auditForm.audit-form-card .form-card-head strong {
  max-width: 500px;
  font-size: calc(22px * var(--scale));
  line-height: 1.16;
}

#auditForm.audit-form-card .contact-form-section {
  gap: 10px;
}

#auditForm.audit-form-card .contact-form-section-head {
  gap: 9px;
}

#auditForm.audit-form-card .contact-form-section-head span {
  width: 26px;
  height: 26px;
  font-size: calc(10.5px * var(--scale));
}

#auditForm.audit-form-card .cf-row {
  gap: 12px;
}

#auditForm.audit-form-card .cf-group {
  gap: 5px;
}

#auditForm.audit-form-card .cf-group label {
  font-size: calc(12px * var(--scale));
}

#auditForm.audit-form-card .cf-group input,
#auditForm.audit-form-card .cf-group select,
#auditForm.audit-form-card .cf-group textarea {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: calc(13.5px * var(--scale));
  background: var(--surface-alt);
}

#auditForm.audit-form-card textarea {
  min-height: 92px;
}

#auditForm.audit-form-card #cf-challenge {
  min-height: 88px;
}

#auditForm.audit-form-card .contact-submit-row {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  padding-top: 14px;
}

#auditForm.audit-form-card .cf-submit {
  min-height: 46px;
  border-radius: 7px;
}

@media (max-width: 980px) {
  .audit-form-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #auditForm.audit-form-card {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #audit-form .section-title--form h2 {
    font-size: calc(clamp(32px, 10vw, 44px) * var(--scale));
  }

  #auditForm.audit-form-card {
    padding: 18px;
  }

  #auditForm.audit-form-card .form-card-head {
    margin: -18px -18px 0;
    padding: 18px;
  }

  #auditForm.audit-form-card .contact-submit-row {
    grid-template-columns: 1fr;
  }
}

/* Final audit form redesign: website-first, no stepper card. */
#auditForm.audit-scan-form,
#contactForm.contact-scan-form {
  width: 100%;
  max-width: 700px;
  justify-self: end;
  display: grid;
  gap: 18px;
  padding: 0;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.scan-form-intro {
  display: grid;
  gap: 7px;
  padding: 24px 26px 22px;
  background: #06184a;
  color: #ffffff;
}

.scan-form-intro span {
  color: rgba(255, 255, 255, .68);
  font-size: calc(11.5px * var(--scale));
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scan-form-intro strong {
  max-width: 560px;
  font-size: calc(clamp(22px, 2vw, 30px) * var(--scale));
  line-height: 1.12;
}

.scan-form-intro p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: calc(13.5px * var(--scale));
}

.scan-website-field,
.scan-form-grid,
.scan-context-grid {
  margin-inline: 26px;
}

.scan-website-field {
  display: grid;
  gap: 8px;
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--card-line);
}

.scan-website-field label,
#auditForm.audit-scan-form .cf-group label,
#contactForm.contact-scan-form .cf-group label {
  color: var(--ink-2);
  font-size: calc(12px * var(--scale));
  font-weight: 800;
}

.scan-url-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--card-line);
  border-radius: 9px;
  background: var(--surface-alt);
}

.scan-url-input input {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.scan-url-input span {
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(0, 113, 227, .08);
  color: var(--accent);
  font-size: calc(11px * var(--scale));
  font-weight: 800;
  white-space: nowrap;
}

.scan-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.scan-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 4px;
}

#auditForm.audit-scan-form .cf-group,
#contactForm.contact-scan-form .cf-group {
  display: grid;
  gap: 6px;
}

#auditForm.audit-scan-form .cf-group input,
#auditForm.audit-scan-form .cf-group select,
#auditForm.audit-scan-form .cf-group textarea,
#contactForm.contact-scan-form .cf-group input,
#contactForm.contact-scan-form .cf-group select,
#contactForm.contact-scan-form .cf-group textarea {
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink);
  font-size: calc(13.5px * var(--scale));
  box-shadow: none;
}

#auditForm.audit-scan-form .cf-group textarea,
#contactForm.contact-scan-form .cf-group textarea {
  min-height: 112px;
  resize: vertical;
}

#auditForm.audit-scan-form .cf-group input:focus,
#auditForm.audit-scan-form .cf-group select:focus,
#auditForm.audit-scan-form .cf-group textarea:focus,
#contactForm.contact-scan-form .cf-group input:focus,
#contactForm.contact-scan-form .cf-group select:focus,
#contactForm.contact-scan-form .cf-group textarea:focus {
  border-color: var(--brand);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .10);
  outline: none;
}

#contactForm.contact-scan-form .scan-form-intro {
  background: linear-gradient(135deg, #071b52, #0d3274);
}

#contactForm.pricing-scan-form {
  max-width: 860px;
  margin-inline: auto;
}

#contactForm.pricing-scan-form .scan-form-grid .cf-group:last-child {
  grid-column: 1 / -1;
}

.scan-context-grid--single {
  grid-template-columns: 1fr;
}

.scan-submit-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: center;
  padding: 18px 26px 24px;
  border-top: 1px solid var(--card-line);
}

.scan-submit-bar .cf-note {
  margin: 0;
  color: var(--ink-2);
  font-size: calc(13px * var(--scale));
}

.scan-submit-bar .cf-submit {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  #auditForm.audit-scan-form {
    max-width: none;
    justify-self: stretch;
  }

  #contactForm.contact-scan-form {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 700px) {
  .scan-form-grid,
  .scan-context-grid,
  .scan-submit-bar,
  .scan-url-input {
    grid-template-columns: 1fr;
  }

  .scan-form-intro,
  .scan-submit-bar {
    padding-inline: 20px;
  }

  .scan-website-field,
  .scan-form-grid,
  .scan-context-grid {
    margin-inline: 20px;
  }
}

.pricing-market-note {
  margin-top: 14px;
  color: var(--ink-2);
  font-weight: 750;
}

.pricing-market-switch {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 22px;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(0, 113, 227, .18);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 7%, var(--card));
  box-shadow: none;
}

.pricing-market-switch span,
.pricing-market-switch a {
  display: inline-flex;
  align-items: center;
  font-size: calc(12px * var(--scale));
  font-weight: 850;
  white-space: nowrap;
}

.pricing-market-switch span {
  gap: 7px;
  color: var(--ink);
}

.pricing-market-switch span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #127544;
  box-shadow: 0 0 0 5px rgba(20, 150, 86, .10);
}

.pricing-market-switch a {
  position: relative;
  color: var(--accent);
  text-decoration: none;
}

.pricing-market-switch a::after {
  content: "→";
  margin-left: 6px;
}

.pricing-market-switch a:hover {
  color: var(--ink);
}

.nepal-pricing-banner {
  border-bottom: 1px solid rgba(0, 113, 227, .16);
  background: color-mix(in srgb, var(--brand) 9%, var(--card));
}

.nepal-pricing-banner .container {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.nepal-pricing-banner a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.nepal-pricing-banner a:hover {
  text-decoration: underline;
}

.nepal-pricing-banner button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.np-hero {
  padding-bottom: 46px;
}

.np-hero .pricing-market-switch {
  margin: 16px 0 0;
}

.pricing-hero .pricing-market-switch {
  margin: 16px 0 0;
}

main #packages.np-packages-section {
  padding-top: 18px;
  padding-bottom: 46px;
}

.np-packages-section .pricing-calculator-launch {
  margin: 18px auto 24px;
}

.np-plans-grid {
  align-items: stretch;
  margin-bottom: 18px;
}

.np-plan-card {
  min-height: auto;
  gap: 8px;
  padding-block: 24px 18px;
}

.np-plan-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(0, 113, 227, .16);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 5%, var(--card));
}

.np-plan-consult h2 {
  margin: 0;
  color: var(--ink);
  font-size: calc(22px * var(--scale));
  line-height: 1.15;
}

.np-plan-consult p {
  margin: 7px 0 0;
  color: var(--ink-2);
  font-size: calc(14px * var(--scale));
  line-height: 1.5;
}

.np-plan-consult .btn {
  flex: 0 0 auto;
  justify-content: center;
}

.np-capacity-addons {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .np-plan-consult {
    align-items: stretch;
    flex-direction: column;
  }

  .np-plan-consult .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .pricing-market-switch {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .pricing-market-switch span,
  .pricing-market-switch a {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}
