:root {
  --navy: #072f73;
  --navy2: #001f4f;
  --lime: #cce600;
  --lime-deep: #b8d000;
  --ink: #10213a;
  --muted: #5c6b82;
  --line: #d7e0ea;
  --paper: #ffffff;
  --soft: #f2f6fa;
  --soft2: #e8eef5;
  --radius: 20px;
  --shadow: 0 18px 48px rgba(7, 47, 115, 0.12);
  --shadow-sm: 0 8px 24px rgba(7, 47, 115, 0.06);
  --nav-h: 84px;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

:focus-visible {
  outline: 3px solid #9bb800;
  outline-offset: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font-body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, .brand-name-top, .brand-name-bottom, .brand-mark-name, .nav-cta, .btn-primary, .step-no {
  font-family: var(--font-display);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--lime);
  pointer-events: none;
}

/* —— Header —— */
.site-header,
header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.9));
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(7, 47, 115, 0.08);
  box-shadow: none;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  animation: dropIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header.scrolled,
header.site-header.scrolled,
header.scrolled {
  box-shadow: 0 14px 36px rgba(7, 47, 115, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.site-header::after,
header.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy2), var(--navy) 28%, var(--lime) 62%, #f3ff8a 100%);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: auto;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  animation: logoFloat 4s ease-in-out infinite alternate;
}

.nav-cta {
  border: 0;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--navy2);
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 16px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 47, 115, 0.12);
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 48%, transparent 78%);
  transform: translateX(-130%);
  animation: ctaSheen 3.8s 1.2s ease-in-out infinite;
}

.nav-cta:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 47, 115, 0.18);
}

.brand-rule {
  width: 1px;
  height: 36px;
  background: rgba(7, 47, 115, 0.18);
  flex: 0 0 auto;
}

.brand-product {
  display: grid;
  gap: 0;
  min-width: 0;
  align-content: center;
}

.brand-kicker {
  display: none;
}

.brand-title,
.brand-name-top,
.brand-name-bottom {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
  font-size: 0.98rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(7, 47, 115, 0.045);
  border: 1px solid rgba(7, 47, 115, 0.06);
}

