:root {
  color-scheme: light;
  --navy: #0b1931;
  --orange: #ff821c;
  --orange-hover: #ff9a4a;
  --white: #fff;
  --mist: #f4f6f8;
  --ink: #253247;
  --muted: #5a6678;
  --line: #d9dee5;
  --heading: Manrope, Arial, Helvetica, sans-serif;
  --body: Inter, Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 var(--body); }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

h1, h2, h3 { margin: 0; color: var(--navy); font: 700 1rem/1.12 var(--heading); text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 5.7vw, 5.45rem); letter-spacing: -.067em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.75rem); letter-spacing: -.052em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.026em; }
p { margin: 0; }
p + p { margin-top: 1rem; }

.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.tinted { background: var(--mist); }
.navy { background: var(--navy); color: var(--white); }
.navy h2, .navy h3 { color: var(--white); }
.eyebrow {
  display: flex;
  gap: .75rem;
  align-items: center;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 1.55rem; height: 3px; flex: none; background: var(--orange); }
.section-heading { max-width: 48rem; margin-bottom: 2rem; }
.section-heading p { margin-top: 1rem; color: var(--muted); font-size: 1.075rem; }

.skip-link {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 20;
  padding: .6rem 1rem;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 5; background: var(--navy); color: var(--white); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 230px; }
.main-nav { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 2rem); }
.main-nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .footer-contact:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.button-primary { color: var(--navy); background: var(--orange); }
.button-primary:hover { background: var(--orange-hover); }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero { overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: 560px;
  padding-block: clamp(3.75rem, 7vw, 6rem);
}
.hero-copy > p:not(.eyebrow) { max-width: 29rem; margin-block: 1.6rem 1.8rem; font-size: clamp(1.05rem, 1.55vw, 1.2rem); }
.hero h1 span { color: #b94a00; }
.hero-image {
  width: 100%;
  height: clamp(360px, 36vw, 460px);
  object-fit: cover;
  object-position: 79% center;
  border-radius: 12px;
}

.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: center; }
.approach > div:last-child { color: var(--muted); font-size: 1.125rem; }
.signals-grid, .cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.signal-card, .case-card, .comparison-card { border: 1px solid var(--line); border-radius: 12px; }
.signal-card, .comparison-card { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); }
.signal-card::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 3px;
  margin-bottom: 1.25rem;
  background: var(--orange);
}
.signal-card p, .case-card p { margin-top: .75rem; color: var(--muted); }
.case-card { overflow: hidden; background: var(--mist); }
.case-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case-copy { padding: clamp(1.25rem, 2vw, 1.65rem); }

.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(2rem, 7vw, 6.5rem); }
.method-grid p { color: #d4dce7; }
.method-grid .eyebrow { color: var(--white); }
.method-grid h2 + p { margin-top: 1.25rem; }
.method-list { margin: 0; padding: 0; list-style: none; counter-reset: method; border-top: 1px solid #536078; }
.method-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid #536078;
  counter-increment: method;
}
.method-list li::before { content: counter(method, decimal-leading-zero); color: var(--orange); font-weight: 700; }
.method-list p { margin-top: .4rem; }

.ownership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.comparison-featured { border-top: 4px solid var(--orange); background: var(--navy); color: var(--white); }
.comparison-featured h3 { color: var(--white); }
.comparison-card ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.comparison-card li + li { margin-top: .5rem; }
.comparison-featured li::marker { color: var(--orange); }
.ownership-note { margin-top: 1.25rem; color: var(--muted); font-size: .9375rem; }

.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.contact-inner h2 { max-width: 16ch; }
.contact-inner p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.contact-inner .button { flex: none; }
.site-footer { border-top: 3px solid var(--orange); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-inner > span { color: #d4dce7; font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.15rem; }
.footer-links a { text-underline-offset: .25em; }
.footer-contact { color: var(--white); background: transparent; border: 0; padding: .5rem 0; }

.contact-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1rem 4rem #0b193146;
}
.contact-dialog::backdrop { background: #0b1931b8; }
.dialog-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 2rem); border-bottom: 1px solid var(--line); }
.dialog-wordmark { width: 195px; }
.dialog-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 6px; background: var(--mist); color: var(--navy); font-size: 1.6rem; }
.dialog-body { padding: clamp(1rem, 4vw, 2rem); }
.dialog-body h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
.dialog-body h2 + p { margin-block: .6rem 1.25rem; color: var(--muted); }
#contact-form { display: grid; gap: .45rem; }
#contact-form label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; color: var(--navy); font-weight: 700; }
#contact-form label span { color: var(--muted); font-size: .875rem; font-weight: 400; }
#contact-form input, #contact-form textarea { width: 100%; min-height: 44px; border: 1px solid #9aa5b3; border-radius: 6px; color: var(--ink); background: var(--white); padding: .55rem .7rem; }
#contact-form textarea { resize: vertical; }
.form-error { color: #a22323; font-size: .9rem; }
.form-error:empty { display: none; }
.form-submit { margin-top: .35rem; }
.form-note { margin: .2rem 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.form-privacy { margin-block: .4rem; text-align: left; }
.form-privacy a { color: var(--navy); text-underline-offset: .2em; }

.legal-page { max-width: 760px; }
.legal-page > a { display: inline-block; margin-bottom: 1.25rem; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.legal-page h3 { margin: 1.6rem 0 .45rem; }
.legal-page section + section { border-top: 1px solid var(--line); margin-top: 2.75rem; padding-top: 2.25rem; }
.legal-details { margin-bottom: 1.25rem; }
.legal-details dt { font-weight: 700; }
.legal-details dd { margin: 0 0 .8rem; }
.legal-details summary { width: fit-content; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.legal-details details p { margin-top: .35rem; }
.legal-page a { text-underline-offset: .2em; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { min-height: 73px; }
  .nav-toggle { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: 1px solid #718099; border-radius: 6px; }
  .nav-toggle span { display: block; width: 19px; height: 2px; background: var(--white); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; align-items: stretch; gap: 0; padding: 0 24px 24px; background: var(--navy); }
  .main-nav.open { display: grid; }
  .main-nav a { padding-block: .65rem; }
  .main-nav button { margin-top: .5rem; justify-self: start; }
  .hero-grid { min-height: auto; }
  .hero-image { height: 390px; }
}

@media (max-width: 700px) {
  .hero-grid, .approach, .method-grid, .signals-grid, .cases-grid, .ownership-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 3rem 2rem; gap: 2rem; }
  .hero-image { height: auto; aspect-ratio: 4 / 3; }
  .brand img { width: 215px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.25rem; gap: .45rem 1.25rem; }
  .footer-inner .brand { flex-basis: 100%; }
}

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