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

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--white, #FFFFFF); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,15,26,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark3);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1rem; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-tagline { font-size: 0.72rem; color: var(--mid); display: none; }
@media (min-width: 640px) { .nav-tagline { display: block; } }
nav a.cta-nav {
  background: var(--accent); color: #FFFFFF;
  padding: 8px 20px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 700;
  text-decoration: none; transition: background 0.2s;
  white-space: nowrap;
}
nav a.cta-nav:hover { background: var(--accent-dark); }

/* ── CONTAINERS ── */
section { padding: 96px 24px; }
.container { max-width: 980px; margin: 0 auto; }
.container-sm { max-width: 660px; margin: 0 auto; }

/* ── HERO ── */
#hero {
  min-height: 96vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-image);
  background-size: cover; background-position: center 30%;
  filter: brightness(0.18) saturate(0.6);
}
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,15,26,0.7) 0%, rgba(10,15,26,0.15) 100%);
}
#hero .container { position: relative; z-index: 2; max-width: 760px; }

.guild-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,119,6,0.12); border: 1px solid rgba(217,119,6,0.35);
  color: var(--accent-light); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 32px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 24px;
}
h1 em { color: var(--accent); font-style: normal; }

.hero-sub {
  font-size: 1.15rem; color: #9CA3AF; max-width: 540px;
  margin-bottom: 40px; line-height: 1.75;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary {
  background: var(--accent); color: #FFFFFF;
  padding: 15px 34px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid var(--dark4); color: #D1D5DB;
  padding: 15px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: #9CA3AF; color: #FFFFFF; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 48px; margin-top: 72px;
  padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-n { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-l { font-size: 0.72rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }

/* ── SECTION LABELS ── */
.sec-label {
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 14px; line-height: 1.12;
}
h2 em { color: var(--accent); font-style: normal; }
.sec-body { color: #9CA3AF; font-size: 0.95rem; max-width: 580px; line-height: 1.75; }

/* ── HOW IT WORKS ── */
#how { background: var(--dark2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 56px;
}
.step-card {
  background: var(--dark3); border: 1px solid var(--dark4);
  border-radius: 14px; padding: 32px 26px;
  position: relative;
}
.step-num {
  font-size: 3rem; font-weight: 900; color: rgba(217,119,6,0.15);
  line-height: 1; margin-bottom: 16px; letter-spacing: -0.04em;
}
.step-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.84rem; color: var(--mid); line-height: 1.65; }

/* ── WORKSHOP AREAS ── */
#areas { background: var(--dark); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
@media (max-width: 720px) { .areas-grid { grid-template-columns: 1fr; } }
.area-card {
  background: var(--dark2); border: 1px solid var(--dark3);
  border-radius: var(--radius); padding: 28px 26px;
  transition: border-color 0.2s, transform 0.15s;
}
.area-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.area-thumb {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217,119,6,0.08);
  border-radius: var(--radius); margin-bottom: 20px;
}
.area-thumb img { width: 44px; height: 44px; object-fit: contain; }
.area-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.area-card p { font-size: 0.83rem; color: var(--mid); line-height: 1.6; }
.area-tools {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px;
}
.tool-tag {
  font-size: 0.68rem; font-weight: 600; color: var(--accent-light);
  background: rgba(217,119,6,0.1); border: 1px solid rgba(217,119,6,0.2);
  padding: 3px 9px; border-radius: 100px;
}

/* ── THE MODEL ── */
#model { background: var(--dark2); }
.model-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 52px; }
@media (max-width: 680px) { .model-split { grid-template-columns: 1fr; } }
.model-highlight {
  background: var(--dark3); border-left: 3px solid var(--accent);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 14px; font-size: 0.875rem; color: #D1D5DB; line-height: 1.65;
}
.model-highlight strong { color: #FFFFFF; }
.model-image {
  border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

/* ── WHO IT'S FOR ── */
#who { background: var(--dark); }
.who-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px; margin-top: 52px;
}
.who-card {
  background: var(--dark2); border: 1px solid var(--dark3);
  border-radius: 12px; padding: 26px 22px;
}
.who-icon { font-size: 1.75rem; margin-bottom: 12px; }
.who-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 7px; }
.who-card p { font-size: 0.82rem; color: var(--mid); line-height: 1.6; }

