/* Robinson White Consulting design system */

:root {
  --navy: #0e2340;
  --navy-700: #16345c;
  --charcoal: #1b2735;
  --ink: #14202e;
  --slate: #526278;
  --muted: #5c6b7e;
  --muted-2: #7a889a;
  --line: #e4eaf1;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef3fa;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --green: #0f9d6b;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 64, .06), 0 1px 3px rgba(16, 35, 64, .05);
  --shadow: 0 8px 24px rgba(16, 35, 64, .08);
  --shadow-lg: 0 24px 60px rgba(16, 35, 64, .12);
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 66px 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 640px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}
.btn--primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37, 99, 235, .30); }
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue-100); color: var(--navy); background: var(--blue-50); }
.btn--light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.brand__name { font-weight: 700; color: var(--navy); font-size: 1.06rem; letter-spacing: -.01em; }
.brand__name span { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 8px;
}
.nav__links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav__links a.active { color: var(--blue-600); }
.nav__cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 44px; height: 42px;
  cursor: pointer;
  color: var(--navy);
}
.nav__toggle svg { width: 22px; height: 22px; margin: 0 auto; }

/* Hero */
.hero { padding: 76px 0 84px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero__sub { font-size: 1.16rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--muted); max-width: 520px;
}
.hero__trust svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 3px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 17px; height: 17px; color: var(--blue); }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card__num {
  font-size: .8rem; font-weight: 700; color: var(--blue-600);
  letter-spacing: .08em;
}

/* Feature list with checks */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--charcoal); }
.check-list li svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }

/* Two-column feature block */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.feature__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step__n {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Trust band */
.band {
  background: var(--navy);
  color: #dbe6f5;
  border-radius: var(--radius-lg);
  padding: 54px;
}
.band h2 { color: #fff; }
.band .lead { color: #b8c8de; }
.band__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.band__points li { display: flex; align-items: flex-start; gap: 11px; font-size: .98rem; }
.band__points li svg { width: 20px; height: 20px; color: #6ea8fe; flex: none; margin-top: 3px; }

/* CTA / contact split */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .86rem; color: var(--muted-2); margin: 4px 0 0; }
.form-success {
  display: none;
  background: #e9f8f1; border: 1px solid #bfe8d5; color: #0c6b47;
  padding: 14px 16px; border-radius: 10px; font-size: .96rem; font-weight: 500;
}

/* Contact info list */
.contact-info { display: grid; gap: 20px; margin-top: 26px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .ic {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center;
}
.contact-info__item .ic svg { width: 21px; height: 21px; }
.contact-info__item strong { display: block; color: var(--navy); font-size: .98rem; }
.contact-info__item span { color: var(--muted); font-size: .96rem; }

/* Stat / audience list */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience__item {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line);
  padding: 18px 20px; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--charcoal); font-size: .99rem;
}
.audience__item svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* Page hero (interior pages) */
.page-hero { padding: 66px 0 20px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.page-hero .lead { margin-top: 6px; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--charcoal); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .muted { color: var(--muted); }

/* Footer */
.footer { background: var(--navy); color: #a9bbd2; padding: 64px 0 30px; }
.footer a { color: #c4d3e8; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #93a6c0; font-size: .95rem; max-width: 300px; margin-top: 14px; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: .96rem; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: .9rem; color: #7e93b0;
}
.footer__bottom a { color: #9fb2cd; }

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide-mobile { display: initial; }

/* Responsive */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .cta-split { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.open + .nav__drawer { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .band__points { grid-template-columns: 1fr; }
  .band { padding: 36px 26px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  border-top: 1px solid var(--line-2);
  padding: 14px 0 20px;
}
.nav__drawer a {
  display: block; padding: 12px 8px; color: var(--charcoal);
  font-weight: 500; border-radius: 8px;
}
.nav__drawer a:hover { background: var(--bg-soft); }
.nav__drawer .btn { margin-top: 12px; width: 100%; }
@media (min-width: 761px) { .nav__drawer { display: none !important; } }
