/* The application page, written by hand: one question at a time. Fonts and tokens come from landing.css. */
html, body { margin: 0; }
.ap { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; overflow: clip; background: #FFFFFF; color: #1E4426; font-family: Figtree, sans-serif; -webkit-font-smoothing: antialiased; }
.ap-gr { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
/* The hero's flower, cut by the edge of the page. It only turns, slowly: its sparkles and its grain, which move
   several times a second, flickered on a page that is otherwise still. */
.ap-flower { position: absolute; left: 100%; top: 52%; width: 0; height: 0; transform: scale(1); pointer-events: none; }
.ap-flower .hero-anchor { left: 0 !important; top: 0 !important; transform: none !important; }
.ap-flower .h-spin { animation-duration: 180s; }
.ap-flower .h-spin-back { animation-duration: 240s; }
.ap-flower .h-breath, .ap-flower .h-grain { animation: none; }
.ap-i::placeholder { color: rgba(30, 68, 38, 0.74); opacity: 1; }
/* Logo, counter, way out: the counter sits in the middle of the header on a computer. */
.ap-top { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px 32px; }
.ap-top .ap-out { justify-self: end; }
.ap-top svg { display: block; }
.ap-out { color: #1E4426; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
/* Six marks, one per question, then the way back under them. */
.ap-steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0 32px; }
.ap-steps i { height: 4px; border-radius: 2px; background: rgba(30, 68, 38, 0.12); transition: background-color 0.3s ease; }
.ap-steps i.done { background: #1E4426; }
.ap-steps i.now { background: #FFDA0F; }
.ap-sub { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin: 12px 32px 0; }
.ap-prev { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #1E4426; font: 600 14.5px Figtree, sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.18s ease; }
/* On the first question there is no way back: its place stays, so nothing moves when it comes. */
.ap-sub .ap-prev[hidden] { display: inline-flex !important; visibility: hidden; }
.ap-n { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(30, 68, 38, 0.85); }
.ap-sub .ap-n { display: none; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(30, 68, 38, 0.8); }
.ap-main { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 20px 64px; }
#ap-form { width: 100%; max-width: 660px; }
.ap-q { display: none; }
.ap-q.on { display: block; animation: apIn 0.35s ease-out; }
@keyframes apIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ap-hi { margin: 0; font-size: 19px; font-weight: 600; color: rgba(30, 68, 38, 0.85); }
.ap-hi + .ap-t { margin-top: 4px; }
.ap-t { margin: 12px 0 0; font-family: MuseoModerno, sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.ap-h { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: rgba(30, 68, 38, 0.78); }
.ap-i { display: block; box-sizing: border-box; width: 100%; margin-top: 26px; padding: 10px 2px; border: 0; border-bottom: 2px solid rgba(30, 68, 38, 0.25); border-radius: 0; background: transparent; color: #1E4426; font: 500 26px Figtree, sans-serif; outline: none; transition: border-color 0.18s ease; }
.ap-i:focus { border-bottom-color: #1E4426; }
.ap-err { min-height: 22px; margin: 10px 0 0; font-size: 14.5px; color: #A8321F; }
.ap-opts { display: grid; gap: 10px; margin-top: 24px; }
.ap-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-o { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 1px rgba(30, 68, 38, 0.13); font-size: 17px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.ap-o:has(input:checked) { background: #FFF9DC; box-shadow: 0 0 0 2px #1E4426; }
.ap-o input { width: 18px; height: 18px; margin: 0; accent-color: #1E4426; }
.ap-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.ap-go { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: #1E4426; color: #FFFFFF; font: 700 16.5px Figtree, sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.ap-go:disabled { opacity: 0.6; cursor: wait; }
.ap-key { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(30, 68, 38, 0.85); }
/* The Enter key, drawn as a key: a raised cap with its arrow. */
.ap-key kbd { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 3px; border: 1px solid rgba(30, 68, 38, 0.28); border-bottom-width: 3px; border-radius: 7px; background: #FFFFFF; color: #1E4426; font: 700 12.5px Figtree, sans-serif; line-height: 1.2; }
/* What they keep: Floowr comes on top of their channels. */
.ap-keep { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: #FFF9DC; font-size: 14.5px; line-height: 1.5; color: #1E4426; }
.ap-keep svg { flex: none; margin-top: 1px; }
.ap-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(30, 68, 38, 0.92); }
.ap-back { display: inline-block; margin-top: 22px; padding: 0; border: 0; background: none; color: #1E4426; font: 600 15px Figtree, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ap-done .ap-back { margin-top: 0; }
.ap-swap { padding: 0; border: 0; background: none; color: rgba(30, 68, 38, 0.92); font: 600 14.5px Figtree, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ap-top > a:first-child { transition: opacity 0.18s ease; }
/* A class that sets `display` would otherwise keep showing what the page hides. */
[hidden] { display: none !important; }
@media (hover: hover) {
  .ap-go:hover:not(:disabled) { transform: translateY(-2px); background-color: #2A5C36; box-shadow: 0 14px 24px -14px rgba(30, 68, 38, 0.7); }
  .ap-go:active:not(:disabled) { transform: none; }
  .ap-i:hover:not(:focus) { border-bottom-color: rgba(30, 68, 38, 0.55); }
  .ap-o:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(30, 68, 38, 0.4), 0 10px 18px -14px rgba(30, 68, 38, 0.55); }
  .ap-o:has(input:checked):hover { box-shadow: 0 0 0 2px #1E4426; }
  .ap-prev:hover { transform: translateX(-3px); text-decoration: underline; text-decoration-color: #FFDA0F; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .ap-out:hover, .ap-back:hover, .ap-swap:hover { color: #1E4426; text-decoration-color: #FFDA0F; text-decoration-thickness: 2px; }
  .ap-top > a:first-child:hover { opacity: 0.72; }
}
@media (max-width: 900px) { .ap-flower { top: 90%; transform: scale(0.68); } }
/* On a phone the counter leaves the header for the right of the way back. */
@media (max-width: 560px) { .ap-top { grid-template-columns: 1fr auto; padding: 16px 20px; } .ap-top .ap-n { display: none; } .ap-sub .ap-n { display: inline; } .ap-steps { margin: 0 20px; } .ap-sub { margin: 10px 20px 0; } .ap-i { font-size: 22px; } .ap-two { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ap-q.on { animation: none; } .ap-steps i { transition: none; } }
/* « ou appuyez sur Entrée » ne vaut que pour un clavier : cachée sur téléphone (pas de souris, ou écran étroit). */
@media (hover: none), (pointer: coarse), (max-width: 640px) { .ap-key { display: none; } }
