@font-face {
  font-family: 'Neue Haas Unica';
  src: url('./fonts/NeueHaasUnicaPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Unica';
  src: url('./fonts/Neue_Haas_Unica_W06_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #141414;
  --bg-soft: #1c1c1c;
  --fg: #efe9e0;
  --fg-soft: #efe9e0b3;
  --fg-muted: #efe9e066;
  --line: #efe9e026;
}

body {
  font-family: 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow-x: hidden;
}

.orb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}

.orb-bg canvas {
  position: absolute;
  inset: 0;
}

#asciiCanvas {
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 2;
  color: var(--fg);
  display: block;
  margin: 0 auto 36px;
  text-align: center;
}

.logo svg {
  width: 220px;
  height: auto;
  display: inline-block;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: 32px 20px;
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.description {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 18px;
}

.tagline {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.description-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-soft);
  line-height: 1.65;
}

.field {
  margin-bottom: 18px;
}

.optional {
  font-weight: 300;
  color: var(--fg-muted);
  font-size: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 13px 20px;
  font-size: 16px;
  font-family: 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--fg);
  background: #242424;
}

input::placeholder,
textarea::placeholder {
  color: var(--fg-muted);
}

textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 90px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  opacity: 0.88;
}

.submit-btn:active {
  transform: translateY(1px);
}

.success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 52px;
  height: 52px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}

.success h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.success p {
  color: var(--fg-soft);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.reset-btn {
  padding: 11px 26px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s;
}

.reset-btn:hover {
  border-color: var(--fg);
}

.hidden {
  display: none;
}

@media (max-width: 480px) {
  .logo svg {
    width: 180px;
  }

  .container {
    padding: 24px 16px;
  }

  .description {
    padding: 18px;
    border-radius: 16px;
  }

  .tagline {
    font-size: 16px;
  }

  .description-text {
    font-size: 14px;
  }

  .hero {
    margin-bottom: 24px;
  }

  .field {
    margin-bottom: 16px;
  }

  input,
  textarea {
    padding: 12px 18px;
  }

  textarea {
    min-height: 96px;
  }

  .submit-btn {
    padding: 15px;
  }
}