.nav-links a {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #fff;
  box-shadow: 0 6px 14px rgba(7, 47, 115, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.guest-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guest-actions[hidden],
.member-menu[hidden],
.nav-login[hidden] {
  display: none !important;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(7, 47, 115, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-login:hover {
  border-color: rgba(7, 47, 115, 0.28);
  background: #fff;
  box-shadow: 0 8px 16px rgba(7, 47, 115, 0.08);
  transform: translateY(-1px);
}

.nav-pitch-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
}

.nav-pitch-ico {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(0, 31, 79, 0.12);
  color: var(--navy2);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.nav-pitch-cta:hover .nav-pitch-ico {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.nav-link {
  font-size: 0.84rem;
  white-space: nowrap;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}

.nav-link:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.member-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  border: 1px solid rgba(7, 47, 115, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(7, 47, 115, 0.06);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.member-badge:hover {
  border-color: rgba(7, 47, 115, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 47, 115, 0.1);
}

.member-badge > span:not(.member-avatar) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-badge::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  flex: 0 0 auto;
}

.member-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), #0a3d8f);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.member-avatar[hidden] { display: none !important; }

.member-badge img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  border: 1px solid rgba(7, 47, 115, 0.1);
}

.member-badge img[hidden] { display: none !important; }

.member-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 240px;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.member-drop[hidden] { display: none !important; }

.member-drop-link,
.member-drop button,
.member-drop form button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.member-drop-link {
  display: grid;
  gap: 2px;
}

.member-drop-link[hidden] {
  display: none !important;
}

.member-drop-title {
  font-weight: 800;
  color: var(--navy);
}

.member-drop-desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.member-drop-link:hover,
.member-drop button:hover,
.member-drop form button:hover {
  background: var(--lime);
  color: var(--navy2);
}

.member-drop-link:hover .member-drop-title,
.member-drop-link:hover .member-drop-desc {
  color: var(--navy2);
}

/* —— Hero split —— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: min(680px, calc(100svh - var(--nav-h)));
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 56%, var(--lime) 56%, var(--lime-deep) 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 18%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 255, 255, 0.18) 58%,
    transparent 72%
  );
  transform: translateX(-85%) skewX(-14deg);
  animation: heroSheen 7.5s 1.1s ease-in-out infinite;
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.6rem;
  animation: panelMarquee 32s linear infinite;
}

.hero-marquee-track span {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(7, 47, 115, 0.15) 56%,
    rgba(7, 47, 115, 0.12) 100%
  );
  background-size: 100vw 100%;
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding: 64px 0 96px;
  background:
    radial-gradient(circle at 12% 88%, rgba(204, 230, 0, 0.16), transparent 36%),
    linear-gradient(160deg, #0a3a8a 0%, var(--navy) 42%, var(--navy2) 100%);
  color: #fff;
}

.hero-grid,
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 20%, transparent 75%);
  opacity: 0.9;
}

.hero-glow {
  background:
    radial-gradient(circle at 8% 88%, rgba(204, 230, 0, 0.22), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.1), transparent 32%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-line {
  animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.08s + var(--i, 0) * 0.1s);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.brand-mark-ipc {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark-name {
  display: grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-mark-name span {
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.eyebrow.dark { color: var(--navy2); }

.hero h1 {
  margin: 0;
  color: transparent;
  font-size: clamp(3.1rem, 7.2vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(186, 214, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero h1 em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(105deg, var(--lime-deep) 0%, #f4ff9a 40%, var(--lime) 58%, #9bb800 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: titleShine 7s 1s ease-in-out infinite;
}

.lead {
  margin: 24px 0 0;
  max-width: 34rem;
  color: rgba(214, 226, 245, 0.86);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.btn-primary {
  border: 0;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--navy2);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 14px;
  padding: 15px 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(204, 230, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, box-shadow 0.25s, color 0.2s;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.5) 48%, transparent 78%);
  transform: translateX(-130%);
  animation: ctaSheen 3.8s 1.6s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(7, 47, 115, 0.22);
}

.btn-primary.wide { width: 100%; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(204, 230, 0, 0.45);
  padding-bottom: 3px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, gap 0.2s;
}

.btn-text:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translateX(2px);
  gap: 10px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(40px, 5.5vw, 72px) clamp(28px, 4.2vw, 56px) 96px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.28) 0%, transparent 38%),
    linear-gradient(180deg, var(--lime) 0%, var(--lime-deep) 100%);
  color: var(--navy2);
  animation: panelSlide 0.85s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: inset 8px 0 24px rgba(7, 47, 115, 0.05);
}

.panel-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    -32deg,
    transparent 0 14px,
    rgba(7, 47, 115, 0.08) 14px 15px
  );
  mix-blend-mode: multiply;
}

.panel-orb {
  position: absolute;
  pointer-events: none;
}

.panel-orb {
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

.panel-orb-a {
  width: 200px;
  height: 200px;
  top: -48px;
  right: -36px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78), transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.panel-orb-b {
  width: 240px;
  height: 240px;
  left: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(7, 47, 115, 0.2), transparent 68%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes panelMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.panel-line {
  position: relative;
  z-index: 1;
  animation: heroRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.28s + var(--i, 0) * 0.1s);
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-panel > p:not(.eyebrow) {
  margin: 0;
  max-width: 28rem;
  color: rgba(0, 31, 79, 0.78);
  font-weight: 500;
  line-height: 1.58;
}

.location-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(7, 47, 115, 0.16);
  position: relative;
  z-index: 1;
}

.location-strip li,
.panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(7, 47, 115, 0.1);
  animation: chipIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.55s + var(--i, 0) * 0.08s);
}

.panel-chip span {
  color: rgba(0, 31, 79, 0.55);
  font-variant-numeric: tabular-nums;
}

/* —— Sections —— */
.section {
  padding: 88px 0 36px;
}

.picks-section {
  position: relative;
  padding-top: 72px;
  padding-bottom: 28px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.ideas-section {
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(204, 230, 0, 0.14), transparent 32%),
    linear-gradient(180deg, #eef3f8 0%, #e8eef5 100%);
  padding-bottom: 80px;
  margin-top: 0;
  border-block: 1px solid rgba(7, 47, 115, 0.06);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  font-weight: 800;
}

.section-note {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pick-card,
.idea-card,
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pick-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 26px 24px 22px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    radial-gradient(circle at 100% 0%, rgba(204, 230, 0, 0.16), transparent 42%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.pick-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--lime), var(--navy));
}

.pick-card.is-selected {
  border-color: rgba(7, 47, 115, 0.22);
  box-shadow: 0 18px 40px rgba(7, 47, 115, 0.1);
}

.pick-card.is-selected::before {
  width: 6px;
  background: var(--lime);
}

.pick-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 47, 115, 0.22);
  box-shadow: var(--shadow);
}

.pick-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.pick-loc {
  display: grid;
  gap: 4px;
}

.pick-code {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pick-top p,
.pick-loc p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.pick-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(204, 230, 0, 0.28);
  color: var(--navy2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.pick-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(204, 230, 0, 0.25);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.pick-status.is-selected,
.pick-card.is-selected .pick-status {
  background: var(--navy);
  color: #fff;
}

.pick-card.is-selected .pick-status::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(204, 230, 0, 0.22);
  animation: none;
}

.pick-status.is-closed,
.pick-card.is-closed .pick-status {
  background: #eef1f5;
  color: #5c6b82;
}

.pick-card.is-closed .pick-status::before {
  background: #9aa8bc;
  box-shadow: none;
  animation: none;
}

.pick-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pick-meta-row {
  display: grid;
  gap: 4px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(7, 47, 115, 0.08);
}

.pick-meta-row + .pick-meta-row {
  margin-top: 8px;
}

.pick-meta-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pick-meta-row p {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.pick-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 0 0;
  border-top: 1px solid rgba(7, 47, 115, 0.08);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.pick-link:hover {
  color: #0a3f9c;
  gap: 12px;
}

.pick-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pick-detail strong {
  color: var(--navy);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(204, 230, 0, 0.22);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.pick-card h3,
.idea-card h3,
.step h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.pick-card p:not(.pick-top p),
.idea-card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.pick-card a:not(.pick-link) {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s, gap 0.2s;
}

.pick-card a:not(.pick-link):hover {
  color: #0a3f9c;
  transform: translateX(2px);
  gap: 10px;
}

.section-head-side {
  display: grid;
  gap: 14px;
  justify-items: end;
  max-width: 28rem;
}

.board-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.board-cta:hover {
  background: #0a3f9c;
  transform: translateY(-1px);
}

.board-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 47, 115, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.pill:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.sort-control select,
label select,
label input,
label textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  padding: 12px 14px;
  font-weight: 600;
}

.sort-control select {
  width: auto;
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 14px;
}

.sort-control select:focus,
label select:focus,
label input:focus,
label textarea:focus {
  outline: 3px solid rgba(204, 230, 0, 0.75);
  border-color: var(--navy);
}

.ideas-board {
  display: grid;
  gap: 16px;
  min-height: 180px;
}

.idea-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: stretch;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 47, 115, 0.06);
  animation: cardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--d, 0) * 60ms);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.idea-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lime), var(--navy));
}

