*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --bg: #f4f3ef;
  --surface: #eceae3;
  --border: #dddad2;
  --mid: #9a9690;
  --text: #3a3835;
  --dark: #242220;
  --red: #c0392b;
  --red-dim: rgba(192,57,43,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ANNOUNCEMENT BANNER — change display to 'block' in CSS to show it, default is none*/
.announce-bar {
  display: block;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 20;
}
.announce-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.announce-bar a:hover { opacity: 0.85; }

/* NAV banner, set top: 38px when using announcement bar, default is  top: 0; left: 0; right: 0; */
nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 2.5rem;
}


.nav-logo img {
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.nav-right { display: flex; align-items: center; gap: 1.75rem; }

.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.2s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.nav-links a:hover { color: #fff; }

.nav-store {
  background: rgba(255,255,255,0.92) !important;
  color: var(--dark) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  backdrop-filter: blur(8px);
  transition: background 0.2s !important;
}
.nav-store:hover { background: #fff !important; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%); padding-top: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  min-width: 190px;
  list-style: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 30;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text) !important;
  text-shadow: none !important;
  font-size: 0.82rem;
  font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--surface); color: var(--dark) !important; }

/* HERO */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(244,243,239,0.55) 88%,
    var(--bg) 100%);
  pointer-events: none;
}

/* HERO CARD */
.hero-card {
  position: absolute;
  bottom: 2.75rem; left: 2.75rem;
  z-index: 2;
  background: var(--white);
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  max-width: 390px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.06);
}

/* Status pill — online/offline only */
.status-pill {
  position: absolute;
  bottom: 2.75rem; right: 2.75rem;
  z-index: 2;
  background: var(--white);
  border-radius: 99px;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 500; color: var(--dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.status-dot.online { animation: blink 2s ease infinite; }
.status-dot.offline { background: #ef4444; animation: none; }
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.card-logo { height: 36px; display: block; margin-bottom: 0.6rem; }

.card-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 1rem; font-weight: 500;
}

.card-tagline {
  font-size: 0.875rem; color: var(--mid); font-weight: 300;
  line-height: 1.55; margin-bottom: 1.35rem;
}

.card-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 1.2rem; }

.ip-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.1rem; }

.ip-label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.25rem; }
.ip-address { font-family: 'Press Start 2P', monospace; font-size: 0.62rem; color: var(--dark); line-height: 1.5; }

.copy-btn {
  background: var(--dark); color: var(--white);
  border: none; padding: 0.55rem 1rem;
  font-size: 0.73rem; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.copy-btn:hover { background: var(--red); }

.card-socials {
  display: flex; align-items: center; gap: 0.55rem;
  padding-top: 1.1rem; border-top: 1px solid var(--border);
}
.social-lbl { font-size: 0.68rem; color: var(--mid); margin-right: 0.15rem; flex-shrink: 0; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 33px; height: 33px;
  border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.social-link:hover { background: var(--surface); border-color: #bbb8b0; }

/* ABOUT */
.about {
  max-width: 1080px; margin: 0 auto;
  padding: 5.5rem 2.5rem 4rem;
  display: grid; grid-template-columns: 1fr 1.75fr;
  gap: 5rem; align-items: start;
}

.section-label {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 1rem;
}

.about-heading {
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem; line-height: 2;
  color: var(--dark); margin-bottom: 2rem;
}
.about-heading em { font-style: normal; color: var(--red); }

.facts {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.fact { background: var(--white); padding: 1.2rem; }
.fact-val { font-family: 'Press Start 2P', monospace; font-size: 0.75rem; color: var(--dark); line-height: 1.4; margin-bottom: 0.4rem; }
.fact-lbl { font-size: 0.7rem; color: var(--mid); }

.about-lead { font-size: 1.05rem; line-height: 1.8; color: var(--text); margin-bottom: 1.25rem; }
.about-body { font-size: 0.9rem; line-height: 1.85; color: #7a7773; margin-bottom: 1.1rem; }

/* GAMES */
.games-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2.5rem;
}
.games-inner { max-width: 1080px; margin: 0 auto; }

.games-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.games-title { font-family: 'Press Start 2P', monospace; font-size: 1rem; line-height: 1.7; color: var(--dark); }
.games-note { font-size: 0.82rem; color: var(--mid); max-width: 240px; text-align: right; line-height: 1.5; }

.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.game-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: pointer;
}
.game-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.game-thumb { position: relative; height: 220px; overflow: hidden; flex-shrink: 0; }
.game-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease; filter: saturate(0.88);
}
.game-card:hover .game-thumb img { transform: scale(1.04); filter: saturate(1); }

.game-strips { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; height: 70px; flex-shrink: 0; }
.game-strips img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.7) brightness(0.9); transition: filter 0.3s; }
.game-card:hover .game-strips img { filter: saturate(0.9) brightness(1); }

