:root {
  --orange: #e05c2a;
  --orange-dark: #c84719;
  --paper: #fbf8f3;
  --ink: #0f0f0f;
  --brown: #5c4232;
  --faint: #8a7867;
  --line: #dcc8b5;
  --navy: #081a30;
  --blue: #185fa5;
  --green: #12392b;
  --green-accent: #1f654a;
  --gold: #d1b276;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section { padding: 84px 0; }
.section-title { max-width: 850px; margin: 14px 0 0; font-size: clamp(38px, 5vw, 62px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.body-copy { color: var(--brown); font-size: 17px; line-height: 1.7; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #f2decb; background: rgba(255,255,255,.96); }
.site-header-inner { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 28px; }
.logo { width: 92px; }
.header-links { display: flex; align-items: center; gap: 28px; color: var(--brown); font-size: 14px; }
.header-cta { background: var(--orange); color: #fff; padding: 12px 18px; font-weight: 700; }
.partner-nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.partner-nav-inner { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 20px; }
.partner-home { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.partner-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.mobile-menu { display: none; }

.gateway-hero { padding: 54px 0 24px; }
.gateway-title { max-width: 1100px; margin: 16px 0 0; font-size: clamp(52px, 6.4vw, 88px); font-weight: 500; line-height: .92; letter-spacing: -.058em; }
.gateway-intro { max-width: 790px; margin: 18px 0 0; }
.portals { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border: 1px solid var(--line); background: #fff; }
.portal { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 620px; }
.portal:first-child { border-right: 1px solid var(--line); }
.portal-copy { display: flex; flex-direction: column; padding: 30px; }
.portal-kicker { margin: 0; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.portal.distributor .portal-kicker { color: var(--green-accent); }
.portal h2 { margin: 22px 0 0; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.portal-role { margin: 10px 0 0; color: var(--brown); font-size: 14px; }
.portal-rule { width: 52px; height: 1px; margin: 28px 0; background: var(--orange); }
.portal.distributor .portal-rule { background: var(--green-accent); }
.portal ul { margin: 0 0 32px; padding: 0; list-style: none; }
.portal li { margin-top: 20px; color: var(--brown); font-size: 14px; line-height: 1.55; }
.portal li strong { display: block; margin-bottom: 3px; color: var(--ink); }
.portal-button { display: flex; margin-top: auto; align-items: center; justify-content: space-between; background: var(--orange); color: #fff; padding: 15px 18px; font-size: 14px; font-weight: 700; }
.portal.distributor .portal-button { background: var(--green-accent); }
.portal-art { min-height: 430px; background: var(--navy); }
.portal-art img { width: 100%; height: 100%; object-fit: cover; }
.evidence-rule { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.evidence-rule::before, .evidence-rule::after { content: ""; height: 1px; flex: 1; background: #e6c0a5; }

.white-section { border-block: 1px solid #e8d7c7; background: #fff; }
.split-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: end; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-block: 1px solid var(--line); }
.capability { padding: 30px 24px; border-left: 1px solid var(--line); }
.capability:first-child { border-left: 0; }
.capability .number { color: var(--orange); font-size: 12px; font-weight: 700; }
.capability h3 { margin: 18px 0 0; font-size: 17px; }
.capability p { margin: 10px 0 0; color: #6d594b; font-size: 14px; line-height: 1.6; }
.dark-cta { background: var(--ink); color: #fff; }
.dark-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.dark-cta h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 5vw, 62px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.dark-cta p { color: rgba(255,255,255,.65); }
.button-row { display: flex; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; font-size: 14px; font-weight: 700; }
.button.primary { background: var(--orange); color: #fff; }
.button.secondary { border-color: rgba(255,255,255,.35); color: #fff; }

.program-hero { color: #fff; }
.program-hero.broker { background: var(--navy); }
.program-hero.distributor { background: var(--green); }
.program-nav.broker { border-color: rgba(255,255,255,.15); background: var(--navy); color: #fff; }
.program-nav.distributor { border-color: rgba(255,255,255,.15); background: var(--green); color: #fff; }
.program-grid { display: grid; grid-template-columns: 1.03fr .97fr; min-height: 730px; }
.program-copy { display: flex; flex-direction: column; justify-content: center; padding: 76px 64px 76px 0; }
.program-copy .eyebrow { color: #75b5f0; }
.program-hero.distributor .program-copy .eyebrow { color: var(--gold); }
.program-title { margin: 20px 0 0; font-size: clamp(50px, 5vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.052em; }
.program-intro { max-width: 690px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.6; }
.program-art { position: relative; min-height: 560px; }
.program-art img { width: 100%; height: 100%; object-fit: cover; }
.art-strip { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.2); background: inherit; padding: 17px 28px; color: rgba(255,255,255,.7); font-size: 12px; }

.statement { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: start; }
.statement h2 { margin: 0; font-size: clamp(40px, 5vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.statement p { margin: 22px 0 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 48px; border-block: 1px solid var(--line); }
.benefit { padding: 32px 24px; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; }
.benefit-mark { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.distributor-theme .benefit-mark { color: var(--green-accent); }
.benefit h3 { margin: 20px 0 0; font-size: 19px; }
.benefit p { color: #6d594b; font-size: 14px; line-height: 1.65; }
.process { color: #fff; }
.process.broker { background: var(--navy); }
.process.distributor { background: var(--green); }
.process-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.process-list { border-top: 1px solid rgba(255,255,255,.2); }
.process-step { display: grid; grid-template-columns: 62px .8fr 1.2fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-step span { color: #75b5f0; font-size: 12px; font-weight: 700; }
.process.distributor .process-step span { color: var(--gold); }
.process-step h3, .process-step p { margin: 0; }
.process-step p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.6; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.audience-list { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.audience-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.boundary { border-left: 4px solid var(--blue); background: var(--paper); padding: 42px; }
.distributor-theme .boundary { border-color: var(--green-accent); }
.boundary h3 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.boundary p { margin: 18px 0 0; color: var(--brown); font-size: 14px; line-height: 1.8; }

.form-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.partner-form { border: 1px solid var(--line); background: #fff; padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; color: #2f241d; font-size: 14px; font-weight: 600; }
input, select, textarea { width: 100%; margin-top: 8px; border: 1px solid #e5c9b0; border-radius: 0; background: #fffcf8; color: var(--ink); padding: 13px 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); }
textarea { min-height: 118px; resize: vertical; }
.full-field { margin-top: 20px; }
.consent { display: flex; gap: 10px; margin-top: 18px; color: #6d594b; font-size: 12px; font-weight: 400; line-height: 1.5; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; }
.success { display: none; min-height: 420px; align-items: flex-start; justify-content: center; flex-direction: column; border: 1px solid var(--line); background: #fff; padding: 40px; }
.success.visible { display: flex; }
.success h3 { margin: 0; font-size: 32px; font-weight: 500; }
.success p { max-width: 560px; color: var(--brown); line-height: 1.7; }

footer { border-top: 1px solid #e8d7c7; background: #fafbfc; }
.footer-inner { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 30px; color: var(--brown); font-size: 13px; }
.footer-links { display: flex; gap: 24px; }

@media (max-width: 1050px) {
  .header-links a:not(.header-cta) { display: none; }
  .portals { grid-template-columns: 1fr; }
  .portal:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .program-grid { grid-template-columns: 1fr; }
  .program-copy { padding-right: 0; }
  .program-art { min-height: 650px; }
  .capability-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .capability:nth-child(3), .benefit:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .capability:nth-child(4), .benefit:nth-child(4) { border-top: 1px solid var(--line); }
  .split-heading, .dark-cta-inner, .statement, .process-grid, .form-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1240px); }
  .site-header-inner { min-height: 60px; }
  .logo { width: 76px; }
  .header-cta { padding: 10px 12px; font-size: 12px; }
  .partner-nav-inner { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .partner-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  .gateway-hero { padding-top: 52px; }
  .gateway-title { font-size: 52px; }
  .section { padding: 64px 0; }
  .portal { grid-template-columns: 1fr; }
  .portal-copy { padding: 28px 24px; }
  .portal h2 { font-size: 36px; }
  .portal-art { min-height: 520px; }
  .capability-grid, .benefit-grid { grid-template-columns: 1fr; }
  .capability, .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .capability:first-child, .benefit:first-child { border-top: 0; }
  .button-row { flex-direction: column; }
  .program-grid { min-height: auto; }
  .program-copy { padding: 58px 0; }
  .program-title { font-size: 50px; }
  .program-art { min-height: 520px; }
  .process-step { grid-template-columns: 44px 1fr; }
  .process-step p { grid-column: 2; }
  .audience-grid, .form-grid { grid-template-columns: 1fr; }
  .boundary, .partner-form { padding: 26px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 30px; }
}
