:root {
  --bg: #07090c;
  --panel: #0f141c;
  --text: #eaf0ff;
  --muted: #9aa3ad;
  /* Brand / corp green — use sparingly; avoid heavy glow */
  --gk: #00ff9d;
  --accent: var(--gk);
  --gk-shadow-soft: rgba(0, 255, 157, 0.12);
  --gk-shadow-mid: rgba(0, 255, 157, 0.22);
  --card-surface: #0a0d10;
}

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

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========== LANDING (index.html) ========== */

.landing-body {
  display: block;
  background: #000;
  color: #fff;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
}

.landing-body main {
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text wordmark — replaces legacy gkz-logo.png */
.gkz-wordmark {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-block;
  text-rendering: geometricPrecision;
}

.gkz-wordmark__gkz {
  color: var(--gk);
  text-shadow: 0 0 20px var(--gk-shadow-soft);
}

.gkz-wordmark__id {
  color: #fff;
  font-weight: 700;
}

/* Header mark: larger + no glow so it stays sharp (backdrop-filter + blur reads fuzzy small) */
.site-header .gkz-wordmark {
  font-size: clamp(1.485rem, 2.88vw, 1.9125rem); /* ~10% smaller than prior — room for global menu */
  font-weight: 800;
  letter-spacing: -0.025em;
}

.site-header .gkz-wordmark__gkz {
  text-shadow: none;
}

.site-header .gkz-wordmark__id {
  font-weight: 800;
}

.gkz-wordmark--footer {
  font-size: clamp(1.35rem, 3.6vw, 1.665rem);
  margin: 0 auto 1.75rem;
  text-align: center;
}

a.gkz-wordmark--footer {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.site-footer .gkz-wordmark--footer {
  margin-block-start: 0;
}

.gkz-wordmark--signup {
  font-size: 1.575rem;
  margin: 0 auto 25px;
  text-align: center;
}

.signup-container .gkz-wordmark--signup {
  margin-block-start: 0;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.site-header__link {
  color: var(--gk);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid rgba(0, 255, 157, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header__link:hover {
  background: rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.55);
  color: #fff;
}

.site-header__link:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 2px;
}

.site-header__reel {
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header__reel:hover {
  background: rgba(0, 255, 157, 0.1);
  border-color: rgba(0, 255, 157, 0.45);
  color: var(--gk);
}

.site-header__reel:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 2px;
}

.lp-kicker {
  font-family: "Syne", "Outfit", sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gk);
  margin-bottom: 1.25rem;
}

.lp-kicker--center {
  text-align: center;
}

/* Brand name keeps lowercase “i”; rest of line stays caps */
.lp-kicker--mixed {
  text-transform: none;
}

.lp-kicker__pre {
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.lp-kicker__brand {
  letter-spacing: 0.1em;
  font-weight: 700;
}

.lp-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
}

.lp-hero__players {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-hero__player {
  position: absolute;
  bottom: 0;
  max-height: 78%;
  width: auto;
  opacity: 0.35;
  filter: grayscale(0.2);
}

.lp-hero__player--left {
  left: 0;
  transform: translateX(-12%);
}

.lp-hero__player--right {
  right: 0;
  transform: translateX(12%);
}

@media (max-width: 900px) {
  .lp-hero__player {
    opacity: 0.18;
    max-height: 55%;
  }
}

@media (max-width: 640px) {
  .lp-hero__players {
    display: none;
  }
}

.lp-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.lp-hero__title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.lp-hero__title-line {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  color: #fff;
}

.lp-hero__title-accent {
  display: block;
  font-size: clamp(3rem, 11vw, 6rem);
  color: var(--gk);
  text-shadow: 0 0 32px var(--gk-shadow-soft);
}

.lp-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  border-radius: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-btn--primary {
  background: var(--gk);
  color: #000;
  box-shadow: 0 4px 24px var(--gk-shadow-soft), 0 0 0 1px rgba(0, 255, 157, 0.2);
}

.lp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gk-shadow-mid), 0 0 0 1px rgba(0, 255, 157, 0.35);
}

.lp-btn--primary:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 3px;
}

