/* aifirst.lu /start — page-per-question funnel (Parcours /start UX, aifirst tokens) */
:root {
  --bone: #F4EFE7; --bone-2: #ECE5DA; --ink: #16150F; --white: #FFFCFA;
  --muted: #4A473C; --muted-2: #6A6658; --green: #1F9D63; --red: #9B1C1C;
  --bd: 1.5px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink); --shadow-sm: 2px 2px 0 var(--ink);
  --grad-brand: linear-gradient(90deg, #ff9bb4, #f7e26b);
  --grad-hot: linear-gradient(100deg, #FF5F8D, #FF7A3D 52%, #FFC24B);
  --grad-soft: linear-gradient(100deg, rgba(255,95,141,.18), rgba(255,122,61,.12) 52%, rgba(255,194,75,.18));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: clamp(16px, 4vw, 28px);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100dvh; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; background: var(--bone);
  background-image: radial-gradient(900px 520px at 88% -6%, rgba(255,122,61,.16), transparent 62%), radial-gradient(760px 480px at 6% 4%, rgba(255,95,141,.12), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }
.i .spark { color: #FF7A3D; }

.funnel { min-height: 100dvh; display: flex; flex-direction: column; }
.f-top { position: sticky; top: 0; z-index: 20; border-bottom: var(--bd); background: rgba(244,239,231,.94); backdrop-filter: blur(12px); }
.f-top-in { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; padding: 10px var(--gut); }
.f-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.f-back:hover { color: var(--ink); background: var(--bone-2); }
.f-back .i { width: 16px; height: 16px; }
.f-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: -0.02em; }
.f-brand .mark { width: 20px; height: 20px; background: var(--ink); display: grid; place-items: center; border-radius: 4px; }
.f-brand .mark .i { width: 12px; height: 12px; color: #f7e26b; }
.f-step { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.f-bar { height: 3px; background: var(--bone-2); }
.f-bar i { display: block; height: 100%; background: var(--grad-brand); transition: width .5s var(--ease); }
.stations { display: flex; justify-content: space-between; gap: 6px; max-width: 720px; margin: 0 auto; padding: 10px var(--gut) 0; }
.stn { flex: 1; max-width: 40px; height: 8px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--bone); }
.stn.done, .stn.on { background: var(--grad-hot); }
.stn.on { animation: stnPop .5s var(--ease); }
@keyframes stnPop { 0% { transform: scaleX(.4); } 100% { transform: none; } }

.f-main { flex: 1; display: flex; align-items: center; padding: clamp(24px, 5vw, 48px) var(--gut) 48px; }
.f-card { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; animation: cardIn .45s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.f-card.leaving { animation: cardOut .22s ease forwards; }
@keyframes cardOut { to { opacity: 0; transform: translateY(-10px); } }
.f-q { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 6.5vw, 40px); line-height: 1.1; letter-spacing: -0.012em; margin-bottom: 10px; }
.f-q:focus { outline: none; }
.f-sub { font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }

.f-opts { display: grid; gap: 10px; text-align: left; }
.f-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; background: var(--white); border: var(--bd); box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; transition: transform .12s linear, box-shadow .12s linear, background-color .15s ease; }
.f-opt:hover, .f-opt.on { background: var(--grad-hot); transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.f-opt .ic { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--grad-soft); flex: none; }
.f-opt:hover .ic, .f-opt.on .ic { background: var(--white); }
.f-opt .lbl { flex: 1; line-height: 1.3; }
.f-opt .ar { width: 18px; height: 18px; opacity: .45; }
.f-opt:hover .ar { opacity: 1; }
.f-opt:disabled { cursor: default; }

.f-trust { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 12.5px; color: var(--muted-2); }
.f-trust span { display: inline-flex; align-items: center; gap: 6px; }
.f-trust .i { width: 14px; height: 14px; color: var(--green); }

.recap { text-align: left; border: var(--bd); background: var(--grad-soft); padding: 12px 14px; margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.recap b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); }
.f-field { text-align: left; margin-bottom: 14px; }
.f-field label { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.f-field input { width: 100%; padding: 13px 12px; font: 400 16px var(--sans); color: var(--ink); background: var(--white); border: var(--bd); box-shadow: var(--shadow-sm); }
.f-field input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.f-field .err { display: none; margin-top: 5px; font-size: 12.5px; color: var(--red); }
.f-field.bad input { border-color: var(--red); box-shadow: 2px 2px 0 var(--red); }
.f-field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; text-align: left; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px 20px; border: var(--bd); background: var(--grad-hot); box-shadow: var(--shadow); font: 700 13.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #1A1207; cursor: pointer; transition: transform .12s linear, box-shadow .12s linear; }
.btn:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn .i { width: 18px; height: 18px; }
.f-form-err { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--red); }
.f-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted-2); }
.f-secure .i { width: 14px; height: 14px; }

.tick { width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center; border: var(--bd); background: var(--grad-hot); box-shadow: var(--shadow-sm); }
.tick .i { width: 30px; height: 30px; }
.next { list-style: none; display: grid; gap: 12px; margin-top: 22px; text-align: left; border: var(--bd); background: var(--white); box-shadow: var(--shadow-sm); padding: 20px; }
.next li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 14.5px; color: var(--muted); }
.next li b { color: var(--ink); }
.next .n { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--grad-soft); border: 1.5px solid var(--ink); width: 26px; height: 26px; display: grid; place-items: center; }
.home-link { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid currentColor; }

.foot { padding: 0 var(--gut) 28px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .f-opt { padding: 13px 12px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
