/* LP intake — locked tokens from limitless-pursuit-landing */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-raised: #161616;
  --border: #1f1f1f;
  --border-focus: #1A6FEF;
  --text: #f5f5f5;
  --text-soft: #c8c8c8;
  --text-muted: #7a7a7a;
  --accent: #1A6FEF;
  --accent-soft: rgba(26, 111, 239, 0.10);
  --accent-glow: rgba(26, 111, 239, 0.30);
  --error: #f87171;
  --radius: 8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Sticky LP logo in the top-left corner */
.corner-logo {
  position: fixed;
  top: max(24px, env(safe-area-inset-top, 0px));
  left: max(24px, env(safe-area-inset-left, 0px));
  width: 88px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 4px 18px rgba(26, 111, 239, 0.30));
  pointer-events: none;
  user-select: none;
}

@media (max-width: 640px) {
  .corner-logo {
    width: 56px;
    top: max(14px, env(safe-area-inset-top, 0px));
    left: max(14px, env(safe-area-inset-left, 0px));
  }
}

[hidden] { display: none !important; }

.shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

@media (max-width: 640px) {
  .shell {
    padding-top: 96px;
    padding-bottom: max(64px, env(safe-area-inset-bottom, 0px));
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
}

.head {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 18px;
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 8vw, 76px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 18px;
}

.sub {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 auto;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 40px; }

.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 640px) {
  .block { padding: 20px; }
}

.block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.grid {
  display: grid;
  gap: 18px;
}
.grid.two  { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 640px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.field > span {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
  width: 100%;
  min-height: 46px;
}

.field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.5);
}

/* Submit */
.submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 18px 36px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.16s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(26, 111, 239, 0.30);
  min-height: 52px;
}

@media (max-width: 640px) {
  .cta { width: 100%; padding: 18px 24px; }
  .submit-row { align-items: stretch; }
}

.cta:hover { background: #2c7af0; transform: translateY(-1px); }
.cta:active { transform: translateY(0); }
.cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.err {
  color: var(--error);
  font-size: 14px;
}

/* Thank-you */
.thanks {
  text-align: center;
  padding: 80px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.4s ease-out;
}

.thanks .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.thanks h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 7vw, 40px);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .thanks { padding: 56px 18px; }
}

.thanks p {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 36ch;
}

.thanks-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  font-style: italic;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.04em;
}
