:root {
  --paper: #fcfcfd;
  --ink: #171821;
  --muted: #535764;
  --line: #e2e4eb;
  --dark: #161821;
  --accent: #3d416a;
  --wrap: 1240px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); }
h1, h2, h3, h4, p, figure { margin: 0; }
a { text-decoration: none; color: inherit; }
button { color: inherit; font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #626ba5; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 6px; }
.skip:focus { top: 10px; }
.section-alias { position: absolute; inset-block-start: 0; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  background: #fcfcfdf5;
  border-bottom: 1px solid var(--line);
}

.site-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  min-height: 76px;
  align-items: center;
}

.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.site-bar .bo-wordmark, .site-footer .bo-wordmark { font-size: 22px; }
.site-bar nav, .site-footer nav { display: flex; align-items: center; gap: clamp(10px,3vw,35px); }
.site-bar nav a, .site-footer nav a { display: grid; place-items: center; min-height: 44px; font-size: .85rem; font-weight: 550; }
:is(.site-bar,.site-footer) nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-login { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 660;
  line-height: 1.2;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button span { font-size: 1.05em; }
.button-dark { background: var(--ink); color: #fff; }
.button-outline { border-color: #d9dce5; background: transparent; }
.button-light { background: #eaeaf3; color: #20212e; }
.header-login { min-height: 44px; }
@media (hover: hover) {
  .button-dark:hover { background: #303342; }
  .button-outline:hover { background: #f0f1f6; border-color: #babfce; }
  .button-light:hover { background: #dfe0ef; }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: clamp(36px,5.3vw,76px);
  align-items: center;
  padding-block: clamp(54px,7.4vw,109px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .775rem;
  font-weight: 660;
  line-height: 1.35;
}

.eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero h1, .broker-story h2, .pilot h2 { font-weight: 570; letter-spacing: -.068em; line-height: 1; }
.hero h1 { font-size: clamp(3.6rem,6.05vw,6.4rem); }
.hero h1 span { color: #575d7d; }
.hero-copy > p:not(.eyebrow), .broker-story > p:not(.eyebrow), .pilot p:not(.eyebrow) {
  margin-top: 21px;
  color: var(--muted);
  font-size: clamp(.98rem,1.4vw,1.125rem);
  max-width: 36rem;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 25px; }

.broker-section { position: relative; background: var(--dark); color: #f4f5fb; }
.broker-showcase {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  gap: clamp(24px,5vw,72px);
  align-items: center;
  padding-block: clamp(52px,8vw,108px);
}

.broker-story h2 { font-size: clamp(2.8rem,4.65vw,4.7rem); }
.broker-story .eyebrow, .broker-story > p:not(.eyebrow) { color: #cdd0de; }
.broker-metrics {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 25rem;
  margin: 26px 0 0;
  padding: 14px 0;
  border-block: 1px solid #3d4053;
  list-style: none;
}

.broker-metrics li { display: grid; gap: 3px; }
.broker-metrics li + li { padding-inline-start: 17px; border-inline-start: 1px solid #3d4053; }
.broker-metrics strong { color: #e7eaff; font-size: clamp(2.55rem,5vw,4rem); font-weight: 530; line-height: 1; letter-spacing: -.07em; }
.broker-metrics span { color: #cdd0de; font-size: .82rem; }
.broker-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.broker-actions .button-outline { border-color: #666c85; color: #eaedf9; }
.broker-actions .button-outline:hover { background: #34394d; }
.broker-section :focus-visible { outline-color: #b9c4fb; }

.broker-preview { min-width: 0; }
.broker-preview img { display: block; width: 100%; height: auto; border-radius: 12px; }
.broker-preview figcaption { margin-top: 6px; color: #cdd0de; font-size: .76rem; text-align: center; }

.status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 5px; background: #eceef3; color: #454954; font-size: .715rem; font-weight: 680; }
.status[data-tone="positive"] { background: #e3eee7; color: #2c4d3e; }
.status[data-tone="waiting"] { background: #f1e8d5; color: #654d22; }

.pilot { position: relative; background: #eff0f5; border-block: 1px solid var(--line); }
.pilot-inner { display: flex; justify-content: space-between; align-items: center; gap: 17px; padding-block: clamp(32px,6vw,68px); }
.pilot .eyebrow { margin-bottom: 11px; }
.pilot h2 { font-size: clamp(2.2rem,4vw,4.1rem); }
.pilot p:not(.eyebrow) { margin-top: 12px; font-size: .91rem; }
.pilot .button { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding-block: 24px; }
.site-footer > p { color: var(--muted); font-size: .76rem; }

@media (max-width: 1000px) {
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(3.1rem,7vw,5rem); }
  .broker-showcase { gap: 28px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 86px; }
  .wrap { width: calc(100% - 36px); }
  .site-bar { gap: 8px; min-height: 65px; }
  .site-bar .bo-wordmark { font-size: 19px; }
  .site-bar nav { gap: 8px; }
  .site-bar nav a { font-size: .76rem; }
  .site-bar .header-login { padding-inline: 9px; font-size: .75rem; gap: 3px; }
  .hero, .broker-showcase { grid-template-columns: 1fr; }
  .hero { gap: 25px; padding-block: 40px 52px; }
  .hero h1 { font-size: clamp(3.35rem,11vw,5.2rem); }
  .eyebrow { margin-bottom: 15px; }
  .hero-copy > p:not(.eyebrow), .broker-story > p:not(.eyebrow) { margin-top: 14px; }
  .hero-actions { margin-top: 19px; }
}

@media (max-width: 430px) {
  .site-bar {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand brand" "modules login";
    padding-block: 6px;
    gap: 3px 12px;
  }
  .site-bar .brand { grid-area: brand; min-height: 44px; }
  .site-bar nav { grid-area: modules; justify-content: start; gap: clamp(8px,3vw,16px); }
  .site-bar .header-login { grid-area: login; }
  html { scroll-padding-top: 115px; }
  .pilot-inner { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
