:root {
  --bg: #050816;
  --bg-soft: #0b1124;
  --panel: rgba(12, 19, 39, 0.78);
  --panel-strong: #0f172f;
  --text: #ebf1ff;
  --muted: #98a6c7;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c3aed;
  --accent-soft: #38bdf8;
  --glow: 0 24px 80px rgba(4, 10, 27, 0.45);
  --radius: 28px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.24), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(56, 189, 248, 0.18), transparent 24%),
    linear-gradient(180deg, #040714 0%, #07101f 44%, #050816 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #050816;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.16);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy span,
.site-nav a,
.section-heading p,
.hero-text,
.content-card p,
.project-card p,
.service-card p,
.faq-item p,
.contact-section p,
.founder-card li,
.metric-card p,
.form-status {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.section {
  padding: 88px 0;
}

.hero-section {
  padding: 96px 0 64px;
}

.hero-grid,
.section-grid,
.founder-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8ce0ff;
}

.hero-text,
.section-heading p,
.section-heading + p,
.contact-section p,
.metric-card p,
.content-card p,
.service-card p,
.project-card p,
.faq-item p,
.founder-card li {
  line-height: 1.8;
}

.hero-text {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.project-card:hover,
.service-card:hover,
.content-card:hover,
.faq-item:hover,
.metric-card:hover,
.founder-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.24);
}

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

.hero-points {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.contact-points span,
.contact-points a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.hero-panel,
.content-card,
.project-card,
.service-card,
.founder-card,
.contact-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--glow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.metric-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease;
}

.metric-label,
.project-tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8ce0ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-card strong,
.project-card h3,
.service-card h3,
.content-card h3,
.faq-item summary,
.founder-card h3 {
  display: block;
  font-size: 1.25rem;
}

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

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.05;
}

.card-grid,
.project-grid,
.service-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.project-card,
.service-card,
.founder-card,
.contact-card {
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.content-card:hover,
.project-card:hover,
.service-card:hover,
.founder-card:hover,
.contact-card:hover,
.faq-item:hover {
  border-color: rgba(140, 224, 255, 0.22);
}

.section-accent {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.07), rgba(56, 189, 248, 0.03));
}

.founder-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.check-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.check-list li + li {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 14px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: start;
}

.contact-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-card {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #dbe6ff;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(140, 224, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0 34px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .founder-grid,
  .contact-grid,
  .card-grid,
  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 8, 22, 0.96);
    box-shadow: var(--glow);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .section,
  .hero-section {
    padding: 72px 0;
  }

  .nav-shell {
    padding: 14px 0;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-actions,
  .contact-points,
  .footer-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-card .button-primary {
    width: 100%;
  }

  .footer-shell {
    text-align: center;
  }
}
