:root {
  --bg-1: #0E1E38;
  --bg-2: #081120;
  --panel: rgba(255, 255, 255, .05);
  --panel-border: rgba(255, 255, 255, .1);
  --input-bg: #0B1526;
  --input-border: #24344d;
  --accent: #2FE08D;
  --accent-2: #5EEAD4;
  --accent-soft: #7FE9BC;
  --accent-tint: rgba(47, 224, 141, .12);
  --text: #EAF1FA;
  --muted: #90A0B8;
  --error: #FF8A8A;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2)) fixed;
  color: var(--text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

.header { padding: 20px 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
/* The Manila lockup is two stacked rows, so matching heights would make its
   wordmark read smaller than GoGHL's single line. It gets more height to sit
   optically level. */
.brand-goghl { height: 28px; width: auto; }
.brand-manila { height: 36px; width: auto; }
.brand-x {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 380px) {
  .brand { gap: 10px; }
  .brand-goghl { height: 23px; }
  .brand-manila { height: 30px; }
}

.layout {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: grid;
  gap: 32px;
  align-content: start;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent-soft);
  background: var(--accent-tint);
  border: 1px solid rgba(47, 224, 141, .3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 800; line-height: 1.1; }

.gradient-text {
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtext { color: var(--muted); margin-top: 12px; font-size: 17px; line-height: 1.5; }

.features { list-style: none; margin-top: 20px; }
.features li { position: relative; padding-left: 22px; margin: 10px 0; }
.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
}

label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 18px 0 8px;
}
label:first-of-type { margin-top: 0; }
.optional { opacity: .8; text-transform: none; letter-spacing: normal; }

input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}
input::placeholder { color: rgba(144, 160, 184, .5); }
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.error { color: var(--error); font-size: 13px; margin-top: 6px; }

button {
  width: 100%;
  margin-top: 24px;
  background: var(--accent);
  color: #062416;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .1s ease, filter .15s ease;
}
button:hover { filter: brightness(1.08); }
button:active { transform: scale(.98); }
button:disabled { filter: saturate(.4) brightness(.8); cursor: default; }

.hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

.footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    padding-top: 64px;
  }
}
