/* ============================================================
   WireWizard landing page (login + create account).
   Art: assets/images/landing/ (cut from the approved design sheets;
   text and buttons that were painted into them are real HTML here).
   ============================================================ */
:root {
  --ll-navy: #03101a;
  --ll-navy-2: #061a26;
  --ll-gold: #f2c14e;
  --ll-gold-2: #c98d1c;
  --ll-gold-line: rgba(232, 184, 74, 0.85);
  --ll-cyan: #3fe3ff;
  --ll-ink: #eef3f7;
  --ll-muted: #b9c6cf;
  --ll-serif: "Cinzel", Georgia, "Times New Roman", serif;
  --ll-sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ll-nav-h: 78px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--ll-nav-h) + 16px); }
body.ll {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--ll-navy);
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.ll img { max-width: 100%; }
:where(.ll) :where(h1, h2, h3, p) { margin: 0; }
.ll a { color: inherit; }
.ll-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ll-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ll-gold); color: #1a1003; font-weight: 800; text-decoration: none; }
.ll-skip:focus { top: 12px; }
.ll-ico { width: 1.15em; height: 1.15em; flex: none; }
.ll :focus-visible { outline: 2px solid var(--ll-cyan); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.ll-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  font: 800 1.02rem/1 var(--ll-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.ll-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.ll-btn:active { transform: translateY(0); }
.ll-btn:disabled { cursor: progress; filter: grayscale(0.4) brightness(0.85); transform: none; }
/* gold, cut corners (the login / create account buttons in the design) */
.ll-btn--gold {
  color: #1d1203;
  background: linear-gradient(180deg, #ffe08a 0%, #f6c443 45%, #e1a523 100%);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(150, 90, 10, 0.5);
}
.ll-btn--gold:hover { filter: brightness(1.08) drop-shadow(0 0 10px rgba(255, 200, 70, 0.6)); }
/* ember plate: dark wood with a glowing gold rim (Play Now, Explore the Story, nav Login) */
.ll-btn--ember, .ll-nav-login {
  padding: 0 34px;
  color: #fff3d6;
  background: none;
  border: 1px solid transparent;
  border-image: url("../../images/ui/battlefields/ribbon.png") 22 40 fill / 16px 30px / 0 stretch;
  filter: drop-shadow(0 0 8px rgba(255, 170, 40, 0.45));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.ll-btn--ember:hover, .ll-nav-login:hover { filter: brightness(1.15) drop-shadow(0 0 14px rgba(255, 180, 50, 0.75)); }
.ll-btn--ember .ll-ico, .ll-nav-login .ll-ico { color: var(--ll-gold); }
/* outline */
.ll-btn--ghost {
  color: var(--ll-ink);
  background: rgba(3, 14, 22, 0.55);
  border: 1.5px solid rgba(235, 240, 245, 0.8);
  border-radius: 10px;
}
.ll-btn--ghost:hover { border-color: var(--ll-gold); color: #fff; }
.ll-btn--wide { width: 100%; }

/* ---------------------------------------------------------------- navigation */
.ll-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 8px 16px 0;
  pointer-events: none;
  transition: background 0.3s ease;
}
.ll-nav.is-scrolled { background: linear-gradient(180deg, rgba(2, 8, 14, 0.85), rgba(2, 8, 14, 0)); }
.ll-nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1340px;
  height: var(--ll-nav-h);
  margin: 0 auto;
  /* the painted bar: logo + left corner (525px), clean middle, right corner (104px) */
  border-style: solid;
  border-color: transparent;
  border-width: 0 calc(var(--ll-nav-h) * 104 / 209) 0 calc(var(--ll-nav-h) * 525 / 209);
  border-image: url("../../images/landing/hdr-bar.png") 0 104 0 525 fill / 0 calc(var(--ll-nav-h) * 104 / 209) 0 calc(var(--ll-nav-h) * 525 / 209) / 0 stretch;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  pointer-events: auto;
}
.ll-logo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ll-nav-h) * -525 / 209);
  width: calc(var(--ll-nav-h) * 500 / 209);
}
.ll-nav-gem {
  position: absolute;
  left: 50%;
  top: calc(var(--ll-nav-h) * -70 / 209);
  width: calc(var(--ll-nav-h) * 272 / 209);
  height: calc(var(--ll-nav-h) * 330 / 209);
  transform: translateX(-50%);
  background: url("../../images/landing/hdr-gem.png") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  pointer-events: none;
}
.ll-links { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 46px); flex: 1; }
.ll-links a {
  position: relative;
  padding: 6px 2px;
  color: #f5f7fa;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease;
}
.ll-links a::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffb627, transparent);
  box-shadow: 0 0 10px rgba(255, 170, 40, 0.8);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ll-links a:hover { color: var(--ll-gold); }