.idea-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 47, 115, 0.1);
  border-color: rgba(7, 47, 115, 0.18);
}

.vote-col {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: center;
  min-width: 84px;
  padding: 18px 12px 16px;
  background:
    linear-gradient(180deg, rgba(204, 230, 0, 0.18), rgba(7, 47, 115, 0.04));
  border-right: 1px solid rgba(7, 47, 115, 0.08);
}

.idea-body {
  padding: 20px 22px 18px 20px;
  min-width: 0;
  display: grid;
  align-content: start;
}

.vote-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.vote-btn:hover {
  transform: scale(1.06);
  border-color: var(--navy);
  box-shadow: 0 8px 16px rgba(7, 47, 115, 0.1);
}

.vote-btn.vote-up.is-active {
  background: rgba(204, 230, 0, 0.45);
  border-color: rgba(7, 47, 115, 0.22);
  box-shadow: 0 8px 16px rgba(7, 47, 115, 0.12);
}

.vote-btn.vote-down.is-active {
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.28);
  box-shadow: 0 8px 16px rgba(180, 35, 24, 0.1);
}

.idea-card.is-guest .vote-hint {
  max-width: 6.2rem;
}

.vote-score {
  min-width: 2ch;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.vote-hint {
  margin-top: 4px;
  max-width: 5.5rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.25;
  text-transform: uppercase;
}

.vote-col .vote-edit-comment {
  margin-top: 6px;
  max-width: 5.8rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  line-height: 1.25;
}

.vote-col .vote-edit-comment:hover {
  color: #0a3f9c;
}

.idea-your-comment {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(204, 230, 0, 0.16);
  border: 1px solid rgba(7, 47, 115, 0.1);
  display: grid;
  gap: 6px;
}

.idea-your-comment > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idea-your-comment p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
}

.idea-your-comment .vote-edit-comment {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
}

