/* fluidity code page (card A3, 27 Nov 2026, Cid): Annie's look (her brief chapter 10, the set-password screen of her prototype).
   Own host, no team-tool code; colours from her CI and the prototype's derived tones. */
@font-face { font-family: "Cascadia"; src: url("fonts/CascadiaMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cascadia"; src: url("fonts/CascadiaMono-Bold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }

:root {
  --aubergine: #260b23; --wine: #5a042e; --pink: #e70353; --pink-text: #ff4f86; --lila: #601c59; --orange: #f57523;
  --surface: #33102f; --input: #1a0718; --line: #4a1a44; --line-strong: #7a4170; --field-line: #5a2a52;
  --ink: #fbeef3; --ink-dim: #d4b3c8; --muted: #a9839c;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--aubergine); color: var(--ink);
  font-family: "Cascadia", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 15px; line-height: 1.6;
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 32px 16px;
}
/* her blurred brand ground with the loop behind the card */
.ground { position: fixed; inset: 0; overflow: hidden; background: var(--wine) url("img/ground.jpg") center / cover no-repeat; z-index: 0; }
.ground::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(6px); background: rgb(38 11 35 / 0.18); }
.loop { position: absolute; left: 50%; top: 58%; width: min(120vw, 900px); transform: translate(-50%, -50%); opacity: 0.32; filter: blur(5px); }

.card {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: rgb(38 11 35 / 0.94); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px;
  box-shadow: 0 30px 80px rgb(20 5 18 / 0.55);
}
.mark { display: block; width: 120px; height: auto; margin-bottom: 18px; }
.state { display: flex; flex-direction: column; gap: 14px; }
.state[hidden] { display: none; }
h1 { margin: 0; font-size: clamp(26px, 6vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-text); font-weight: 600; }
.eyebrow.warn { color: var(--orange); }
.eyebrow.light { color: #ffd0df; }
.text { margin: 0; color: var(--ink-dim); }

/* the mail's code box: pink to wine to aubergine */
.codebox { border-radius: 20px; padding: 20px 22px; background: linear-gradient(135deg, var(--pink), var(--wine) 62%, var(--aubergine)); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.code { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: 0.08em; word-break: break-all; }
.terms { margin: 0; font-size: 13px; color: #ffd0df; }

.form { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 13px; color: var(--ink-dim); }
input {
  min-height: 46px; padding: 0 14px; background: var(--input); border: 1px solid var(--field-line); border-radius: 12px;
  color: var(--ink); font: inherit; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase;
}
input:hover { border-color: var(--line-strong); }
.error { margin: 0; font-size: 13px; color: var(--orange); }
.error[hidden] { display: none; }

/* the privacy notice and the imprint cover this page too (the apply door's /privacy and /imprint, owner 30 Nov) */
.foot { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 20px; font-size: 12px; }
.foot a { display: inline-block; padding: 6px 0; color: var(--muted); }
.foot a:hover { color: var(--ink); }

button {
  min-height: 46px; padding: 0 24px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.primary { background: var(--pink); border: 0; color: #ffffff; }
.primary:hover { background: #ff1a67; }
.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.ghost:hover { border-color: var(--pink); }
.ghost-light { min-height: 44px; margin-top: 6px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.45); color: #ffffff; font-weight: 400; }
.ghost-light:hover { background: rgb(255 255 255 / 0.2); }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
h1:focus { outline: none; }                     /* focus moves to the heading for screen readers, never a ring */
button:disabled { opacity: 0.6; cursor: default; }

.shop { min-height: 120px; }
/* the stand-in shop of the test server */
.fake { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.fake p { margin: 0; }
.fake .row { display: flex; flex-wrap: wrap; gap: 10px; }
.fake .note { font-size: 13px; color: var(--muted); }
.noscript { position: relative; z-index: 1; color: var(--ink); text-align: center; }

@media (prefers-reduced-motion: reduce) { button { transition: none; } }
@media (max-width: 420px) { .card { padding: 26px 20px; border-radius: 20px; } .code { font-size: 24px; } }
