:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.1);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --card-bg: #111827;
  --danger: #f97373;
  --success: #4ade80;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

body {
  line-height: 1.5;
}

/* Layout */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 820px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.7));
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.logo-mark {
  background: var(--accent);
  color: #0b1120;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 1rem;
  color: #f9fafb;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
}

.nav a:hover {
  color: #f9fafb;
  background-color: rgba(31, 41, 55, 0.8);
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 30rem;
}

/* Cards & sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.card.small {
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.checklist,
.bullet-list {
  list-style: none;
  padding-left: 0;
}

.checklist li::before {
  content: "✔";
  margin-right: 0.5rem;
  color: var(--accent);
}

.bullet-list li::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #4f46e5);
  color: #f9fafb;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  border-color: rgba(31, 41, 55, 0.9);
}

.btn-secondary:hover {
  color: #e5e7eb;
  background-color: rgba(31, 41, 55, 0.9);
}

.btn-full {
  width: 100%;
}

.field-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Forms */

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stacked-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

input,
select,
textarea {
  background-color: #020617;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

/* Lists */

.numbered-list {
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Contact */

.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Status message */

.status-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.status-message.success {
  color: var(--success);
}

.status-message.error {
  color: var(--danger);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1rem 0;
  background-color: #020617;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .nav {
    display: none; /* keep it simple for MVP */
  }
}
