@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --navy: #111827;
  --graphite: #4b5563;
  --blue: #4682a9;
  --blue-dark: #315f7e;
  --ice: #eaf2f7;
  --off: #f8faf9;
  --white: #fff;
  --line: #d4dfe4;
  --coral: #e9856c;
  --max: 1450px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off);
  color: var(--navy);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
p { line-height: 1.65; }
::selection { background: #b9d9e9; color: var(--navy); }
.wrap { width: min(var(--max), calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--navy); color: white; padding: 12px 18px; z-index: 99; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Approved wordmark and clean navigation are retained from the first build. */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-inner { width: min(1600px, calc(100% - clamp(40px, 7.4vw, 120px))); height: 91px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: block; flex: none; }
.brand img { width: 205px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 39px; font-size: 13px; font-weight: 700; }
.primary-nav a { position: relative; transition: color .2s; }
.primary-nav a:not(:last-child):hover, .primary-nav a[aria-current] { color: var(--blue-dark); }
.primary-nav a:not(:last-child):after { content: ''; height: 2px; background: var(--blue); position: absolute; bottom: -12px; left: 0; right: 100%; transition: right .22s; }
.primary-nav a:not(:last-child):hover:after, .primary-nav a[aria-current]:not(:last-child):after { right: 0; }
.primary-nav a:last-child { border: 1px solid var(--navy); padding: 13px 19px; min-width: 118px; text-align: center; }
.primary-nav a:last-child:hover, .primary-nav a:last-child[aria-current] { background: var(--navy); color: white; }
.menu-toggle { display: none; }

.eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; color: var(--blue-dark); }
.blue-text { color: var(--blue-dark); }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(48px, 5.2vw, 80px); letter-spacing: -.065em; line-height: 1.04; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 20px; min-height: 55px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 20px; font-weight: 400; line-height: 0; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: var(--blue-dark); }
.inline-link, .text-link { font-size: 13px; font-weight: 800; }
.inline-link { border-bottom: 1px solid var(--navy); padding-bottom: 6px; }
.inline-link span { padding-left: 15px; color: var(--blue-dark); }
.inline-link:hover, .text-link:hover { color: var(--blue-dark); }
.text-link { width: min(100%, 300px); display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--navy); transition: color .2s; }
.text-link span:last-child { font-size: 21px; font-weight: 400; line-height: 1; }
.text-link-light { border-color: #fff8; }
.text-link-light:hover { color: #cde2ee; }

/* Shared structures for internal and legal pages. */
.page-hero { padding-top: 70px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .55fr; gap: 8vw; align-items: end; padding: 55px 0 70px; border-bottom: 1px solid var(--navy); }
.page-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(62px, 6.5vw, 104px); font-weight: 650; letter-spacing: -.075em; line-height: .99; margin: 0; }
.page-hero h1 em { font-style: normal; color: var(--blue-dark); }
.page-hero-grid p { font-size: 19px; color: #3d4d56; max-width: 470px; margin: 0 0 5px; }
.simple-cta { background: var(--navy); color: white; }
.simple-cta > .wrap { padding-block: 70px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.simple-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(42px, 4vw, 64px); letter-spacing: -.065em; margin: 25px 0 0; }
.simple-cta .text-link { min-width: 220px; }

/* Open List preview: deliberately staggered retail-label forms. */
.partners-preview-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 8vw; }
.partners-copy p { max-width: 420px; font-size: 17px; color: #43555b; }
.partner-stack { padding: 28px 30px 34px; background: #d8e9ee; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.stack-caption { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .13em; font-weight: 800; border-bottom: 1px solid #8eafbf; padding-bottom: 20px; margin-bottom: 26px; }
.stack-card { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 10px; min-height: 65px; margin: 7px 0; padding: 0 22px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.stack-card small { font-size: 10px; font-weight: 800; }
.stack-card strong { font-family: 'DM Sans', Arial, sans-serif; font-weight: 800; font-size: clamp(21px, 2vw, 30px); letter-spacing: -.055em; }
.stack-one { width: 95%; background: white; }
.stack-two { width: 90%; margin-left: 8%; background: #b9d4e2; }
.stack-three { width: 98%; margin-left: 1%; background: var(--navy); color: white; }
.stack-four { width: 89%; margin-left: 10%; background: #dce8d8; }
.stack-five { width: 93%; margin-left: 5%; background: #f1c6b9; }

/* Contact remains gated until the mailbox, service and notice are verified. */
.contact-section { background: #e6eef2; padding-block: 100px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: start; }
.contact-grid h2 { margin: 42px 0 25px; }
.contact-grid > div:first-child > p { font-size: 17px; color: #42515b; max-width: 470px; }
.contact-card { min-height: 510px; background: white; padding: 45px clamp(28px, 4vw, 64px); clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.card-index { font-size: 10px; font-weight: 800; letter-spacing: .15em; color: var(--blue-dark); }
.contact-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(35px, 3.8vw, 55px); line-height: 1.04; letter-spacing: -.065em; max-width: 460px; margin: 50px 0 20px; }
.contact-card p { font-size: 16px; color: #42515b; max-width: 480px; }
.pending-note { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 45px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #50616b; font-weight: 700; }
.status-dot { width: 10px; height: 10px; background: var(--coral); border-radius: 50%; flex: none; }
.contact-card form { display: grid; gap: 17px; margin-top: 30px; }
.contact-card label { font-size: 13px; font-weight: 700; display: grid; gap: 7px; }
.contact-card input, .contact-card textarea { width: 100%; border: 1px solid #a7b6c1; background: white; border-radius: 0; padding: 12px; color: var(--navy); }
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--blue-dark); }
.contact-card .form-privacy { font-size: 12px; margin: 0; }
.form-privacy a, .legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.contact-card .button { border: 0; width: 100%; margin-top: 6px; }
.contact-card #form-status { margin: 0; font-weight: 700; }

.legal-hero { padding-top: 70px; padding-bottom: 70px; }
.legal-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(64px, 7vw, 110px); line-height: 1; letter-spacing: -.075em; margin: 53px 0 15px; }
.legal-hero p { font-size: 19px; color: #45545d; }
.legal-state { display: inline-block; background: #e6eef2; padding: 10px 13px; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.legal-content { border-top: 1px solid var(--navy); padding-top: 15px; padding-bottom: 110px; max-width: 1450px; }
.legal-content section { display: grid; grid-template-columns: .4fr .6fr; gap: 8vw; padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; letter-spacing: -.055em; margin: 0; }
.legal-content p { font-size: 15px; color: #42525d; max-width: 720px; margin: 0; }
.legal-content a:hover { color: var(--blue-dark); }

.site-footer { background: var(--navy); color: white; }
.footer-main { padding-block: 75px 90px; display: grid; grid-template-columns: 1fr 170px 190px; gap: 7vw; }
.footer-identity img { width: 220px; }
.footer-identity p { font-size: 14px; color: #c5d1d9; margin-top: 27px; }
.footer-links { display: flex; flex-direction: column; gap: 15px; font-size: 13px; }
.footer-links > span { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #9dbbd0; margin-bottom: 9px; text-transform: uppercase; }
.footer-links a:hover { color: #9fc6da; }
.footer-bottom { border-top: 1px solid #5b6678; padding-block: 20px 27px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 10px; line-height: 1.6; color: #b4c1ce; }

@media (max-width: 900px) {
  .header-inner { height: 77px; }
  .brand img { width: 175px; }
  .primary-nav { gap: 23px; }
  .page-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-grid p { max-width: 650px; }
  .contact-card { max-width: 680px; width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); height: 72px; }
  .brand img { width: 156px; }
  .menu-toggle { width: 44px; height: 44px; border: 1px solid var(--navy); background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; z-index: 32; }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: white; border-bottom: 1px solid var(--line); padding: 22px 20px 26px; box-shadow: 0 20px 30px #11182718; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { margin-top: 16px; text-align: left; padding: 13px; }
  .primary-nav a:after { display: none; }
  .eyebrow { font-size: 11px; }
  .section-title { font-size: clamp(45px, 10vw, 64px); }
  .page-hero { padding-top: 51px; }
  .page-hero-grid { padding: 38px 0 53px; }
  .page-hero h1 { font-size: clamp(48px, 11.6vw, 73px); }
  .page-hero-grid p { font-size: 16px; }
  .stack-caption { font-size: 10px; }
  .stack-card { min-height: 57px; grid-template-columns: 26px 1fr; padding-left: 12px; padding-right: 18px; }
  .stack-card strong { font-size: clamp(18px, 5.4vw, 26px); }
  .contact-grid { gap: 48px; }
  .contact-card { min-height: 0; padding: 32px 25px 40px; }
  .contact-card h2 { font-size: 39px; }
  .legal-hero { padding-top: 51px; padding-bottom: 50px; }
  .legal-hero h1 { font-size: 60px; margin-top: 38px; }
  .legal-hero p { font-size: 16px; }
  .legal-content { padding-bottom: 75px; }
  .legal-content section { grid-template-columns: 1fr; gap: 12px; }
  .legal-content h2 { font-size: 24px; }
  .legal-content p { font-size: 14px; }
  .simple-cta > .wrap { display: block; padding-block: 55px; }
  .simple-cta h2 { margin: 22px 0 30px; }
  .footer-main { padding-block: 55px 65px; grid-template-columns: 1fr 1fr; gap: 45px 20px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-identity img { width: 190px; }
  .footer-links { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
