/* Base layout */

:root {
  --bg: #05060a;
  --bg-elevated: #0b0d14;
  --bg-accent: #101827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2933;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.1);
  --danger: #f97373;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
}

/* Utility */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Header / Nav */

.site-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #05060a, rgba(5, 6, 10, 0.92));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--border);
}

.nav-link.active {
  color: var(--text);
  border-color: var(--accent-soft);
  background-color: rgba(15, 23, 42, 0.9);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #111827 0, #05060a 45%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero side panel */

.hero-panel {
  background-color: var(--bg-elevated);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.panel-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.panel-list li {
  display: grid;
  grid-template-columns: 0.65fr 1.7fr;
  gap: 0.5rem;
}

.panel-list li span:first-child {
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.btn-primary {
  background: linear-gradient(to right, #0ea5e9, #38bdf8);
  border-color: #0ea5e9;
  color: #0b1120;
  font-weight: 500;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-secondary {
  border-color: var(--border);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--muted);
}

.btn-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--text);
}

/* Cards / Grids */

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background-color: var(--bg-elevated);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

/* Accent section */

.section-accent {
  background-color: var(--bg-accent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner p {
  color: var(--muted);
}

.cta-actions {
  display: flex;
  align-items: center;
}

/* Forms */

.form {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  background-color: #020617;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  background-color: #020617;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-note {
  opacity: 0.9;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }
}
