:root {
  --bg: #080f1a;
  --bg-soft: #0d1b2a;
  --card: #101f31;
  --card-2: #152738;
  --line: #22384c;
  --text: #eaf1f5;
  --muted: #93a6b8;
  --accent: #2dd4bf;
  --accent-2: #22d3ee;
  --pass: #2eaa78;
  --warn: #d89628;
  --fail: #d64650;
  --info: #22d3ee;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 50% -10%, #16203a 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; background: #14b8a6; top: -160px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: #22d3ee; top: 220px; right: -140px; opacity: 0.26; }

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 56px) 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark svg { display: block; filter: drop-shadow(0 4px 12px rgba(20, 184, 166, 0.35)); }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.tagline { color: var(--muted); margin: 0; font-size: 14px; }

/* Hero */
.hero {
  max-width: 760px;
  margin: clamp(40px, 8vh, 90px) auto 0;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 34px; }

.scan-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.input-icon { position: absolute; left: 16px; font-size: 16px; opacity: 0.7; }
#url {
  width: 100%;
  padding: 16px 16px 16px 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#url:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 139, 255, 0.15);
}
#scan-btn {
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, filter 0.2s;
}
#scan-btn:hover { filter: brightness(1.08); }
#scan-btn:active { transform: scale(0.97); }
#scan-btn:disabled { opacity: 0.6; cursor: default; }

