/* FRONT DOOR (Daddy 10-25, approved mock A "velvet hero"). The beta's /sign-in: velvet page, the original Ark mark, small gold ARK, headline, one line, gold Sign in,
   outline Create account, one quiet demo link. Tokens are the app's own ALL VELVET + look tokens (src/static/app.css); fonts are the app's own faces. Tokens and classes only (CSP: no inline style). */
@font-face { font-family: "Fraunces"; font-weight: 500 900; font-display: swap; src: url("/static/fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/static/fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/static/fonts/plus-jakarta-sans-800.woff2") format("woff2"); }

.fd-body {
  --look-page: #22113F; --look-ink: #FAF7F2; --look-ink2: #C3ADF5;
  --look-gold-hi: #F6C552; --look-gold: #E9A825;
  --look-gold-grad: linear-gradient(180deg, #FBD978 0%, #F6C552 20%, #E9A825 60%, #D88F17 100%);
  --look-coin-sh: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(120, 70, 0, .35), 0 1px 0 rgba(120, 70, 0, .55);
  --look-ink-on-gold: #22113F; --look-o-bd: #C3ADF5;
  --fd-nap: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--look-ink);
  background: var(--fd-nap), radial-gradient(120% 70% at 50% 0%, #3A1F73 0%, #2A1554 45%, #22113F 80%) var(--look-page);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.fd-body *, .fd-body *::before, .fd-body *::after { box-sizing: border-box; }
.fd-screen {
  position: relative; display: flex; flex-direction: column; width: 100%; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 0 16px; overflow: hidden;
}
/* gold light, never gold mud: the halo is added light (screen), so purple + gold reads as lit. Daddy 10-25: it is anchored to the mark, not to the screen. .fd-emblem is the mark's own box;
   .fd-glow (a sibling of .fd-mark inside it) fills that box, and its two pseudo layers are centred on the mark with transform: a tight warm core (to ~1.6x the mark's radius) and a wide faint bloom. */
.fd-emblem { position: relative; width: 128px; height: 128px; margin-bottom: 40px; }
.fd-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; }
.fd-glow::before, .fd-glow::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; }
/* Static (reduced-motion) values are the MIDPOINT of each breath; the animation below swings around them. Colour stops are Lux's 10-25 round-2 values (pale gold screened over purple greyed to mauve; these read gold). */
.fd-glow::before { width: 170%; height: 170%; opacity: .725; transform: translate(-50%, -50%) scale(1.03);
  background: radial-gradient(closest-side, rgba(246, 197, 82, .80) 0%, rgba(246, 197, 82, .62) 30%, rgba(246, 197, 82, .38) 55%, rgba(246, 197, 82, .16) 75%, rgba(246, 197, 82, .05) 90%, rgba(246, 197, 82, 0) 100%); }
.fd-glow::after { width: 300%; height: 300%; opacity: .675; transform: translate(-50%, -50%) scale(1.05);
  background: radial-gradient(closest-side, rgba(233, 168, 37, .34) 0%, rgba(233, 168, 37, .20) 34%, rgba(233, 168, 37, .08) 66%, rgba(233, 168, 37, 0) 100%); }
.fd-hero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 48px 8px 56px; }
.fd-mark { position: relative; z-index: 1; display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 24px rgba(5, 2, 15, .45)); }
.fd-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--look-gold-hi); }
.fd-h1 { margin: 0 0 16px; max-width: 300px; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; color: var(--look-ink); text-wrap: balance; }
.fd-lede { margin: 0; max-width: 320px; font-size: 17px; line-height: 1.5; color: var(--look-ink2); text-wrap: balance; }
.fd-foot { position: relative; padding: 24px 8px; }
.fd-flash { margin: 0 0 16px; text-align: center; font-size: 17px; color: var(--look-ink2); }
.fd-stack { display: flex; flex-direction: column; gap: 16px; }
.fd-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border-radius: 12px; font-family: inherit; font-size: 17px; font-weight: 800; text-decoration: none; }
.fd-btn-gold { background: var(--look-gold-grad); color: var(--look-ink-on-gold); box-shadow: var(--look-coin-sh), 0 10px 24px rgba(233, 168, 37, .22); }
.fd-btn-outline { background: rgba(255, 255, 255, .04); border: 1px solid var(--look-o-bd); color: #FFFFFF; }
/* Create account press (Daddy 10-25): the outline fills with EXACTLY the Sign in gradient (--look-gold-grad + the same coin shading) in one 420 ms eased left-to-right sweep with a soft edge,
   and the label takes Sign in's ink. ark-front-door.js adds .fd-go on press, waits for fd-press-ink to end (cap 500 ms), then follows the link. Transform-free: a mask sweeps the fill in.
   No bounce, no rainbow, no glitter. Reduced motion: the filled state is simply there, with no animation. */
.fd-press { position: relative; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.fd-press::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none;
  background: var(--look-gold-grad); box-shadow: var(--look-coin-sh);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 56%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 56%, transparent 100%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.fd-press.fd-go { animation: fd-press-ink 420ms cubic-bezier(.4, 0, .2, 1) forwards; }
.fd-press.fd-go::before { opacity: 1; animation: fd-press-fill 420ms cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes fd-press-fill {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes fd-press-ink {
  0%, 44% { color: #FFFFFF; }
  52%, 100% { color: var(--look-ink-on-gold); }
  0% { border-color: var(--look-o-bd); box-shadow: 0 0 0 rgba(233, 168, 37, 0); }
  to { border-color: transparent; box-shadow: 0 1px 0 rgba(120, 70, 0, .55), 0 10px 24px rgba(233, 168, 37, .22); }
}
@media (prefers-reduced-motion: reduce) {
  .fd-press.fd-go { animation: none; color: var(--look-ink-on-gold); border-color: transparent; box-shadow: 0 1px 0 rgba(120, 70, 0, .55), 0 10px 24px rgba(233, 168, 37, .22); }
  .fd-press.fd-go::before { animation: none; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.fd-demo {
  display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--look-ink2);
  text-decoration: underline; text-decoration-color: rgba(195, 173, 245, .45); text-underline-offset: 4px;
}
.fd-btn:focus-visible, .fd-demo:focus-visible { outline: 3px solid var(--look-gold-hi); outline-offset: 3px; }
@media (max-height: 640px) { .fd-hero { padding-top: 24px; padding-bottom: 32px; } .fd-emblem { width: 96px; height: 96px; margin-bottom: 24px; } }

/* Daddy 10-25 ("premium, not cheesy ... it's supposed to breathe"; round 2: a person must SEE it): the halo breathes on a 5.5 s ease-in-out loop, like slow light, never a pulse. Core: opacity .45 to 1.0
   while it swells .94 to 1.12; the wide bloom goes .35 to 1.0 and .90 to 1.20, and lags the core by .9 s so the light has depth. Transform + opacity only: nothing moves in the layout and the mark
   stays still and sharp. Reduced motion: no animation; the rules above hold the halo still at the midpoint. */
@keyframes fd-core-breathe {
  0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes fd-bloom-breathe {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.90); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.20); }
}
@media (prefers-reduced-motion: no-preference) {
  .fd-glow::before { animation: fd-core-breathe 5.5s ease-in-out infinite; }
  .fd-glow::after { animation: fd-bloom-breathe 5.5s ease-in-out -.9s infinite; }
}
