/* ==========================================================================
   Meter Mafia - site styles
   Palette from the logo: red, black, white, cool grey.
   Sections: tokens, base, buttons, header + account menu, hero, marquee,
   sections, cards, timeline, partners, faq, forms, applications, footer, motion
   ========================================================================== */

:root {
  --bg: #07070a;
  --bg-2: #0c0c10;
  --surface: #121216;
  --surface-2: #19191f;
  --line: #26262d;
  --line-2: #34343d;
  --white: #f6f6f8;
  --muted: #a3a7b0;
  --dim: #6f737c;
  --grey: #9ea8b0;
  --red: #c8102e;
  --red-hot: #ff2a4d;
  --red-deep: #7d0a1d;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --display: "Oswald", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: #000; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.55rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--red-hot), var(--red) 55%, var(--red-deep));
  box-shadow: 0 10px 30px -10px rgba(255, 42, 77, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: transform .7s var(--ease);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 42, 77, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--white); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--grey); background: rgba(255, 255, 255, .07); }
.btn-sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .icon { width: 18px; height: 18px; }
.linklike { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.linklike:hover { color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 10, .55); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(7, 7, 10, .86); border-bottom-color: var(--line); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--red-hot)); }
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font: 700 1.4rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.brand b { color: var(--red-hot); font-weight: 700; }
.nav-panel { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { white-space: nowrap; position: relative; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: .3rem 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--white); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; content: ""; transition: transform .3s var(--ease), top .3s; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* account menu (avatar, top right) */
.account { position: relative; }
.avatar-btn {
  display: flex; align-items: center; gap: .55rem; padding: 3px 12px 3px 3px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 999px; color: var(--white);
  font: 500 .9rem/1 var(--body); transition: border-color .2s, background .2s;
}
.avatar-btn:hover, .avatar-btn[aria-expanded="true"] { border-color: var(--red-hot); background: rgba(255, 255, 255, .07); }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 2px var(--red); }
.avatar-btn .who { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-btn .caret { width: 14px; height: 14px; color: var(--muted); transition: transform .25s var(--ease); }
.avatar-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: .5rem;
  background: rgba(18, 18, 22, .96); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8); transform-origin: 90% 0;
  opacity: 0; transform: translateY(-6px) scale(.96); pointer-events: none; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.menu-head { display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem .85rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
.menu-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.menu-head small { color: var(--muted); font-size: .78rem; }
.menu a, .menu button {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .65rem .75rem;
  background: none; border: 0; border-radius: 10px; color: var(--white); font: 500 .92rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.menu a:hover, .menu button:hover { background: rgba(255, 255, 255, .07); }
.menu .icon { width: 18px; height: 18px; color: var(--muted); }
.menu .danger { color: #ff8a9b; }
.badge-admin { margin-left: auto; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: rgba(255, 42, 77, .16); color: #ff8a9b; }

@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem 1.25rem 1.6rem; background: rgba(10, 10, 13, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-panel.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .account { order: -1; }
  .avatar-btn { width: 100%; }
  .menu { position: static; opacity: 1; transform: none; visibility: visible; pointer-events: auto; display: none; margin-top: .5rem; }
  .menu.open { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); min-height: min(92vh, 860px); display: flex; align-items: center; }
.aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(70px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; right: 2%; top: 4%; background: radial-gradient(circle, rgba(255, 42, 77, .55), transparent 65%); animation: drift-a 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 4%; bottom: 8%; background: radial-gradient(circle, rgba(125, 10, 29, .6), transparent 65%); animation: drift-b 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 38%; top: 0; background: radial-gradient(circle, rgba(158, 168, 176, .22), transparent 65%); animation: drift-c 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-8vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(10vw, -8vh) scale(1.2); } }
@keyframes drift-c { to { transform: translate(-6vw, 12vh) scale(.9); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; animation: grid-move 24s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 62% 38%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 38%, #000, transparent 75%);
}
@keyframes grid-move { to { background-position: 64px 64px, 64px 64px; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font: 600 .78rem/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red-hot); box-shadow: 0 0 12px var(--red-hot); }
.hero-title { font-size: clamp(4rem, 12.5vw, 9rem); font-weight: 700; letter-spacing: .01em; line-height: .92; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line:nth-child(2) .word { --i: 1; }
.hero-title .word { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .14s + .15s); }
@keyframes rise { from { transform: translateY(110%) rotate(3deg); opacity: 0; } to { transform: none; opacity: 1; } }
.grad {
  background: linear-gradient(100deg, #fff 0%, #ff7a8e 35%, var(--red-hot) 60%, var(--red) 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: shine 7s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }
.hero .lead { margin-top: 1.6rem; max-width: 36rem; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); animation: fade-up .9s var(--ease) .7s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; animation: fade-up .9s var(--ease) .9s both; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: 2.2rem 0 0; padding: 0; color: var(--muted); font-size: .92rem; animation: fade-up .9s var(--ease) 1.1s both; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points .icon { width: 17px; height: 17px; color: var(--red-hot); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-badge { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; display: grid; place-items: center; animation: float 7s ease-in-out infinite, fade-in 1.2s ease .3s both; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.hero-badge .glow { position: absolute; inset: 6%; border-radius: 50%; background: conic-gradient(from 0deg, var(--red-hot), transparent 30%, var(--red) 55%, transparent 80%, var(--red-hot)); filter: blur(34px); opacity: .55; animation: spin 14s linear infinite; }
.hero-badge .orbit { position: absolute; inset: -2%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: spin 40s linear infinite reverse; }
.hero-badge .orbit::before, .hero-badge .orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 18px 4px rgba(255, 42, 77, .8); }
.hero-badge .orbit::before { top: 12%; left: 8%; }
.hero-badge .orbit::after { bottom: 10%; right: 6%; background: var(--white); box-shadow: 0 0 16px 3px rgba(255, 255, 255, .6); width: 8px; height: 8px; }
.hero-badge .logo { position: relative; width: 82%; height: auto; aspect-ratio: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .65)); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: .5rem; color: var(--dim); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--red-hot), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 2.4rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .eyebrow::before { display: none; }
  .hero-badge { order: -1; width: min(62%, 260px); }
  .scroll-cue { display: none; }
}

/* ---------- partner marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.2rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: .75rem; color: var(--muted); font: 600 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee-item img { width: 34px; height: 34px; border-radius: 10px; }
.marquee-item.sep { color: var(--red-hot); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section.flush { padding-top: 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head .kicker { font: 600 .78rem/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 1rem; display: block; }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.page-title { font-size: clamp(2.6rem, 7vw, 4.4rem); }

/* ---------- cards (spotlight follows the cursor) ---------- */
.card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 42, 77, .16), transparent 45%);
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 42, 77, .5); box-shadow: 0 24px 60px -24px rgba(255, 42, 77, .35); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.7rem; }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--red-hot); background: rgba(255, 42, 77, .1); border: 1px solid rgba(255, 42, 77, .25); }
.card-icon .icon { width: 26px; height: 26px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bento .feature { grid-column: span 2; grid-row: span 2; background: radial-gradient(700px 360px at 85% -10%, rgba(255, 42, 77, .2), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), var(--surface); border-color: rgba(255, 42, 77, .4); padding: 2.2rem; }
.bento .wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.6rem; }
.bento .wide .btn { margin: 0 0 0 auto; align-self: center; }
.bento .wide .text { flex: 1; }
.bento .wide h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.card .price, .price { color: var(--white); }
.price { display: flex; align-items: baseline; gap: .5rem; font: 700 4.4rem/1 var(--display); }
.price small { font: 500 1rem/1 var(--body); color: var(--muted); }
.lanes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.lane { background: rgba(0, 0, 0, .28); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; }
.lane h4 { margin: 0 0 .8rem; font: 600 1.05rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .75rem .32rem .35rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 500; transition: border-color .2s, transform .2s; }
.chip:hover { border-color: var(--red-hot); transform: translateY(-1px); }
.chip img { width: 22px; height: 22px; border-radius: 7px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .bento .feature { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .lanes { grid-template-columns: 1fr; } .bento .wide { flex-direction: column; align-items: flex-start; } .bento .wide .btn { margin: 0; align-self: flex-start; } .price { font-size: 3.6rem; } }

/* ---------- how it works (timeline) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-hot), var(--red)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .2s; opacity: .5; }
.timeline.in::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 .4rem; }
.step .num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--red); color: var(--white); font: 700 1.7rem/1 var(--display); box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px rgba(255, 42, 77, .6); }
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { left: 33px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .timeline.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 1.1rem; text-align: left; align-items: start; }
  .step .num { margin: 0; }
}

/* ---------- partners ---------- */
.partner { align-items: flex-start; gap: .8rem; }
.partner .logo { width: 68px; height: 68px; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); transition: transform .4s var(--ease); }
.partner:hover .logo { transform: scale(1.07) rotate(-3deg); }
.partner h3 { font-size: 1.5rem; }
.tag { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--grey); }
.tag.fps { color: #ff9aa9; border-color: rgba(255, 42, 77, .35); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.fineprint { margin-top: 1.6rem; font-size: .85rem; color: var(--dim); }

/* ---------- apply band + cta ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(2rem, 5vw, 3.6rem);
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 42, 77, .35), transparent 65%), linear-gradient(135deg, #1b0b10, var(--surface) 60%);
  border: 1px solid rgba(255, 42, 77, .35); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.band h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.band p { color: var(--muted); margin-top: .7rem; max-width: 34rem; }
.band .actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-left: auto; }
.cta { text-align: center; padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; isolation: isolate; background: radial-gradient(800px 360px at 50% 0%, rgba(255, 42, 77, .3), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2.6rem, 8vw, 5.4rem); }
.cta p { margin: 1.2rem auto 2.2rem; max-width: 34rem; color: var(--muted); font-size: 1.12rem; }
.cta .hero-cta { justify-content: center; margin-top: 0; animation: none; }
.cta-note { margin-top: 1.2rem !important; font-size: .9rem !important; }

/* ---------- faq ---------- */
.faq { max-width: 52rem; display: grid; gap: .8rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
details[open] { border-color: var(--line-2); background: var(--surface-2); }
summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--red-hot); border-bottom: 2px solid var(--red-hot); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 4px; }
details[open] summary::after { transform: rotate(225deg); }
details p { padding: 0 1.5rem 1.4rem; color: var(--muted); animation: fade-up .4s var(--ease); }
details a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- panels + forms (ticket, apply, admin) ---------- */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem); min-height: 72vh; position: relative; isolation: isolate; }
.page::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; background: radial-gradient(700px 320px at 80% -10%, rgba(255, 42, 77, .2), transparent 70%); }
.narrow { max-width: 780px; }
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1.4rem; animation: fade-up .6s var(--ease) both; }
.panel h2 { font-size: 1.9rem; }
.panel .hero-cta { margin-top: .2rem; animation: none; }
.alert { background: rgba(200, 16, 46, .14); border: 1px solid var(--red); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.alert[hidden] { display: none; }
.alert a { text-decoration: underline; }
.alert .btn { margin-top: .8rem; }
.fine { font-size: .9rem; color: var(--muted); }
.userbar { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.userbar .linklike { margin-left: auto; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: grid; gap: .6rem; }
.field legend, .field > label { font-weight: 600; font-size: 1.04rem; padding: 0; }
.field .hint { color: var(--muted); font-size: .92rem; }
.field-group { display: grid; gap: 1.5rem; }
.req { color: var(--red-hot); }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.note { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); border-left: 3px solid var(--red-hot); color: var(--white); font-weight: 600; white-space: pre-line; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .6rem; }
.choices.row { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: flex; gap: .85rem; align-items: center; height: 100%; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: .95rem 1.05rem; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.choice-body .dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--dim); display: grid; place-items: center; transition: border-color .2s; }
.choice-body .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); transform: scale(0); transition: transform .25s var(--ease); }
.choice-text strong { display: block; line-height: 1.25; }
.choice-text small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; margin-top: .15rem; }
.choice:hover .choice-body { border-color: var(--grey); transform: translateY(-1px); }
.choice input:checked + .choice-body { border-color: var(--red-hot); background: rgba(255, 42, 77, .1); }
.choice input:checked + .choice-body .dot { border-color: var(--red-hot); }
.choice input:checked + .choice-body .dot::after { transform: scale(1); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--white); outline-offset: 2px; }
input[type="text"], input[type="search"], textarea {
  width: 100%; background: #0a0a0d; color: var(--white); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .9rem 1rem; font: inherit; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #5f636b; }
input[type="text"]:focus, input[type="search"]:focus, textarea:focus { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 4px rgba(255, 42, 77, .18); }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .4rem; }
.form-actions [hidden] { display: none; }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-hot)); transition: width .4s var(--ease); }
.done { text-align: center; justify-items: center; }
.done .tick { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-hot), var(--red)); box-shadow: 0 0 50px -6px rgba(255, 42, 77, .7); animation: pop .7s var(--ease) both; }
.done .tick .icon { width: 38px; height: 38px; color: #fff; }
.done .hero-cta { justify-content: center; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.loader { display: flex; align-items: center; gap: .8rem; color: var(--muted); }
.loader::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--red-hot); animation: spin .8s linear infinite; }

