:root {
  color-scheme: light;
  --ink: #191816;
  --muted: #68635d;
  --line: #d8d0c5;
  --paper: #f5f0e8;
  --white: #fffdfa;
  --red: #9c321e;
  --blue: #183d66;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: transparent;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; background: transparent; }
body { padding: 2px 2px 14px; }

.embed-card {
  width: 100%;
  border-top: 5px solid var(--ink);
  background: var(--white);
  box-shadow: 9px 9px 0 rgb(25 24 22 / 10%);
  padding: clamp(22px, 5vw, 38px);
}

.embed-heading { border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 20px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1 { margin: 0 0 12px; font: 700 clamp(30px, 6vw, 44px)/1.02 Georgia, serif; letter-spacing: -.035em; }
p { line-height: 1.55; }
.embed-heading > p:last-child, .success-card > p { color: var(--muted); margin-bottom: 0; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
input:not([type="checkbox"]) {
  width: 100%;
  min-height: 46px;
  border: 1px solid #a9a097;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #e5a895; outline-offset: 2px; }
.consent-field label { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 500; line-height: 1.45; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
small { display: block; margin-top: 6px; color: var(--muted); }
.privacy-note { margin-left: 30px; }
.privacy-note a { color: var(--blue); }
.error, .form-errors { margin: 7px 0 0; color: #842616; font-size: 13px; }
.form-errors { background: #f4e1dc; padding: 12px; }

button, .result-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  margin-top: 24px;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  font: 800 14px/1.2 Inter, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .result-button:hover { background: #7e2718; }
.boundary { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.success-card { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.success-mark { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 24px; border-radius: 50%; background: #dfe9df; color: #24552d; font-size: 26px; }

@media (max-width: 560px) {
  body { padding-inline: 0; }
  .embed-card { box-shadow: none; padding: 22px 16px; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-wide { grid-column: auto; }
}

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