/* ── THRESHOLD ── */
#threshold {
  background: linear-gradient(135deg, #111827 0%, #0A0F1A 100%);
  border-top: 1px solid var(--dark3); border-bottom: 1px solid var(--dark3);
  padding: 80px 24px; text-align: center;
}
.threshold-inner { max-width: 640px; margin: 0 auto; }
.threshold-num {
  font-size: 5.5rem; font-weight: 900; color: var(--accent);
  line-height: 1; letter-spacing: -0.05em;
}
.threshold-label { font-size: 1.1rem; color: #9CA3AF; margin-top: 10px; margin-bottom: 28px; }
.threshold-body { color: #808A99; font-size: 0.9rem; line-height: 1.75; }

/* ── CITIES ── */
#cities { background: var(--dark2); padding: 80px 24px; }
#cities .container { max-width: 960px; margin: 0 auto; }
.cities-region { margin-top: 48px; }
.cities-region:first-child { margin-top: 0; }
.region-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.city-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--dark3);
  background: var(--dark); color: #CBD5E1;
  font-size: 0.8rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.city-pill::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}
.cities-cta {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--dark3);
  text-align: center; color: var(--mid); font-size: 0.875rem;
}
.cities-cta a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cities-cta a:hover { text-decoration: underline; }

/* ── FORM ── */
#waitlist { background: var(--dark2); }
.form-wrap {
  background: var(--dark); border: 1px solid var(--dark3);
  border-radius: 18px; padding: 52px 44px;
  max-width: 680px; margin: 44px auto 0;
}
@media (max-width: 580px) { .form-wrap { padding: 28px 18px; } }
.form-intro { color: #9CA3AF; font-size: 0.9rem; margin-bottom: 32px; line-height: 1.7; }
.form-group { margin-bottom: 22px; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 7px; color: #E5E7EB; }
label small { color: var(--mid); font-weight: 400; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; padding: 12px 16px;
  background: var(--dark2); border: 1px solid var(--dark3);
  border-radius: 8px; color: #FFFFFF;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
select option { background: var(--dark2); }
textarea { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.check-group { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.check-row span { font-size: 0.875rem; color: #D1D5DB; }
.submit-btn {
  width: 100%; padding: 16px;
  background: var(--accent); color: #FFFFFF;
  border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  cursor: pointer; margin-top: 10px;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--accent-dark); }
.form-fine { text-align: center; font-size: 0.78rem; color: var(--mid); margin-top: 14px; }
#success-msg { display: none; text-align: center; padding: 48px 20px; }
#success-msg .icon { font-size: 3.5rem; margin-bottom: 18px; }
#success-msg h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
#success-msg p { color: #808A99; font-size: 0.9rem; max-width: 420px; margin: 0 auto; }

/* ── FAQ ── */
#faq { background: var(--dark); }
.faq-items { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
details { background: var(--dark2); border: 1px solid var(--dark3); border-radius: var(--radius); }
summary {
  padding: 18px 24px; cursor: pointer;
  font-weight: 600; font-size: 0.9rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; font-weight: 300; }
details[open] summary::after { content: '−'; }
.faq-ans { padding: 0 24px 20px; color: #808A99; font-size: 0.875rem; line-height: 1.75; }
.faq-ans strong { color: #D1D5DB; }

/* ── FOOTER ── */
footer {
  background: var(--dark); border-top: 1px solid var(--dark3);
  padding: 48px 24px; text-align: center;
  color: var(--mid); font-size: 0.82rem;
}
.footer-logo { font-size: 1rem; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent); }
.footer-links { margin-top: 14px; display: flex; justify-content: center; gap: 24px; }
footer a { color: var(--mid); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #FFFFFF; }
.footer-note { font-size: 0.72rem; color: var(--dark4); margin-top: 20px; }