/* ---------- applications (admin) ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 1.4rem; }
.toolbar .search { flex: 1 1 260px; }
.pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 .85rem/1 var(--body); cursor: pointer; transition: all .2s; }
.pill:hover { color: var(--white); border-color: var(--grey); }
.pill[aria-pressed="true"] { background: var(--red); border-color: var(--red-hot); color: #fff; }
.apps { display: grid; gap: .9rem; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; animation: fade-up .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.app[open] { border-color: var(--line-2); background: var(--surface-2); }
.app summary { padding: 1.1rem 1.3rem; gap: 1rem; flex-wrap: wrap; }
.app .who { display: flex; align-items: center; gap: .9rem; min-width: 0; flex: 1 1 220px; }
.app .who strong { display: block; line-height: 1.2; }
.app .who small { color: var(--muted); }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag.yes { color: #7ee2a8; border-color: rgba(126, 226, 168, .35); }
.tag.no { color: var(--dim); }
.app-body { padding: .2rem 1.3rem 1.4rem; display: grid; gap: 1.1rem; }
.qa dt { color: var(--grey); font-size: .82rem; letter-spacing: .04em; margin-bottom: .25rem; }
.qa dd { margin: 0 0 1rem; white-space: pre-wrap; word-break: break-word; }
.app-actions { display: flex; gap: .6rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1rem; }
.stat { font: 600 .9rem/1 var(--body); color: var(--muted); }
.stat b { color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 3rem 0 2.4rem; color: var(--muted); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
.foot .brand { margin: 0; }
.foot .brand span { font-size: 1.15rem; }
.foot .brand img { width: 34px; height: 34px; }
.foot ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--white); }
.legal { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; position: relative; isolation: isolate; background: radial-gradient(700px 360px at 50% 20%, rgba(255, 42, 77, .22), transparent 70%), var(--bg); }
.notfound img { margin: 0 auto 1.5rem; width: 130px; height: auto; animation: float 6s ease-in-out infinite; }
.notfound h1 { font-size: clamp(5rem, 18vw, 10rem); }
.notfound p { color: var(--muted); margin: 1rem 0 2rem; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.login-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(7, 7, 10, .92); backdrop-filter: blur(8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}