.lp-btn--ghost {
  background: transparent;
  color: var(--gk);
  border: 1px solid rgba(0, 255, 157, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.08);
}

.lp-btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(0, 255, 157, 0.1);
  border-color: rgba(0, 255, 157, 0.65);
  box-shadow: 0 6px 28px var(--gk-shadow-soft);
}

.lp-btn--ghost:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 3px;
}

/* Let the rabbit hop extend past the button box (transform needs room). */
.lp-btn--rabbit {
  overflow: visible;
}

/* Home hero only: hide reel CTA under rabbit copy (any <a>, including cached/old markup) */
.lp-hero .lp-rabbit-trail a {
  display: none !important;
}

.lp-rabbit-trail {
  margin-top: 2.25rem;
  max-width: 28rem;
  margin-inline: auto;
  text-align: center;
}

.lp-rabbit-trail__title {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.lp-rabbit-trail__lead {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-weight: 700;
  color: var(--gk);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.lp-rabbit-trail__story {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1rem;
}

.lp-rabbit-trail__tagline {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.35rem;
  letter-spacing: 0.03em;
}

/* Animate a sized box — emoji-only spans often ignore transform in Chrome/Edge (Windows). */
.lp-rabbit-trail__hop {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 1.5em;
  height: 1.65em;
  margin-right: 0.35em;
  flex-shrink: 0;
  transform-origin: 50% 100%;
  animation: lpRabbitHop 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}

.lp-rabbit-trail__emoji {
  display: block;
  line-height: 1;
  font-size: 1.15em;
}

@keyframes lpRabbitHop {
  0%,
  28%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  7% {
    transform: translate3d(0, -12px, 0);
  }
  14% {
    transform: translate3d(0, 0, 0);
  }
  21% {
    transform: translate3d(0, -8px, 0);
  }
  28% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-rabbit-trail__hop {
    animation: none;
    will-change: auto;
  }
}

.lp-hero__line {
  width: 1px;
  height: 4rem;
  margin: 2rem auto 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), transparent);
}

.lp-section {
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.lp-section-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.lp-section-title__white {
  color: #fff;
  margin-right: 0.35em;
}

.lp-section-title__accent {
  color: var(--gk);
  text-shadow: 0 0 28px var(--gk-shadow-soft);
}

.lp-section-title--show .lp-section-title__white {
  display: block;
  margin-right: 0;
}

.lp-section-title--show .lp-section-title__accent {
  display: block;
}

@media (min-width: 640px) {
  .lp-section-title--show .lp-section-title__white,
  .lp-section-title--show .lp-section-title__accent {
    display: inline;
  }
  .lp-section-title--show .lp-section-title__white {
    margin-right: 0.35em;
  }
}

.lp-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .lp-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.lp-card {
  background: var(--card-surface);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

a.lp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.lp-card:hover {
  border-color: rgba(0, 255, 157, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 255, 157, 0.2),
    0 0 20px rgba(0, 255, 157, 0.14),
    0 0 44px rgba(0, 255, 157, 0.08);
}

.lp-card--border {
  border-color: rgba(0, 255, 157, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.08);
}

.lp-card--border:hover {
  border-color: rgba(0, 255, 157, 0.75);
  box-shadow:
    0 0 0 1px rgba(0, 255, 157, 0.35),
    0 0 24px rgba(0, 255, 157, 0.2),
    0 0 52px rgba(0, 255, 157, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .lp-card {
    transition-duration: 0.01ms;
  }
}

.lp-card__icon {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.lp-card__icon--eye {
  filter: saturate(1.2);
}

.lp-card__title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  color: #fff;
}

.lp-card__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.lp-showcase {
  text-align: center;
}

.lp-showcase__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Flip sample cards — thumbnails via <img src> (any image URL the browser can load) */
.lp-mini-card {
  position: relative;
  width: 160px;
  height: 248px;
  perspective: 900px;
  -webkit-perspective: 900px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}

.lp-mini-card:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 4px;
  border-radius: 16px;
}

.lp-mini-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lp-mini-card.is-flipped .lp-mini-card__inner {
  transform: rotateY(180deg);
}

.lp-mini-card__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: linear-gradient(165deg, #111418 0%, #07090c 100%);
  box-shadow: 0 8px 40px var(--gk-shadow-soft);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
}

.lp-mini-card__face--front {
  z-index: 2;
}

.lp-mini-card__face--back {
  transform: rotateY(180deg);
  justify-content: flex-start;
  padding-top: 1.35rem;
}

.lp-mini-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 157, 0.4);
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
}

