/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  background: #09090b;
  color: #fafafa;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

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

/* ── Focus ── */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
[href]:focus-visible {
  outline: 2px solid #c4442a;
  outline-offset: 3px;
  border-radius: 6px;
}
.input:focus-visible {
  outline-offset: 2px;
  border-color: #c4442a;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #c4442a;
  color: #fafafa;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.nav-brand .mark {
  color: #fafafa;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  color: #a1a1aa;
  transition: color 0.2s;
}

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

.nav-cta {
  background: #fafafa;
  color: #09090b !important;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ── Hero ── */
.hero {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px 64px;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196, 68, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #e8a87c;
  background: rgba(196, 68, 42, 0.1);
  border: 1px solid rgba(196, 68, 42, 0.2);
  border-radius: 24px;
  padding: 7px 18px;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4442a;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.h1 {
  font-weight: 600;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fafafa 40%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: #a1a1aa;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-sub em {
  font-style: normal;
  color: #e8a87c;
}

/* ── Waitlist Form ── */
.waitlist-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 14px;
}

.input {
  flex: 1;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #fafafa;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.input::placeholder {
  color: #52525b;
}

.input:focus {
  border-color: #3f3f46;
}

.btn {
  background: #c4442a;
  color: #fafafa;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn:hover {
  background: #d85a30;
}

.hint {
  font-size: 13px;
  color: #52525b;
  text-align: center;
}

.form-success {
  font-size: 14px;
  color: #e8a87c;
  text-align: center;
  margin-bottom: 14px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ── Logos / Integrations ── */
.logos {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  border-top: 1px solid #1a1a1e;
}

.logos-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #52525b;
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo-pill {
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #71717a;
  border: 1px solid #27272a;
  padding: 7px 14px;
  border-radius: 8px;
  background: #111113;
  transition: border-color 0.2s;
}

.logo-pill:hover {
  border-color: #3f3f46;
}

/* ── Sections ── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 40px;
  border-top: 1px solid #1a1a1e;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4442a;
  margin-bottom: 14px;
}

.section-title {
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fafafa;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #a1a1aa;
  max-width: 620px;
}

.section-desc code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: #e8a87c;
  background: rgba(196, 68, 42, 0.08);
  padding: 2px 8px;
  border-radius: 5px;
}

/* ── Feature Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: #111113;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #3f3f46;
  transform: translateY(-2px);
}

.card-num {
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #52525b;
  margin-bottom: 14px;
}

.card-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fafafa;
}

.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #71717a;
}

/* ── Governance Grid ── */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.gov-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #111113;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}

.gov-item:hover {
  border-color: #3f3f46;
}

.gov-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(196, 68, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gov-icon svg {
  width: 20px;
  height: 20px;
  color: #c4442a;
}

.gov-text {
  font-size: 15px;
  font-weight: 500;
  color: #e4e4e7;
}

/* ── CTA Section ── */
.cta-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid #1a1a1e;
  text-align: center;
}

.cta-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fafafa;
}

.cta-desc {
  font-size: 17px;
  color: #a1a1aa;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-desc a {
  color: #e8a87c;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cta-desc a:hover {
  color: #fafafa;
}

/* ── Footer ── */
.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px 32px;
  border-top: 1px solid #1a1a1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #52525b;
}

.footer-right {
  font-weight: 500;
  color: #a1a1aa;
  transition: color 0.2s;
}

.footer-right:hover {
  color: #fafafa;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    padding: 56px 20px 48px;
  }

  .hero-glow {
    width: 360px;
    height: 280px;
  }

  .logos {
    padding: 36px 20px;
  }

  .section {
    padding: 56px 20px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gov-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .input {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta-section {
    padding: 56px 20px;
  }

  .footer {
    padding: 16px 20px 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .h1 {
    font-size: 32px;
  }
}
