/* ProxyHawk — professional marketing + docs (static, no build) */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg-deep: #f4f6f9;
  --bg: #ffffff;
  --surface: #f8f9fc;
  --surface-2: #eef1f7;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --accent: #ea580c;
  --accent-2: #c2410c;
  /* Matches in-app primary actions (e.g. API Client Send) */
  --accent-glow: rgba(234, 88, 12, 0.22);
  --violet: #5b4cdb;
  --violet-2: #4338ca;
  --violet-dim: rgba(91, 76, 219, 0.1);
  /* SwiftUI Color.indigo — in-app “Setup” toolbar pill (ContentView) */
  --app-setup-indigo: #5856d6;
  --link: #c2410c;
  --link-hover: #9a3412;
  --warn: #b45309;
  --ok: #15803d;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Syne", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 24px rgba(15, 23, 42, 0.06);
  --max: 46rem;
  --header-h: 64px;
}

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

html {
  color-scheme: light;
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Clean base; texture lives in hero only */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--link-hover);
}

strong {
  color: var(--text);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

code,
pre {
  font-family: var(--mono);
  font-size: 0.88em;
}

pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  overflow-x: auto;
  line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

code {
  background: rgba(91, 76, 219, 0.08);
  padding: 0.12em 0.45em;
  border-radius: 6px;
  border: 1px solid rgba(91, 76, 219, 0.18);
  color: #4338ca;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
}

/* —— Header —— */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0; /* lets nav shrink so overflow-x scroll works in flex row */
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 4px 16px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(251, 146, 60, 0.25) 0%, transparent 42%),
    linear-gradient(210deg, transparent 50%, rgba(79, 70, 229, 0.18) 100%),
    radial-gradient(ellipse 90% 75% at 50% 45%, transparent 40%, rgba(15, 23, 42, 0.12) 100%);
  mix-blend-mode: multiply;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 56% 38%;
  transform: scale(1.12);
  filter: contrast(1.08) saturate(1.12);
}

nav.nav-main {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: center;
  /* flex-start: links read left→right inside the track; flex-end breaks overflow scroll and clips the first glyph */
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
  /* Inset so rounded hover / active backgrounds are not clipped at the scroll edges */
  padding-inline: 8px 12px;
  scroll-padding-inline: 8px;
}

nav.nav-main::-webkit-scrollbar {
  height: 3px;
}

nav.nav-main::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 3px;
}

nav.nav-main a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
nav.nav-main a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

/* —— Home hero —— */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 85% -5%, rgba(91, 76, 219, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 45% at 5% 25%, rgba(251, 146, 60, 0.07), transparent 48%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(59, 130, 246, 0.04), transparent 45%),
    #ffffff;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 65%, transparent 100%);
}

.hero-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}

.hero.hero--split {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    align-items: center;
  }

  .hero.hero--split {
    text-align: left;
    margin: 0;
  }

  .hero.hero--split .hero-actions {
    justify-content: flex-start;
  }
}

.hero-showcase {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-screenshot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 12px 28px -8px rgba(15, 23, 42, 0.1),
    0 28px 64px -20px rgba(91, 76, 219, 0.12);
  background: #0f172a;
  line-height: 0;
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  /* Default photo scaling; avoids OS “crisp edges” on UI screenshots */
  image-rendering: auto;
}

/* Home: wide gutter + padding so headline never collides with mockup */
@media (min-width: 960px) {
  .home-page .hero-layout {
    align-items: start;
    column-gap: clamp(2.5rem, 6vw, 4.75rem);
    grid-template-columns: minmax(0, 1fr) minmax(280px, min(46vw, 500px));
  }

  .home-page .hero.hero--split {
    min-width: 0;
  }

  .home-page .hero-showcase {
    align-self: start;
    justify-self: end;
    width: 100%;
    max-width: 500px;
    margin-top: 0;
    margin-right: 0;
    margin-left: clamp(0.75rem, 2vw, 1.75rem);
    padding-left: clamp(0.75rem, 2vw, 1.5rem);
    box-sizing: border-box;
  }
}

