/* Partners page: white base, a quiet gold flare, same type as the giveaway page. Fonts are self-hosted (CSP style-src 'self'). */
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/archivo-400.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/archivo-600.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/archivo-800.woff2') format('woff2'); }

:root {
  --bg: #FFFFFF; --bg2: #FBF8F1; --card: #FFFFFF; --ink: #15120C; --muted: #6A6358; --line: #E6DFD0;
  --gold: #C8932F; --gold-hi: #E6BB60; --gold-lo: #A8761F; --gold-dim: rgba(200,147,47,.18); --err: #B00020;
  --display: "Anton", Impact, "Arial Black", sans-serif; --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gold-grad: linear-gradient(120deg, #E6BB60, #C8932F);
  --gutter: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--body); }
a { color: var(--gold-lo); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.5vw, 92px); }
h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 56px var(--gutter); }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lo); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold-grad); vertical-align: middle; margin-right: 10px; }
.sub { margin: 0; font-size: 19px; color: var(--muted); max-width: 60ch; }
.sub b { color: var(--ink); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--gold-dim); }
.brand { display: block; line-height: 0; }
.logo img { display: block; height: 44px; width: auto; }
.bar-nav { display: flex; align-items: center; gap: 22px; }
.bar-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.bar-nav a:hover { color: var(--gold-lo); }
.cta, button, .bar-cta { font-family: var(--body); display: inline-block; text-decoration: none; background: var(--gold-grad); border: 2px solid #E6BB60; border-radius: 4px; padding: 15px 32px; color: #100E09 !important; font-weight: 800; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 28px rgba(200,147,47,.22); }
.cta:hover, button:hover, .bar-cta:hover { filter: brightness(1.05); }
.bar-cta { padding: 9px 16px; font-size: 14px; box-shadow: none; }

/* Hero: white with a soft gold flare top-right and a gold rule */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--gold-dim); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 88% 10%, rgba(230,187,96,.28), transparent 60%), radial-gradient(40% 50% at 10% 100%, rgba(230,187,96,.12), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; padding: 72px var(--gutter) 64px; display: grid; gap: 18px; }
.hero h1 .gold { display: block; color: var(--gold); background: linear-gradient(180deg, #E6BB60 0%, #C8932F 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .cta { justify-self: start; margin-top: 8px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 6px 0 0; }
.chips li { border: 1px solid var(--gold); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }

/* Numbered steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; min-height: 34px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 18px; color: #100E09; background: var(--gold-grad); }

/* Three-up cards on the warm band */
.band { background: var(--bg2); border-block: 1px solid var(--gold-dim); }
.trio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px 22px; overflow: hidden; }
.trio li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); }
.trio h3 { margin: 0 0 8px; font-size: 19px; }
.trio p { margin: 0; color: var(--muted); }
.trio .big { display: block; font-family: var(--display); font-size: 44px; line-height: .9; color: var(--gold); margin-bottom: 12px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 22px; }
.panel h3 { margin: 0 0 12px; font-size: 19px; }
.rules-card .steps li::before { background: transparent; color: var(--gold-lo); border: 2px solid var(--gold); }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* Enroll form */
.enroll { display: grid; gap: 10px; }
.enroll-head { display: grid; gap: 6px; margin-bottom: 8px; }
form { display: grid; gap: 10px; }
fieldset { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 14px 18px 10px; margin: 0 0 12px; display: grid; gap: 8px; background: var(--card); }
legend { font-family: var(--display); font-size: 20px; letter-spacing: .03em; text-transform: uppercase; padding: 0 8px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type]), input[type=tel], input[type=email], input[type=number], select, textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lab { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
button { width: 100%; }
button:disabled { opacity: .6; cursor: wait; }
.err { margin: 0; color: var(--err); font-size: 14px; }
.err:empty { display: none; }
.done { background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 22px; }
.done h2 { font-size: 30px; margin: 0 0 8px; }
.done p { margin: 0; }

/* Footer */
.rules { border-top: 1px solid var(--line); background: var(--bg2); font-size: 13px; line-height: 1.55; color: var(--muted); }
.rules .wrap { padding: 36px var(--gutter) 56px; display: grid; gap: 10px; }
.rules p { margin: 0; }
.logo.foot img { height: 56px; margin-bottom: 6px; }

#enroll, #how { scroll-margin-top: 70px; }

/* Rules page */
.doc { max-width: 820px; padding-top: 48px; }
.doc h1 { margin: 6px 0 18px; }
.doc h2 { font-size: clamp(24px, 3vw, 32px); margin: 30px 0 10px; }
.doc ol { padding-left: 0; margin: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.doc ol li { counter-increment: r; position: relative; padding-left: 44px; }
.doc ol li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 16px; color: var(--gold-lo); border: 2px solid var(--gold); }
.doc p { margin: 10px 0; }
.doc .links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .bar-nav a:not(.bar-cta) { display: none; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .wrap { padding: 44px var(--gutter); }
  .hero .wrap { padding: 48px var(--gutter) 44px; }
  .hero .cta { justify-self: stretch; text-align: center; }
  .logo img { height: 36px; }
}
@media (max-width: 480px) {
  .row.two, .checks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