.idea-comments {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.idea-comments-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idea-comment {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7, 47, 115, 0.04);
  border: 1px solid rgba(7, 47, 115, 0.08);
}

.idea-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.idea-comment-meta strong {
  color: var(--navy);
}

.idea-comment-meta .is-up { color: #5a7400; }
.idea-comment-meta .is-down { color: var(--danger, #b42318); }

.idea-comment p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.vote-modal-panel {
  width: min(440px, 100%);
  padding: 26px 24px 22px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 230, 0, 0.16), transparent 42%),
    #fff;
}

.vote-modal-panel.is-down {
  background:
    radial-gradient(circle at 100% 0%, rgba(180, 35, 24, 0.1), transparent 42%),
    #fff;
}

.vote-modal-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-right: 28px;
}

.vote-modal-thumb {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(204, 230, 0, 0.35);
  border: 1px solid rgba(7, 47, 115, 0.1);
  font-size: 1.55rem;
  line-height: 1;
}

.vote-modal-panel.is-down .vote-modal-thumb {
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.16);
}

.vote-modal-copy .eyebrow {
  margin: 0 0 6px;
}

.vote-modal-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.vote-modal-idea {
  margin: 8px 0 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.vote-modal-panel .modal-lead {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.vote-guest-fields {
  display: grid;
  gap: 12px;
  margin: 0;
}

.vote-guest-fields label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.vote-guest-fields label span {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.vote-guest-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fafc;
  color: var(--navy);
  padding: 12px 14px;
  font: inherit;
  font-weight: 600;
}

.vote-guest-fields input:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(204, 230, 0, 0.5);
}

.vote-guest-fields input[readonly] {
  background: rgba(7, 47, 115, 0.05);
  cursor: default;
}

.vote-guest-fields .form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.vote-account-panel {
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 230, 0, 0.18), transparent 42%),
    #fff;
}

.vote-account-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  letter-spacing: -0.04em;
}

.vote-account-panel .modal-lead {
  margin: 0;
}

.vote-account-panel .vote-modal-actions {
  margin-top: 6px;
}

.vote-account-panel .vote-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.vote-comment-label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.vote-comment-label span {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.vote-comment-label em {
  margin-left: 6px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vote-comment-label textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--navy);
  background: #f7fafc;
  resize: vertical;
  min-height: 110px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.vote-comment-label textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(204, 230, 0, 0.5);
}

.vote-modal-panel.is-down .vote-comment-label textarea:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14);
}

.vote-comment-count {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.vote-modal-panel.is-editing .vote-modal-actions {
  grid-template-columns: 1fr;
}

.vote-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 2px;
}

.vote-btn-secondary,
.vote-btn-primary {
  appearance: none;
  border-radius: 999px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.vote-btn-secondary {
  border: 1px solid rgba(7, 47, 115, 0.16);
  background: #fff;
  color: var(--navy);
}

.vote-btn-secondary:hover {
  border-color: var(--navy);
  background: #f7fafc;
}

.vote-btn-secondary:focus-visible,
.vote-btn-primary:focus-visible {
  outline: 3px solid rgba(204, 230, 0, 0.75);
  outline-offset: 2px;
}

.vote-btn-primary {
  border: 0;
  background: var(--lime);
  color: var(--navy2);
  box-shadow: 0 10px 22px rgba(7, 47, 115, 0.12);
}

.vote-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 47, 115, 0.16);
}

.vote-modal-panel.is-down .vote-btn-primary {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 520px) {
  .vote-modal-actions {
    grid-template-columns: 1fr;
  }

  .vote-btn-primary { order: -1; }
}

.idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(7, 47, 115, 0.07);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.tag.loc {
  background: rgba(204, 230, 0, 0.28);
  color: var(--navy2);
}

