
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800;
  font-display: swap; src: url(/landing/fonts/bricolage-grotesque-v9-latin.woff2) format("woff2"); }
:root { color-scheme: dark;
  --night-0: #04061a; --night-1: #0b1036; --night-2: #1a1352;
  --glow-magenta: rgba(150, 38, 88, 0.55); --glow-violet: rgba(112, 72, 230, 0.3);
  --glow-blue: rgba(46, 92, 240, 0.34);
  --card: #fcfcff; --ink: #141a33; --muted: #5a6078; --line: #e1e3ef; --line-strong: #cdd1e2;
  --inset: #f2f3f9; --field: #ffffff; --placeholder: #767c96;
  --accent: #3d6be0; --accent-2: #6a52e0; --accent-hover: #3160d6; --accent-2-hover: #5d45d6;
  --accent-fg: #ffffff; --accent-shadow: rgba(61, 107, 224, 0.55); --link: #2f57c9;
  --brand-blue: #5b8bf4; --brand-violet: #9882f5; --brand-green: #4ec395; --brand-yellow: #f3c85e;
  --brand-coral-on-light: #d42e45;
  --danger: #a1231b; --danger-bg: #fdf0ef; --danger-line: #d64545;
  --warn-bg: #fff6dc; --warn-fg: #5b4300; --notice-bg: #eef3ff;
  --screen: #0b1036; --screen-fg: #7ef0c8; --screen-glow: rgba(126, 240, 200, 0.5);
  --screen-rim: rgba(126, 240, 200, 0.28); --screen-blue: rgba(91, 139, 244, 0.28);
  --caption-bg: rgba(6, 10, 38, 0.8);
  --card-rim: rgba(255, 255, 255, 0.12); --card-shadow: rgba(2, 3, 18, 0.7);
  --card-glow: rgba(91, 139, 244, 0.5);
  --qr-bg: #ffffff; --qr-fg: #000000; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night-0); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 75% 55% at 0% 24%, var(--glow-magenta), transparent 70%),
    radial-gradient(ellipse 55% 45% at 35% 0%, var(--glow-violet), transparent 70%),
    radial-gradient(ellipse 65% 50% at 90% 100%, var(--glow-blue), transparent 70%),
    linear-gradient(165deg, var(--night-2), var(--night-1) 35%, var(--night-0) 85%);
  background-color: var(--night-0); }

/* The stage: the art above the card on a phone, beside it on a wide screen. */
.stage { display: grid; min-height: 100vh; min-height: 100dvh; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "art" "sheet"; }
.art { grid-area: art; position: relative; overflow: hidden; height: clamp(280px, 84vw, 520px);
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, #000 68%, transparent); }
.art picture, .art img { display: block; width: 100%; height: 100%; }
.art img { object-fit: cover; object-position: var(--focus-x, 50%) var(--focus-y, 40%); }
/* Where each crop holds on to when it is cut: the octopus's eyes on a phone's short band
   (--focus-y), the whole moment on a wide screen's tall column (--focus-wide-y). */
.scene-work { --focus-x: 52%; --focus-y: 34%; --focus-wide-y: 40%; }
.scene-connect { --focus-x: 60%; --focus-y: 44%; --focus-wide-y: 36%; }
.scene-verify { --focus-x: 40%; --focus-y: 34%; --focus-wide-y: 42%; }
.scene-hello { --focus-x: 46%; --focus-y: 34%; --focus-wide-y: 40%; }
.scene-desk { --focus-x: 50%; --focus-y: 30%; --focus-wide-y: 48%; }
.art-caption { position: absolute; top: 18px; left: 16px; margin: 0; display: flex; align-items: center;
  gap: 12px; padding: 10px 20px 10px 16px; border-radius: 999px; background: var(--caption-bg);
  border: 1px solid var(--screen-rim); color: var(--screen-fg);
  font: 700 15px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.22em;
  text-transform: uppercase; text-shadow: 0 0 10px var(--screen-glow);
  box-shadow: 0 0 26px var(--screen-glow), inset 0 0 14px var(--screen-rim); }
.art-caption::before { content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 10px currentColor; }

/* The card. */
.sheet { grid-area: sheet; position: relative; z-index: 1; justify-self: center; align-self: start;
  width: min(100% - 32px, 480px); margin: -80px 0 40px; padding: 30px 22px 24px;
  background: var(--card); border-radius: 22px; color-scheme: light;
  box-shadow: 0 0 0 1px var(--card-rim), 0 30px 70px -18px var(--card-shadow),
    0 0 90px -28px var(--card-glow); }
.sheet::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 4px;
  border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand-blue) 0 25%,
  var(--brand-violet) 25% 50%, var(--brand-green) 50% 75%, var(--brand-yellow) 75% 100%); }
