@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;800;900&display=swap');

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #222222;
  --gray-mid: #333333;
  --gray-muted: #444444;
  --gray-light: #888888;
  --red-limit: #cc3333;
  --max-width: 1200px;
  --side-pad: 2rem;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
}

/* ---- LAYOUT ---- */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.8rem var(--side-pad);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: var(--black);
}

/* ---- NAV ---- */

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-top: 0.15rem;
}

nav a {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover {
  color: var(--white);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--white);
}

nav a.active::after {
  width: 100%;
}

/* ---- MAIN CONTENT ---- */

.page-content {
  flex: 1;
  padding-top: 7rem;
  padding-bottom: 4rem;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(14px);
  animation: page-appear 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes page-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- BIG TITLE ---- */

.big-title {
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  user-select: none;
  margin-bottom: 3rem;
}

/* ---- BODY TEXT ---- */

.page-body {
  max-width: 560px;
  margin-left: 0;
}

.page-body p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--gray-light);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.page-body p:last-child {
  margin-bottom: 0;
}

.page-body a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition: border-color 0.2s;
}

.page-body a:hover {
  border-color: var(--white);
}

/* ---- FORM SHARED ---- */

.field-group {
  width: 100%;
  max-width: 700px;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--white);
  margin: 0;
}

textarea,
input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid var(--gray-mid);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 1.2rem 0;
  resize: none;
  outline: none;
  line-height: 1.3;
  caret-color: var(--white);
  display: block;
}

textarea::placeholder,
input[type="email"]::placeholder {
  color: var(--gray-muted);
}

textarea {
  min-height: 120px;
}

input[type="email"] {
  min-height: auto;
}

.form-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-mid);
  padding-top: 1rem;
}

.char-counter {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-muted);
  transition: color 0.2s;
}

.char-counter.near  { color: var(--gray-light); }
.char-counter.limit { color: var(--red-limit); }

button[type="button"],
button[type="submit"] {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: opacity 0.2s;
}

button::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button:hover::after  { width: 100%; }
button:hover         { opacity: 0.7; }
button:disabled      { opacity: 0.2; cursor: default; }
button:disabled::after { display: none; }

/* ---- CONFIRMATION ---- */

.confirmation {
  display: none;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--gray-mid);
  width: 100%;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* ---- PARTICIPATE STEPS ---- */

.steps {
  max-width: 600px;
  margin-top: 1rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-mid);
}

.step:last-child {
  border-bottom: 1px solid var(--gray-mid);
}

.step-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gray-mid);
  flex-shrink: 0;
  width: 3rem;
}

.step-text {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gray-light);
  line-height: 1.4;
  padding-top: 0.3rem;
}

.step-text a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition: border-color 0.2s;
}

.step-text a:hover {
  border-color: var(--white);
}

/* ---- PRIVACY ---- */

.privacy-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-mid);
  max-width: 600px;
}

.privacy-block p {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 600px) {
  :root { --side-pad: 1.2rem; }

  nav { gap: 1.2rem; }

  .big-title { margin-bottom: 2rem; }

  textarea { min-height: 80px; }
}