.game-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 0.28rem 0.65rem; border-radius: 99px;
  font-size: 0.6rem; font-weight: 600; color: var(--dark);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.game-arrow {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  width: 28px; height: 28px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0; transform: scale(0.75);
  transition: opacity 0.2s, transform 0.2s;
}
.game-card:hover .game-arrow { opacity: 1; transform: scale(1); }

.game-info { padding: 1.2rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.game-name { font-family: 'Press Start 2P', monospace; font-size: 0.72rem; color: var(--dark); margin-bottom: 0.55rem; line-height: 1.5; }
.game-desc { font-size: 0.82rem; color: var(--mid); line-height: 1.6; margin-bottom: 0.9rem; flex: 1; }
.game-play {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 600; color: var(--red); letter-spacing: 0.03em;
}

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(36,34,32,0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 680px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
  position: relative;
}
.modal-backdrop.open .modal { transform: none; }

.modal-hero {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-body { padding: 2rem 2.25rem 2.25rem; }

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 1rem; color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.modal-close:hover { background: #fff; }

.modal-badge {
  display: inline-block;
  background: var(--red-dim); color: var(--red);
  border: 1px solid rgba(192,57,43,0.18);
  padding: 0.25rem 0.7rem; border-radius: 99px;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.1rem; line-height: 1.5;
  color: var(--dark); margin-bottom: 0.75rem;
}

.modal-desc {
  font-size: 0.9rem; color: var(--mid);
  line-height: 1.75; margin-bottom: 1.75rem;
}

/* Stats use flexbox so items wrap and fill evenly */
.modal-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 1.75rem;
}
.modal-stat {
  background: var(--bg); padding: 1rem 1.1rem;
  flex: 1; min-width: 0;
}
.modal-stat-val {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.62rem; color: var(--dark);
  margin-bottom: 0.35rem; line-height: 1.6;
  white-space: normal; word-break: break-word;
}
.modal-stat-lbl { font-size: 0.7rem; color: var(--mid); }

.modal-section-title {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.75rem;
}

.kits-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.kit-pill {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 99px; padding: 0.3rem 0.8rem;
  font-size: 0.78rem; color: var(--text); font-weight: 500;
}

.modal-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--dark); color: var(--white);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; transition: background 0.2s;
  width: 100%;
}
.modal-cta:hover { background: var(--red); }

/* JOIN */
.join-section {
  max-width: 1080px; margin: 0 auto;
  padding: 5.5rem 2.5rem;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 5rem; align-items: start;
}

.steps-heading {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem; line-height: 1.8;
  color: var(--dark); margin-bottom: 2rem;
}

.join-steps { display: flex; flex-direction: column; }
.join-step {
  display: flex; gap: 1.25rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.join-step.visible { opacity: 1; transform: none; }

.step-num { font-family: 'Press Start 2P', monospace; font-size: 0.55rem; color: var(--mid); min-width: 20px; padding-top: 5px; }
.step-text h3 { font-size: 0.88rem; font-weight: 600; color: var(--dark); margin-bottom: 0.2rem; }
.step-text p { font-size: 0.82rem; color: var(--mid); line-height: 1.55; }
.step-text strong { color: var(--red); font-weight: 600; }

.join-ip-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
}
.join-ip-box .ip-address { font-family: 'Press Start 2P', monospace; font-size: 0.62rem; color: var(--dark); margin-bottom: 1rem; line-height: 1.6; }
.join-ip-box .copy-btn { width: 100%; padding: 0.7rem; }