.lp-mini-card__pos {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gk);
  letter-spacing: 0.15em;
  margin-bottom: 0.35rem;
}

.lp-mini-card__name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.35rem;
  padding-top: 0.25rem;
}

.lp-mini-card__hint {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 255, 157, 0.45);
  margin-bottom: auto;
}

.lp-mini-card__rating {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.5rem;
}

.lp-mini-card__bg {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(0, 255, 157, 0.06);
  pointer-events: none;
  user-select: none;
}

.lp-mini-card__back-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 255, 157, 0.55);
  margin-bottom: 0.5rem;
}

.lp-mini-card__back-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.lp-mini-card__back-line {
  font-size: 0.68rem;
  color: rgba(234, 242, 255, 0.55);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.lp-mini-card__back-stats {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.62rem;
  color: rgba(234, 242, 255, 0.72);
  margin-bottom: 0.65rem;
}

.lp-mini-card__back-stats b {
  display: block;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0, 255, 157, 0.5);
  margin-bottom: 0.12rem;
}

.lp-mini-card__back-tag {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .lp-mini-card__inner {
    transition: none;
  }

  .lp-mini-card__face--back {
    transform: rotateY(0);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }

  .lp-mini-card__face--front {
    transition: opacity 0.2s ease;
  }

  .lp-mini-card.is-flipped .lp-mini-card__inner {
    transform: none;
  }

  .lp-mini-card.is-flipped .lp-mini-card__face--front {
    opacity: 0;
    pointer-events: none;
  }

  .lp-mini-card.is-flipped .lp-mini-card__face--back {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Home showcase: live /card/:slug iframes (slots filled via data-gkz-demo-slug or home_featured_media) */
.lp-live-demo-hint {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(234, 242, 255, 0.55);
  text-align: center;
}

.lp-live-demo-hint code {
  font-size: 0.78em;
  color: rgba(0, 255, 157, 0.75);
}

.lp-live-card-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  /* Slightly wider than old 136px so the phone frame reads taller; still fits 3-across on mobile */
  width: min(184px, 29vw);
  flex-shrink: 0;
}

/* Thumbnail: same proportions as public /card shell (see web/card/card.css --gkz-viewer-shell-*); iframe scaled to fit */
.lp-live-card-slot__viewport {
  position: relative;
  width: 100%;
  container-type: inline-size;
  container-name: lp-live-slot;
  aspect-ratio: 530 / 874;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 157, 0.35);
  box-shadow: 0 8px 40px var(--gk-shadow-soft);
  background: #07090c;
}

.lp-live-card-slot__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(234, 242, 255, 0.42);
  text-align: center;
}

.lp-live-card-slot__placeholder code {
  color: rgba(0, 255, 157, 0.55);
  font-size: 0.65rem;
}

.lp-live-card-slot:not(.lp-live-card-slot--empty) .lp-live-card-slot__placeholder {
  display: none;
}

/*
 * Host centers the iframe and owns transform: scale (not the iframe — some browsers ignore
 * transform on replaced elements). Measured scale is set from lp-live-card-demos.js; CQ is a
 * fallback before/without JS.
 */
