/* baroobiugc.com
   Palette extracted from baroobi-tech-ugc-guide.pdf so the site and the
   guide read as one brand. Mobile first: every base rule targets a phone,
   media queries only scale up. */

:root {
  --bg: #0a0a0a;
  --bg-card: #1a1a1a;
  --fg-dark: #ffffff;
  --accent: #FF5722;
  --accent-dark: #E64A19;
  --accent-light: #FF5722;
  --secondary: #00D9FF;
  --text-muted: #B0B0B0;
  --border: #2a2a2a;
  --red: #FF6B6B;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;

  --wrap: 34rem;
  --radius: 0.5rem;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-dark);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- hero: must fit a 390px viewport with no scroll ---------- */

.hero {
  padding: 1.5rem 0 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.1rem, 10.5vw, 3.4rem);
}

h1 .hl {
  color: var(--accent);
}

.sub {
  margin-top: 0.9rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 30rem;
  line-height: 1.6;
}

/* ---------- form ---------- */

.form {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.field + .field {
  margin-top: 0.7rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font: inherit;
  /* 16px minimum stops iOS Safari zooming the page on focus */
  font-size: 1rem;
  color: var(--fg-dark);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
}

.err {
  display: none;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
}

.field.invalid .err {
  display: block;
}

/* honeypot: hidden from sighted users and from screen readers.
   A real person can never fill this in, so anything non-empty is a bot. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.9rem;
}

.consent input {
  margin: 0.15rem 0 0;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.consent-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.consent.invalid .consent-text {
  color: var(--red);
}

.btn {
  display: block;
  width: 100%;
  margin-top: 1.2rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 0.4rem;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.06s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

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

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.form-note {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-error {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.4rem;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #FF8A8A;
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-error.show {
  display: block;
}

/* ---------- proof placeholder ---------- */

.proof {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}

.proof div {
  text-align: center;
}

.proof b {
  display: block;
  font-size: 1.3rem;
  color: var(--green);
  letter-spacing: -0.02em;
}

.proof span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- sections ---------- */

section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.3rem;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.list li:last-child {
  border-bottom: none;
}

.num {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.list b {
  display: block;
  font-size: 1rem;
}

.list p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.6;
}

/* ---------- about (removed) ---------- */

/* ---------- discord ---------- */

.discord {
  background: #1a1a1a;
  color: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
}

.discord h2 {
  color: #fff;
  font-size: 1.75rem;
}

.discord p {
  color: #999;
  font-size: 0.9375rem;
  max-width: 28rem;
  margin: 0.8rem auto 0;
  line-height: 1.6;
}

.btn-discord {
  display: block;
  margin-top: 1.5rem;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: #5865F2;
  border-radius: 0.4rem;
  padding: 1rem;
  transition: background 0.15s ease;
}

.btn-discord:hover {
  background: #4752C4;
}

/* ---------- thank you page ---------- */

.ty {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0;
  text-align: center;
  background: var(--bg);
}

.check {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
}

.ty h1 {
  font-size: clamp(1.9rem, 9vw, 2.9rem);
}

.ty .sub {
  margin: 0.75rem auto 0;
}

.ty-card {
  margin-top: 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.ty-card h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.ty-card p {
  color: #999;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.spam {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ty-pdf {
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* ---------- legal pages ---------- */

.legal {
  padding: 2.5rem 0 4rem;
  border-top: none;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.legal h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.5rem;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
  color: #B0B0B0;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 0.7rem;
}

.legal ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.updated {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- footer ---------- */

footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: #666;
}

footer nav {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: var(--accent);
}

/* ---------- desktop ---------- */

@media (min-width: 46rem) {
  :root {
    --wrap: 44rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .form {
    padding: 1.5rem;
  }

  .row {
    display: flex;
    gap: 0.7rem;
  }

  .row .field {
    flex: 1;
  }

  .row .field + .field {
    margin-top: 0;
  }
}

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