:root {
  --bg: #000000;
  --fg: #ffffff;
  --border: #2a2a2a;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== Landing page ========== */
.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 48px;
}

.lottie-wrap {
  width: 190px;
  height: 190px;
  margin-top: 30px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .lottie-wrap {
    width: 230px;
    height: 230px;
  }
}

h1 {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.copy {
  font-size: 1rem;
  font-weight: 300;
  color: var(--fg);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.65;
}

.sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--fg);
  max-width: 480px;
  margin: 0 auto 40px;
}

.qr {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.qr-label {
  font-size: 0.85rem;
  font-weight: 300;
  color: #999;
  letter-spacing: 0.02em;
}

/* ========== Request page ========== */
.page {
  flex: 1;
  padding: 48px 0 64px;
}

.page-header {
  text-align: center;
  margin-bottom: 36px;
}

.page-header .lottie-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.page-header h1 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.page-header p {
  color: #aaa;
  font-size: 1rem;
  font-weight: 300;
}

.form-card {
  max-width: 420px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 6px;
  color: #aaa;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 13px 14px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.15s;
}

input:focus,
textarea:focus {
  border-color: #666;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.85;
}

.form-note {
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  margin-top: 16px;
  font-weight: 300;
}

.hidden {
  display: none !important;
}

/* ========== Privacy Policy ========== */
.policy {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.policy h1 {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.policy .updated {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.policy h2 {
  font-size: 1.15rem;
  font-weight: 300;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}

.policy p,
.policy li {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f2f2f2;
  margin-bottom: 14px;
}

.policy ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.policy li {
  margin-bottom: 9px;
}

.policy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== Footer ========== */
.site-footer {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  font-weight: 300;
}

.site-footer a {
  color: #888;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* ========== Desktop tweaks ========== */
@media (min-width: 640px) {
  .container {
    max-width: 680px;
  }

  .copy {
    font-size: 1rem;
    max-width: 680px;
  }

  h1 {
    font-size: 2.4rem;
  }
}