/* API Client — spotlight band (centered intro + full-width shot; not a second hero split) */
.home-api-feature {
  margin: 0;
  padding: clamp(2.75rem, 7vw, 4.25rem) 0 clamp(2.5rem, 6vw, 3.75rem);
  background:
    linear-gradient(180deg, rgba(91, 76, 219, 0.04) 0%, transparent 42%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.api-feature-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.api-feature-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 4.5vw, 2.75rem);
}

.api-feature-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.api-feature-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.api-feature-lead {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.api-feature-actions {
  margin: 0;
}

.api-feature-actions .btn {
  display: inline-flex;
}

.api-feature-shot {
  margin: 0;
  min-width: 0;
}

@media (min-width: 720px) {
  .api-feature-inner {
    max-width: 1000px;
  }
}

.product-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 24px 56px -16px rgba(15, 23, 42, 0.12),
    0 40px 80px -28px rgba(234, 88, 12, 0.08);
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  line-height: 0;
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  image-rendering: auto;
}

/* Spotlight shot: larger radius; warm glow echoes in-app Send / primary chrome */
.product-shot.api-feature-shot {
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 28px 64px -20px rgba(15, 23, 42, 0.14),
    0 48px 100px -32px rgba(234, 88, 12, 0.12);
}

.product-shot__cap {
  margin: 0;
  padding: 1rem 1.2rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--surface);
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

.product-shot__cap a {
  font-weight: 600;
}

/* Decorative “app window” — reads as a real tool, not empty whitespace */
.mock-window {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 20px 48px -12px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.mock-window__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, #3d4a63 0%, #1e293b 100%);
  color: #e2e8f0;
  font-size: 0.8rem;
}

.mock-window__dots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
  flex-shrink: 0;
  box-shadow: 12px 0 0 #fbbf24, 24px 0 0 #4ade80;
}

.mock-window__title {
  flex: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

.mock-window__live {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  padding: 0.2rem 0.5rem;
  background: rgba(74, 222, 128, 0.12);
  border-radius: 4px;
}

.mock-window__toolbar {
  padding: 0.5rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.mock-search {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  padding: 0.45rem 0.65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono);
}

.mock-window__rows {
  padding: 0.25rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.mock-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px 44px;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-row--head {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mock-row--head span:nth-child(3),
.mock-row--head span:nth-child(4) {
  text-align: right;
}

.mock-row--muted {
  opacity: 0.88;
}

.mock-m {
  color: var(--link);
  font-weight: 600;
}

.mock-path {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-s {
  text-align: right;
  font-weight: 600;
}

.mock-s--ok {
  color: var(--ok);
}

.mock-s--warn {
  color: #b45309;
}

.mock-t {
  color: var(--muted);
  text-align: right;
}

.mock-window__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

.mock-window__footer code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
}

.hero-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  letter-spacing: -0.038em;
  color: var(--text);
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.5;
  margin: 0 auto 1.5rem;
  max-width: 22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #fb923c 0%, var(--accent) 42%, var(--accent-2) 100%);
  color: #fffaf5;
  box-shadow: 0 8px 28px var(--accent-glow);
  text-shadow: 0 1px 0 rgba(120, 53, 15, 0.2);
}
.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-2);
  text-decoration: none;
  color: var(--text);
}

/* —— Compare (Charles / Proxyman / ProxyHawk) —— */
.home-compare {
  max-width: 1020px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.section-head--wide {
  max-width: 42rem;
}

.compare-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--surface-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.compare-table thead th:first-child {
  width: 22%;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text);
  background: rgba(248, 250, 252, 0.9);
  width: 22%;
}

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

.compare-table td {
  color: var(--text-secondary);
  line-height: 1.5;
}

