:root {
  --paper: #f4efe6;
  --card: #fffdf8;
  --ink: #1f1a17;
  --rust: #b5532f;
  --gold: #f5c518;
  --muted: #6f665d;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Lato, Arial, sans-serif; }
.optin-page { min-height: 100vh; padding: 30px 16px 64px; background: radial-gradient(circle at 50% -10%, #fffaf0 0, var(--paper) 48%, #e9dfd0 100%); }
.optin-card { width: min(720px, 100%); margin: 0 auto; padding: clamp(24px, 5vw, 52px); border-top: 10px solid #6b4526; border-radius: 18px; background: var(--card); box-shadow: 0 18px 50px rgba(57, 38, 22, .16); text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--rust); font-family: Oswald, Impact, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .18em; }
h1 { margin: 0 auto 12px; max-width: 600px; color: var(--ink); font-family: Oswald, Impact, sans-serif; font-size: clamp(32px, 6vw, 58px); font-style: italic; line-height: 1.02; text-transform: uppercase; }
.intro { margin: 0 auto 24px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.form-frame { height: 432px; min-height: 432px; overflow: hidden; border: 1px solid rgba(31, 26, 23, .12); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(31, 26, 23, .08); }
.native-optin-form { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; padding: clamp(34px, 7vw, 68px) clamp(20px, 7vw, 58px); text-align: left; }
.native-optin-form label { color: var(--ink); font-size: 15px; font-weight: 700; }
.native-optin-form input { width: 100%; min-height: 58px; padding: 0 17px; border: 1px solid #cfc7bd; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: 17px; }
.native-optin-form input:focus-visible { outline: 3px solid rgba(245, 197, 24, .7); outline-offset: 2px; border-color: #9c6d19; }
.native-optin-form button { min-height: 60px; border: 0; border-radius: 8px; color: #17110c; background: var(--gold); box-shadow: 0 5px 0 #c99d06; cursor: pointer; font: 700 19px/1 Lato, Arial, sans-serif; }
.native-optin-form button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.native-optin-form button:active { box-shadow: 0 2px 0 #c99d06; transform: translateY(2px); }
.native-optin-form button:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.form-error { margin: 0; color: #a32920; font-size: 14px; font-weight: 700; }
.privacy-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: center; }
.success-overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: rgba(31, 26, 23, .72); }
.success-overlay[hidden] { display: none; }
.success-modal { width: min(520px, 100%); padding: 42px 30px 36px; border-top: 9px solid var(--rust); border-radius: 18px; background: var(--card); box-shadow: 0 24px 80px rgba(0, 0, 0, .3); text-align: center; animation: success-in 180ms ease-out both; }
.success-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; color: var(--card); background: var(--rust); font-size: 42px; font-weight: 700; line-height: 1; }
.success-kicker { margin: 0 0 8px; color: var(--rust); font-family: Oswald, Impact, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .18em; }
.success-modal h2 { margin: 0 auto 12px; max-width: 420px; color: var(--ink); font-family: Oswald, Impact, sans-serif; font-size: clamp(30px, 5vw, 48px); font-style: italic; line-height: 1.05; text-transform: uppercase; }
.success-modal p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
@keyframes success-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) {
  .optin-page { padding: 12px 10px 36px; }
  .optin-card { padding: 24px 14px 30px; border-top-width: 7px; border-radius: 14px; }
  .intro { font-size: 16px; }
  .form-frame { height: 432px; min-height: 432px; }
  .native-optin-form { padding: 32px 18px 36px; }
}
