/* ReviewPilot — page-specific styles (about, services, pricing, news, contact, login, signup) */

/* ─── Page hero ─────────────────────────────────────────────────────────── */
.page-hero {
  padding: 88px 0 56px;
  background:
    radial-gradient(ellipse 60% 80% at 80% -10%, rgba(9,105,218,0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-subtle) 100%);
  border-bottom: 1px solid var(--border-muted);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(9,105,218,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9,105,218,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 50% 60% at 70% 20%, #000 30%, transparent 80%);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 16px;
  text-wrap: balance;
}
.page-hero .lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 680px;
}
.page-hero .eyebrow { margin-bottom: 18px; }

/* ─── Two-column section ────────────────────────────────────────────────── */
.col2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.col2 h2 { margin-bottom: 18px; }
.col2 p { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }

/* ─── Generic card grid ─────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.info-card:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); transform: translateY(-2px); }
.info-card .ico {
  width: 36px; height: 36px;
  border-radius: var(--r-3);
  background: var(--blue-subtle);
  color: var(--blue-press);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.info-card h3 { margin-bottom: 8px; }
.info-card p { font-size: 14px; line-height: 1.6; flex: 1; }
.info-card .meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px; color: var(--fg-muted);
  display: flex; align-items: center; gap: 8px;
}

/* ─── Team cards ────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 22px;
  text-align: center;
}
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  background: var(--blue-subtle); color: var(--blue-press);
}
.team-card .name { font-size: 15px; font-weight: 600; color: var(--fg); }
.team-card .role { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.team-card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px; color: var(--fg-muted);
  background: var(--canvas-subtle);
  border: 1px solid var(--border-muted);
  font-family: var(--font-mono);
}

/* ─── Values list ───────────────────────────────────────────────────────── */
.values-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  background: var(--canvas);
  overflow: hidden;
}
.value {
  padding: 32px;
  border-right: 1px solid var(--border-muted);
}
.value:last-child { border-right: none; }
.value .num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--blue);
  margin-bottom: 14px;
}
.value h3 { margin-bottom: 8px; }
.value p { font-size: 14px; line-height: 1.6; }

/* ─── CTA strip ─────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--canvas-dark);
  color: var(--fg-on-dark);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 80% 50%, rgba(9,105,218,0.20) 0%, transparent 60%);
  pointer-events: none;
}
.cta-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-row h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-row p { color: var(--fg-on-dark-muted); font-size: 15px; }
.cta-row-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ─── Comparison table ──────────────────────────────────────────────────── */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--canvas);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-muted);
  text-align: left;
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--canvas-subtle);
  font-size: 13px;
  color: var(--fg);
  font-weight: 600;
}
.compare-table thead th.best {
  background: var(--blue-subtle);
  color: var(--blue-press);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th {
  font-weight: 500;
  color: var(--fg);
  background: var(--canvas);
}
.compare-table td.center { text-align: center; }
.compare-table .yes { color: var(--success); }
.compare-table .no { color: var(--border-strong); }
.compare-table tr:hover td,
.compare-table tr:hover th { background: var(--canvas-subtle); }
.compare-section-row th {
  background: var(--canvas-inset) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--fg-subtle) !important;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

/* ─── News / blog ───────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.article:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); transform: translateY(-2px); }
.article .cover {
  height: 160px;
  background: linear-gradient(135deg, var(--blue-subtle) 0%, var(--canvas-subtle) 100%);
  position: relative;
  border-bottom: 1px solid var(--border-muted);
  display: grid; place-items: center;
  color: var(--blue-press);
}
.article .cover.mono { background: linear-gradient(135deg, var(--canvas-inset) 0%, var(--canvas-subtle) 100%); color: var(--fg-muted); }
.article .cover.dark { background: linear-gradient(135deg, #1F2937 0%, #0D1117 100%); color: var(--blue-muted); }
.article .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article .cat {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-subtle);
  margin-bottom: 10px;
}
.article h3 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.015em; }
.article .excerpt { font-size: 13.5px; line-height: 1.6; color: var(--fg-muted); flex: 1; }
.article .meta {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border-muted);
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--fg-muted);
}

.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  overflow: hidden;
  margin-bottom: 32px;
}
.featured .cover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-press) 100%);
  min-height: 320px;
  position: relative;
  display: grid; place-items: center;
  color: #fff;
}
.featured .cover::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 85%);
}
.featured .cover .badge {
  position: relative;
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.featured .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured .cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-press); margin-bottom: 12px; }
.featured h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 14px; }
.featured .excerpt { font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin-bottom: 22px; }

/* ─── Roadmap ───────────────────────────────────────────────────────────── */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lane {
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  background: var(--canvas);
  padding: 22px;
}
.lane-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-muted);
  margin-bottom: 14px;
}
.lane-hd h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.lane-hd .count { font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle); padding: 2px 8px; background: var(--canvas-subtle); border-radius: 999px; border: 1px solid var(--border-muted); }
.lane ul { display: flex; flex-direction: column; gap: 10px; }
.lane li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px;
  background: var(--canvas-subtle);
  border-radius: var(--r-3);
  font-size: 13.5px;
}
.lane li .badge {
  font-family: var(--font-mono);
  font-size: 10px; padding: 1px 6px;
  border-radius: 999px;
  flex-shrink: 0; margin-top: 2px;
}
.b-now { background: var(--success-subtle); color: var(--success); }
.b-next { background: var(--blue-subtle); color: var(--blue-press); }
.b-later { background: var(--canvas-inset); color: var(--fg-muted); }

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.form-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--fg); }
.form-row label .req { color: var(--danger); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  background: var(--canvas);
  font: inherit; font-size: 14px;
  color: var(--fg);
  transition: border-color .12s, box-shadow .12s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}
