
:root {
  --bg: #08111f;
  --bg-soft: #0f172a;
  --card: rgba(15, 23, 42, 0.76);
  --card-strong: rgba(15, 23, 42, 0.94);
  --text: #e5edf7;
  --muted: #a5b4c7;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.16);
  --blue: #3b82f6;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 25%),
    linear-gradient(180deg, #08111f 0%, #0b1324 48%, #111827 100%);
}

img { max-width: 100%; }

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1d4ed8, #ea580c);
  color: white;
  box-shadow: var(--shadow);
}

.brand-text { font-size: 1rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.7);
  border-radius: 999px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--accent-soft);
  color: #ffd7be !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100svh - 96px);
  padding: 36px 0 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f7b48c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero h1,
.section-heading h2,
.about-grid h2,
.contact-card h2,
.page-title {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 11.5ch; }
.page-title { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.hero-text,
.section-heading p,
.about-grid p,
.contact-card p,
.card p,
.project-row p,
.panel-card p,
.product-card li,
.founder-points li,
.contact-info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 10px;
}

.availability {
  color: #cbd5e1;
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-1px); }

.button-primary {
  background: linear-gradient(180deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.3);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.hero-panel { display: flex; justify-content: flex-end; }

.panel-card,
.card,
.contact-card,
.founder-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.accent-card {
  width: min(100%, 430px);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(249, 115, 22, 0.08)),
    var(--card-strong);
}

.panel-label {
  margin-top: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #bfdbfe;
}

.mini-stack { display: grid; gap: 14px; }

.mini-stack article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-stack h3,
.card h3,
.project-row h3 { margin: 0 0 8px; letter-spacing: -0.03em; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 30px;
}

.proof-strip article {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.proof-strip span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.section { padding: 92px 0; }

.alt-section { position: relative; }

.alt-section::before {
  content: "";
  position: absolute;
  inset: 18px -22px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.025);
  z-index: -1;
}

.section-heading { max-width: 760px; margin-bottom: 30px; }

.section-heading h2,
.about-grid h2,
.contact-card h2 { font-size: clamp(2rem, 5vw, 3.2rem); }

.narrow { max-width: 700px; }

.card-grid { display: grid; gap: 18px; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { padding: 24px; }
.card ul { margin: 16px 0 0; padding-left: 18px; }

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.9), rgba(249, 115, 22, 0.9));
  font-weight: 800;
  letter-spacing: -0.04em;
}

.project-list { display: grid; gap: 14px; }

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.project-row span {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
  font-weight: 700;
  font-size: 0.9rem;
}

.compact-list .project-row { padding: 20px 22px; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.founder-grid { align-items: stretch; }

.founder-card { padding: 26px; }

.portrait-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.portrait-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(180deg, #1d4ed8, #ea580c);
  box-shadow: var(--shadow);
}

.portrait-name {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
}

.portrait-role {
  margin: 0;
  color: var(--muted);
}

.founder-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.inline-contact { align-items: start; }

.mini-form,
.contact-page-form {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

input::placeholder,
textarea::placeholder { color: #7f8da0; }

input:focus,
textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-info-card a,
.sources-inline a {
  color: #bfdbfe;
  text-decoration: underline;
}

.contact-info-card a:hover,
.contact-info-card a:focus-visible,
.sources-inline a:hover,
.sources-inline a:focus-visible {
  color: #ffffff;
}

.footer {
  padding: 20px 0 42px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .proof-strip,
  .four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .contact-card,
  .three-up,
  .split-feature,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding-top: 26px; }
  .hero-panel { justify-content: stretch; }
  .accent-card { width: 100%; }
  .mini-form, .contact-page-form { width: 100%; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(8, 17, 31, 0.96);
  }

  .nav.open { display: flex; }
  .nav a { text-align: center; }
  .static-nav { display: flex; position: static; flex-direction: row; }
}

@media (max-width: 700px) {
  .proof-strip,
  .four-up { grid-template-columns: 1fr; }

  .project-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-row span { white-space: normal; }
}

@media (max-width: 560px) {
  .site-shell { width: min(calc(100% - 20px), var(--max)); }
  .topbar { padding-top: 12px; }
  .section { padding: 70px 0; }
  .card, .contact-card, .accent-card, .founder-card { padding: 20px; }
  .hero h1 { max-width: 100%; }
  .portrait-lockup { align-items: flex-start; }
}