.ll-links a.is-active { color: #ffc95c; }
.ll-links a.is-active::after, .ll-links a:hover::after { opacity: 1; transform: none; }
.ll-nav-login { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 26px; font-weight: 800; text-decoration: none; white-space: nowrap; }

/* ---------------------------------------------------------------- hero */
.ll-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: min(100vh, 980px);
  padding: calc(var(--ll-nav-h) + 40px) clamp(16px, 4vw, 56px) 56px;
  isolation: isolate;
}
.ll-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.88) 0%, rgba(3, 10, 18, 0.45) 34%, rgba(3, 10, 18, 0.1) 55%, rgba(3, 10, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(3, 10, 18, 0.2) 0%, rgba(3, 10, 18, 0) 50%, var(--ll-navy) 100%),
    url("../../images/landing/bg-portal.jpg") 68% 0 / cover no-repeat;
  animation: ll-bg 30s ease-in-out infinite alternate;
}
@keyframes ll-bg { from { transform: scale(1.02); } to { transform: scale(1.07); } }
.ll-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.95fr) 400px;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}
.ll-kicker { display: flex; align-items: center; gap: 10px; color: var(--ll-gold); font: 700 0.95rem var(--ll-serif); letter-spacing: 0.22em; text-transform: uppercase; }
.ll-kicker::before, .ll-kicker::after { content: ""; width: 34px; height: 1px; background: var(--ll-gold-line); }
.ll-title {
  margin-top: 8px;
  font: 800 clamp(2.4rem, 3.7vw, 3.7rem)/1 var(--ll-serif);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff1b8 0%, #ffcc4d 45%, #d28a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 50, 0, 0.9)) drop-shadow(0 0 18px rgba(255, 170, 40, 0.35));
}
.ll-subtitle { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: #7ef0ff; font: 700 clamp(0.95rem, 1.45vw, 1.4rem) var(--ll-serif); letter-spacing: 0.2em; white-space: nowrap; text-transform: uppercase; text-shadow: 0 0 14px rgba(63, 227, 255, 0.55); }
.ll-subtitle::before, .ll-subtitle::after { content: ""; flex: 0 0 34px; height: 1px; background: var(--ll-gold-line); }
.ll-lead { max-width: 470px; margin-top: 20px; color: #e4ebf0; font-size: 1.08rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.ll-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ll-actions--center { justify-content: center; }
.ll-highlights { display: flex; gap: clamp(16px, 3vw, 34px); margin: 30px 0 0; padding: 0; list-style: none; }
.ll-highlights li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 0.88rem; line-height: 1.25; color: #e8eef2; }
.ll-highlights img { width: 70px; height: 70px; filter: drop-shadow(0 0 10px rgba(63, 227, 255, 0.35)); }

.ll-hero-art { position: relative; align-self: end; display: flex; justify-content: center; pointer-events: none; }
.ll-hero-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 80%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 227, 255, 0.28), transparent 65%);
  animation: ll-portal 5s ease-in-out infinite;
}
@keyframes ll-portal { 0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.ll-hero-art img { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - var(--ll-nav-h) - 60px); height: auto; object-fit: contain; animation: ll-float 7s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
@keyframes ll-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* floating sparks */
.ll-motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ll-motes i { position: absolute; bottom: 10%; width: 4px; height: 4px; border-radius: 50%; background: #9ff4ff; box-shadow: 0 0 8px 2px rgba(63, 227, 255, 0.8); opacity: 0; animation: ll-mote 9s ease-in infinite; }
.ll-motes i:nth-child(1) { left: 8%; animation-delay: 0s; }
.ll-motes i:nth-child(2) { left: 22%; animation-delay: -2s; }
.ll-motes i:nth-child(3) { left: 38%; animation-delay: -4s; background: #e6b3ff; box-shadow: 0 0 8px 2px rgba(190, 110, 255, 0.8); }
.ll-motes i:nth-child(4) { left: 50%; animation-delay: -6s; }
.ll-motes i:nth-child(5) { left: 61%; animation-delay: -1s; }
.ll-motes i:nth-child(6) { left: 72%; animation-delay: -3s; background: #ffe08a; box-shadow: 0 0 8px 2px rgba(255, 200, 70, 0.8); }
.ll-motes i:nth-child(7) { left: 84%; animation-delay: -5s; }
.ll-motes i:nth-child(8) { left: 94%; animation-delay: -7s; }
@keyframes ll-mote { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-60vh) translateX(20px); } }

/* ---------------------------------------------------------------- login / create account panel */
.ll-auth {
  --k: 0.4246;                                   /* 400px wide = the 942px frame art x 0.4246 */
  position: relative;
  width: calc(942px * var(--k));
  justify-self: end;
  padding: calc(140px * var(--k) + 2px) calc(60px * var(--k) + 18px) calc(100px * var(--k) + 6px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 190, 60, 0.18));
  isolation: isolate;
}
/* the gold frame (hollow art) sits on top; the dark glass sits behind the form */
.ll-auth::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-style: solid;
  border-color: transparent;
  border-width: calc(140px * var(--k)) calc(60px * var(--k)) calc(100px * var(--k));
  border-image: url("../../images/landing/login-frame.png") 140 60 100 / calc(140px * var(--k)) calc(60px * var(--k)) calc(100px * var(--k)) / 0 stretch;
  pointer-events: none;
}
.ll-auth::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(92px * var(--k)) calc(40px * var(--k)) calc(84px * var(--k));
  border-radius: 10px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(30, 80, 100, 0.35), transparent 70%),
    linear-gradient(180deg, #071d29, #03111a 70%, #04141d);
}
.ll-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 1px solid rgba(160, 190, 200, 0.25); }
.ll-auth-tabs button {
  position: relative;
  padding: 10px 6px 12px;
  border: 0;
  background: none;
  color: #e9eef2;
  font: 800 1.06rem var(--ll-sans);
  cursor: pointer;
}
.ll-auth-tabs button::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffb627 30%, #ffd66b 50%, #ffb627 70%, transparent);
  box-shadow: 0 0 12px rgba(255, 170, 40, 0.85);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ll-auth-tabs button[aria-selected="true"] { color: #ffd36a; text-shadow: 0 0 12px rgba(255, 190, 70, 0.55); }
.ll-auth-tabs button[aria-selected="true"]::after { opacity: 1; }
.ll-auth-tabs button:hover { color: #ffe2a0; }

.ll-form { display: flex; flex-direction: column; gap: 14px; }
.ll-form[hidden] { display: none; }
.ll-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(190, 210, 220, 0.42);
  border-radius: 12px;
  background: rgba(2, 12, 18, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ll-field:focus-within { border-color: var(--ll-cyan); box-shadow: 0 0 0 3px rgba(63, 227, 255, 0.18); }
.ll-field > .ll-ico { color: #d9e3ea; width: 20px; height: 20px; }
.ll-field input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font: 600 1rem var(--ll-sans);
}
.ll-field input:focus-visible { outline: none; }
.ll-field input::placeholder { color: #c3ced6; opacity: 0.9; }
.ll-field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #04131c inset; caret-color: #fff; }
.ll-eye { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -6px; padding: 0; border: 0; border-radius: 8px; background: none; color: #e6edf2; cursor: pointer; }
.ll-eye .ll-ico { width: 21px; height: 21px; }
.ll-eye:hover, .ll-eye.is-on { color: var(--ll-cyan); }
.ll-eye.is-on::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-40deg); border-radius: 2px; }
.ll-form .ll-btn--wide { min-height: 50px; margin-top: 4px; font-size: 1.1rem; }
.ll-or { display: flex; align-items: center; gap: 12px; color: #e6edf2; font-weight: 700; }
.ll-or::before, .ll-or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ll-gold-line)); }
.ll-or::after { background: linear-gradient(90deg, var(--ll-gold-line), transparent); }
.ll-msg { padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; line-height: 1.35; }
.ll-msg--err { background: rgba(255, 70, 80, 0.14); border: 1px solid rgba(255, 110, 110, 0.6); color: #ffd2d2; }
.ll-msg--ok { background: rgba(60, 220, 140, 0.14); border: 1px solid rgba(90, 230, 160, 0.6); color: #c9ffe2; }
.ll-msg--dev { background: rgba(255, 190, 60, 0.12); border: 1px dashed rgba(255, 200, 90, 0.7); color: #ffe6b0; font-weight: 600; }
.ll-msg--dev b { letter-spacing: 0.18em; color: #fff; }

/* Create Account, step 2: the emailed code */
.ll-hint { margin: -4px 0 0; color: #c3ced6; font-size: 0.88rem; line-height: 1.4; }
.ll-verify-head { display: flex; gap: 12px; align-items: flex-start; color: #e6edf2; }
.ll-verify-head > .ll-ico { flex: none; width: 30px; height: 30px; margin-top: 2px; color: var(--ll-cyan); }
.ll-verify-head strong { display: block; margin-bottom: 4px; color: #ffd36a; font: 700 1.15rem var(--ll-serif, serif); }
.ll-verify-head p { margin: 0; font-size: 0.93rem; line-height: 1.45; }
.ll-verify-head b { color: #fff; overflow-wrap: anywhere; }
.ll-field--code input { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.35em; }
.ll-field--code input::placeholder { font-size: 1rem; font-weight: 600; letter-spacing: normal; }
.ll-verify-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.ll-link { min-height: 36px; padding: 6px 2px; border: 0; background: none; color: var(--ll-cyan); font: 700 0.95rem var(--ll-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ll-link:hover { color: #fff; }
.ll-link:disabled { opacity: 0.6; cursor: default; }
.ll-link.ll-forgot-link { color: #9aa9b5; font-weight: 500; text-decoration: none; }
.ll-link.ll-forgot-link:hover { color: #b4c0c9; }

/* ---------------------------------------------------------------- shared section bits */
.ll-divider { height: 64px; margin: -32px 0; position: relative; z-index: 2; background: url("../../images/landing/divider.png") center / auto 100% no-repeat; pointer-events: none; }
.ll-section { position: relative; padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 56px); }
.ll-h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.15 var(--ll-serif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #ffd36a;
  text-shadow: 0 2px 0 rgba(80, 45, 0, 0.9), 0 0 18px rgba(255, 180, 50, 0.35);
}
.ll-h2::before, .ll-h2::after { content: ""; flex: 0 1 140px; height: 2px; background: linear-gradient(90deg, transparent, var(--ll-gold-line)); }
.ll-h2::after { background: linear-gradient(90deg, var(--ll-gold-line), transparent); }
.ll-section-lead { max-width: 640px; margin: -18px auto 30px; text-align: center; color: var(--ll-muted); }

/* ---------------------------------------------------------------- features */
.ll-features { background: radial-gradient(70% 60% at 50% 0%, rgba(20, 80, 100, 0.25), transparent 70%), var(--ll-navy); }
.ll-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); max-width: 1280px; margin: 0 auto; }
.ll-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #c99536;
  border-radius: 6px;
  background: linear-gradient(180deg, #061922, #04121a);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 210, 120, 0.15), 0 12px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ll-card::before, .ll-card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #ffd36a; pointer-events: none; }
.ll-card::before { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.ll-card::after { right: 4px; bottom: 4px; border-left: 0; border-top: 0; }
.ll-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 22px rgba(63, 227, 255, 0.25), 0 16px 30px rgba(0, 0, 0, 0.5); }
.ll-card-art { display: block; width: 100%; aspect-ratio: 450 / 186; height: auto; object-fit: cover; border-bottom: 1px solid rgba(201, 149, 54, 0.6); }
.ll-card-body { display: flex; gap: 14px; padding: 18px 18px 22px; }
.ll-card-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(63, 227, 255, 0.35); background: rgba(63, 227, 255, 0.06); color: #ffcf55; }
.ll-card-icon .ll-ico { width: 26px; height: 26px; }
.ll-card:first-child .ll-card-icon { color: #9ff4ff; }
.ll-card h3 { color: #ffd36a; font: 800 1.12rem/1.2 var(--ll-sans); }
.ll-card p { margin-top: 8px; color: #dbe4ea; font-size: 0.95rem; }

/* ---------------------------------------------------------------- story */
.ll-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 620px) minmax(0, 1fr);
  align-items: center;
  min-height: 460px;
  overflow: hidden;
  border-top: 2px solid var(--ll-gold-line);
  border-bottom: 2px solid var(--ll-gold-line);
  background: linear-gradient(180deg, rgba(10, 6, 30, 0.6), rgba(10, 6, 30, 0.6)), url("../../images/landing/bg-story.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 30px rgba(63, 227, 255, 0.12);
}
.ll-story-art { position: relative; width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.ll-story-art--left { grid-column: 1; grid-row: 1; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); object-position: 60% 50%; }
.ll-story-art--right { grid-column: 3; grid-row: 1; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); object-position: 40% 40%; }
.ll-story-copy { grid-column: 2; grid-row: 1; position: relative; z-index: 1; padding: 48px 12px; text-align: center; }
.ll-story-copy .ll-h2 { margin-bottom: 20px; }
.ll-story-copy p { margin: 0 auto 26px; max-width: 560px; color: #eef1f6; font-size: 1.06rem; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }

/* ---------------------------------------------------------------- how it works */
.ll-how { background: radial-gradient(60% 70% at 50% 40%, rgba(20, 70, 90, 0.25), transparent 70%), var(--ll-navy); }
.ll-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.ll-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ll-steps li + li::before {
  content: "";
  position: absolute;
  top: 54px;
  right: calc(50% + 72px);
  width: calc(100% - 120px);
  height: 2px;
  background: linear-gradient(90deg, rgba(63, 227, 255, 0), #3fe3ff);
  box-shadow: 0 0 8px rgba(63, 227, 255, 0.8);
}
.ll-steps li + li::after { content: ""; position: absolute; top: 49px; right: calc(50% + 66px); border: 6px solid transparent; border-left: 9px solid #3fe3ff; filter: drop-shadow(0 0 4px rgba(63, 227, 255, 0.9)); }
.ll-steps img { width: 110px; height: 110px; filter: drop-shadow(0 0 14px rgba(63, 227, 255, 0.3)); transition: transform 0.3s ease; }
.ll-steps li:hover img { transform: scale(1.06); }
.ll-steps h3 { margin-top: 14px; font: 800 1.2rem var(--ll-sans); color: #fff; }
.ll-steps p { margin-top: 6px; max-width: 240px; color: var(--ll-muted); }

/* ---------------------------------------------------------------- gallery */
.ll-gallery { background: linear-gradient(180deg, var(--ll-navy), #050a1c 60%, var(--ll-navy)); }
.ll-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 1180px; margin: 0 auto; }
.ll-shot { --acc: #3fe3ff; position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border: 2px solid #c99536; border-radius: 8px; background: #04101a; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.ll-shot[data-accent="violet"] { --acc: #c26bff; }
.ll-shot[data-accent="red"] { --acc: #ff5a4a; }
.ll-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.ll-shot:hover img { transform: scale(1.05); }
.ll-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 8, 16, 0.95)); pointer-events: none; }
.ll-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; text-align: center; }
.ll-shot small { color: var(--acc); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.ll-shot strong { font: 700 1.35rem var(--ll-serif); text-transform: uppercase; color: #f7ecd2; text-shadow: 0 0 14px color-mix(in srgb, var(--acc) 60%, transparent); }
.ll-shot span { color: #d5dbe3; font-size: 0.9rem; line-height: 1.4; }

/* ---------------------------------------------------------------- about */
.ll-about-box { max-width: 820px; margin: 0 auto; padding: 28px 32px; border: 1px solid rgba(201, 149, 54, 0.8); border-radius: 10px; background: rgba(5, 22, 32, 0.75); box-shadow: inset 0 0 30px rgba(63, 227, 255, 0.06); text-align: center; color: #dfe7ec; font-size: 1.04rem; }
.ll-about-box p + p { margin-top: 12px; }

/* ---------------------------------------------------------------- final call to action */
.ll-cta {
  position: relative;
  padding: clamp(60px, 8vw, 110px) clamp(16px, 4vw, 56px);
  background: url("../../images/landing/bg-glow.jpg") center bottom / cover no-repeat;
}
.ll-cta-box { max-width: 900px; margin: 0 auto; text-align: center; }
.ll-cta h2 {
  display: inline-block;
  padding: 18px 56px;
  border: 1px solid transparent;
  border-image: url("../../images/ui/battlefields/ribbon.png") 22 40 fill / 22px 40px / 0 stretch;
  font: 700 clamp(1.3rem, 3vw, 2.3rem)/1.2 var(--ll-serif);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffd36a;
  text-shadow: 0 2px 0 rgba(80, 45, 0, 0.9), 0 0 16px rgba(255, 180, 50, 0.4);
  filter: drop-shadow(0 0 14px rgba(63, 227, 255, 0.25));
}
.ll-cta p { margin-top: 18px; color: #eef2f5; font-size: 1.12rem; }
.ll-cta .ll-actions { margin-top: 26px; }
.ll-cta .ll-btn { min-width: 250px; }

/* ---------------------------------------------------------------- footer */
.ll-footer { padding: 26px 16px 34px; text-align: center; background: #020a10; }
.ll-footer-line { height: 52px; max-width: 900px; margin: 0 auto 6px; background: url("../../images/landing/divider.png") center / 100% auto no-repeat; }
.ll-footer p { color: #dde5ea; font-size: 0.95rem; }

/* ---------------------------------------------------------------- reveal on scroll */
.ll-reveal.is-waiting { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ll-reveal.is-waiting.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1180px) {
  .ll-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; }
  .ll-hero-art { position: absolute; left: 34%; bottom: -56px; width: 46%; z-index: -1; opacity: 0.55; }
  .ll-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-story { grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.4fr) minmax(0, 0.8fr); }
}
@media (max-width: 960px) {
  .ll-links { gap: 16px; }
  .ll-links a { font-size: 0.92rem; }
  .ll-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .ll-steps li + li::before, .ll-steps li + li::after { display: none; }
}
@media (max-width: 860px) {
  :root { --ll-nav-h: 64px; }
  .ll-links { display: none; }
  .ll-nav-bar { justify-content: flex-end; }
  .ll-hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ll-hero-copy { text-align: center; max-width: 620px; }
  .ll-kicker, .ll-subtitle, .ll-actions, .ll-highlights { justify-content: center; }
  .ll-lead { margin-left: auto; margin-right: auto; }
  .ll-auth { justify-self: center; }
  .ll-hero-art { display: none; }
  .ll-story { grid-template-columns: 1fr; }
  .ll-story-art { grid-column: 1; grid-row: 1; min-height: 0; height: 100%; opacity: 0.35; -webkit-mask-image: none; mask-image: none; }
  .ll-story-art--right { display: none; }
  .ll-story-copy { grid-column: 1; padding: 56px 18px; }
  .ll-shots { grid-template-columns: 1fr; max-width: 460px; }
}
/* ---------------------------------------------------------------- phones */
@media (max-width: 520px) {
  .ll-nav { padding: 6px 8px 0; }
  .ll-nav-login { padding: 0 16px; min-height: 40px; font-size: 0.92rem; }
  .ll-hero { padding-top: calc(var(--ll-nav-h) + 26px); }
  /* the sides clear the frame art (60px x --k) so no field or text sits under the gold border */
  .ll-auth { --k: 0.36; width: min(100%, calc(942px * 0.36)); padding-left: calc(60px * var(--k) + 9px); padding-right: calc(60px * var(--k) + 9px); }
  .ll-form .ll-btn--wide { padding: 0 12px; font-size: 0.98rem; }
  .ll-highlights img { width: 58px; height: 58px; }
  .ll-cards { grid-template-columns: 1fr; }
  .ll-steps { grid-template-columns: 1fr; }
  .ll-btn { padding: 0 22px; }
  .ll-cta .ll-btn { min-width: 0; width: 100%; }
  .ll-cta h2 { padding: 14px 30px; }
  .ll-h2::before, .ll-h2::after { flex-basis: 34px; }
}
@media (max-width: 360px) {
  .ll-auth { --k: 0.33; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ll-hero-bg, .ll-hero-art img, .ll-hero-art::before, .ll-motes i { animation: none !important; }
  .ll-motes { display: none; }
  .ll-btn, .ll-card, .ll-shot img, .ll-steps img { transition: none; }
  .ll-reveal.is-waiting { opacity: 1; transform: none; }
}

/* Login / Create Account rules (landing.js): a message under the field, a red edge, the password checklist */
.ll-field.is-bad { border-color: rgba(255, 110, 110, 0.85); box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.16); }
.ll-err { margin: -8px 2px 0; color: #ffb4b4; font-size: 0.85rem; font-weight: 700; line-height: 1.35; }
.ll-err::before { content: "! "; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: #e04848; color: #fff; font-size: 0.7rem; vertical-align: 1px; }
.ll-err[hidden] { display: none; }
.ll-pass-rules { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -6px 2px 0; padding: 0; list-style: none; color: #aebbc4; font-size: 0.82rem; font-weight: 700; }
.ll-pass-rules li::before { content: "○"; margin-right: 5px; color: #7d8b94; }
.ll-pass-rules li.is-ok { color: #9ff0c4; }
.ll-pass-rules li.is-ok::before { content: "✓"; color: #5ee39a; }
