:root {
  --bg: #05060a;
  --bg-elevated: #0c0f18;
  --bg-soft: #111521;
  --accent: #00eaff;
  --accent-soft: rgba(0, 234, 255, 0.25);
  --text-main: #f5f7ff;
  --text-muted: #a2aac5;
  --border-soft: #222838;
  --danger: #ff6b6b;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #111827 0, #05060a 55%);
  color: var(--text-main);
  font-family: var(--font);
}

body {
  min-height: 100vh;
}

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

/* Top nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.92),
    rgba(5, 6, 10, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(0, 234, 255, 0.12);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.5);
  box-shadow:
    0 0 8px rgba(0, 234, 255, 0.7),
    0 0 25px rgba(0, 234, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: radial-gradient(circle at 30% 0, #1f2937 0, #020617 55%);
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.74rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.25rem 0;
  position: relative;
  color: var(--text-muted);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.18), transparent);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.25);
}

.nav-cta:hover {
  background: radial-gradient(circle at 50% 0, rgba(0, 234, 255, 0.3), transparent);
}

.nav-menu-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.75);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu-toggle span {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .nav-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 1.25rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.7);
    background: radial-gradient(circle at top, #020617 0, #020617 60%, #000 100%);
  }
  .nav-links-mobile .nav-link {
    width: fit-content;
  }
}

/* Layout */

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

section {
  margin-top: 3.5rem;
}

/* Hero */

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

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

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.7);
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.25), transparent);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.9);
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 3.1vw + 1.2rem, 3.4rem);
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent);
}

.hero-body {
  margin-top: 0.9rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.5), rgba(0, 234, 255, 0.1));
  border-color: rgba(0, 234, 255, 0.9);
  color: var(--bg);
  font-weight: 600;
  box-shadow:
    0 0 18px rgba(0, 234, 255, 0.5),
    0 0 40px rgba(0, 234, 255, 0.25);
}

.btn-primary:hover {
  box-shadow:
    0 0 24px rgba(0, 234, 255, 0.7),
    0 0 50px rgba(0, 234, 255, 0.3);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--accent);
  color: var(--accent);
}

.hero-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.hero-note span {
  color: var(--accent);
}

/* Hero right card */

.hero-panel {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background:
    radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.15), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), #020617 55%);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow:
    0 0 24px rgba(15, 23, 42, 0.8),
    0 0 60px rgba(15, 23, 42, 0.85);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-panel-badge {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.7);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.hero-panel-body {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.85);
  background: rgba(15, 23, 42, 0.92);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 0.75rem;
}

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

.hero-panel-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.35rem;
  color: var(--text-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.12rem;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.9);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-list li {
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-list-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

/* Sections */

.section-heading {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.pill-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: var(--text-muted);
}

.pill.accent {
  border-color: rgba(0, 234, 255, 0.8);
  color: var(--accent);
  background: rgba(0, 234, 255, 0.1);
}

/* Cards */

.card-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), #020617);
  padding: 0.9rem 0.9rem 0.95rem;
  box-shadow: 0 0 26px rgba(15, 23, 42, 0.9);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.6);
  padding: 0.1rem 0.55rem;
}

.card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  opacity: 0.9;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

/* Calder's Corner */

.calder-card {
  margin-top: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(147, 197, 253, 0.7);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), transparent 60%),
    rgba(15, 23, 42, 0.98);
  padding: 1rem 1.1rem 1rem;
  box-shadow:
    0 0 32px rgba(37, 99, 235, 0.7),
    0 0 60px rgba(15, 23, 42, 1);
}

.calder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.calder-title {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calder-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: radial-gradient(circle at 0 0, #1d283a, #020617 70%);
}

.calder-body {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: #e5edff;
}

.calder-list {
  margin-top: 0.6rem;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: #c7d2fe;
}

.calder-footnote {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #bfdbfe;
  opacity: 0.9;
}

/* Contact / footer */

.contact-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 1.25rem;
}

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

.contact-panel {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.98);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-email {
  font-size: 0.9rem;
  color: var(--accent);
  word-break: break-all;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

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

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