/* Nexus partner pilot page. All styles remain in this file for the site's CSP. */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-core-55f2f388.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00E9, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-accents-caebf9fe.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00E8, U+00EA-00FF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-75b17d8c.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0020-007E, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
:root {
  color-scheme: light dark;
  --bg: #F2EDE4; --bg-alt: #EAE3D7; --surface: #F8F5EF; --line: #DED5C8;
  --ink: #2E1F35; --body: #4A3F52; --muted: #6F6478;
  --accent: #6B4C7A; --accent-soft: #EFE6F4; --accent-line: #CFC0E0; --lavender: #B8A6D4;
  --button: #2E1F35; --button-ink: #F8F5EF;
  --shadow: 0 1px 2px rgba(46,31,53,.06), 0 24px 60px -24px rgba(46,31,53,.25);
  --topbar: 64px; --ease: cubic-bezier(.22,1,.36,1);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1220; --bg-alt: #221728; --surface: #2A1D31; --line: #3E2E47;
    --ink: #F4EFE8; --body: #D8CEDF; --muted: #A898B4;
    --accent: #CDB8EA; --accent-soft: #34233F; --accent-line: #57416A;
    --button: #F2EDE4; --button-ink: #2E1F35;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 60px -24px rgba(0,0,0,.55);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1.0625rem/1.6 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--button); color: var(--button-ink); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(16px,min(5vw,40px)); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
.fine { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.eyebrow, .example-label { font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--button); color: var(--button-ink); font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(46,31,53,.55); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(46,31,53,.6); }
.button:disabled { cursor: progress; opacity: .7; transform: none; }
.button-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.topbar { position: sticky; top: 0; z-index: 20; height: var(--topbar); background: color-mix(in srgb,var(--bg) 85%,transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-name { font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.hero { position: relative; overflow: hidden; padding: clamp(40px,5vw,64px) 0 72px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side,color-mix(in srgb,var(--lavender) 34%,transparent),transparent); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 26px; align-items: center; }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-size: clamp(2.9rem,9vw,5rem); line-height: .99; letter-spacing: -.035em; max-width: 10.5em; }
.hero h1 .serif { display: block; font-size: 1.08em; line-height: .94; }
.hero .lead { font-size: clamp(1.1rem,1.6vw,1.3rem); line-height: 1.55; max-width: 34em; }
.hero-art { justify-self: center; width: min(100%,560px); }
.still { width: 100%; height: auto; overflow: visible; }
.benefit-grid { position: relative; display: grid; gap: 14px; margin-top: 44px; }
.benefit-grid article { display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.benefit-grid h2 { font-size: 1.18rem; }
.benefit-grid p { font-size: .96rem; line-height: 1.5; }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 950px) { .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 30px; } .hero h1 { font-size: clamp(3.3rem,5.1vw,4.55rem); } .benefit-grid { grid-template-columns: repeat(4,1fr); } }
.section { padding-block: clamp(76px,10vw,124px); }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section h2 { font-size: clamp(2.3rem,5vw,3.7rem); line-height: 1.04; letter-spacing: -.028em; max-width: 18em; margin: 10px 0 26px; }
.section h3 { font-size: 1.15rem; }
.section-lead { max-width: 43em; font-size: 1.1rem; margin-bottom: 28px; }
.split { display: grid; gap: 40px; }
.story-list, .next-list { display: grid; gap: 18px; counter-reset: item; margin: 22px 0; }
.story-list li, .next-list li { position: relative; padding-left: 44px; counter-increment: item; }
.story-list li::before, .next-list li::before { content: counter(item,decimal-leading-zero); position: absolute; left: 0; top: .1em; color: var(--accent); font-weight: 600; font-size: .84rem; letter-spacing: .08em; }
blockquote { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--accent); color: var(--ink); font: italic 1.42rem/1.3 var(--serif); }
.example-label { margin: 0 0 8px; }
.example-card { align-self: start; padding: clamp(20px,3vw,34px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.example-card table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.example-card caption { text-align: left; color: var(--accent); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; padding-bottom: 8px; }
.example-card th, .example-card td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.example-card th { font-weight: 500; text-align: left; }
.example-card td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; color: var(--ink); }
.example-card .total th, .example-card .total td { font-weight: 700; border-top: 2px solid var(--accent); }
.example-card p { margin-top: 20px; }
@media (min-width: 850px) { .split { grid-template-columns: 1fr .82fr; gap: clamp(36px,6vw,86px); } }
.step-grid { display: grid; gap: 16px; }
.step-grid li { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-number { display: block; color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: .1em; margin-bottom: 18px; }
.step-grid h3 { margin-bottom: 10px; }
@media (min-width: 850px) { .step-grid { grid-template-columns: repeat(3,1fr); } }
.trust { display: grid; gap: 14px; }
.trust-item { display: grid; align-content: start; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.trust-item h3::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 10px; border-radius: 50%; background: var(--accent); }
.trust-item p { font-size: .96rem; }
@media (min-width: 670px) { .trust { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(3,1fr); } }
.higsby-note { margin-top: 18px; max-width: 58em; padding: 26px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 18px 18px 0; }
.higsby-note h3 { margin-bottom: 6px; }
.terms-section .fine { margin-top: 22px; }
.apply-section { background: radial-gradient(120% 80% at 80% 0%,color-mix(in srgb,var(--lavender) 26%,transparent),transparent 60%),var(--bg); }
.apply-grid { display: grid; gap: 40px; align-items: start; }
.apply-grid > div:first-child > p:not(.eyebrow) { max-width: 35em; }
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 9px; height: 14px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.apply-card { position: relative; padding: clamp(22px,4vw,40px); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.apply-card > h3 { font-size: 1.55rem; margin-bottom: 22px; }
.apply-form { display: grid; gap: 22px; }
html:not(.js) #apply-form { display: none; }
.js #apply-nojs { display: none; }
@media (min-width: 900px) { .apply-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(48px,7vw,100px); } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > label, .field legend { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.field legend { padding: 0; margin-bottom: 10px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.field input::placeholder { color: var(--muted); }
.prefixed { position: relative; }
.prefixed span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.prefixed input[type="text"] { padding-left: 36px; }
.field input:hover, .field textarea:hover, .field select:hover { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent),0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3261E !important; }
.hint { font-size: .8125rem; color: var(--muted); }
.field-error, .form-error { font-size: .875rem; font-weight: 600; color: #B3261E; }
.form-error:not(:empty) { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb,#B3261E 10%,transparent); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 500; }
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); }
.choice input:checked + span { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.choice input:checked + span::before { background: var(--accent); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.choice input[aria-invalid="true"] + span { box-shadow: inset 0 0 0 2px #B3261E; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.notice { display: grid; gap: 8px; padding: 20px; border-radius: 16px; background: var(--bg-alt); font-size: .89rem; }
.notice h4 { font-size: 1rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply-actions { display: flex; justify-content: flex-end; }
.apply-actions .button { width: 100%; }
#step-submit { background: linear-gradient(135deg,#3C2A46,#2E1F35 55%,#54396A); color: #F8F5EF; }
@media (prefers-color-scheme: dark) {
  #step-submit { background: linear-gradient(135deg,#F4EFE8,#E3D7F0); color: #2E1F35; }
  .field-error, .form-error { color: #F2B8B5; }
  .field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #F2B8B5 !important; }
}
.receipt { display: grid; gap: 16px; justify-items: start; }
.receipt h3 { font-size: clamp(1.8rem,4vw,2.4rem); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 54px 20px 22px; cursor: pointer; color: var(--ink); font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 29px; width: 16px; height: 16px; background: linear-gradient(var(--accent),var(--accent)) center/16px 2px no-repeat, linear-gradient(var(--accent),var(--accent)) center/2px 16px no-repeat; }
.faq-list details[open] summary::after { background: linear-gradient(var(--accent),var(--accent)) center/16px 2px no-repeat; }
.faq-list details p { padding: 0 22px 22px; }
.footer { padding: 44px 0 90px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 12px; max-width: 760px; margin-left: 0; font-size: .92rem; }
.footer .brand-mark { width: 26px; height: 26px; }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: none; } to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: arrive .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .hero-copy > :nth-child(5) { animation-delay: .48s; }
  /* The pieces drop onto the table one by one, then the scene floats while the hero is on screen. */
  .hero-art .piece { animation: drop 1.1s var(--ease) both; }
  .hero-art .piece-ring { animation-delay: .05s; }
  .hero-art .piece-slab1 { animation-delay: .25s; }
  .hero-art .piece-slab2 { animation-delay: .4s; }
  .hero-art .piece-slab3 { animation-delay: .55s; }
  .hero-art .piece-stone { animation-delay: .7s; }
  .hero-art .piece-lav { animation-delay: .85s; }
  .hero-art .piece-lime { animation-delay: 1s; }
  .hero.can-float .still { animation: float 5s ease-in-out 2.2s infinite alternate; }
  .hero.is-offscreen .still { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }
@media print { .topbar, .skip { display: none !important; } .section { break-inside: avoid; padding-block: 32px; } }
