:root {
  --ink: #20212a;
  --muted: #687080;
  --line: #dfe2e8;
  --paper: #f7f7f8;
  --white: #ffffff;
  --navy: #24283b;
  --navy-deep: #171a2a;
  --magenta: #b23d83;
  --magenta-dark: #8f2f69;
  --focus: #4b8ed8;
  --shadow: 0 18px 45px rgba(24, 28, 46, .12);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; }

.site-header {
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 5rem);
}
.brand { text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: .78rem; }
.brand span, .header-label { color: #b8bdca; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.header-label { border-left: 1px solid #62677a; padding-left: 1rem; }

.hero {
  background: linear-gradient(90deg, rgba(23, 26, 42, .94), rgba(36, 40, 59, .72)), url("https://eurotrade-gateway.com/assets/images/pixabay_laptop_welcome_to_amazon.jpg") center / cover;
  color: var(--white);
  min-height: 510px;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 720px; padding: 5.5rem clamp(1.25rem, 8vw, 9rem); }
.eyebrow { color: var(--magenta); font-size: .72rem; font-weight: 700; letter-spacing: .2em; margin: 0 0 1rem; text-transform: uppercase; }
.hero .eyebrow { color: #e28dbb; }
h1, h2, legend { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.25rem, 9vw, 6.7rem); letter-spacing: -.04em; margin: 0 0 1.5rem; }
h1 em { color: #e28dbb; font-style: normal; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.03em; margin: 0 0 1rem; }
.hero-copy { color: #e4e5ea; font-size: 1.15rem; max-width: 34rem; margin: 0 0 2rem; }
.button { border: 0; cursor: pointer; display: inline-flex; gap: .8rem; justify-content: center; padding: .85rem 1.35rem; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #e9d6e3; }
.button-primary { background: var(--magenta); color: var(--white); min-width: 220px; }
.button-primary:hover { background: var(--magenta-dark); }

.content-width { margin-left: auto; margin-right: auto; max-width: 1120px; padding-left: 1.25rem; padding-right: 1.25rem; }
.intro { padding-bottom: 4rem; padding-top: 5.5rem; }
.intro h2 { max-width: 690px; }
.intro > p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 670px; }
.form-shell { background: var(--white); box-shadow: var(--shadow); margin-bottom: 5rem; padding: clamp(1.25rem, 5vw, 4rem); }
.form-heading { align-items: end; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; }
.form-heading h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }
.required-note { color: var(--muted); font-size: .85rem; margin: 0; }
.required-note span, label span { color: var(--magenta); }
fieldset { border: 0; margin: 0; padding: 0; }
fieldset + fieldset { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 3rem; }
legend { font-size: 1.75rem; margin-bottom: 1.5rem; padding: 0; }
.field-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { margin-bottom: 1.5rem; }
label, .nested-fieldset legend { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .03em; margin-bottom: .55rem; }
input[type="text"], input[type="email"], select { appearance: none; background: #fff; border: 1px solid #cbd0d9; border-radius: 0; color: var(--ink); font: inherit; min-height: 3rem; padding: .72rem .85rem; width: 100%; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 1.35rem, calc(100% - 12px) 1.35rem; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; padding-right: 2rem; }
input:focus, select:focus, button:focus, a:focus { outline: 3px solid rgba(75, 142, 216, .35); outline-offset: 2px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b42318; }
.nested-fieldset { background: #f5f5f7; border-left: 3px solid var(--magenta); padding: 1.25rem; }
.nested-fieldset legend { font-family: Arial, Helvetica, sans-serif; font-size: .78rem; margin-bottom: 1rem; }
.choice-grid { display: grid; gap: .75rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { align-items: flex-start; display: flex; font-size: .92rem; font-weight: 400; letter-spacing: 0; margin: 0; }
.choice input { accent-color: var(--magenta); flex: 0 0 auto; margin: .32rem .6rem 0 0; }
.conditional[hidden] { display: none; }
.consent-box { background: #f5f5f7; border-top: 1px solid var(--line); margin-top: .5rem; padding: 1.25rem; }
.consent-title { font-weight: 700; margin: 0 0 .75rem; }
.help-text, .privacy-note { color: var(--muted); font-size: .78rem; }
.form-status { border-left: 4px solid var(--magenta); margin: 1rem 0; padding: .85rem 1rem; }
.form-status.error { border-color: #b42318; background: #fff1f0; }
.form-status.success { border-color: #287d4c; background: #eefaf2; }
.form-status .result-link { color: #155f38; font-weight: 700; }
.submit-row { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 2rem; justify-content: space-between; margin-top: 1rem; padding-top: 1.75rem; }
.privacy-note { margin: 0; max-width: 34rem; }
.site-footer { background: var(--navy-deep); color: #b8bdca; display: flex; font-size: .72rem; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); }
.site-footer a { color: #fff; }

@media (max-width: 760px) {
  .header-label { display: none; }
  .hero { min-height: 470px; }
  .hero-content { padding-bottom: 4rem; padding-top: 4rem; }
  .field-grid, .choice-grid, .choice-grid.compact { grid-template-columns: 1fr; }
  .form-heading, .submit-row, .site-footer { align-items: flex-start; flex-direction: column; }
  .button-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
