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

:root {
  --ff-d: 'Syne', sans-serif;
  --ff-b: 'DM Sans', sans-serif;

  /* ONE accent: Amber. Teal = logo only. */
  --amber:      #F0B429;
  --amber-dim:  rgba(240,176,41,.12);
  --amber-glow: rgba(240,176,41,.22);

  --teal-1: #2291A9;
  --teal-2: #22BFC3;
  --teal-3: #1AA491;

  --dark:     #07090D;
  --warm-bg:  #F2F0EA;
  --card-bg:  #FFFFFF;
  --input-bg: #FFFFFF;
  --input-bd: #DDD8CC;

  --txt-1: #1B1D24;
  --txt-2: #5C6370;
  --txt-3: #9BA3AF;
}

html, body { height: 100%; }
body {
  font-family: var(--ff-b);
  -webkit-font-smoothing: antialiased;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}
@keyframes breathe {
  0%,100% { opacity: .6; transform: scale(1); }
  50%     { opacity: 1;  transform: scale(1.25); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Amber bridge — seam between panels */
.bridge {
  position: fixed;
  left: 48%; top: 0; bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    transparent                    0%,
    rgba(240,176,41,.18)          15%,
    rgba(240,176,41,.42)          38%,
    rgba(240,176,41,.52)          50%,
    rgba(240,176,41,.42)          62%,
    rgba(240,176,41,.18)          85%,
    transparent                   100%
  );
  box-shadow: 0 0 6px 1px rgba(240,176,41,.18);
}

/* ══ LEFT PANEL ══ */
.lp {
  flex: 0 0 48%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  padding: 52px 72px 52px 96px;
  position: relative;
  overflow: hidden;
  cursor: none;
}

#net { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.lp-glow {
  position: absolute; top: -60px; left: -60px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,176,41,.04) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.cursor {
  position: absolute; width: 7px; height: 7px;
  background: var(--amber); border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 10;
  box-shadow: 0 0 8px var(--amber), 0 0 18px rgba(240,176,41,.4);
  opacity: 0; transition: opacity .2s;
}
.spot {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,176,41,.07) 0%, transparent 70%);
  transform: translate(-50%,-50%); pointer-events: none; z-index: 1;
  opacity: 0; transition: left .09s ease-out, top .09s ease-out, opacity .25s;
}

.lp-top, .lp-mid, .lp-bot { position: relative; z-index: 2; }

/* Wordmark */
.lp-top {
  display: flex; align-items: center; gap: 13px;
  animation: fadeUp .5s ease both;
}
.gb-logo { flex-shrink: 0; display: block; }
.wm-name {
  font-family: var(--ff-d);
  font-size: 15px; font-weight: 700;
  letter-spacing: .9px; text-transform: uppercase; line-height: 1;
}
.wm-glow { color: var(--teal-2); }
.wm-byte { color: rgba(248,252,255,.72); }
.wm-sub  {
  font-size: 9.5px; color: rgba(255,255,255,.2);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 4px; display: block;
}

/* Hero */
.lp-mid {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.accent-line {
  width: 34px; height: 2px; border-radius: 2px;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber), 0 0 32px rgba(240,176,41,.35);
  margin-bottom: 36px;
  animation: fadeUp .5s .05s ease both;
}
.hl { margin-bottom: 32px; }
.hl-w {
  display: block;
  font-family: var(--ff-d);
  font-size: 92px; font-weight: 800;
  line-height: .91; letter-spacing: -5.5px;
  animation: fadeUp .55s ease both;
}
.hl-w:nth-child(1) { color: #EDF2F7; animation-delay: .10s; }
.hl-w:nth-child(2) { color: rgba(237,242,247,.27); animation-delay: .17s; }
.hl-w:nth-child(3) {
  color: var(--amber); animation-delay: .24s;
  text-shadow:
    0 0 40px rgba(240,176,41,.7),
    0 0 90px rgba(240,176,41,.3),
    0 0 160px rgba(240,176,41,.12);
}
.lp-desc {
  font-size: 14px; line-height: 1.78;
  color: rgba(255,255,255,.24);
  max-width: 295px;
  animation: fadeUp .55s .3s ease both;
}

/* Footer strip */
.lp-bot {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 22px;
  animation: fadeUp .55s .38s ease both;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber), 0 0 16px rgba(240,176,41,.3);
  animation: breathe 3s ease infinite;
}
.lp-bot-txt { font-size: 11px; color: rgba(255,255,255,.18); letter-spacing: .3px; }

