/* 7th Sentinel standee sign-up. Same tokens as the main site (src/css/style.css). */
:root {
  --ink: #07090d;
  --panel: rgba(12, 16, 22, .86);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --text: #ece8e0;
  --muted: #959aa6;
  --accent: #f0962e;
  --accent-2: #ffc46b;
  --crimson: #c8323c;
  --display: "Cinzel", "Times New Roman", serif;
  --tech: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow-x: hidden;
}
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Seris in the rain, fading into the panel */
.bg {
  position: fixed; inset: 0; z-index: -2;
  /* full width, top aligned: keeps Seris's face above the logo on tall phones */
  background: var(--ink) url("assets/hero_mobile.webp") center top / 100% auto no-repeat;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,0) 28%, rgba(7,9,13,.6) 48%, var(--ink) 66%);
}
.rain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .18;
  background-image: repeating-linear-gradient(105deg, transparent 0 14px, rgba(255,255,255,.5) 14px 15px, transparent 15px 46px);
  background-size: 300px 300px;
  animation: rain .55s linear infinite;
}
@keyframes rain { to { background-position: -60px 300px; } }
@media (prefers-reduced-motion: reduce) { .rain { animation: none; } }

.card {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 0 16px calc(20px + env(safe-area-inset-bottom));
  text-align: center;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.logo { width: min(250px, 62vw); height: auto; margin: 0 auto -4px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.8)); }
.kicker { margin: 0 0 14px; font: 700 12px/1 var(--tech); letter-spacing: .42em; color: var(--accent); }
h1 { margin: 0 0 6px; font: 900 clamp(26px, 7.4vw, 34px)/1.15 var(--display); letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.lead { margin: 0 auto 18px; max-width: 360px; color: #c9c4ba; font-size: 15px; }

form { display: grid; gap: 12px; }
.field input {
  width: 100%; height: 54px; padding: 0 18px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line-2); clip-path: var(--cut);
  font: 500 17px/1 var(--body); text-align: center;
  outline: none; transition: border-color .2s, box-shadow .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.field input::placeholder { color: #6f7480; }
.field input:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field.is-bad input { border-color: var(--crimson); box-shadow: inset 0 0 0 1px var(--crimson); }

.btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; padding: 0 18px;
  border: 1px solid var(--accent); clip-path: var(--cut);
  background: rgba(240,150,46,.06); color: var(--accent);
  font: 700 18px/1 var(--tech); letter-spacing: .32em; text-decoration: none;
  cursor: pointer; transition: transform .15s, filter .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn span { margin-right: -.32em; }
.btn--solid { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #120a02; border-color: transparent; }
.btn:active { transform: scale(.98); }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-busy span::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.msg { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--muted); }
.msg.is-bad { color: #ff8a8a; }

.steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; text-align: left; }
.steps li {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start;
  padding: 14px; background: var(--panel); border: 1px solid var(--line); clip-path: var(--cut);
}
.steps__n {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  color: var(--accent); font: 700 20px/1 var(--tech);
}
.steps__n::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid var(--accent); transform: rotate(45deg);
}
.steps__t { margin: 2px 0 10px; font: 700 16px/1.2 var(--tech); letter-spacing: .08em; text-transform: uppercase; }
.steps .btn { height: 48px; font-size: 16px; }
.note { margin: 0 auto 6px; max-width: 380px; font-size: 13px; color: var(--muted); }
.foot { margin-top: 16px; font: 600 11px/1 var(--tech); letter-spacing: .2em; color: #5d626c; }
.foot a { color: #7d828c; }

@media (min-width: 761px) {
  body { justify-content: center; }
  /* Seris stands right of centre in the wide art, so the panel goes left */
  .bg { background-image: url("assets/hero_1920.webp"); background-size: cover; background-position: center; }
  .bg::after { background: linear-gradient(270deg, rgba(7,9,13,0) 35%, rgba(7,9,13,.7) 58%, var(--ink) 85%); }
  .card { margin: 0 auto 0 8vw; padding: 40px 0; }
}
