/* ==========================================================================
   geeks.com — coming-soon page.

   Colours are the Geeks tokens (brand/tokens.css) pinned to the dark ground,
   because this page only ever has one mood. Type is the brand stack with real
   system fallbacks: nothing is fetched at runtime, from anywhere.
   ========================================================================== */

:root {
  --bg:            #0C1116;
  --surface:       #131A21;
  --text:          #E8EDF3;
  --text-soft:     #8494A8;
  --border:        #263140;
  --border-strong: #36455A;

  --green:         #00D954;
  --green-light:   #3FE87E;
  --ginger:        #FF7A18;
  --ginger-light:  #FF9A4D;
  --deal:          #FF6B62;

  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", "Roboto Condensed",
                  "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-sans:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system,
                  "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo,
                  Consolas, "Liberation Mono", monospace;

  --r-sm: 8px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(.95rem, .92rem + .18vw, 1.05rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The only decoration: a green wash bleeding down from the top, a hairline grid
   and a very faint scanline. Fixed, non-interactive, behind everything. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90rem 40rem at 50% -14%, rgb(0 217 84 / .16), transparent 62%),
    radial-gradient(50rem 30rem at 82% 8%, rgb(255 122 24 / .07), transparent 60%),
    repeating-linear-gradient(to right, rgb(255 255 255 / .022) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, rgb(255 255 255 / .022) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, rgb(0 0 0 / .16) 0 1px, transparent 1px 3px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

.shell {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.1rem, 5vw, 2rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- brandmark ----------------------------------------------------------- */

.brandmark {
  margin: 0;
  line-height: 0;
}

.brandmark img {
  width: min(23rem, 80vw);
  height: auto;
  display: block;
}

.rule {
  width: min(23rem, 80vw);
  height: 3px;
  margin: clamp(1rem, 3vw, 1.4rem) 0 clamp(1.1rem, 3vw, 1.5rem);
  border-radius: 2px;
  background: linear-gradient(to right, var(--green) 0 62%, var(--ginger) 62% 100%);
  opacity: .9;
}

/* ---- copy ---------------------------------------------------------------- */

.headline {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.55rem + 2.3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.headline span { color: var(--green); }

.lede {
  margin: 0 0 clamp(1.4rem, 4vw, 1.9rem);
  max-width: 34rem;
  line-height: 1.55;
  color: #B9C4D2;
  text-wrap: pretty;
}

/* ---- signup -------------------------------------------------------------- */

.signup {
  width: 100%;
  max-width: 30rem;
  margin: 0;
}

.field {
  display: flex;
  gap: .6rem;
  align-items: stretch;
}

.field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .85rem 1rem;
  border: 2px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-family: var(--font-sans);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.field input::placeholder { color: #6F7E92; }

.field input:focus-visible {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgb(0 217 84 / .25);
}

.field input[aria-invalid="true"] {
  border-color: var(--deal);
}

.submit {
  flex: 0 0 auto;
  padding: .85rem 1.35rem;
  border: 2px solid var(--green);
  border-radius: var(--r-sm);
  background: var(--green);
  color: #06210F;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 3px 3px 0 #04170C;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease),
              background-color .12s var(--ease);
}

.submit:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #04170C;
}

.submit:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #04170C;
}

.submit:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 3px;
}

.submit[disabled] {
  cursor: progress;
  opacity: .72;
  transform: none;
  box-shadow: 3px 3px 0 #04170C;
}

/* The honeypot. Off-canvas rather than display:none, which some bots skip. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-status {
  margin: .8rem 0 0;
  min-height: 1.4rem;
  font-size: .92rem;
  font-weight: 500;
  text-align: left;
}

.signup-status[data-state="idle"]    { color: transparent; }
.signup-status[data-state="pending"] { color: var(--text-soft); }
.signup-status[data-state="ok"]      { color: var(--green-light); }
.signup-status[data-state="error"]   { color: var(--deal); }

.signup-status[data-state="ok"]::before    { content: "✓ "; }
.signup-status[data-state="error"]::before { content: "✕ "; }

/* ---- footer -------------------------------------------------------------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding: 1.25rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom));
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgb(132 148 168 / .8);
}

/* ---- narrow phones ------------------------------------------------------- */

@media (max-width: 30rem) {
  .field { flex-direction: column; }
  .submit { width: 100%; }
}

/* ---- motion -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .field input,
  .submit {
    transition: none;
  }
  .submit:hover,
  .submit:active {
    transform: none;
  }
}