.form-row input.input-error, .form-row textarea.input-error, .form-row select.input-error {
  border-color: var(--danger);
}
.form-row input.input-error:focus, .form-row textarea.input-error:focus, .form-row select.input-error:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 15%, transparent);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--fg-subtle); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 10px; margin-top: 8px; align-items: center; }

.contact-aside {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-method {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-method .icn {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--r-3);
  background: var(--blue-subtle);
  color: var(--blue-press);
  display: grid; place-items: center;
}
.contact-method .ttl { font-size: 14px; font-weight: 600; }
.contact-method .sub { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.contact-method a { color: var(--blue-press); font-weight: 500; }
.contact-method a:hover { text-decoration: underline; }

/* ─── Auth pages ─────────────────────────────────────────────────────────── */
.auth-shell { /* legacy split layout — kept for backwards compatibility */
  min-height: calc(100dvh - 60px - 36px);
  display: grid; grid-template-columns: 1fr 1fr;
}

.auth-center {
  min-height: calc(100dvh - 60px - 36px);
  display: grid; place-items: center;
  padding: 56px 20px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(9,105,218,0.08) 0%, transparent 60%),
    var(--canvas-subtle);
  position: relative;
}
.auth-center::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(9,105,218,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9,105,218,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 50% 70% at 50% 30%, #000 30%, transparent 85%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px 32px;
}
.auth-card-mark {
  width: 48px; height: 48px;
  border-radius: 11px;
  background: linear-gradient(180deg, #1F7CE6 0%, var(--blue) 60%, var(--blue-press) 100%);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(9,105,218,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.auth-card-mark svg { width: 26px; height: 26px; }
.auth-card h1 {
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.auth-card .sub {
  color: var(--fg-muted); font-size: 14px;
  margin-bottom: 24px;
}
.auth-card .sub a { color: var(--blue-press); font-weight: 500; }
.auth-card .sub a:hover { text-decoration: underline; }
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-press);
  background: var(--blue-subtle);
  border: 1px solid color-mix(in srgb, var(--blue-press) 20%, transparent);
  border-radius: 20px;
  padding: 4px 10px;
  margin-bottom: 18px;
}
.auth-side {
  background: var(--canvas-dark);
  color: var(--fg-on-dark);
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 20% 10%, rgba(9,105,218,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(9,105,218,0.16) 0%, transparent 60%);
}
.auth-side::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { color: #fff; font-size: clamp(1.75rem, 2.5vw, 2.25rem); margin-bottom: 14px; text-wrap: balance; }
.auth-side p { color: var(--fg-on-dark-muted); font-size: 15px; line-height: 1.55; max-width: 400px; }
.auth-bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.auth-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg-on-dark); }
.auth-bullets svg { color: #7EE2A8; flex-shrink: 0; margin-top: 3px; }
.auth-quote {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 22px;
  font-size: 14px;
  color: var(--fg-on-dark);
  line-height: 1.6;
}
.auth-quote .who { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--fg-on-dark-muted); font-size: 12.5px; }
.auth-quote .who .av { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-subtle); color: var(--blue-press); display: grid; place-items: center; font-weight: 700; font-size: 11px; }

.auth-form {
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: center;
}
.auth-form-inner {
  width: 100%;
  max-width: 400px;
}
.auth-form-inner h1 { font-size: clamp(1.5rem, 2vw, 1.875rem); margin-bottom: 8px; letter-spacing: -0.02em; }
.auth-form-inner .sub { color: var(--fg-muted); font-size: 14px; margin-bottom: 28px; }
.auth-form-inner .sub a { color: var(--blue-press); font-weight: 500; }
.auth-form-inner .sub a:hover { text-decoration: underline; }
.auth-submit { width: 100%; justify-content: center; height: 40px; margin-top: 4px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0;
  color: var(--fg-subtle);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.10em;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-muted); }
.auth-oauth { display: grid; gap: 8px; }
.auth-oauth button {
  width: 100%; justify-content: center;
  height: 40px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  font: inherit; font-size: 14px; font-weight: 500; color: var(--fg);
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  transition: background-color .12s, border-color .12s;
}
.auth-oauth button:hover { background: var(--canvas-subtle); border-color: var(--border-strong); }
.auth-form-inner .fine {
  margin-top: 18px;
  font-size: 12px;
  color: var(--fg-subtle);
  line-height: 1.55;
  text-align: center;
}
.auth-form-inner .fine a { color: var(--blue-press); }
.auth-form-inner .fine a:hover { text-decoration: underline; }
.password-row { display: flex; justify-content: space-between; align-items: baseline; }
.password-row .forgot { font-size: 12.5px; color: var(--blue-press); }
.password-row .forgot:hover { text-decoration: underline; }
.checkbox-row { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--fg-muted); }
.checkbox-row input { margin-top: 3px; accent-color: var(--blue); }