/* ══ RIGHT PANEL ══ */
.rp {
  flex: 1;
  background: var(--warm-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 52px 48px;
  position: relative;
}

/* Amber warmth echoing from left */
.rp::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 0% 48%, rgba(240,176,41,.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 95%, rgba(240,176,41,.05) 0%, transparent 50%);
}

/* No card — form floats on warm background */
.fw {
  width: 100%; max-width: 360px;
  position: relative; z-index: 1;
  animation: cardIn .65s .06s cubic-bezier(.22,.68,0,1.08) both;
}

/* Inputs get more prominent shadow since there's no card */
input[type=text]:not(:focus),
input[type=password]:not(:focus) {
  box-shadow: 0 1px 4px rgba(0,0,0,.08), 0 0 0 1px rgba(255,255,255,.9) inset;
}

/* Form header — Syne bridges typography with left panel */
.fh { margin-bottom: 28px; }
.fh h1 {
  font-family: var(--ff-d);
  font-size: 30px; font-weight: 700; letter-spacing: -.6px;
  color: var(--txt-1); margin-bottom: 8px;
}
.fh p { font-size: 14.5px; color: var(--txt-2); }

/* Error */
.err {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.15);
  border-radius: 10px; padding: 10px 13px; margin-bottom: 16px;
  font-size: 13px; color: #C53030; line-height: 1.45;
}
.err svg { flex-shrink: 0; margin-top: 1px; }

/* Fields */
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 10.5px; font-weight: 600;
  color: #7A7268; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .85px;
}
.iw { position: relative; }
.ii {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: #C0B9AB; line-height: 0;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 11px 13px 11px 40px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-bd);
  border-radius: 10px;
  font-size: 14.5px; font-family: var(--ff-b); color: var(--txt-1);
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input::placeholder { color: #BDB6A8; }

/* Amber focus — same accent, both panels unified */
input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(240,176,41,.16);
  background: #FFFDF5;
}

.pw-btn {
  position: absolute; right: 11px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: #C0B9AB; padding: 5px; border-radius: 6px; line-height: 0;
  transition: color .15s, background .15s;
}
.pw-btn:hover { color: var(--txt-2); background: rgba(0,0,0,.04); }

/* AMBER CTA — single accent, warm, decisive */
.btn-go {
  position: relative; overflow: hidden;
  width: 100%; padding: 13px; margin-top: 10px;
  background: var(--amber);
  color: #1A1510;
  border: none; border-radius: 10px;
  font-size: 14.5px; font-weight: 700; font-family: var(--ff-b);
  letter-spacing: -.1px; cursor: pointer;
  box-shadow:
    0 4px 18px rgba(240,176,41,.4),
    0 1px 0 rgba(255,255,255,.3) inset;
  transition: transform .18s, box-shadow .18s, background .18s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-go::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  background-size: 200% 100%; opacity: 0; transition: opacity .2s;
}
.btn-go:hover {
  transform: translateY(-2px);
  background: #F5BC32;
  box-shadow: 0 8px 26px rgba(240,176,41,.48), 0 1px 0 rgba(255,255,255,.3) inset;
}
.btn-go:hover::after { opacity: 1; animation: shimmer .65s linear; }
.btn-go:active       { transform: scale(.985); }

@media (max-width: 800px) {
  body    { flex-direction: column; overflow: auto; }
  .lp     { flex: 0 0 auto; padding: 24px 24px 20px; cursor: auto; }
  .bridge { display: none; }
  .lp-mid { display: none; }
  .rp     { padding: 36px 20px 52px; }
  .fw     { max-width: 100%; }
}