.lp-live-card-slot__iframe-host {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  transform: scale(calc(100cqw / 530));
  transform-origin: center center;
}

.lp-live-card-slot__iframe {
  /*
   * Match public card shell (--gkz-viewer-shell-w/h in web/card/card.css). Same aspect as
   * .lp-live-card-slot__viewport so one scale factor fills the slot with no letterboxing.
   */
  width: 530px;
  height: 874px;
  max-width: none;
  border: 0;
  flex: 0 0 auto;
  background: #05080c;
  pointer-events: auto;
}

.lp-live-card-slot__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  background: #05080c;
}

.lp-live-card-slot__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  background: #05080c;
}

.lp-live-card-slot--empty .lp-live-card-slot__iframe-host {
  visibility: hidden;
  pointer-events: none;
}

.lp-live-card-slot__link {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gk);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.lp-live-card-slot__link:hover,
.lp-live-card-slot__link:focus-visible {
  text-decoration: underline;
}

.site-footer {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0 auto 1.75rem;
  max-width: 32rem;
}

.site-footer__links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(234, 240, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: var(--gk);
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: var(--gk);
  color: var(--gk);
  background: rgba(0, 255, 157, 0.06);
}

.site-footer__legal {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================= SIGNUP PAGE ================= */

.signup-container {
  width: 100%;
  max-width: 420px;
  padding: 28px 25px 48px;
  text-align: center;
}

.signup-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0.35rem;
  margin-bottom: 10px;
}

.signup-subtext {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 35px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group input {
  width: 100%;
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-group input:focus {
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 0 0 3px var(--gk-shadow-soft);
}

.input-group--password {
  position: relative;
}

.input-group--password input {
  padding-right: 52px;
}

.signup-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-password-toggle:hover,
.signup-password-toggle:focus-visible {
  color: var(--gk);
  outline: none;
}

.signup-password-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--gk-shadow-mid);
}

.signup-password-toggle__icon {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.signup-password-toggle__eye-off {
  display: none;
}

.signup-password-toggle[aria-pressed="true"] .signup-password-toggle__eye {
  display: none;
}

.signup-password-toggle[aria-pressed="true"] .signup-password-toggle__eye-off {
  display: block;
}

.signup-button {
  margin-top: 10px;
  padding: 18px;
  background: var(--gk);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px var(--gk-shadow-soft);
}

.signup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gk-shadow-mid);
}

.login-link {
  margin-top: 25px;
  font-size: 13px;
  color: var(--muted);
}

.login-link a {
  color: var(--gk);
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--panel) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.verify-box {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.signup-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding-top: calc(var(--gkz-spine-h, 52px) + env(safe-area-inset-top, 0px) + 1.25rem);
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px) + 1.5rem);
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
}

.signup-container--wide {
  max-width: 440px;
}

.is-hidden {
  display: none !important;
}

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

.signup-status {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 255, 157, 0.06);
  border: 1px solid rgba(0, 255, 157, 0.2);
  margin-bottom: 1rem;
}

.signup-status--center {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.signup-status--error {
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.08);
  border-color: rgba(255, 100, 100, 0.35);
}

.signup-oauth {
  margin-bottom: 0.5rem;
}

.signup-oauth__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #fff;
  color: #1f1f1f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-oauth__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.signup-oauth__ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.signup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.35rem 0 1rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.signup-divider::before,
.signup-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.signup-divider span {
  flex-shrink: 0;
}

.signup-button--ghost {
  background: transparent;
  color: var(--gk);
  border: 1px solid rgba(0, 255, 157, 0.45);
  box-shadow: none;
}

.signup-button--ghost:hover {
  background: rgba(0, 255, 157, 0.1);
  color: var(--gk);
}

