:root {
  --ink: #101418;
  --ink-soft: #22313a;
  --muted: #667481;
  --line: #dce5ea;
  --line-strong: #bfd0d8;
  --soft: #f3f8fc;
  --soft-warm: #f8fbfd;
  --blue: #1268ff;
  --blue-dark: #0b4dcc;
  --blue-deep: #092b63;
  --blue-pale: #eaf1ff;
  --gold: #b78a36;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 20, 24, .10);
  --shadow-soft: 0 10px 28px rgba(16, 20, 24, .07);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, #ffffff 520px, #f7fbfb 100%);
  line-height: 1.6;
  padding-bottom: 82px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px;
  z-index: 30;
}

.skip-link:focus {
  left: 8px;
}

.reassurance {
  background: var(--blue-deep);
  color: #f2f9ff;
  font-size: .88rem;
  text-align: center;
  padding: 8px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(220, 229, 234, .9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11, 77, 204, .24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: .76rem;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.primary-nav a {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .94rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
  white-space: nowrap;
}

.linkedin-link:hover {
  color: var(--blue-dark);
  text-decoration: none;
}

.linkedin-icon {
  display: inline-grid;
  place-items: end center;
  width: 24px;
  height: 24px;
  padding-bottom: 1px;
  border-radius: 4px;
  background: #0a66c2;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.footer-link,
.profile-link {
  margin-top: 12px;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 104, 255, .20);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover {
  background: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 77, 204, .24);
}

.button.ghost {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 8px 12px;
}

.hero,
.landing,
.consultation,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(34px, 5vw, 82px) clamp(16px, 5vw, 72px);
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(255px, .46fr) minmax(310px, .58fr);
  background: linear-gradient(135deg, #ffffff 0%, #f3f9fd 62%, #f8fbfd 100%);
  border-bottom: 1px solid #e7eef2;
}

.consultation {
  grid-template-columns: minmax(220px, .35fr) minmax(0, .65fr) minmax(300px, .6fr);
}

.hero h1,
.page-hero h1,
.landing h1,
.consultation h1 {
  font-size: clamp(2.25rem, 4.2vw, 4.9rem);
  line-height: 1.03;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.lede {
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  color: #34434d;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--blue-dark);
  font-weight: 850;
  font-size: .8rem;
  margin-bottom: 10px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.problem-list,
.checklist {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.problem-list {
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 28px;
  color: var(--ink-soft);
  font-weight: 650;
}

.hero-photo {
  margin: 0;
}

.hero-photo,
.hero-photo img {
  border-radius: var(--radius);
}

.hero-photo img,
.page-hero img,
.consultation img {
  aspect-ratio: 692 / 728;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  border: 1px solid rgba(220, 229, 234, .72);
}

figcaption {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: clamp(16px, 2vw, 26px) clamp(16px, 5vw, 72px) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.trust-grid div {
  background: #fff;
  padding: 24px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  color: var(--muted);
}

.section {
  padding: clamp(38px, 5vw, 78px) clamp(16px, 5vw, 72px);
  max-width: 1220px;
  margin: 0 auto;
}

.section > h2,
.section > .eyebrow {
  max-width: 820px;
}

.section.soft,
.soft {
  background: var(--soft);
  max-width: none;
}

.section.soft > * {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.band,
.contact-band {
  background: linear-gradient(135deg, #173f5e, #102c43);
  color: #fff;
  border-radius: 0;
  max-width: none;
}

.band p,
.contact-band p {
  color: #e5f3fc;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  min-height: 100%;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card h2,
.card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.card p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  color: var(--blue-dark);
  font-weight: 850;
  border: 1px solid rgba(18, 104, 255, .18);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.split > div {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(220, 229, 234, .85);
  border-radius: var(--radius);
  padding: 24px;
}

.lead-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin-top: 0;
  line-height: 1.2;
}

.form-note,
.verification {
  color: var(--muted);
  font-size: .92rem;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 5px;
  font-weight: 750;
  font-size: .92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #bac7d3;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 104, 255, .16);
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.field-error {
  color: #b42318;
  font-size: .84rem;
}

.wide,
.wide-fields {
  grid-column: 1 / -1;
}

.wide-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-line {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500 !important;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.hp {
  position: absolute;
  left: -10000px;
}

.error-summary {
  border: 1px solid #f2b8b5;
  background: #fff4f2;
  color: #9b1c13;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.breadcrumbs {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.steps {
  display: grid;
  gap: 10px;
}

.article {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 16px;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.legal {
  max-width: 900px;
}

.disclosure {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.disclosure dt {
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 28px;
  padding: 46px clamp(16px, 5vw, 72px) 104px;
  background: #0b1215;
  color: #dce7ea;
}

.site-footer h2 {
  font-size: 1rem;
}

.site-footer a {
  display: block;
  color: #e7fffd;
  margin: 5px 0;
}

.site-footer p {
  color: #b8c7cc;
}

.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  grid-template-columns: 1fr 1fr 1.35fr;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(17, 24, 39, .12);
  padding: 8px;
}

.mobile-action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 850;
}

.mobile-action-bar a:last-child {
  background: var(--blue);
  color: #fff;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 10px 0;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (min-width: 1181px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 256px 392px;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .45fr);
  }

  .hero .lead-panel {
    grid-column: 1 / -1;
    max-width: 760px;
  }

  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero,
  .landing,
  .consultation,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .cards.four,
  .cards.three,
  .trust-grid,
  .split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    padding: 8px 12px;
    font: inherit;
    font-weight: 750;
  }

  .site-header > .button {
    display: none;
  }

  .site-header > .linkedin-link {
    margin-left: auto;
  }

  .mobile-action-bar {
    display: grid;
  }

  .lead-form,
  .wide-fields {
    grid-template-columns: 1fr;
  }

  .hero .lead-panel {
    order: 2;
    max-width: none;
  }

  .hero-photo {
    order: 3;
    max-width: 440px;
  }

  .site-footer {
    padding-bottom: 112px;
  }
}

@media (max-width: 520px) {
  .problem-list {
    grid-template-columns: 1fr;
  }

  .brand small {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  body {
    padding-bottom: 92px;
  }

  .site-header {
    padding: 10px 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .linkedin-label {
    display: none;
  }

  .hero,
  .landing,
  .consultation,
  .page-hero,
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1,
  .page-hero h1,
  .landing h1,
  .consultation h1 {
    font-size: 2.12rem;
  }

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

  .lead-panel {
    padding: 16px;
  }

  .disclosure {
    grid-template-columns: 1fr;
  }
}