.btn-block {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 0.8rem 1.4rem;
  font-size: 0.84rem; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; border-radius: var(--radius-sm);
  transition: opacity 0.2s; margin-top: 0.75rem; color: #fff;
}
.btn-block:hover { opacity: 0.86; }
.btn-store { background: #2d5e3a; }
.btn-discord { background: #5865F2; }

/* FOOTER */
footer {
  background: var(--dark); color: rgba(255,255,255,0.35);
  padding: 2.25rem 2.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.footer-logo img { height: 24px; opacity: 0.6; display: block; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.7rem; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  padding: 5rem 2rem 2rem;
  z-index: 150;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  flex-direction: column;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-drawer a:hover { color: var(--red); }
.nav-drawer .drawer-store {
  margin-top: 1.25rem;
  background: var(--dark);
  color: #fff !important;
  text-align: center;
  padding: 0.85rem !important;
  border-radius: var(--radius-sm);
  border: none !important;
  font-weight: 600 !important;
}

@media (max-width: 1024px) {
  .about { gap: 3rem; padding: 5rem 2rem 3.5rem; }
  .games-section { padding: 4rem 2rem; }
  .join-section { gap: 3rem; padding: 4.5rem 2rem; }
}

@media (max-width: 860px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .hero { height: 75vh; min-height: 480px; max-height: 640px; }
  .hero-card {
    left: 1rem; right: 1rem; bottom: 5rem;
    max-width: none;
    padding: 1.5rem 1.5rem;
  }
  .status-pill { bottom: 1.25rem; right: 1rem; font-size: 0.68rem; }

  .about { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.25rem; }
  .facts { grid-template-columns: repeat(3,1fr); }

  .games-section { padding: 3.5rem 1.25rem; }
  .games-grid { grid-template-columns: 1fr; gap: 1rem; }
  .game-thumb { height: 200px; }

  .join-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.25rem; }

  .modal-body { padding: 1.5rem 1.5rem 1.75rem; }
  .modal-title { font-size: 0.9rem; }

  footer { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 540px) {
  .announce-bar { font-size: 0.72rem; padding: 0.55rem 1rem; }
  nav { padding: 0.9rem 1rem; }

  .hero { height: 100svh; max-height: 700px; }
  .hero-card {
    left: 0.75rem; right: 0.75rem; bottom: 4.5rem;
    padding: 1.25rem 1.25rem 1.1rem;
  }
  .card-logo { height: 26px; }
  .card-tagline { font-size: 0.8rem; }
  .ip-address { font-size: 0.55rem; }
  .copy-btn { font-size: 0.68rem; padding: 0.5rem 0.8rem; }
  .social-link { width: 30px; height: 30px; }
  .status-pill { font-size: 0.65rem; padding: 0.4rem 0.75rem; bottom: 1rem; right: 0.75rem; }

  .about { padding: 2.75rem 1rem; }
  .about-heading { font-size: 0.85rem; }
  .about-lead { font-size: 0.95rem; }
  .fact-val { font-size: 0.65rem; }
  .fact-lbl { font-size: 0.65rem; }

  .games-section { padding: 2.75rem 1rem; }
  .games-title { font-size: 0.85rem; }
  .games-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .games-note { text-align: left; max-width: none; }
  .game-name { font-size: 0.65rem; }
  .game-strips { height: 56px; }

  .modal-backdrop { padding: 0.75rem; }
  .modal { max-height: 95vh; }
  .modal-hero { height: 160px; }
  .modal-body { padding: 1.25rem 1.25rem 1.5rem; }
  .modal-title { font-size: 0.8rem; }
  .modal-stat-val { font-size: 0.58rem; }
  .kits-grid { gap: 0.4rem; }
  .kit-pill { font-size: 0.72rem; padding: 0.25rem 0.65rem; }

  .join-section { padding: 2.75rem 1rem; }
  .steps-heading { font-size: 0.75rem; }
  .step-text h3 { font-size: 0.82rem; }

  footer { padding: 1.25rem 1rem; }
  .footer-links { gap: 0.75rem; }
  .footer-links a { font-size: 0.72rem; }
  .footer-copy { font-size: 0.65rem; }
}

@media (max-width: 380px) {
  .hero-card { padding: 1rem; bottom: 4rem; }
  .card-logo { height: 22px; }
  .ip-row { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .copy-btn { width: 100%; }
  .fact { padding: 0.9rem 0.7rem; }
}

/* ===== Form embed pages ===== */
.form-wrap { max-width: 820px; margin: 0 auto; padding: 2rem 2.5rem 2.5rem; }
.form-eyebrow { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: 1rem; }
.form-title { font-family: 'Press Start 2P', monospace; font-size: 1.1rem; line-height: 1.7; color: var(--red); margin-bottom: 1rem; }
.form-lede { font-size: 0.98rem; color: var(--mid); max-width: 60ch; margin-bottom: 2rem; }
.form-embed { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: 0 16px 56px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05); }
.form-embed iframe { display: block; width: 100%; min-height: 680px; border: 0; border-radius: calc(var(--radius) - 6px); background: var(--white); }
/* Form-page nav: solid dark bar to match the Updates page and homepage */
.form-page nav { position: relative; background: var(--dark); }
.form-page nav .nav-links a { color: rgba(255,255,255,0.82); text-shadow: none; }
.form-page nav .nav-links a:hover { color: #fff; }
.form-page nav .nav-logo img { filter: none; }
/* dropdown menu stays light (it's a popover on the dark bar) */
.form-page nav .nav-dropdown-menu a { color: var(--text) !important; }
@media (max-width: 640px) {
  .form-wrap { padding: 2rem 1.25rem 3rem; }
  .form-title { font-size: 0.92rem; }
  .form-embed iframe { min-height: 760px; }
}