/* ─── Legal pages ────────────────────────────────────────────────────────── */
.legal-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--border-muted); margin-bottom: 56px; }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-hero .meta { font-size: 13px; color: var(--fg-subtle); }
.legal-body { max-width: 720px; padding-bottom: 80px; }
.legal-body h2 { font-size: 1.125rem; font-weight: 700; margin: 40px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 14.5px; line-height: 1.7; color: var(--fg-muted); margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { font-size: 14.5px; line-height: 1.7; color: var(--fg-muted); margin-bottom: 6px; }
.legal-body a { color: var(--blue-press); }
.legal-body a:hover { text-decoration: underline; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .col2, .contact-grid, .auth-shell { grid-template-columns: 1fr; gap: 32px; }
  .cards-3, .news-grid, .roadmap, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--border-muted); }
  .value:last-child { border-bottom: none; }
  .featured { grid-template-columns: 1fr; }
  .auth-side { padding: 40px 32px; min-height: 280px; }
  .auth-form { padding: 40px 32px; }
}
@media (max-width: 560px) {
  .cards-3, .cards-2, .news-grid, .roadmap, .team-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .cta-row-actions { width: 100%; }
  .cta-row-actions .btn { flex: 1; justify-content: center; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
}

/* ─── Split page hero (illustration on the right) ─────────────────────────── */
.page-hero-split { padding-bottom: 72px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero-text h1 { max-width: none; }
.page-hero-art {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.page-hero-art svg { display: block; width: 100%; height: auto; }

.page-hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.phs .phs-v {
  font-size: 28px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.phs .phs-k {
  font-size: 11px; font-weight: 600;
  color: var(--fg-subtle);
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-top: 6px;
}

/* ─── Value icons ────────────────────────────────────────────────────────── */
.value-icn {
  width: 40px; height: 40px;
  border-radius: var(--r-3);
  background: var(--blue-subtle);
  color: var(--blue-press);
  display: grid; place-items: center;
  margin-bottom: 14px;
}

/* ─── Service flow diagram ──────────────────────────────────────────────── */
.service-flow {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}
.service-flow .sf-title {
  font-size: 11px; font-weight: 600;
  color: var(--fg-subtle);
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 24px;
  text-align: center;
}
.service-flow svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* ─── Decorative side art on Contact ─────────────────────────────────────── */
.contact-side-art {
  background: linear-gradient(180deg, var(--blue-subtle) 0%, var(--canvas) 100%);
  border: 1px solid var(--blue-muted);
  border-radius: var(--r-5);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.contact-side-art .city-pin {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--canvas);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-3);
  margin-bottom: 8px;
  font-size: 13px;
}
.contact-side-art .city-pin:last-child { margin-bottom: 0; }
.contact-side-art .city-pin .ico {
  width: 22px; height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-side-art .city-pin .ico svg { width: 12px; height: 12px; }
.contact-side-art .city-pin .name { font-weight: 600; color: var(--fg); }
.contact-side-art .city-pin .meta { margin-left: auto; font-size: 11.5px; color: var(--fg-subtle); font-family: var(--font-mono); }
.contact-side-art .csa-label {
  font-size: 11px; font-weight: 600;
  color: var(--blue-press);
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.contact-side-art .csa-label::before {
  content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(9,105,218,0.20);
}

/* ─── Mission visual / quote callout ──────────────────────────────────────── */
.mission-art {
  background: var(--canvas-dark);
  color: var(--fg-on-dark);
  border-radius: var(--r-5);
  padding: 32px;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}
.mission-art::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(9,105,218,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.mission-art > * { position: relative; z-index: 1; }
.mission-art .ma-quote {
  font-size: 22px; line-height: 1.4; font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 18px;
}
.mission-art .ma-attr {
  font-size: 13px; color: var(--fg-on-dark-muted);
  display: flex; align-items: center; gap: 10px;
}
.mission-art .ma-attr .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-subtle); color: var(--blue-press);
  display: grid; place-items: center;
  font-weight: 700; font-size: 11px;
}

/* ─── Section with side illustration ──────────────────────────────────────── */
.section-with-art {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.section-with-art .art-frame {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.section-with-art .art-frame svg { display: block; width: 100%; height: auto; }

/* ─── Decorative graphic in CTA strip ──────────────────────────────────── */
.cta-strip .cta-art {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .page-hero-grid, .section-with-art { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .page-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.page-hero-compact {
  padding: 56px 0 36px;
}
.page-hero-compact h1 { font-size: clamp(2rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.page-hero-compact .lead { font-size: 16px; max-width: 640px; }
.page-hero-compact .eyebrow { margin-bottom: 14px; }
