:root {
  --ink: #17212f;
  --muted: #637083;
  --line: #e3e8ee;
  --surface: #f5f7fa;
  --accent: #c92c3c;
  --accent-hover: #ad2030;
  --radius: 14px;
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid #e57a86; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; vertical-align: middle; flex-shrink: 0; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23637083' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px !important; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -.035em; font-weight: 650; text-transform: none; }
p { margin: 0 0 16px; }
.submission-receipt { padding: 28px 8px 18px; max-width: 520px; margin: auto; text-align: center; outline: none; }
.receipt-check { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #e7f4ed; color: #26734b; font-size: 28px; }
.receipt-eyebrow { color: #26734b; font-size: .8rem; font-weight: 650; margin-bottom: 8px; }
.submission-receipt h2 { font-size: clamp(1.45rem, 4vw, 1.8rem); margin: 0 0 12px; line-height: 1.2; }
.receipt-intro { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.receipt-reference { display: grid; gap: 8px; padding: 22px 12px; margin: 24px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.receipt-reference span { color: var(--muted); font-size: .8rem; }
.receipt-reference strong { font-family: ui-monospace, Consolas, monospace; font-size: clamp(.95rem, 3.8vw, 1.2rem); letter-spacing: .025em; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.receipt-reference small { color: var(--muted); font-size: .8rem; }
.receipt-note { color: var(--muted); font-size: .8rem; line-height: 1.6; margin-bottom: 22px; }
.receipt-close { min-width: 130px; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: 650 .875rem/1.4 var(--font); cursor: pointer; }
.receipt-close:hover { background: var(--accent-hover); }
.submission-status:not(:empty) { padding: 12px 14px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .875rem; }
.submission-status.is-error { background: #fff1f2; color: #9c2134; border: 1px solid #efc3ca; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Consent stays readable beside its checkbox, including within form grids. */
label.terms-agreement { display:flex; align-items:flex-start; gap:10px; margin:20px 0; font-size:14px; line-height:1.6; text-align:left; }
label.terms-agreement input[type="checkbox"], #partnerInterestForm .terms-agreement input { width:18px; height:18px; min-height:18px; flex:0 0 18px; margin:3px 0 0; padding:0; accent-color:var(--red, #cf233d); }
.terms-agreement a { text-decoration:underline; }