.examples {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.chip {
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--accent); background: #212b44; }

.error {
  margin: 22px auto 0;
  max-width: 560px;
  background: rgba(255, 95, 109, 0.12);
  border: 1px solid rgba(255, 95, 109, 0.4);
  color: #ffb4bb;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

/* Loading */
.loading { text-align: center; margin: 70px auto; color: var(--muted); }
.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* Results */
.results {
  max-width: 940px;
  margin: 40px auto 0;
  padding: 0 20px 60px;
  animation: rise 0.5s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.report-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.score-block { display: flex; gap: 22px; align-items: center; }
.gauge { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.gauge-svg { transform: rotate(-90deg); width: 132px; height: 132px; }
.gauge-track { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge-fill {
  fill: none;
  stroke: url(#g) var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), stroke 0.6s;
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge-score { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.gauge-grade { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }

.score-meta h2 { margin: 0 0 6px; font-size: 18px; }
.scanned-url {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.pill b { font-variant-numeric: tabular-nums; }
.c-pass { color: var(--pass); }
.c-warn { color: var(--warn); }
.c-fail { color: var(--fail); }

.cat-bars { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.cat-bar-row { display: grid; grid-template-columns: 130px 1fr 42px; align-items: center; gap: 10px; }
.cat-bar-label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cat-bar-track { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.cat-bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1s ease; }
.cat-bar-val { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* Top fixes */
.top-fixes {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.top-fixes h3 { margin: 0 0 14px; font-size: 16px; }
.fixes-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.fixes-list li { padding-left: 6px; }
.fix-title { font-weight: 600; }
.fix-cat { color: var(--muted); font-size: 12px; margin-left: 6px; }
.fix-rec { color: var(--muted); font-size: 14px; margin-top: 3px; }

/* Fix-it prompt card */
.fix-prompt {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.fix-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.fix-prompt-title { display: flex; align-items: center; gap: 10px; }
.fix-prompt-title h3 { margin: 0; font-size: 16px; }
.fix-prompt-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2px 9px;
  border-radius: 999px;
}
.fix-prompt-sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 12px; }

/* Shared toggle switch */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle .switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.toggle .switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.2s, background 0.2s;
}
.toggle input:checked + .switch {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
.toggle input:checked + .switch::after {
  transform: translateX(16px);
  background: #fff;
}
.toggle input:focus-visible + .switch {
  box-shadow: 0 0 0 3px rgba(109, 139, 255, 0.3);
}
.toggle-label { font-size: 13px; color: var(--muted); }
.include-pass { margin-bottom: 14px; }
.site-toggle-wrap { text-align: center; margin-top: 16px; }
.copy-btn {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.12s, background 0.3s;
  white-space: nowrap;
}
.copy-btn:hover { filter: brightness(1.08); }
.copy-btn:active { transform: scale(0.96); }
.copy-btn.copied {
  background: var(--pass);
  filter: none;
}
.fix-prompt-text {
  margin: 0;
  max-height: 320px;
  overflow: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Category sections */
.categories { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}
.cat-header:hover { background: var(--card-2); }
.cat-icon { font-size: 20px; }
.cat-title { font-weight: 600; font-size: 16px; flex: 1; }
.cat-score-badge {
  font-weight: 700;
  font-size: 14px;
  padding: 3px 11px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.cat-caret { color: var(--muted); transition: transform 0.25s; }
.cat-card.open .cat-caret { transform: rotate(90deg); }

.cat-checks {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.cat-checks-inner { overflow: hidden; }
.cat-card.open .cat-checks { grid-template-rows: 1fr; }

.check {
  display: flex;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
}
.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #0b0f1a;
}
.dot-pass { background: var(--pass); }
.dot-warn { background: var(--warn); }
.dot-fail { background: var(--fail); }
.dot-info { background: var(--info); }
.check-body { flex: 1; }
.check-label { font-weight: 600; font-size: 14.5px; }
.check-msg { color: var(--text); font-size: 14px; margin-top: 2px; }
.check-detail {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  word-break: break-word;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.check-rec { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.rescan { text-align: center; margin-top: 34px; }
#rescan-btn {
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s;
}
#rescan-btn:hover { border-color: var(--accent); }

/* Site report — pages scanned */
.pages-scanned {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.pages-scanned h3 { margin: 0 0 14px; font-size: 16px; }
.page-list { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow: auto; }
.page-row { display: flex; align-items: center; gap: 12px; }
.page-score {
  font-weight: 700;
  font-size: 13px;
  min-width: 34px;
  text-align: center;
  padding: 3px 6px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.page-url {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.page-url:hover { color: var(--accent); text-decoration: underline; }
.page-grade { color: var(--muted); font-size: 12px; font-weight: 600; flex-shrink: 0; }

/* Site report — grouped issues */
.site-issues { margin-top: 24px; }
.site-issues > h3 { margin: 0 0 14px; font-size: 16px; }
.issue-list { display: flex; flex-direction: column; gap: 12px; }
.no-issues { color: var(--muted); text-align: center; padding: 20px; }
.issue-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.issue-head { display: flex; align-items: flex-start; gap: 12px; }
.issue-main { flex: 1; }
.issue-label { font-weight: 600; font-size: 14.5px; }
.issue-scope { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.issue-rec { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.issue-expand {
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.issue-expand:hover { border-color: var(--accent); }
.affected-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}
.affected-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.affected-list a:hover { color: var(--accent); text-decoration: underline; }

/* Competitor CTA + benchmark */
.competitor-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(109, 139, 255, 0.12), rgba(155, 107, 255, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.competitor-cta h3 { margin: 0 0 6px; font-size: 16px; }
.competitor-cta p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.comp-input-row { display: flex; gap: 10px; }
.rivals-input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.rivals-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109, 139, 255, 0.15); }
.compare-btn {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.12s;
}
.compare-btn:hover { filter: brightness(1.08); }
.compare-btn:active { transform: scale(0.97); }

.competitor-head h2 { margin: 0 0 4px; font-size: 20px; }
.competitor-manual {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.cm-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.cm-hint { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.comp-error {
  margin-top: 18px;
  background: rgba(255, 95, 109, 0.12);
  border: 1px solid rgba(255, 95, 109, 0.4);
  color: #ffb4bb;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.cmp-table-wrap {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  overflow-x: auto;
}
.cmp-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.6fr) repeat(5, minmax(56px, 1fr));
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
}
.cmp-head { color: var(--muted); font-size: 12px; font-weight: 600; }
.cmp-you { background: rgba(109, 139, 255, 0.1); }
.cmp-row:not(.cmp-head):not(.cmp-you) + .cmp-row:not(.cmp-you) { border-top: 1px solid var(--line); }
.cmp-site { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-site a { color: var(--text); text-decoration: none; }
.cmp-site a:hover { color: var(--accent); text-decoration: underline; }
.cmp-cell { text-align: center; }
.cmp-score {
  display: inline-block;
  min-width: 34px;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cmp-score.cmp-lead { outline: 2px solid currentColor; }
.cmp-legend { color: var(--muted); font-size: 11.5px; padding: 10px 10px 4px; }

.takeaways { margin-top: 24px; }
.takeaways h3 { font-size: 16px; margin: 0 0 12px; }
.takeaway-list, .opp-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.takeaway-list li, .opp-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}
.opp-rec { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  padding: 30px 20px 40px;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .report-head { grid-template-columns: 1fr; }
  .score-block { flex-direction: column; text-align: center; }
  .cat-bar-row { grid-template-columns: 110px 1fr 38px; }
  .scan-form { flex-direction: column; }
}

/* ── RVA Digital Works: headings, PDF button & modal ─────────────────── */
h1, h2, h3, .brand-name, .gauge-score { font-family: 'Sora', sans-serif; }

/* Download-PDF call to action on the report head */
.pdf-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #062a26;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 22px rgba(20, 184, 166, 0.28);
}
.pdf-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20, 184, 166, 0.42); }
.pdf-cta-ic { font-size: 15px; font-weight: 700; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.hidden { display: none; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
  animation: modalPop 0.22s ease;
}
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; color: var(--muted);
  font-size: 26px; line-height: 1; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-brand { display: flex; align-items: center; gap: 9px; color: var(--accent); font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.modal-brand svg { display: block; }
.modal-card h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.modal-sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.modal-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin: 14px 0 6px; }
.modal-opt { font-weight: 400; color: var(--muted); }
.modal-input {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  resize: vertical;
}
.modal-input:focus { outline: none; border-color: var(--accent); }
.modal-toggle { margin-top: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.modal-btn, .modal-btn-ghost {
  padding: 11px 22px; border-radius: 10px; font-family: 'Sora', sans-serif;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.modal-btn { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #062a26; }
.modal-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4); }
.modal-btn-ghost { background: none; border: 1px solid var(--line); color: var(--text); }
.modal-btn-ghost:hover { border-color: var(--muted); }

/* ── Public lead-gate & hire-us CTA ──────────────────────────────────── */
.lead-gate {
  margin-top: 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.lead-gate::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.lead-gate-mark { display: inline-flex; margin-bottom: 12px; }
.lead-gate h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.lead-gate > p { color: var(--muted); font-size: 15px; max-width: 440px; margin: 0 auto 22px; }
.lead-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.lead-email {
  flex: 1; padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 15px; outline: none; transition: border-color 0.2s;
}
.lead-email:focus { border-color: var(--accent); }
.lead-btn {
  padding: 0 22px; border: 0; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #062a26;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
  white-space: nowrap; transition: transform 0.15s, box-shadow 0.25s;
}
.lead-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4); }
.lead-btn:disabled { opacity: 0.7; cursor: default; }
.lead-fine { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.lead-err { color: #ffb4bb; font-size: 13px; margin-top: 10px; min-height: 16px; }
.lead-modal .lead-form { flex-direction: column; max-width: none; }
.lead-modal .modal-actions { margin-top: 4px; }

.hire-cta {
  margin-top: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0d1b2a, #14342f);
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 4px;
}
.hire-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap; padding: 24px 26px;
}
.hire-cta h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.hire-cta p { margin: 0; color: #b7c6d4; font-size: 14px; max-width: 560px; }
.hire-cta-btn {
  display: inline-block; padding: 13px 26px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #062a26 !important;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; text-decoration: none;
  white-space: nowrap; transition: transform 0.15s, box-shadow 0.25s;
}
.hire-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4); }