.signup-text-btn {
  align-self: flex-start;
  margin: -6px 0 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--gk);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-link-btn {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: var(--gk);
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.forgot-panel {
  margin: 0.75rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* —— Sign-up: role + age (mobile-first, large tap targets) —— */
.signup-gates {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 1.25rem;
  text-align: left;
}

.signup-gates.is-hidden {
  display: none !important;
}

.signup-gates__intro {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.signup-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 12px 16px;
  margin: 0 0 14px;
  background: rgba(0, 0, 0, 0.25);
}

.signup-fieldset__legend {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gk);
  padding: 0 6px;
}

.signup-role-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.signup-role {
  display: block;
  cursor: pointer;
  margin: 0;
}

.signup-role input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.signup-role__card {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 28, 0.85);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.signup-role__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.signup-role input:focus-visible + .signup-role__card {
  outline: 2px solid var(--gk);
  outline-offset: 2px;
}

.signup-role input:checked + .signup-role__card {
  border-color: rgba(0, 255, 157, 0.45);
  background: rgba(0, 255, 157, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.15);
}

.signup-age {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.signup-age input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gk);
}

.signup-gates__parent-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 157, 0.22);
  background: rgba(0, 255, 157, 0.06);
}

.signup-gates__parent-note.is-hidden {
  display: none !important;
}

.signup-hint {
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  margin-bottom: 0.75rem;
}

.signup-phone-intro {
  margin-bottom: 1rem;
}

.signup-footer-link {
  margin-top: 2rem;
}

.signup-footer-link a {
  color: var(--gk);
  text-decoration: none;
}

.signup-footer-link a:hover {
  text-decoration: underline;
}

.signup-troubleshoot {
  margin-top: 2rem;
  text-align: left;
  max-width: 100%;
  font-size: 0.8125rem;
  color: var(--muted);
}

.signup-troubleshoot summary {
  cursor: pointer;
  color: var(--gk);
  font-weight: 600;
  list-style-position: outside;
}

.signup-troubleshoot__body {
  margin-top: 0.75rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

.signup-troubleshoot__body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.signup-troubleshoot__body code {
  font-size: 0.75em;
  color: var(--gk);
  word-break: break-all;
}

/* Instant signup — mobile-first, Google-first */
.signup-container--instant {
  max-width: 400px;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.signup-instant__logo {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.signup-title--instant {
  font-size: clamp(1.35rem, 5.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.signup-container--instant .signup-status {
  text-align: center;
  margin-bottom: 0.85rem;
}

.signup-google-hero {
  margin: 0 auto 0.25rem;
  max-width: 340px;
}

.signup-google-hero .signup-oauth__btn {
  width: 100%;
  padding: 1.05rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(0, 255, 157, 0.28),
    0 6px 36px rgba(0, 255, 157, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-google-hero .signup-oauth__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 255, 157, 0.45),
    0 10px 44px rgba(0, 255, 157, 0.22);
}

.signup-or-minimal {
  margin: 0.85rem 0 0.35rem;
}

.signup-secondary-link {
  display: inline-block;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: none;
  background: none;
  color: var(--gk);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.signup-secondary-link:hover {
  filter: brightness(1.12);
}

.signup-secondary-link:focus-visible {
  outline: 2px solid var(--gk);
  outline-offset: 3px;
  border-radius: 6px;
}

.signup-secondary-link--spaced {
  margin-top: 1.5rem;
}

.signup-panel {
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-form--compact {
  gap: 14px;
}

.signup-form--compact .signup-button {
  margin-top: 4px;
}

.login-link--tight {
  margin-top: 1rem;
  text-align: center;
}

.signup-footer-minimal {
  margin-top: 1.75rem;
  font-size: 0.8125rem;
}

.signup-footer-minimal a {
  color: var(--muted);
  text-decoration: none;
}

.signup-footer-minimal a:hover {
  color: var(--gk);
  text-decoration: underline;
}

.signup-phone-flow-status {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(234, 242, 255, 0.78);
  background: rgba(0, 255, 157, 0.07);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 12px;
}

.signup-phone-flow-status--error {
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.08);
  border-color: rgba(255, 100, 100, 0.35);
}
