@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1114;
  --bg-alt: #10181c;
  --surface: #1a1f21;
  --border: rgba(245, 245, 242, 0.1);
  --border-strong: rgba(245, 245, 242, 0.18);
  --text: #f5f5f2;
  --text-muted: #a9b2b4;
  --teal: #00b8a9;
  --teal-deep: #009688;
  --radius: 14px;
  --max: 1080px;
  color-scheme: dark;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: #33c9bd;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--teal);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

/* Header */
.site-header {
  background: rgba(11, 17, 20, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}

.brand:hover {
  color: var(--text);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.9rem;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  padding: 6px 0;
}

.nav-list a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.lead {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--teal);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--bg);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.button-ghost:hover {
  background: rgba(245, 245, 242, 0.06);
  border-color: var(--text-muted);
  color: var(--text);
}

.note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: clamp(1.625rem, 4.5vw, 2.25rem);
  letter-spacing: -0.01em;
  max-width: 28ch;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.section-intro {
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 68ch;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
}

.step h3 {
  margin-bottom: 4px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.inline-cta {
  margin-top: 32px;
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 72ch;
}

/* Organization */
.org-card {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 8px 24px;
  max-width: 760px;
}

.org-list > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.org-list > div:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .org-list > div {
    grid-template-columns: 200px 1fr;
    gap: 16px;
  }
}

.org-list dt {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.org-list dd {
  margin: 0;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1.0625rem;
}

/* Legal */
.legal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .legal-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.legal-link:hover {
  border-color: var(--teal);
}

.legal-name {
  color: var(--text);
  font-weight: 700;
}

.legal-url {
  color: var(--teal);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-org p + p {
  margin-top: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--text-muted);
  display: inline-block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--text);
}

.error-eyebrow {
  margin-top: 24px;
}
