:root {
  --wine-950: #210711;
  --wine-900: #2b0917;
  --wine-800: #3b1022;
  --wine-700: #5a1832;
  --gold: #cba64c;
  --gold-light: #e2c875;
  --text: #fff9f3;
  --muted: #d7bac4;
  --input: #351322;
  --input-border: #664055;
  --danger: #ff7b8e;
  --success: #97d7a5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--wine-950); font-family: var(--sans); line-height: 1.55; }
a { color: var(--gold-light); text-underline-offset: 3px; }
button, input { font: inherit; }

.page-shell { width: min(100% - 32px, 620px); margin: 30px auto 0; }
.campaign-banner { position: relative; height: 220px; overflow: hidden; border: 1px solid rgba(203,166,76,.55); border-radius: 8px; background: var(--wine-900); }
.campaign-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,7,17,.94) 0%, rgba(33,7,17,.45) 58%, rgba(33,7,17,.12) 100%); pointer-events: none; }
.campaign-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.82) contrast(1.04); }
.banner-copy { position: absolute; z-index: 1; left: 28px; bottom: 24px; display: grid; }
.banner-copy strong { font: 600 clamp(2rem, 8vw, 3.2rem)/1 var(--serif); }
.banner-copy span { margin-top: 8px; color: var(--gold-light); font-size: .85rem; }

.content { padding: 34px 0 12px; }
h1 { margin: 0 0 16px; font: 600 clamp(2rem, 7vw, 2.7rem)/1.1 var(--serif); }
.content > p { margin: 0 0 18px; color: var(--muted); }
form { display: grid; gap: 20px; margin-top: 34px; }
.field { display: grid; gap: 7px; font-size: .92rem; font-weight: 600; }
.field strong { color: var(--gold-light); font-size: .78rem; }
.field input { width: 100%; min-height: 50px; padding: 0 14px; color: var(--text); background: var(--input); border: 1px solid var(--input-border); border-radius: 7px; outline: 0; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,166,76,.15); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--text); font-size: .86rem; font-weight: 400; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { min-height: 0; margin: 0; color: var(--muted); font-size: .88rem; }
.form-message:not(:empty) { min-height: 22px; }
.form-message.is-error { color: var(--danger); }
.submit-button { min-height: 52px; border: 0; border-radius: 7px; color: #211504; background: var(--gold); font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.submit-button:hover { background: var(--gold-light); transform: translateY(-1px); }
.submit-button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.submit-button:disabled { opacity: .7; cursor: wait; transform: none; }
.success-state { display: grid; justify-items: center; gap: 10px; margin: 34px 0; padding: 44px 24px; text-align: center; border: 1px solid rgba(151,215,165,.6); border-radius: 8px; background: var(--wine-900); }
.success-state[hidden] { display: none; }
.success-state > span { display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid var(--success); border-radius: 50%; color: var(--success); font-size: 1.6rem; }
.success-state h2 { margin: 4px 0 0; font: 600 2rem/1.15 var(--serif); }
.success-state p { margin: 0; color: var(--muted); }

footer { width: min(100% - 32px, 620px); margin: 34px auto 0; padding: 26px 0 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: #a88491; border-top: 1px solid rgba(203,166,76,.2); font-size: .76rem; }
footer a { color: #b99a68; }

.privacy-page .site-header { width: min(100% - 32px, 820px); margin: auto; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(203,166,76,.25); }
.privacy-page .brand { display: grid; text-decoration: none; }
.privacy-page .brand strong { font: 600 1.5rem/1 var(--serif); }
.privacy-page .brand span { margin-top: 5px; color: var(--gold-light); font-size: .72rem; }
.privacy-page .text-link { font-size: .85rem; }
.legal { width: min(100% - 32px, 820px); margin: auto; padding: 54px 0 80px; }
.legal-updated { color: #a88491; font-size: .8rem; }
.legal h1 { margin-bottom: 30px; }
.legal h2 { margin: 36px 0 8px; color: var(--gold-light); font: 600 1.45rem/1.25 var(--serif); }
.legal p { color: var(--muted); }
.legal-warning { padding: 16px; border-left: 3px solid var(--gold); background: var(--wine-900); }

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 620px); margin-top: 12px; }
  .campaign-banner { height: 190px; }
  .banner-copy { left: 20px; bottom: 18px; }
  .content { padding-top: 28px; }
  footer { width: min(100% - 24px, 620px); flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
