:root {
  --red: #e74027;      /* sampled from the logo; large text and details only (4.1:1 on white) */
  --red-ink: #c2301b;  /* buttons, links and small text (5.4:1 on white) */
  --red-tint: #fdf0ee;
  --ink: #1d1d1f;
  --muted: #555;
  --line: #e6e2e0;
  --bg: #ffffff;
  --star: #ffcc00;
  --maxw: 760px;
  --gutter: 16px;
  --band: 64px;        /* vertical section padding; stars live in this band */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

a { color: var(--red-ink); text-underline-offset: 2px; }

:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 12px; }

.sprite { position: absolute; }

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand img { display: block; width: 132px; height: auto; }
.header-link { font-weight: 600; font-size: 0.95rem; }

section, .site-footer { position: relative; padding: var(--band) 0; }
section + section { border-top: 1px solid var(--line); }

.badge {
  display: inline-block; margin-bottom: 1.2rem;
  background: var(--red-tint); color: var(--red-ink);
  border-radius: 999px; padding: 4px 14px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); letter-spacing: -0.02em; }
.hero .lead { font-size: 1.2rem; }
.compat { color: var(--muted); }

.btn {
  display: inline-block; background: var(--red-ink); color: #fff;
  border: 0; border-radius: 8px; padding: 12px 22px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #a82814; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.signup { background: var(--red-tint); border-top: 0; }
.card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.card label { display: block; font-weight: 600; margin-bottom: 6px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row input {
  flex: 1 1 220px; min-width: 0; font: inherit; padding: 11px 12px;
  border: 1px solid #8a8a8a; border-radius: 8px;
}
.row input[aria-invalid="true"] { border-color: var(--red-ink); }
.form-status { min-height: 1.6em; margin: 10px 0 0; font-weight: 600; }
.form-status.is-error { color: var(--red-ink); }
.form-status.is-ok { color: #1e6b34; }
.note { color: var(--muted); font-size: 0.9rem; }

.questions { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 12px; }
.questions li {
  border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 8px; padding: 14px 18px; font-weight: 600;
}
.questions li::before { content: "“"; } .questions li::after { content: "”"; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center;
}
.steps h3 { margin: 8px 0 4px; }
.steps p { margin: 0; }

.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.trust h3 { color: var(--red-ink); }
.trust p { margin: 0; }
@media (min-width: 700px) {
  .trust { grid-template-columns: repeat(3, 1fr); }
}

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 4px; }

.site-footer { border-top: 1px solid var(--line); font-size: 0.95rem; }
.site-footer p:last-child { margin: 0; }

/* Twelve decorative stars, a nod to the EU flag. They sit in the empty top and
   bottom bands of each section (--band), so they never cover text or the form. */
.star { position: absolute; width: 14px; height: 14px; fill: var(--star); pointer-events: none; }
.s1  { top: 22px; right: 8%; width: 16px; height: 16px; }
.s2  { bottom: 20px; left: 6%; }
.s3  { top: 20px; left: 44%; width: 12px; height: 12px; }
.s4  { top: 24px; right: 18%; }
.s5  { bottom: 22px; left: 28%; width: 12px; height: 12px; }
.s6  { top: 20px; left: 10%; width: 16px; height: 16px; }
.s7  { top: 22px; right: 34%; width: 12px; height: 12px; }
.s8  { bottom: 20px; right: 9%; }
.s9  { top: 24px; left: 62%; }
.s10 { top: 18px; left: 16%; width: 12px; height: 12px; }
.s11 { top: 28px; right: 22%; }
.s12 { bottom: 20px; right: 48%; width: 12px; height: 12px; }

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