/* Reynolds CVRT callback page. Colours from the Reynolds logo; Barlow is served from this site, not Google. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/barlow-semi-condensed-800.woff2") format("woff2"); }

:root {
  --navy-950: #000c24;
  --navy-900: #00122f;
  --navy-800: #001848;
  --navy-700: #002463;
  --blue-600: #0a3aa6;
  --blue-500: #1a50d4;
  --blue-400: #4a78f0;
  --blue-50: #eef3ff;
  --bg: #f4f6fa;
  --ink: #0b1630;
  --ink-2: #33405c;
  --muted: #66718a;
  --line: #d8deea;
  --line-2: #e8ecf3;
  --red: #c8352b;
  --amber-50: #fff5df;
  --amber-ink: #6b4700;
  --green: #0f7a55;
  --green-50: #e6f5ee;
  --grey-50: #f1f3f7;
  --shadow: 0 1px 2px rgba(0, 18, 47, .06), 0 8px 24px rgba(0, 18, 47, .08);
  --head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* header and hero */
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(0, 12, 36, .94); backdrop-filter: blur(8px);
}
.top img { height: 40px; width: auto; display: block; }
.call {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy-800);
  text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px;
}
.call svg { width: 14px; height: 14px; fill: currentColor; }
.hero {
  color: #fff; padding: 28px 0 96px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(74, 120, 240, .55), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(10, 58, 166, .65), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700) 55%, var(--blue-600));
}
.kicker { margin: 0; font: 700 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #9fb7ff; }
.hero h1 { margin: 10px 0 8px; font: 800 38px/1.02 var(--head); text-transform: uppercase; }
.hero h1 em { font-style: normal; color: #9fb7ff; }
.lead { margin: 0 0 16px; color: #d4defa; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
}
.pills svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* the form card */
.card {
  margin: -72px 0 0; position: relative; z-index: 2; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px 16px; scroll-margin-top: 76px;
}
.progress { display: flex; gap: 6px; margin-bottom: 14px; }
.progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--line-2); }
.progress i.on { background: var(--blue-500); }
.step-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.card h2 { margin: 4px 0 14px; font: 700 24px/1.1 var(--head); color: var(--navy-800); }
.sub-q { margin: 16px 0 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.tile svg { width: 40px; height: 25px; fill: none; stroke: var(--navy-700); stroke-width: 2.2; stroke-linejoin: round; }
.tile svg circle { fill: #fff; }
.tile b { font-weight: 700; font-size: 15px; line-height: 1.1; }
.tile small { color: var(--muted); font-size: 12px; line-height: 1.2; display: block; }
.tile[aria-pressed="true"] { border-color: var(--blue-500); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-500); }
.tile.wide { grid-column: span 2; flex-direction: row; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.chip[aria-pressed="true"] { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-600); }
.chips.stack { flex-direction: column; }
.chips.stack .chip { border-radius: 12px; text-align: left; padding: 13px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chips.stack .chip small { color: var(--muted); font-weight: 500; }
.chips.times { margin-bottom: 14px; }

.plate { display: flex; align-items: stretch; border: 2px solid #111; border-radius: 8px; overflow: hidden; background: #fff; }
.plate .eu { width: 42px; flex: none; background: #0b3fa8; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 6px 0 5px; gap: 4px; }
.plate .eu svg { width: 22px; height: 22px; }
.plate .eu span { font: 700 11px/1 var(--head); letter-spacing: .04em; }
.plate input {
  border: 0; outline: 0; width: 100%; min-width: 0; padding: 10px; background: transparent; color: #111;
  font: 700 30px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
}
.plate input::placeholder { color: #c5cad3; }
.plate:focus-within { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.note { margin-top: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; line-height: 1.35; background: var(--blue-50); color: var(--navy-800); }
.note.good { background: var(--green-50); color: #0a4f38; }
.note.warn { background: var(--amber-50); color: var(--amber-ink); }
.note.first { margin: 0 0 12px; }

.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--ink-2); }
.field input { width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
.field input:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 3px rgba(26, 80, 212, .15); }
.field .err { color: var(--red); font-size: 13px; margin-top: 4px; display: none; }
.field.bad .err { display: block; }
.field.bad input { border-color: var(--red); }
.optional { color: var(--muted); font-weight: 500; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 12px; }
.consent-tick input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--blue-500); }
.bot-check { min-height: 65px; margin-bottom: 8px; }
.form-error { color: var(--red); font-size: 14px; margin: 8px 0 0; }

.actions { display: flex; gap: 8px; margin-top: 16px; }
.btn { border: 0; border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--blue-500); color: #fff; flex: 1; }
.btn-primary:hover { background: var(--blue-600); }
.btn-primary:disabled { background: #b8c4df; cursor: not-allowed; }
.btn-ghost { background: var(--grey-50); color: var(--ink-2); }

.done { text-align: center; padding: 6px 4px 4px; }
.big-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 4px auto 12px; }
.big-tick svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 3; }
.done p { margin: 0 0 12px; color: var(--ink-2); }
.done .ref { font-size: 13px; color: var(--muted); }
.done .bring { text-align: left; background: var(--grey-50); border-radius: 12px; padding: 12px 14px; margin: 14px 0; font-size: 14px; }
.done .bring b { display: block; margin-bottom: 4px; }
.done .btn { width: 100%; }

/* below the form */
.why { padding: 24px 0 8px; }
.why h2, .find h2 { margin: 0 0 12px; font: 700 19px/1.15 var(--head); text-transform: uppercase; color: var(--navy-800); letter-spacing: .02em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line-2); }
.stat b { display: block; font: 800 26px/1 var(--head); color: var(--blue-600); }
.stat span { font-size: 13px; color: var(--ink-2); line-height: 1.25; display: block; margin-top: 4px; }
.perks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line-2); }
.perks svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-500); stroke-width: 2; flex: none; }
.find { background: var(--navy-900); color: #d4defa; margin-top: 24px; padding: 22px 0 40px; font-size: 15px; }
.find h2 { color: #fff; }
.find a { color: #fff; font-weight: 700; }
.find .small { color: #8796b8; font-size: 13px; }
.link { background: none; border: 0; padding: 0; color: #fff; font-weight: 700; text-decoration: underline; font-size: inherit; }

/* cookie choice */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 18, 47, .3); padding: 14px 16px;
}
.consent p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; padding: 11px; font-size: 15px; }

/* inside the main website's CVRT page: just the form */
body.embed { background: transparent; }
body.embed .top, body.embed .hero, body.embed .why, body.embed .find { display: none; }
body.embed .wrap { padding: 0; max-width: none; }
body.embed .card { margin: 0; box-shadow: none; border: 1px solid var(--line); }

/* 404 */
body.plain { display: grid; place-items: center; min-height: 100vh; }
.plain-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 24px; max-width: 420px; margin: 16px; }
.plain-box h1 { font: 700 26px/1.1 var(--head); color: var(--navy-800); margin: 0 0 8px; }

@media (min-width: 720px) {
  .hero { padding: 48px 0 110px; }
  .hero h1 { font-size: 48px; }
}