.compare-footnote {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

@media (max-width: 780px) {
  .compare-table-wrap {
    overflow-x: auto;
  }

  .compare-table {
    min-width: 640px;
  }
}

/* —— Demo embed —— */
.home-demo {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.demo-stage {
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.demo-stage--cta {
  overflow: visible;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
}

.demo-cta-text {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.demo-embed-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.demo-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-placeholder {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
  transition: filter 0.2s ease;
}

.demo-placeholder:hover {
  filter: brightness(1.06);
  text-decoration: none;
  color: inherit;
}

.demo-placeholder__play {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

.demo-placeholder__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.demo-placeholder__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.demo-placeholder__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.demo-placeholder__sub {
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
  max-width: 36rem;
}

/* —— FAQ (home) —— */
.home-faq {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .faq-layout {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 3rem;
  }
}

.faq-heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.faq-lead {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.faq-contact {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item p:last-child {
  margin-bottom: 1rem;
}

/* Feature cards home */
.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.85rem;
}

.section-head .section-title {
  margin-bottom: 0.75rem;
}

.pitch-section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.section-sub {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.section-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.home-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 5.5rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: linear-gradient(165deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--accent));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(91, 76, 219, 0.1);
  border: 1px solid rgba(91, 76, 219, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.card-icon--muted {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-family: var(--font);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card h3 a {
  color: var(--text);
}
.card h3 a:hover {
  color: var(--accent-2);
  text-decoration: none;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.cta-band__inner {
  background: linear-gradient(135deg, rgba(91, 76, 219, 0.09) 0%, rgba(251, 146, 60, 0.11) 50%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(2.5rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(91, 76, 219, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__inner > * {
  position: relative;
  z-index: 1;
}

.cta-band__inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.cta-band__inner p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  background: var(--surface);
}

.site-footer code {
  font-size: 0.85em;
}

.site-footer > p {
  margin: 0 0 0.65rem;
}
.site-footer > p:last-child {
  margin-bottom: 0;
}

.site-footer__credit {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.92;
}
.site-footer__credit a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__credit a:hover {
  color: var(--link);
}

/* —— Documentation layout —— */
.page-docs .site-footer {
  margin-top: 0;
}

.doc-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  padding: 1.25rem 0;
  border-right: 1px solid var(--border);
  padding-right: 1.25rem;
}

.doc-sidebar__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
  padding-left: 0.6rem;
}

.doc-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.doc-sidebar__nav a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.doc-sidebar__nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

.doc-sidebar__nav a.is-active {
  color: var(--text);
  background: rgba(234, 88, 12, 0.1);
  border-left-color: var(--accent);
}

.doc-main {
  min-width: 0;
  padding-bottom: 2rem;
}

/* Doc typography */
.doc {
  max-width: var(--max);
}

.doc h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.doc .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
  line-height: 1.65;
}

.doc h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.doc h2:first-of-type,
.doc > h2:first-child {
  border-top: none;
  padding-top: 0;
}

.doc h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.doc p,
.doc ul,
.doc ol {
  margin: 0.75rem 0;
  color: var(--text-secondary);
}

.doc ul,
.doc ol {
  padding-left: 1.35rem;
}

.doc li {
  margin: 0.4rem 0;
}

.doc a {
  font-weight: 500;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}
.breadcrumb a:hover {
  color: var(--link);
}

.toc {
  background: var(--violet-dim);
  border: 1px solid rgba(91, 76, 219, 0.18);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0 2rem;
}

.toc-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.6rem;
}

.toc ul {
  margin: 0;
  padding-left: 1.1rem;
}

.callout {
  border-left: 3px solid var(--accent);
  background: rgba(234, 88, 12, 0.06);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.35rem 0;
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-left-width: 3px;
}
.callout strong {
  color: var(--accent-2);
}

.callout-warn {
  border-left-color: var(--warn);
  background: rgba(180, 83, 9, 0.06);
  border-color: rgba(180, 83, 9, 0.22);
}
.callout-warn strong {
  color: var(--warn);
}

.callout-ok {
  border-left-color: var(--ok);
  background: rgba(21, 128, 61, 0.06);
  border-color: rgba(21, 128, 61, 0.2);
}
.callout-ok strong {
  color: var(--ok);
}

table.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

table.simple th,
table.simple td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

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

table.simple th {
  background: var(--surface-2);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.steps li {
  position: relative;
  padding-left: 2.75rem;
  margin: 1.1rem 0;
  min-height: 1.5rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.85rem;
  height: 1.85rem;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}

/* Docs hub — no sidebar */
.docs-hub .doc {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.docs-hub .doc-grid {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .doc-shell {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: relative;
    top: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 1.25rem;
    margin-bottom: 0.5rem;
  }

  .doc-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .doc-sidebar__nav a {
    border-left: none;
    border: 1px solid var(--border);
    margin-left: 0;
  }

  .doc-sidebar__nav a.is-active {
    border-color: rgba(234, 88, 12, 0.35);
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  nav.nav-main {
    gap: 0.12rem;
  }

  nav.nav-main a {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

/* —— Home (text-first: hero + sections, no hero screenshots) —— */
.home-page {
  flex: 1;
}

.hero-wrap .hero.hero--minimal {
  padding: 0;
}

.hero--minimal .hero-title:not(.hero-title--home) {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

/* Home: display type + accent pill + underline (Syne on headline only) */
.hero--minimal .hero-title--home {
  font-size: unset;
  margin: 0 0 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding-bottom: 1.1rem;
}

.hero--minimal .hero-title--home::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 12rem);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(88, 86, 214, 0.5), rgba(234, 88, 12, 0.4));
  opacity: 0.9;
}

.home-page .hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: linear-gradient(180deg, #ffffff, var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-title__primary {
  display: block;
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.12;
  color: var(--text);
  max-width: 100%;
  overflow-wrap: break-word;
}

.home-page .hero-title__primary {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.05rem);
  letter-spacing: -0.048em;
  line-height: 1.08;
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
  text-wrap: balance;
}

/* Keep “in” + “seconds” together so line breaks don’t orphan “in” */
.home-page .hero-title__tail {
  white-space: nowrap;
}

@media (max-width: 400px) {
  .home-page .hero-title__tail {
    white-space: normal;
  }
}

/* “seconds” — soft tint (same weight/size as headline; no heavy 3D pill) */
.hero-title__flash {
  display: inline;
  color: var(--app-setup-indigo);
}

.home-page .hero-title__flash {
  display: inline;
  font-family: inherit;
  font-weight: 800;
  font-style: normal;
  font-size: 1em;
  letter-spacing: inherit;
  padding: 0;
  color: var(--ux-royal);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.home-page .hero-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin: 0.35rem 0 1.1rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.03), rgba(88, 86, 214, 0.06));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.hero-metric__value {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--text-secondary);
  margin-right: 0.12em;
}

.home-page .hero-metric__value {
  color: var(--app-setup-indigo);
  font-weight: 800;
}

.hero-metric__dot {
  color: var(--muted);
  opacity: 0.65;
  user-select: none;
}

.home-page .hero-metric__dot {
  opacity: 0.45;
}

.hero-lead--minimal {
  max-width: none;
}

/* Home hero: editorial subhead */
.hero-wrap .hero.hero--minimal .hero-lead--minimal {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.home-page .hero-lead--minimal {
  padding-left: 1.05rem;
  border-left: 3px solid var(--app-setup-indigo);
}

@media (max-width: 959px) {
  .hero-wrap .hero.hero--minimal {
    text-align: center;
  }

  .hero-wrap .hero.hero--minimal .hero-title--home {
    align-items: center;
  }

  .hero-wrap .hero.hero--minimal .hero-title--home::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .home-page .hero-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metrics {
    justify-content: center;
  }

  .home-page .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-wrap .hero.hero--minimal .hero-lead--minimal {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .home-page .hero-lead--minimal {
    border-left: none;
    padding-left: 0;
  }

  .hero-wrap .hero.hero--minimal .hero-actions {
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .hero-wrap .hero.hero--minimal .hero-lead--minimal {
    max-width: min(28rem, 100%);
  }

  .hero-wrap .hero.hero--minimal .hero-actions {
    justify-content: flex-start;
  }
}

.landing-note {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.landing-note a {
  font-weight: 500;
}

.home-highlights {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem 3rem;
}

.home-highlights__title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.home-highlights__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  counter-reset: hawk-hi;
}

@media (min-width: 640px) {
  .home-highlights__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-highlight {
  position: relative;
  padding: 1.35rem 1.35rem 1.25rem;
  background: linear-gradient(165deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  counter-increment: hawk-hi;
}

.home-highlight::before {
  content: counter(hawk-hi, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(88, 86, 214, 0.18);
  margin-bottom: 0.65rem;
}

.home-highlight h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.025em;
}

.home-highlight p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.site-footer--minimal {
  padding: 1.5rem;
  font-size: 0.85rem;
}

.site-footer--minimal > p:first-child {
  margin: 0 0 0.35rem;
  color: var(--text-secondary);
}

/* —— Landing only: mesh backdrop + floating canvas (index.html, body.page-home) —— */
body.page-home {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ux-royal: #2563eb;
  --ux-navy: #0f172a;
  --link: #1d4ed8;
  --link-hover: #1e40af;
  background-color: #ffffff !important;
}

body.page-home::before {
  background: transparent !important;
}

.mesh-bg {
  display: none;
}

.site-canvas {
  /* canvas card removed — page is now flat/full-width */
}

body.page-home .site-header--canvas {
  --ux-pill-bg: linear-gradient(180deg, #e8e7e4 0%, #deddd9 100%);
  --ux-pill-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: none;
}

.site-header__inner--canvas {
  max-width: none;
  height: auto;
  min-height: 0;
  padding: clamp(1.75rem, 4.2vw, 2.5rem) clamp(1.25rem, 4.5vw, 3.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

/* Warm grey pill track: header only (tokens scoped on .site-header--canvas) */
body.page-home .site-header--canvas .header-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
  padding: 0.42rem 0.85rem 0.42rem 0.5rem;
  background: var(--ux-pill-bg);
  border: none;
  border-radius: 999px;
  box-shadow: var(--ux-pill-shadow);
}

body.page-home .site-header--canvas .header-pill--primary {
  row-gap: 0.35rem;
  padding-left: 0.45rem;
  padding-right: 0.65rem;
  max-width: 100%;
}

body.page-home .site-header--canvas .header-pill--cta {
  padding: 0.42rem 0.95rem 0.42rem 1.15rem;
  gap: 0.55rem 1rem;
}

body.page-home .site-header--canvas .header-pill__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.55rem;
  text-decoration: none;
  border-radius: 50%;
}

body.page-home .site-header--canvas .header-pill__logo:hover {
  text-decoration: none;
}

body.page-home .site-header--canvas .brand-mark--header-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(37, 99, 235, 0.1);
}

/* No gradient overlay on header logo (drops extra compositing layer vs .brand-mark::after) */
body.page-home .site-header--canvas .brand-mark--header-pill::after {
  content: none;
}

body.page-home .site-header--canvas .header-pill__brand-name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ux-navy);
  margin-right: 0.25rem;
}

body.page-home .site-header--canvas .header-pill__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

body.page-home .site-header--canvas .header-pill__nav a {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ux-navy);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

body.page-home .site-header--canvas .header-pill__nav a:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ux-navy);
  text-decoration: none;
}

body.page-home .site-header--canvas .header-pill__link {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ux-navy);
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

body.page-home .site-header--canvas .header-pill__link:hover {
  color: var(--ux-royal);
  text-decoration: none;
}

body.page-home .site-header--canvas .header-pill__btn.btn-ux-primary {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.btn-ux-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  background: var(--ux-navy);
  color: #f8fafc;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-ux-primary:hover {
  filter: brightness(1.08);
  color: #ffffff;
  text-decoration: none;
}

.btn-ux-primary:active {
  transform: scale(0.98);
}

.btn-ux-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #f1f5f9;
  color: var(--ux-navy);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-ux-secondary:hover {
  background: #e2e8f0;
  text-decoration: none;
  color: var(--ux-navy);
}

.btn-ux-secondary:active {
  transform: scale(0.98);
}

.btn-ux-compact {
  padding: 0.52rem 1.05rem;
  font-size: 0.82rem;
}

.brand-mark--canvas {
  border-radius: 50%;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.brand-mark--canvas::after {
  background:
    linear-gradient(155deg, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    linear-gradient(210deg, transparent 50%, rgba(37, 99, 235, 0.1) 100%);
}

body.page-home .home-page {
  flex: 1 0 auto;
}

body.page-home .hero-wrap--canvas {
  background: #ffffff;
}

body.page-home .hero-wrap--canvas::before,
body.page-home .hero-wrap--canvas::after {
  display: none;
}

.hero--canvas {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
}

.hero-kicker--canvas {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hero-title--canvas {
  margin: 0 0 1.1rem;
  font-family: var(--font-display), var(--font);
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ux-navy);
}

.hero-title__primary {
  display: block;
}

.hero-title__tail {
  white-space: nowrap;
}

.hero-title__flash {
  color: var(--ux-royal);
}

.hero-lead--canvas {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.62;
  color: #64748b;
}

/* Higher specificity than .home-page .hero-metrics { inline-flex }; no gray “pill” chip — plain text row */
body.page-home .home-page .hero-metrics.hero-metrics--canvas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  width: 100%;
  max-width: min(28rem, 100%);
  margin: 0 auto 1.35rem;
  box-sizing: border-box;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

body.page-home .home-page .hero-metrics.hero-metrics--canvas .hero-metric__value {
  color: var(--ux-navy);
  font-weight: 700;
}

.hero-actions--canvas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

body.page-home .home-page .hero-actions.hero-actions--canvas {
  width: 100%;
  clear: both;
}

body.page-home .home-page .hero-actions.hero-actions--canvas .btn-ux-secondary {
  background: #f1f5f9;
  color: var(--ux-navy);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

body.page-home .home-page .hero-actions.hero-actions--canvas .btn-ux-secondary:hover {
  background: #e2e8f0;
  color: var(--ux-navy);
}

.landing-note--canvas {
  margin: 1.5rem 0 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #94a3b8;
}

.hero-screenshot--canvas {
  margin: clamp(2rem, 5vw, 2.75rem) auto 0;
  max-width: min(920px, 100%);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 32px 64px -16px rgba(37, 99, 235, 0.15);
}

body.page-home .home-api-feature--canvas {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.api-feature-inner--canvas {
  max-width: 960px;
}

body.page-home .home-highlights--canvas {
  background: #ffffff;
  padding-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}

body.page-home .home-highlights--canvas .home-highlight::before {
  color: rgba(37, 99, 235, 0.16);
}

body.page-home .home-features--canvas {
  padding-top: clamp(2.5rem, 6vw, 3.75rem);
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

body.page-home .home-features--canvas .section-title {
  font-family: var(--font-display), var(--font);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--text);
}

body.page-home .home-features--canvas .section-sub {
  font-size: 1.05rem;
  color: #64748b;
}

.section-head--canvas {
  text-align: center;
  margin-bottom: 0.25rem;
}

body.page-home .home-faq--canvas {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

body.page-home .faq-heading {
  font-family: var(--font-display), var(--font);
  letter-spacing: -0.04em;
}

body.page-home .cta-band--canvas {
  margin-bottom: 0;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

body.page-home .cta-band--canvas .cta-band__inner {
  background: linear-gradient(145deg, #f1f5f9 0%, #e8f0fe 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

body.page-home .cta-band--canvas .cta-band__inner::before {
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}

body.page-home .site-footer--canvas {
  margin-top: 0;
  padding: 1.75rem clamp(1rem, 3vw, 1.5rem);
  background: #fafafa;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
  color: #94a3b8;
}

body.page-home .site-footer--canvas a {
  color: #64748b;
}

body.page-home .site-footer--canvas a:hover {
  color: var(--ux-royal);
}

@media (max-width: 720px) {
  .site-header__inner--canvas {
    flex-direction: column;
    align-items: stretch;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  body.page-home .site-header--canvas .header-pill--primary {
    justify-content: center;
    width: 100%;
  }

  body.page-home .site-header--canvas .header-pill__nav {
    justify-content: center;
  }

  body.page-home .site-header--canvas .header-pill--cta {
    width: 100%;
    justify-content: center;
    padding-left: 0.85rem;
  }

  .hero-title__tail {
    white-space: normal;
  }
}

/* Download button icon */
.btn-icon {
  flex-shrink: 0;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* —— Hero split layout (text left, screenshot right) —— */
.hero-canvas-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

.hero-canvas-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-canvas-visual {
  margin: 0;
  max-width: none;
  width: 100%;
}

/* On desktop: two-column split */
@media (min-width: 768px) {
  .hero-canvas-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
  }

  /* Override .hero--canvas centering for the split layout */
  .hero--canvas {
    text-align: left;
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Left-align actions and metrics inside split */
  body.page-home .home-page .hero-actions.hero-actions--canvas {
    justify-content: flex-start;
  }

  body.page-home .home-page .hero-metrics.hero-metrics--canvas {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }

  .hero-kicker--canvas {
    text-align: left;
  }

  .hero-lead--canvas {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mobile: single column, re-center */
@media (max-width: 767px) {
  .hero--canvas {
    text-align: center;
  }

  .hero-canvas-text {
    align-items: center;
  }

  .hero-canvas-visual {
    order: 1;
  }
}

/* ============================================================
   ProxyHawk — Enhanced Homepage Design
   ============================================================ */

/* —— Hero: rich multi-layer gradient + dot grid —— */
body.page-home .hero-wrap--canvas {
  background:
    radial-gradient(ellipse 90% 75% at 8% 40%, rgba(219, 234, 254, 0.75) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 92% 12%, rgba(224, 231, 255, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 60% 95%, rgba(255, 237, 213, 0.45) 0%, transparent 52%),
    #ffffff;
  position: relative;
  overflow: hidden;
}

body.page-home .hero-wrap--canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.35) 0%, transparent 65%);
  pointer-events: none;
  display: block;
  z-index: 0;
}

body.page-home .hero-wrap--canvas::after {
  display: none;
}

/* —— Kicker: accent pill with live dot —— */
.hero-kicker--canvas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem 0.42rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #1d4ed8;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  position: relative;
  z-index: 1;
}

.hero-kicker--canvas::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08); }
}

/* —— Hero title —— */
.hero-title--canvas {
  font-size: clamp(2.8rem, 5.8vw, 4.1rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0 0 1.35rem;
  color: #0f172a;
  position: relative;
  z-index: 1;
}

.hero-title__flash {
  color: #2563eb;
  position: relative;
  display: inline-block;
}

.hero-title__flash::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  width: 100%;
  height: 0.1em;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
  opacity: 0.35;
}

/* —— Hero lead —— */
.hero-lead--canvas {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.74;
  margin: 0 0 1.75rem;
  max-width: 32rem;
  position: relative;
  z-index: 1;
}

/* —— Metrics row —— */
body.page-home .home-page .hero-metrics.hero-metrics--canvas {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  gap: 0.25rem 0.85rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

body.page-home .home-page .hero-metrics.hero-metrics--canvas .hero-metric__value {
  color: #0f172a;
  font-weight: 800;
}

/* —— Hero trust line —— */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hero-trust__dot {
  opacity: 0.45;
  user-select: none;
}

/* —— Buttons —— */
.btn-primary {
  background: linear-gradient(170deg, #f97316 0%, #ea580c 55%, #c2410c 100%);
  color: #fffaf5;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4), 0 1px 0 rgba(255,255,255,0.15) inset;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.82rem 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.52);
  filter: brightness(1.06);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.55rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: #0f172a;
}

/* —— macOS requirement label —— */
.hero-mac-req {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* —— Screenshot: floating glow effect —— */
.hero-canvas-visual {
  position: relative;
}

.hero-canvas-visual::before {
  content: "";
  position: absolute;
  inset: -24px -16px;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-screenshot--canvas {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.06),
    0 20px 60px -8px rgba(37, 99, 235, 0.22),
    0 40px 100px -20px rgba(15, 23, 42, 0.14);
}

/* —— Section eyebrow —— */
.section-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.65rem;
}

/* —— Section title large (doc section) —— */
.section-title-lg {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

/* —— Highlights section —— */
body.page-home .home-highlights--canvas {
  background: linear-gradient(180deg, #f0f6ff 0%, #f8faff 100%);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #e8edf5;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.home-highlight {
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 20px;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04), 0 1px 0 rgba(255,255,255,0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  counter-increment: none;
}

.home-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1), 0 1px 0 rgba(255,255,255,0.9) inset;
  border-color: #bfdbfe;
}

.home-highlight::before {
  display: none;
}

.home-highlight__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.home-highlight__icon--blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}

.home-highlight__icon--orange {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #c2410c;
  border: 1px solid rgba(194, 65, 12, 0.18);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.14);
}

.home-highlight__icon--violet {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6d28d9;
  border: 1px solid rgba(109, 40, 217, 0.18);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.12);
}

.home-highlight h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.home-highlight p {
  margin: 0;
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.65;
}

/* —— API feature section —— */
body.page-home .home-api-feature--canvas {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-top: 1px solid #e2e8f4;
  border-bottom: 1px solid #e2e8f4;
}

/* —— Documentation cards section —— */
body.page-home .home-features--canvas {
  background: linear-gradient(180deg, #f0f6ff 0%, #f8faff 100%);
  border-top: 1px solid #dbeafe;
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

body.page-home .home-features--canvas .section-title {
  display: none; /* replaced by section-eyebrow + section-title-lg */
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04), 0 1px 0 rgba(255,255,255,0.9) inset;
  padding: 1.85rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

.card::before {
  background: linear-gradient(90deg, #2563eb, #ea580c);
}

.card-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
  font-weight: 800;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

.card h3 a {
  color: #0f172a;
}

/* —— FAQ section —— */
body.page-home .home-faq--canvas {
  background: #ffffff;
  border-top: 1px solid #e2e8f4;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.faq-item {
  border-bottom: 1px solid #e2e8f4;
}

.faq-item summary {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

/* —— CTA band: premium deep blue —— */
body.page-home .cta-band--canvas {
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

body.page-home .cta-band--canvas .cta-band__inner {
  background: linear-gradient(135deg, #0f2260 0%, #1e3a8a 30%, #1d4ed8 65%, #3b82f6 100%);
  border: none;
  box-shadow:
    0 24px 70px rgba(29, 78, 216, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
}

body.page-home .cta-band--canvas .cta-band__inner::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

body.page-home .cta-band--canvas .cta-band__inner > * {
  position: relative;
  z-index: 1;
}

body.page-home .cta-band--canvas .cta-band__inner h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.65rem;
}

body.page-home .cta-band--canvas .cta-band__inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.btn-cta-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.88rem 1.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255,255,255,0.15) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn-cta-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  color: #1d4ed8;
  text-decoration: none;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.88rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.cta-band__req {
  margin: 1.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Footer —— */
body.page-home .site-footer {
  background: #f8faff;
  border-top: 1px solid #e2e8f4;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* —— Header: frosted glass —— */
body.page-home .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(226, 232, 244, 0.8);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

body.page-home .brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
}

body.page-home .brand-mark {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.18);
}

body.page-home nav.nav-main a {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.12s ease, background 0.12s ease;
}

body.page-home nav.nav-main a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

/* —— Hero canvas content z-index fix —— */
.hero-canvas-text {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Testimonials section
   ============================================================ */
.home-testimonials {
  background: #ffffff;
  border-top: 1px solid #e2e8f4;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 2.75rem;
  line-height: 1.2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.testimonial-card {
  background: #f8faff;
  border: 1px solid #e2e8f4;
  border-radius: 20px;
  padding: 1.75rem 1.85rem 1.65rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.09);
}

.testimonial-card--accent {
  background: linear-gradient(145deg, #1d4ed8, #2563eb);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(29, 78, 216, 0.28);
}

.testimonial-card--accent:hover {
  box-shadow: 0 16px 52px rgba(29, 78, 216, 0.38);
}

.testimonial-card__stars {
  font-size: 0.95rem;
  color: #fbbf24;
  margin: 0;
  letter-spacing: 0.05em;
}

.testimonial-card--accent .testimonial-card__stars {
  color: #fde68a;
}

.testimonial-card__body {
  font-size: 0.97rem;
  line-height: 1.68;
  color: #1e293b;
  margin: 0;
  font-style: italic;
  flex: 1;
}

.testimonial-card--accent .testimonial-card__body {
  color: rgba(255, 255, 255, 0.92);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
}

.testimonial-card--accent .testimonial-card__name {
  color: rgba(255, 255, 255, 0.65);
}

/* Tags row */
.testimonials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.testimonial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1.05rem;
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
  transition: background 0.15s ease, transform 0.15s ease;
}

.testimonial-tag:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}
