:root {
  --bg: #060f1c;
  --bg-elev: #0c1a2e;
  --bg-card: #11223a;
  --border: rgba(125, 168, 219, 0.14);
  --border-strong: rgba(125, 168, 219, 0.28);
  --text: #e8f0fb;
  --text-muted: #8fa6c2;
  --text-dim: #62799a;
  --accent: #4fb3ff;
  --accent-2: #7fd1ff;
  --accent-deep: #1f4b78;
  --navy: #0d2339;
  --danger: #ff7a8a;
  --ok: #6bd6a4;
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1140px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent-2); }

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

/* Background grid */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 179, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(31, 75, 120, 0.35), transparent 70%),
    linear-gradient(180deg, #06101f 0%, #060f1c 100%);
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 168, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 168, 219, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 15, 28, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 24px;
  gap: 24px;
}
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 63px; width: auto; display: block; }
.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.primary-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--text); }
.nav-cta {
  background: rgba(79, 179, 255, 0.12);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--accent-2) !important;
}
.nav-cta:hover { background: rgba(79, 179, 255, 0.2); }

/* Hero */
.hero { padding: 100px 0 80px; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 920px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(79, 179, 255, 0.08);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.grad {
  background: linear-gradient(120deg, #4fb3ff 0%, #7fd1ff 50%, #b9e3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #4fb3ff 0%, #2680c2 100%);
  color: #04111f;
  box-shadow: 0 12px 30px -12px rgba(79, 179, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  color: #04111f;
  box-shadow: 0 18px 40px -12px rgba(79, 179, 255, 0.7);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(125, 168, 219, 0.08); color: var(--text); }

.hero-stats {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 720px;
}
.hero-stats > div {
  background: rgba(12, 26, 46, 0.7);
  padding: 22px 20px;
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stats dd {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Sections */
.section { padding: 90px 0; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 12px;
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 0 50px;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mission-card {
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.6), rgba(12, 26, 46, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.mission-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.mission-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--accent-2);
}
.mission-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Founders */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.founder-card {
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.7), rgba(12, 26, 46, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.founder-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.founder-photo {
  width: 160px;
  height: 160px;
  margin: 32px auto 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(125, 168, 219, 0.25), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  position: relative;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-body { padding: 22px 28px 30px; text-align: center; }
.founder-body p { text-align: left; }
.founder-body h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}
.founder-role {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 4px 0 14px;
}
.founder-body p {
  color: var(--text-muted);
  margin: 0 0 16px;
}
.founder-link {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
}

/* Contact */
.section-contact { padding-bottom: 110px; }
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.55), rgba(12, 26, 46, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy p { color: var(--text-muted); margin: 0 0 24px; }
.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.contact-bullets li {
  position: relative;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(6, 15, 28, 0.5);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-bullets li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(79, 179, 255, 0.6);
}

.contact-form {
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.field .optional { color: var(--text-dim); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(6, 15, 28, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(6, 15, 28, 0.85);
  box-shadow: 0 0 0 3px rgba(79, 179, 255, 0.15);
}
.field.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--danger); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 56px;
  background: rgba(6, 15, 28, 0.65);
}
.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-logo {
  height: 96px;
  width: auto;
  display: block;
}
.footer-tag {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.footer-fine {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* Responsive */
@media (max-width: 880px) {
  .primary-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .mission-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .contact-shell {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .footer-logo { height: 72px; }
}

@media (max-width: 480px) {
  .brand img { height: 52px; }
  .hero h1 { font-size: 2.2rem; }
  .lede { font-size: 1.05rem; }
}
