:root {
  --ink: #102b3f;
  --ink-2: #27485e;
  --paper: #f7f4ed;
  --card: #fffdf8;
  --line: #d9d7cf;
  --lime: #b9ef5b;
  --lime-dark: #5d850f;
  --orange: #ff8d45;
  --red: #a52d35;
  --green: #1b6f50;
  --shadow: 0 18px 50px rgba(16, 43, 63, .1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--ink); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: var(--lime); font-weight: 950; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a, .site-header nav button { border: 0; background: transparent; color: var(--ink); font-weight: 750; text-decoration: none; }
.site-header nav form { margin: 0; }

main { width: min(1180px, calc(100% - 32px)); margin: 32px auto 90px; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.8rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.15rem; }
.eyebrow { margin-bottom: 15px; color: var(--lime-dark); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lead { max-width: 720px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-2); }

.hero { min-height: 620px; display: grid; grid-template-columns: 1.45fr .75fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding: 55px 0 90px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 22px; }
.button, button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(16, 43, 63, .13);
}
.button:hover, button:hover { transform: translateY(-1px); }
.button.secondary, button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.text-link { font-weight: 800; }
.capacity { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; border-radius: 999px; background: #e7f7c7; }
.capacity strong { font-size: 1.4rem; }
.offer-card { padding: 38px; border: 2px solid var(--ink); border-radius: 30px; background: var(--ink); color: white; box-shadow: 14px 14px 0 var(--lime); transform: rotate(1.4deg); }
.offer-card span, .offer-card p { color: #ccd6dc; }
.offer-card > strong { display: block; margin-top: 5px; color: var(--lime); font-size: 4.6rem; line-height: 1; }
.offer-card .reward { color: var(--orange); }
.offer-card b { display: block; font-size: 1.1rem; }
.offer-card hr { margin: 30px 0; border: 0; border-top: 1px solid #506779; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 56px; }
.steps article, .card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.steps article > b { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 50%; background: var(--lime); }
.steps article h2 { font-size: 1.55rem; }
.boundary { margin: 28px 0 64px; padding: 22px 26px; border-left: 6px solid var(--orange); border-radius: 6px var(--radius) var(--radius) 6px; background: #fff0e6; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 8vw, 100px); align-items: start; padding: 60px 0; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.checklist { padding: 0; list-style: none; }
.checklist li { margin: 10px 0; }
.checklist li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 900; }

.form { display: grid; gap: 18px; }
.form label, .partner label { display: grid; gap: 7px; font-weight: 800; }
label span, label small, .form > small { color: #617381; font-size: .82rem; font-weight: 500; }
input, textarea, select {
  width: 100%;
  border: 1px solid #aab6bd;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
}
textarea { resize: vertical; }
input[readonly], textarea[readonly] { background: #eef0eb; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
fieldset { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
legend { padding: 0 6px; font-weight: 850; }
.choice { display: flex !important; align-items: flex-start; gap: 9px !important; font-weight: 650 !important; }
.choice input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.choice > span { min-width: 0; color: inherit; font-size: inherit; font-weight: inherit; }
.legal { line-height: 1.4; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { padding: 13px 16px; border-radius: 10px; background: #eef0eb; color: var(--ink-2); font-size: .92rem; }
.key-box { max-width: 330px; margin: 30px 0; padding: 23px; border: 2px dashed var(--ink); border-radius: 16px; }
.key-box span, .key-box small { display: block; }
.key-box strong { display: block; margin: 5px 0; font: 900 2rem/1 ui-monospace, monospace; letter-spacing: .13em; }
.partner { max-width: 760px; margin: 70px auto; }
.partner h1 { font-family: ui-monospace, monospace; letter-spacing: .12em; }
.narrow { max-width: 650px; margin: 70px auto; }
.terms { max-width: 830px; margin: 70px auto; }
.terms h1 { margin-bottom: 35px; }
.terms h2 { margin-top: 40px; font-size: 1.8rem; }

footer { display: flex; flex-wrap: wrap; gap: 13px 28px; padding: 40px max(16px, calc((100% - 1180px)/2)); background: var(--ink); color: white; }
footer span { flex: 1 1 480px; color: #ccd6dc; }
footer a { color: white; }

/* Private operator interface */
.admin { background: #eef0eb; }
.admin main { width: min(1320px, calc(100% - 32px)); }
.admin h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin: 42px 0 30px; }
.page-head p { color: var(--ink-2); }
.cap { min-width: 180px; padding: 18px 22px; border-radius: 18px; background: var(--ink); color: white; }
.cap strong, .cap span { display: block; }
.cap strong { color: var(--lime); font-size: 2.3rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.metrics a { padding: 22px; border-radius: 16px; background: white; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.metrics strong, .metrics span { display: block; }
.metrics strong { font-size: 2rem; }
.metrics span { color: var(--ink-2); font-size: .85rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #60717d; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
td a { text-decoration: none; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: #627480; }
code { padding: 3px 6px; border-radius: 5px; background: #e8ebe7; font-size: .92em; }
dl { display: grid; grid-template-columns: 140px minmax(0,1fr); margin: 0; }
dt, dd { padding: 11px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
dt { color: #60717d; font-weight: 750; }
dd { margin: 0; }
.message { padding: 18px; border-radius: 12px; background: #eef0eb; overflow-wrap: anywhere; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #dce2e4; font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status-active, .status-eligible, .status-paid, .status-won { background: #d1f2dd; color: #135638; }
.status-approved, .status-contacted, .status-qualified { background: #dcecff; color: #174f86; }
.status-suspended, .status-void, .status-returned, .status-lost, .status-spam { background: #f6dadd; color: #82232b; }
.flash { margin: 20px 0; padding: 15px 18px; border-radius: 10px; background: #dbe9f7; font-weight: 750; }
.flash.success { background: #d1f2dd; color: #135638; }
.flash.error { background: #f6dadd; color: #82232b; }
.danger-zone { margin-top: 30px; padding: 18px; border: 1px solid #d69da2; border-radius: 13px; background: #fff2f3; }
.danger-zone button { background: var(--red); border-color: var(--red); }
.form.inline { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form.inline .choice, .form.inline button { grid-column: 1 / -1; }

@media (max-width: 850px) {
  .hero, .split, .grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 35px; }
  .steps { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .site-header { align-items: flex-start; padding: 18px 0; }
  .admin .site-header { flex-direction: column; }
  .admin .site-header nav { width: 100%; overflow-x: auto; padding-bottom: 5px; }
}

@media (max-width: 540px) {
  main { width: min(100% - 22px, 1180px); margin-top: 10px; }
  .site-header { width: min(100% - 22px, 1180px); }
  .site-header nav { gap: 12px; }
  .hero { min-height: auto; }
  .offer-card { transform: none; box-shadow: 7px 7px 0 var(--lime); }
  .metrics, .form.inline { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .cap { width: 100%; }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; border: 0; }
  dd { padding-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
