:root {
  color-scheme: dark;
  --bg: #060b14;
  --bg-soft: #0d1524;
  --surface: #111c2d;
  --text: #f4f7fb;
  --muted: #8c98ad;
  --accent: #7dd3fc;
  --accent-strong: #3b82f6;
  --border: rgba(255, 255, 255, 0.1);
}

.light-theme {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-soft: #fdfdff;
  --surface: #f9fbff;
  --text: #111827;
  --muted: #5b6773;
  --accent: #3366cc;
  --accent-strong: #274b8f;
  --border: rgba(37, 54, 93, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.16), transparent 24%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-bottom: 3rem;
  padding-top: 5rem;
  overflow: hidden;
}

.page-header {
  padding-top: 5rem;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0.75rem 0.6rem;
  background: rgba(6, 11, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.light-theme .nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
}

.brand-name-light {
  color: var(--text);
}

.brand-name-accent {
  color: var(--accent);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.light-theme .brand-mark {
  background: rgba(51, 102, 204, 0.08);
  border-color: rgba(51, 102, 204, 0.14);
  box-shadow: inset 0 0 0 1px rgba(51, 102, 204, 0.14);
}

.brand-mark svg {
  display: block;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.light-theme .theme-toggle {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.hero-illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.illustration-ring {
  position: absolute;
  right: 1rem;
  top: 6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.16), transparent 58%);
  box-shadow: 0 0 90px rgba(125, 211, 252, 0.18);
}

.illustration-cluster {
  position: absolute;
  right: 22%;
  top: 22%;
  width: 200px;
  height: 220px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
}

.illustration-cluster span {
  display: block;
  border-radius: 1.5rem;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.28);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.15);
}

.illustration-grid {
  position: absolute;
  right: 7%;
  top: 16%;
  width: 240px;
  height: 240px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}

.illustration-grid span {
  display: block;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.illustration-grid span:nth-child(1) {
  transform: translateY(10px);
}

.illustration-grid span:nth-child(2) {
  transform: translateY(28px);
}

.illustration-grid span:nth-child(3) {
  transform: translateY(5px);
}

.illustration-grid span:nth-child(4) {
  transform: translateY(-12px);
}

.illustration-grid span:nth-child(5) {
  transform: translateY(18px);
}

.illustration-grid span:nth-child(6) {
  transform: translateY(-4px);
}

.illustration-grid span:nth-child(7) {
  transform: translateY(10px);
}

.illustration-grid span:nth-child(8) {
  transform: translateY(22px);
}

.illustration-grid span:nth-child(9) {
  transform: translateY(0);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.5rem;
  width: 4px;
  height: 5rem;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(37, 99, 235, 0.35));
  border-radius: 999px;
  opacity: 0.95;
}

.hero-copy::after {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 7rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.32);
  box-shadow: 0 0 0 8px rgba(125, 211, 252, 0.08);
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 1.4rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #04101e;
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.card,
.step,
.contact-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.hero-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.hero-card ul + h2 {
  margin-top: 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.founder-card,
.founder-highlights {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
}

.founder-card p {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.founder-card p:last-child {
  margin-bottom: 0;
}

.founder-highlights {
  display: grid;
  gap: 0.75rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
}

.why-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--muted);
  margin: 0;
}

.highlight-item {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.highlight-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.highlight-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.alt-section {
  background: rgba(255, 255, 255, 0.03);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 0;
}

.section-heading h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.role-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.6rem;
}

.role-header h3 {
  margin: 0;
}

.role-org {
  display: block;
  color: var(--accent);
  font-weight: 600;
}

.role-dates {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.role h4 {
  margin: 1.1rem 0 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.role ul,
.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.skills-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.skills-list dt {
  font-weight: 700;
  color: var(--text);
}

.skills-list dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.founder-name {
  color: var(--accent);
  margin: 0.6rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.founder-photo {
  max-width: 150px;
  margin: 0 0 1rem;
  padding: 6px;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.8rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.4rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.products-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-card h3 {
  margin-bottom: 0;
}

.product-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.card > .product-badge {
  margin-bottom: 0.6rem;
}

.product-badge.live {
  color: #04101e;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-color: transparent;
}

.product-card p {
  flex-grow: 1;
}

.product-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.2rem;
}

.product-link:hover {
  text-decoration: underline;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.disclosure-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-shot {
  margin: 0 0 1rem;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.founder-social svg {
  display: block;
}

.founder-social:hover {
  text-decoration: underline;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.25rem;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  margin: 0;
}

.contact-card {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-card > div:first-child {
  flex: 1 1 320px;
}

.contact-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.contact-card p {
  color: var(--muted);
  margin: 0;
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 680px;
}

.contact-form {
  flex: 1 1 340px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.85rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form .contact-actions {
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin: 0;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 6rem;
  }

  .nav {
    padding: 1rem 0.9rem 0.7rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    display: none;
  }

  .hero-card,
  .founder-card,
  .founder-highlights,
  .why-card,
  .contact-card {
    padding: 1.3rem;
  }

  .card-grid,
  .steps-grid,
  .why-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 5vw, 2.7rem);
  }

  .lead,
  .hero-subtitle,
  .contact-note {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .card-grid,
  .steps-grid,
  .why-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .card-grid,
  .steps-grid,
  .why-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
