:root {
  --bg-dark: #0f172a;
  --bg-dark-2: #111827;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --text-soft: #475569;
  --text-faint: #64748b;
  --line: rgba(148, 163, 184, 0.2);
  --line-strong: rgba(148, 163, 184, 0.32);
  --brand: #1d4ed8;
  --brand-2: #0ea5e9;
  --brand-soft: rgba(29, 78, 216, 0.08);
  --ok: #16a34a;
  --ok-soft: rgba(22, 163, 74, 0.08);
  --warn: #d97706;
  --warn-soft: rgba(217, 119, 6, 0.1);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --shadow-lg: 0 20px 60px rgba(2, 6, 23, 0.12);
  --shadow-md: 0 14px 36px rgba(2, 6, 23, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
  --max-narrow: 900px;
  --scroll-offset: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.58;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--max-narrow));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(89, 97, 112, 0.94), rgba(67, 75, 89, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 80px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
}

.nav a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
  background-clip: padding-box;
  -webkit-appearance: none;
  appearance: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid rgba(29, 78, 216, 0.28);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #082f5c, #0d3c73);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(8, 47, 92, 0.24);
}

.btn-primary:hover {
  color: #7fc628;
  background: linear-gradient(135deg, #07284f, #0b3567);
  border: none;
  box-shadow: 0 12px 28px rgba(8, 47, 92, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  color: #7fc628;
  background: linear-gradient(135deg, #07284f, #0b3567);
  border: none;
  box-shadow: 0 12px 28px rgba(8, 47, 92, 0.28);
}

.btn-light {
  color: #1d4ed8;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.btn-light:hover {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 38%),
    radial-gradient(circle at right center, rgba(29, 78, 216, 0.22), transparent 30%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.42));
  pointer-events: none;
}

.hero .content {
  position: relative;
  z-index: 1;
  padding: 0.6rem 0 3.8rem;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.58rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero p.lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  margin-bottom: 2.2rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  max-width: 760px;
}

.hero-point {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.18);
}

.hero-point strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #fff;
  font-size: 0.98rem;
}

.hero-point span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.hero-card,
.card,
.form-shell,
.second-opinion-shell {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.24rem;
}

.hero-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-quote {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-quote strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 0.95rem;
}

.hero-quote span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.quick-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.97);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
}

.trust-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  min-height: 100%;
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, #fff, var(--surface-alt));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.trust-badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand);
  background: var(--brand-soft);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
}

section {
  padding: 4rem 0;
  scroll-margin-top: var(--scroll-offset);
}

section.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head .kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.card p,
.card li {
  color: var(--text-soft);
}

.problem-list,
.promise-list,
.clean-list {
  padding: 0;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.clean-list li,
.problem-list li,
.promise-list li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.problem-list strong,
.promise-list strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bad {
  border-color: rgba(220, 38, 38, 0.16);
  background: linear-gradient(180deg, #fff, #fef2f2);
}

.good {
  border-color: rgba(22, 163, 74, 0.16);
  background: linear-gradient(180deg, #fff, #f0fdf4);
}

.step {
  position: relative;
  padding-top: 5rem;
}

.step h3 {
  margin-top: 0;
}

.step-num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.22);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.84rem;
}

.provider-card {
  display: grid;
  gap: 1rem;
}

.provider-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand);
}

.meta {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.second-opinion-shell {
  padding: 1.45rem;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.06), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(29, 78, 216, 0.12);
}

.second-opinion-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.quote-card {
  border-radius: 22px;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.8rem;
}

.quote-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.quote-price {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.quote-note {
  color: var(--text-soft);
}

.quote-note + .quote-note {
  margin-top: 0.9rem;
}

.flag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.flag-danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.flag-ok {
  color: var(--ok);
  background: var(--ok-soft);
}

.flag-brand {
  color: var(--brand);
  background: var(--brand-soft);
}

.form-shell {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
}

.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-step {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-soft);
}

.form-step.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
}

.footer-cta {
  padding: 3rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff;
}

.footer-cta .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 58px rgba(2, 6, 23, 0.24);
}

.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  font-size: 0.92rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
}

.step-title {
  margin: 0 0 14px 0;
}

/* Shared stylesheet / post-job page */

.page-hero {
  padding: 4.25rem 0 2rem;
}

.page-hero-light {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.section-head-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.post-job-section {
  background: var(--surface-alt);
}

.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button-row-tight {
  margin-top: 0.25rem;
}

.compact-card {
  padding: 1rem 1rem 0.95rem;
}

.compact-card h3 {
  margin-bottom: 0.4rem;
}

.cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.cta-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 56ch;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  display: none;
  position: sticky;
  top: 86px;
  z-index: 999;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0 1rem;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media (max-width: 1080px) {
  .hero .content,
  .hero-points,
  .footer-cta .wrap,
  .grid-4,
  .grid-3,
  .grid-2,
  .compare,
  .trust-strip .inner,
  .second-opinion-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .hero .content,
  .hero-points,
  .footer-cta .wrap,
  .grid-4,
  .grid-3,
  .grid-2,
  .compare,
  .trust-strip .inner,
  .quick-grid,
  .second-opinion-grid {
    grid-template-columns: 1fr;
  }

  .container,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .site-header .inner {
    min-height: 68px;
    gap: 0.75rem;
  }

  .brand img {
    height: 52px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-actions .btn-primary {
    min-height: 42px;
    padding: 0 0.95rem;
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    top: 68px;
  }

  .hero .content {
    padding: 1.2rem 0 3rem;
    gap: 1.25rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0.55rem 0.75rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero p.lead {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-cta {
    gap: 0.7rem;
    margin-bottom: 1.4rem;
  }

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

  .hero-note {
    margin-bottom: 1.4rem;
    font-size: 0.94rem;
  }

  .hero-point {
    padding: 0.9rem;
  }

  .hero-card {
    padding: 1.1rem;
  }

  .card,
  .form-shell,
  .quote-card,
  .second-opinion-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .step {
    padding-top: 4.25rem;
  }

  .step-num {
    top: 1rem;
    left: 1rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .section-head p {
    font-size: 0.98rem;
  }

  .quote-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row,
  .footer-button-row {
    width: 100%;
  }

  .button-row .btn,
  .footer-button-row .btn {
    width: 100%;
  }

  .footer-cta {
    padding: 2.5rem 0 4rem;
  }

  .site-footer .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: 2.5rem 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .site-header .inner {
    min-height: 64px;
  }

  .brand img {
    height: 46px;
  }

  .nav-actions .btn-primary {
    min-height: 40px;
    padding: 0 0.85rem;
    font-size: 0.85rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    top: 64px;
  }

  .hero .content {
    padding: 1rem 0 2.5rem;
  }

  .hero-card,
  .card,
  .quote-card,
  .form-shell,
  .second-opinion-shell {
    border-radius: 20px;
  }

  .hero-point,
  .clean-list li,
  .problem-list li,
  .promise-list li {
    border-radius: 14px;
  }
}

