/* Rolling Dough loyalty sign-up. The look Josh approved as pictures on 24 Nov 2026 (Job List 5.104).
   Brand colours and fonts from Projects/Website Rebrand/build.py. The fonts are files beside this one, so the
   page asks nobody else for anything. Phone first: it opens from the QR on the trailer. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url('fonts/oswald-latin-wght.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url('fonts/oswald-latin-ext-wght.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-wght.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-ext-wght.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --olive: #556B2F;
  --deep: #3D4D27;
  --cream: #F5F0E6;
  --warm-cream: #F9F1E1;
  --ink: #2F3A1C;
  --quiet: #6E6A5E;
  --error: #A3271B;
  --error-bg: #FBEDEA;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --label: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }

.wrap {
  max-width: 430px; margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 22px;
}

.top { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.logo { display: block; width: 112px; height: 88px; object-fit: contain; }
.heads { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 100%; }
.kicker { margin: 0; font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive); }
h1 { margin: 0; max-width: 100%; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 13.3vw, 52px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; color: var(--olive); overflow-wrap: anywhere; }
.lead { margin: 0; max-width: 330px; }

form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); }
.field input {
  width: 100%; height: 52px; padding: 0 14px;
  border: 2px solid var(--olive); border-radius: 3px; background: var(--warm-cream);
  font-family: inherit; font-size: 18px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--quiet); opacity: 1; }
.field.bad input { border: 3px solid var(--error); background: var(--error-bg); }
.help { margin: 0; font-size: 15px; line-height: 1.4; }
.err { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--error); }
.err svg { flex-shrink: 0; margin-top: 1px; }
.note { margin: 0; padding: 12px 14px; border: 2px solid var(--olive); border-radius: 3px; background: var(--warm-cream); font-size: 16px; font-weight: 600; }

.consent { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 2px solid var(--olive); border-radius: 6px; background: var(--warm-cream); }
.consent.bad { padding: 15px; border: 3px solid var(--error); background: var(--error-bg); }
.consent h2 { margin: 0; font-family: var(--label); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); }
.consent p { margin: 0; font-size: 16px; }
.consent p.err { font-size: 15px; }
.tick { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 17px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.tick input { width: 30px; height: 30px; margin: 0; flex-shrink: 0; accent-color: var(--olive); }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 58px; padding: 8px 12px;
  border: 2px solid var(--olive); border-radius: 3px; background: var(--olive); color: var(--warm-cream);
  font-family: var(--label); font-size: 19px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-appearance: none; appearance: none;
}
.btn:hover, .btn:active { background: var(--deep); border-color: var(--deep); }
.btn.outline { background: transparent; color: var(--olive); }
.btn.outline:hover, .btn.outline:active { background: var(--olive); border-color: var(--olive); color: var(--warm-cream); }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 8px; }
.actions .btn { font-size: 18px; }

.foot { margin: auto 0 0; font-size: 14px; text-align: center; }
.foot a { color: var(--olive); text-decoration: underline; }
.foot a:hover { color: var(--deep); }

.panel { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 6px; background: var(--deep); color: var(--warm-cream); text-align: center; }
.panel p { margin: 0; font-size: 16px; }
.panel p.kick { font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.panel p.big { font-family: var(--display); font-size: clamp(30px, 10.2vw, 40px); line-height: 1.1; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.panel p.say { font-size: 17px; }
.copy { display: flex; flex-direction: column; gap: 10px; }
.copy p { margin: 0; }

/* The box a person never sees and a robot fills in. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}