.idea-card h3,
.idea-title {
  margin: 2px 0 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.idea-summary {
  margin: 10px 0 0;
  max-width: 46rem;
  color: rgba(16, 33, 58, 0.72);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.idea-details {
  margin: 14px 0 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 14px;
  border-radius: 16px;
  background: rgba(7, 47, 115, 0.035);
  border: 1px solid rgba(7, 47, 115, 0.06);
}

.idea-details > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.idea-details dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idea-details dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.idea-details span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.idea-details em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idea-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 47, 115, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.idea-vote-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7, 47, 115, 0.06);
  border: 1px solid rgba(7, 47, 115, 0.1);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.idea-vote-cta:hover {
  background: rgba(204, 230, 0, 0.35);
  border-color: rgba(7, 47, 115, 0.16);
  transform: translateY(-1px);
}

.idea-author {
  color: var(--navy);
}

.idea-author strong {
  font-weight: 800;
}

.idea-home,
.idea-date {
  color: rgba(16, 33, 58, 0.58);
}

.idea-home::before,
.idea-date::before {
  content: "·";
  margin-right: 10px;
  color: rgba(16, 33, 58, 0.28);
  font-weight: 700;
}

.idea-foot > :first-child::before {
  content: none;
  margin: 0;
}

.empty-board {
  border: 1px dashed rgba(7, 47, 115, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(204, 230, 0, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 64px 28px;
  animation: cardIn 0.45s ease both;
  box-shadow: var(--shadow-sm);
}

.empty-kicker {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty-board h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.empty-board p {
  margin: 10px auto 0;
  max-width: 34rem;
  color: var(--muted);
}

.empty-board .btn-primary {
  margin-top: 22px;
}

.pick-grid .login-gate,
.pick-grid .empty-board,
.ideas-board .login-gate {
  grid-column: 1 / -1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 0;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(204, 230, 0, 0.55), rgba(7, 47, 115, 0.18)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-no {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease;
}

.step:hover .step-no {
  transform: scale(1.06) rotate(-3deg);
}

.step p { margin: 12px 0 0; }

.how-note {
  margin: 28px 0 48px;
  color: var(--muted);
  max-width: 52rem;
  font-weight: 500;
}

footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 100%, rgba(204, 230, 0, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-brand {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-kicker {
  margin: 0;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-brand p {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.modal[hidden],
.toast[hidden] { display: none !important; }

body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

html.modal-scroll-lock,
html.modal-scroll-lock body {
  scroll-behavior: auto !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 79, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease both;
}

.modal:has(.pitch-modal-panel) .modal-backdrop {
  background: rgba(0, 20, 52, 0.62);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px clamp(20px, 3vw, 34px) 30px;
  animation: modalPop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pitch-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-height: min(90vh, 940px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(7, 47, 115, 0.12);
  background: #f4f7fb;
  box-shadow: 0 28px 80px rgba(0, 31, 79, 0.28);
}

.pitch-modal-head {
  /* Override site `header { position: sticky; z-index: 30 }` so × stays visible */
  position: relative;
  top: auto;
  z-index: 0;
  flex: 0 0 auto;
  padding: 28px clamp(20px, 3vw, 34px) 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(204, 230, 0, 0.28), transparent 34%),
    linear-gradient(135deg, #001f4f 0%, #072f73 58%, #0a3d8f 100%);
  color: #fff;
  overflow: visible;
  box-shadow: none;
  border-bottom: 0;
  animation: none;
  backdrop-filter: none;
}

.pitch-modal-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), #e8ff66 45%, var(--lime));
}

.pitch-modal-head-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-right: 44px;
}

.pitch-modal-kicker {
  margin: 0;
  color: rgba(204, 230, 0, 0.95);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pitch-modal-panel .modal-lead {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.45;
}

.modal-panel h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.pitch-modal-panel h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.pitch-modal-close {
  top: 18px;
  right: 18px;
  z-index: 5;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.pitch-modal-close:hover {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s, background 0.2s;
}

.modal-close:hover {
  background: var(--lime);
  transform: rotate(90deg);
}

.modal-lead {
  margin: 8px 0 22px;
  color: var(--muted);
}

#pitch-form,
.pitch-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  flex: 1;
}

.pitch-form-scroll {
  display: grid;
  gap: 16px;
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 18px clamp(16px, 2.6vw, 28px) 16px;
  scrollbar-gutter: stable;
}

.pitch-form-scroll::-webkit-scrollbar {
  width: 10px;
}

.pitch-form-scroll::-webkit-scrollbar-thumb {
  background: rgba(7, 47, 115, 0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.pitch-section {
  display: grid;
  gap: 14px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(7, 47, 115, 0.08);
  box-shadow: 0 10px 28px rgba(7, 47, 115, 0.05);
}

.pitch-section--identity {
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(204, 230, 0, 0.08), transparent 42%),
    #fff;
}

.pitch-section-head {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(7, 47, 115, 0.08);
  margin-bottom: 2px;
}

.pitch-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pitch-section-hint {
  margin: 0 0 0 2.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.pitch-step {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #0a3d8f, var(--navy));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(204, 230, 0, 0.22);
}

.pitch-step--soft {
  background: rgba(7, 47, 115, 0.1);
  color: var(--navy);
  box-shadow: none;
}

.pitch-choice {
  gap: 10px !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #f7fafc, #f3f7fb);
  border: 1px solid rgba(7, 47, 115, 0.07) !important;
}

.pitch-field-label {
  margin: 0;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.player-range {
  display: grid;
  gap: 8px;
}

.player-range-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fafc, #f3f7fb);
  border: 1px solid rgba(7, 47, 115, 0.07);
}

.player-range-box label {
  gap: 6px !important;
}

.player-stepper {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: stretch;
  gap: 6px;
}

#pitch-form .player-stepper input,
.player-stepper input {
  width: 100%;
  min-width: 0;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.player-stepper input::-webkit-outer-spin-button,
.player-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.player-step {
  display: grid;
  place-items: center;
  min-height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(7, 47, 115, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.player-step:hover {
  background: rgba(7, 47, 115, 0.06);
  border-color: rgba(7, 47, 115, 0.28);
}

.player-step:active {
  background: rgba(7, 47, 115, 0.1);
}

.player-stepper.is-invalid input,
#pitch-form .player-stepper.is-invalid input {
  border-color: rgba(180, 35, 24, 0.55);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.player-range-sep {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: lowercase;
}

.pitch-instructor-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(7, 47, 115, 0.1);
  background: #f7fafc;
  cursor: pointer;
}

.pitch-instructor-check input {
  width: auto !important;
  margin-top: 3px;
  accent-color: var(--navy);
}

.pitch-instructor-check span {
  display: grid;
  gap: 2px;
}

.pitch-instructor-check small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.pitch-court-type {
  display: grid;
  gap: 7px;
}

.pitch-submit-block {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px clamp(16px, 2.6vw, 28px) 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(7, 47, 115, 0.1);
  box-shadow: 0 -14px 32px rgba(7, 47, 115, 0.08);
  backdrop-filter: blur(12px);
}

.pitch-submit-copy {
  display: grid;
  gap: 6px;
}

.pitch-submit-btn {
  min-height: 52px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

#pitch-form label,
#pitch-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}

#pitch-form label span,
#pitch-form legend,
.pitch-field-label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

#pitch-form legend em {
  margin-left: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

#pitch-form input,
#pitch-form textarea,
#pitch-form select {
  width: 100%;
  border: 1px solid rgba(7, 47, 115, 0.14);
  border-radius: 14px;
  padding: 13px 15px;
  font: inherit;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
}

#pitch-form textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.45;
}

#pitch-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

#pitch-form input:hover,
#pitch-form textarea:hover,
#pitch-form select:hover {
  border-color: rgba(7, 47, 115, 0.28);
}

#pitch-form input:focus,
#pitch-form textarea:focus,
#pitch-form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(204, 230, 0, 0.45);
  background: #fff;
}

#pitch-form input.is-invalid,
#pitch-form textarea.is-invalid,
#pitch-form select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pitch-schedule {
  display: grid;
  gap: 12px;
}

.pitch-schedule-block {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(7, 47, 115, 0.1);
}

.pitch-schedule-block.is-invalid {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.pitch-schedule-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pitch-schedule-label-row > span,
.pitch-schedule-heading {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.pitch-template-select {
  display: grid !important;
  gap: 0 !important;
  min-width: min(220px, 100%);
}

.pitch-template-select select {
  min-height: 42px;
}

.pitch-weekstrip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(7, 47, 115, 0.04);
}

.pitch-weekstrip.is-invalid {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.pitch-day {
  position: relative;
  display: grid !important;
  place-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.pitch-day input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer;
}

.pitch-day span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  background: transparent;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.pitch-day:hover span {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(7, 47, 115, 0.12);
}

.pitch-day:has(input:checked) span,
#pitch-form .pitch-day:has(input:checked) span {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(204, 230, 0, 0.45);
}

.pitch-time-controls {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(160px, 1.1fr);
  gap: 10px;
}

.pitch-time-controls input {
  min-height: 42px;
}

#pitch-form .pitch-time-controls input[readonly],
.pitch-time-controls input[readonly] {
  background: rgba(7, 47, 115, 0.05);
  color: var(--navy);
  cursor: default;
  opacity: 1;
}

.pitch-frequency-field {
  display: grid;
  gap: 10px;
  align-content: start;
}

.pitch-frequency-other {
  animation: chipIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pitch-frequency-other[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px;
  border-radius: 14px;
}

.check-row--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-row--skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

.check-row--skills .check {
  flex-direction: column;
  min-height: 56px;
  padding: 10px 10px 9px;
  gap: 2px;
}

.check-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.15;
  pointer-events: none;
}

.check-title {
  font-size: 0.86rem;
  font-weight: 800;
}

.check-detail {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.check:has(input:checked) .check-detail {
  color: var(--navy);
}

.check-row.is-invalid {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
  border-radius: 14px;
}

.check {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 44px;
  border: 1px solid rgba(7, 47, 115, 0.14);
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  user-select: none;
}

.check:hover {
  border-color: rgba(7, 47, 115, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 47, 115, 0.08);
}

.check:has(input:checked) {
  background: linear-gradient(180deg, rgba(204, 230, 0, 0.42), rgba(204, 230, 0, 0.28));
  border-color: rgba(7, 47, 115, 0.45);
  box-shadow: 0 0 0 2px rgba(204, 230, 0, 0.4);
}

.check:has(input:focus-visible) {
  outline: 3px solid #9bb800;
  outline-offset: 2px;
}

.check input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  cursor: pointer;
}

.form-note,
.form-error {
  margin: 0;
  font-size: 0.88rem;
}

.form-note { color: var(--muted); line-height: 1.4; }
.form-error { color: #b42318; font-weight: 700; }

.pitch-cr-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: start;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(7, 47, 115, 0.12);
  background:
    linear-gradient(135deg, rgba(204, 230, 0, 0.22), rgba(7, 47, 115, 0.05)),
    #fff;
}

.pitch-cr-badge {
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pitch-cr-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.pitch-identity-fields {
  display: grid;
  gap: 12px;
}

.pitch-lookup-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.pitch-lookup-status[hidden] {
  display: none !important;
}

.pitch-lookup-status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background: currentColor;
}

.pitch-lookup-status.is-ok {
  color: #146c2e;
  background: rgba(20, 108, 46, 0.08);
  border: 1px solid rgba(20, 108, 46, 0.16);
}

.pitch-lookup-status.is-bad {
  color: #9a3412;
  background: rgba(154, 52, 18, 0.08);
  border: 1px solid rgba(154, 52, 18, 0.16);
}

.pitch-lookup-status.is-wait {
  color: var(--navy);
  background: rgba(7, 47, 115, 0.06);
  border: 1px solid rgba(7, 47, 115, 0.1);
  font-weight: 600;
}

.pitch-lookup-status.is-wait::before {
  box-shadow: 0 0 0 3px rgba(7, 47, 115, 0.12);
  animation: pulseDot 1.2s ease-in-out infinite;
}

.pitch-opt-in {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(7, 47, 115, 0.12);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pitch-opt-in:hover {
  border-color: rgba(7, 47, 115, 0.22);
  box-shadow: 0 6px 16px rgba(7, 47, 115, 0.05);
}

.pitch-opt-in:has(input:checked) {
  background: rgba(204, 230, 0, 0.18);
  border-color: rgba(7, 47, 115, 0.28);
}

.pitch-opt-in input {
  width: auto !important;
  margin-top: 3px;
  accent-color: var(--navy);
}

.pitch-opt-in strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.pitch-opt-in small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.pitch-opt-in.is-disabled,
.pitch-opt-in[hidden] {
  display: none !important;
}

.pitch-signin-hint {
  margin: -2px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(7, 47, 115, 0.12);
  background: rgba(7, 47, 115, 0.05);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.pitch-signin-hint[hidden] {
  display: none !important;
}

.pitch-signin-hint a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pitch-signin-hint a:hover {
  color: var(--navy2);
}

#pitch-name.is-autofilled {
  border-color: rgba(7, 47, 115, 0.35);
  background: rgba(204, 230, 0, 0.12);
  box-shadow: 0 0 0 3px rgba(204, 230, 0, 0.28);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translate(-50%, 18px);
  opacity: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@keyframes barIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes limeFlow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

@keyframes logoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}

@keyframes ctaSheen {
  0%, 55% { transform: translateX(-130%); }
  75%, 100% { transform: translateX(130%); }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes heroGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.03); }
}

@keyframes titleShine {
  0%, 30% { background-position: 120% 0; }
  55%, 100% { background-position: -20% 0; }
}

@keyframes panelSlide {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroSheen {
  0%, 14% { transform: translateX(-90%) skewX(-14deg); opacity: 0; }
  24% { opacity: 0.9; }
  52% { transform: translateX(35%) skewX(-14deg); opacity: 1; }
  68%, 100% { transform: translateX(95%) skewX(-14deg); opacity: 0; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, -18px, 0) scale(1.08); }
}

@keyframes chipIn {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(204, 230, 0, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(204, 230, 0, 0.08); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .nav-links { display: inline-flex; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-main { padding: 44px 0 88px; }
  .hero-panel { padding: 36px 28px 88px; animation-name: panelSlideUp; }
  .hero-marquee { bottom: 4%; }
  .hero-marquee-track span { font-size: clamp(2.2rem, 10vw, 3.4rem); }

  .pick-grid,
  .steps,
  .form-grid,
  .form-grid--3 {
    grid-template-columns: 1fr;
  }

  .check-row--grid {
    grid-template-columns: 1fr;
  }

  .player-range-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .player-range-sep {
    display: none;
  }

  .pitch-section-hint {
    margin-left: 0;
  }

  .pitch-modal-panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal:has(.pitch-modal-panel) {
    padding: 0;
    align-items: stretch;
  }

  .pitch-time-controls {
    grid-template-columns: 1fr;
  }

  .pitch-schedule-label-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pitch-template-select {
    min-width: 0;
  }

  .pitch-weekstrip {
    gap: 4px;
  }

  .pitch-day span {
    font-size: 0.72rem;
    min-height: 40px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@keyframes panelSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .brand-rule,
  .brand-product { display: none; }
  .brand-logo { height: 44px; }
  .guest-actions .nav-link { display: none; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
  .nav { gap: 10px; }
  .nav-login { padding: 7px 10px; font-size: 0.72rem; }
  .nav-pitch-label { display: none; }
  .nav-cta { padding: 10px 12px; font-size: 0.8rem; }
  .member-badge > span:not(.member-avatar) { max-width: 72px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.5rem); }
  .idea-card { grid-template-columns: 1fr; }
  .vote-col {
    grid-auto-flow: column;
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }
  .section-head-side { justify-items: start; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero-line,
  .panel-line,
  .panel-chip,
  .idea-card,
  .empty-board {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero h1 {
    color: rgba(255, 255, 255, 0.92);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
    background: none;
  }

  .hero h1 em {
    color: var(--lime);
    -webkit-text-fill-color: var(--lime);
    background: none;
  }

  .panel-orb,
  .hero-shine,
  .panel-texture,
  .hero-grid,
  .hero-glow,
  .nav-cta::before,
  .btn-primary::before {
    display: none !important;
  }

  .hero-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .brand-mark {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Auth modals —— */
button.nav-login {
  font: inherit;
}

.auth-modal-panel {
  width: min(440px, 100%);
  padding: 28px clamp(20px, 3vw, 32px) 26px;
}

.auth-modal-panel--wide {
  width: min(560px, 100%);
}

.auth-modal-kicker {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-modal-panel h2 {
  margin: 8px 0 0;
}

.auth-modal-lead {
  margin: 8px 0 18px;
  color: var(--muted);
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f2f6fa;
}

.auth-mode-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 11px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-mode-tab.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(7, 47, 115, 0.18);
}

.auth-mode-panel[hidden] {
  display: none !important;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-form input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

.auth-modal-alt {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.auth-text-btn {
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.auth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.auth-step {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-step.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.auth-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-panel[hidden] { display: none !important; }

.auth-panel {
  display: grid;
  gap: 12px;
}

.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-badge {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(204, 230, 0, 0.28);
  border: 1px solid rgba(204, 230, 0, 0.65);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-badge[hidden] {
  display: none !important;
}

.auth-lookup {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 750;
}

.auth-lookup.ok { color: #314000; }
.auth-lookup.bad { color: #9a3412; }

.auth-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.auth-back {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.auth-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.auth-cr-pill {
  flex: none;
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e8eef5;
  color: var(--navy);
  border: 1px solid var(--line);
}

.auth-cr-pill.is-matched {
  background: rgba(204, 230, 0, 0.3);
  border-color: rgba(204, 230, 0, 0.7);
}

.auth-cr-pill.is-manual {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.auth-cr-result {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(204, 230, 0, 0.16);
  border: 1px solid rgba(204, 230, 0, 0.45);
  color: var(--navy);
}

.auth-cr-result.is-manual {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.auth-cr-result strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.auth-cr-result span {
  font-size: 0.86rem;
  font-weight: 650;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-grid .auth-span {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-steps { grid-template-columns: 1fr; }
}
