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

:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,0.6);
  --subtle: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

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

/* ── NAV ────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  background: #000;
  z-index: 100;
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.nav-mobile a {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
}

.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── MAIN ───────────────────────────────── */
main { flex: 1; }

/* ── HERO ───────────────────────────────── */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  height: 200px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 38rem;
}

.hero p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── BUTTONS ────────────────────────────── */
.btn-primary {
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: rgba(255,255,255,0.88); }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ── CARDS GRID ─────────────────────────── */
.cards {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
}

.card {
  background: var(--subtle);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

.card h2 { font-size: 1.125rem; font-weight: 600; }

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.card a.link {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #fff;
  transition: color 0.2s;
  margin-top: 0.5rem;
  display: inline-block;
}

.card a.link:hover { color: var(--muted); }

/* ── SECTION OUTRO ──────────────────────── */
.outro {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  text-align: center;
}

.outro h2 { font-size: 1.75rem; font-weight: 700; }

.outro p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.outro a {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #fff;
  transition: color 0.2s;
}

.outro a:hover { color: var(--muted); }

/* ── PAGE CONTENT ───────────────────────── */
.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.back {
  display: inline-block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back:hover { color: rgba(255,255,255,0.7); }

.page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.page .lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.page p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

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

/* ── BORDERED ITEMS ─────────────────────── */
.items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }

.item {
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
}

.item.muted { border-left-color: rgba(255,255,255,0.08); }

/* ── CALLOUT ────────────────────────────── */
.callout {
  border: 1px solid var(--border);
  background: var(--subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-top: 3rem;
}

.callout h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.callout p {
  margin-bottom: 1.5rem;
}

.callout-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── STEPS ──────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }

.step { display: flex; gap: 1.5rem; }

.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  flex-shrink: 0;
  width: 2.5rem;
  line-height: 1.4;
}

/* ── RESOURCE CARDS ─────────────────────── */
.resource-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }

.resource-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.resource-card:hover {
  border-color: var(--border-strong);
  background: var(--subtle);
}

.resource-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.resource-card h3 {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  flex-shrink: 0;
}

.resource-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ── FORM ───────────────────────────────── */
form { display: flex; flex-direction: column; gap: 1.5rem; }

label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

label .opt { color: rgba(255,255,255,0.3); }

input, textarea {
  width: 100%;
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }

input:focus, textarea:focus { border-color: rgba(255,255,255,0.4); }

textarea { resize: none; }

.form-success {
  border: 1px solid var(--border);
  background: var(--subtle);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
  display: none;
}

.form-success h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.form-success p { font-size: 0.95rem; }

/* ── FOOTER ─────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  max-width: 22rem;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 600px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 20rem; }
  .btn-primary, .btn-secondary { text-align: center; }
}