.sheet > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .stage { grid-template-columns: minmax(440px, 42fr) 58fr; grid-template-areas: "sheet art"; }
  .art { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
    mask-image: linear-gradient(to right, transparent, #000 30%); }
  .art img { object-position: var(--focus-x, 50%) var(--focus-wide-y, 40%); }
  .art-caption { top: auto; left: 34%; bottom: 14%; }
  .sheet { align-self: center; width: min(100% - 64px, 480px); margin: 48px 0; padding: 36px 36px 32px; }
}

/* Inside the card. */
.brand { text-align: center; margin: 0 0 22px; }
.wordmark { margin: 0; color: var(--ink); font: 800 34px/1 "Bricolage Grotesque", "Avenir Next", "Segoe UI",
  system-ui, sans-serif; letter-spacing: -0.035em; }
.wordmark em { font-style: normal; color: var(--brand-coral-on-light); }
.slogan { margin: 10px 0 0; color: var(--muted); font-size: 15px; letter-spacing: 0.04em; }
h1 { font-size: 25px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 10px; overflow-wrap: anywhere; }
h2 { font-size: 18px; line-height: 1.3; margin: 28px 0 8px; }
p { margin: 10px 0; }
a { color: var(--link); text-underline-offset: 2px; }
.back { margin: 0 0 12px; font-size: 14px; }
strong { font-weight: 650; }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--inset); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  margin: 18px 0; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.card > .row + form, .card > form + form { margin-top: 12px; }
.card > .row > .button { flex: 1 1 190px; }
.warning, .notice, .error { border-radius: 12px; padding: 10px 14px; border-left: 4px solid; }
.warning { background: var(--warn-bg); color: var(--warn-fg); border-color: var(--brand-yellow); }
.notice { background: var(--notice-bg); border-color: var(--brand-blue); }
.error { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.code { font: 700 1em/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em;
  white-space: nowrap; padding: 1px 8px; border-radius: 8px; background: var(--screen);
  color: var(--screen-fg); }
p.code { display: block; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; font-size: 28px;
  text-align: center; text-shadow: 0 0 12px var(--screen-glow);
  box-shadow: inset 0 0 0 1px var(--screen-rim), inset 0 0 28px var(--screen-blue); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 8px 0 14px; }
dt { color: var(--muted); } dd { margin: 0; overflow-wrap: anywhere; }
form { margin: 10px 0; } .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
input[type=text], input[type=email] { font: inherit; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); min-width: 0;
  flex: 1 1 200px; }
form.row > button { flex: 1 0 auto; }
input::placeholder { color: var(--placeholder); }
button, .button { font: inherit; font-weight: 600; line-height: 1.25; padding: 11px 18px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink);
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  justify-content: center; text-align: center; }
button:hover, .button:hover { background: var(--inset); border-color: var(--muted); }
button.primary, .button.primary { border-color: transparent; color: var(--accent-fg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 22px -10px var(--accent-shadow); }
button.primary:hover, .button.primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-2-hover)); }
button.danger { color: var(--danger); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
input:focus-visible { outline-offset: 1px; border-color: var(--link); }
header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--inset);
  font-size: 14px; }
header form { margin: 0; } header button { padding: 6px 12px; font-size: 14px; border-radius: 9px; }
header .muted { flex: 1 1 12em; min-width: 0; overflow-wrap: anywhere; }
ul.machines { list-style: none; padding: 0; margin: 0; }
ul.machines li { display: flex; gap: 12px; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line); }
ul.machines li:first-child { border-top: 0; }

/* The steps of /mfa (task 201). */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 16px 0; }
ol.steps > li { counter-increment: step; position: relative; background: var(--inset);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 16px 58px; margin: 12px 0; }
ol.steps > li::before { content: counter(step); position: absolute; left: 14px; top: 15px;
  width: 30px; height: 30px; border-radius: 50%; color: var(--accent-fg); font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; }
ol.steps h2 { margin: 3px 0 6px; font-size: 18px; }
.qr-box { display: flex; justify-content: center; margin: 12px 0; }
.qr { display: block; width: 240px; max-width: 100%; height: auto; border-radius: 12px; padding: 8px;
  background: var(--qr-bg); color: var(--qr-fg); border: 1px solid var(--line); }
.key { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--field); font: 600 17px/1.4 ui-monospace, Menlo, monospace; letter-spacing: 1px;
  overflow-wrap: anywhere; user-select: all; }
input.otp { flex: 1 1 9em; font: 600 26px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 4px;
  text-align: center; }
input.otp::placeholder { font-weight: 400; opacity: 0.5; }
input.user-code { font: 600 22px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 2px;
  text-transform: uppercase; }
.phone-only { display: none; }
details.other { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
details.other > summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
details.other > p { margin: 8px 0 0; }
@media (pointer: coarse) { .phone-only { display: block; } }

/* Slight motion: the card rises, the scene breathes, the screen's light blinks. */
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheet-rise 0.5s ease-out both; }
  .art img { transform-origin: 60% 40%; animation: art-drift 26s ease-in-out infinite alternate; }
  .art-caption::before { animation: caption-blink 1.8s ease-in-out infinite; }
  button, .button { transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; }
}
@keyframes sheet-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes art-drift { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes caption-blink { 50% { opacity: 0.35; } }
