:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-strong: #eef4ff;
  --card: #ffffff;
  --text: #101828;
  --muted: #5b677a;
  --line: #dbe4f0;
  --primary: #1268e8;
  --primary-dark: #0b4fb3;
  --primary-soft: #e7f0ff;
  --accent: #13a68a;
  --warning: #f5a524;
  --shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 8px 22px rgba(16, 24, 40, 0.06);
  --radius: 8px;
  --header-height: 72px;
  --container: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #101a2b;
  --surface-strong: #132945;
  --card: #0d1728;
  --text: #f4f7fb;
  --muted: #a8b4c5;
  --line: #26364d;
  --primary: #58a0ff;
  --primary-dark: #8cbfff;
  --primary-soft: #102c50;
  --accent: #49d4ba;
  --warning: #ffc766;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  padding: 10px 14px;
  transition: top 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 228, 240, 0.7);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle,
.theme-toggle {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  gap: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.theme-toggle {
  width: 42px;
  height: 42px;
}

.theme-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--warning));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 650;
  padding: 0 18px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 24%, transparent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--card);
  color: var(--text);
}

.btn-small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.muted {
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 94px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent 42%),
    var(--surface);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%);
}

.hero-grid,
.split-layout,
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 48px;
}

.hero h1,
.section-heading h2,
.split-layout h2,
.contact-grid h2,
.funding-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 720;
  line-height: 1.08;
}

.section-heading h2,
.split-layout h2,
.contact-grid h2,
.funding-card h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.hero p,
.section-heading p,
.split-layout p,
.contact-grid p,
.funding-card p {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  min-height: 440px;
}

.platform-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--card) 92%, transparent), color-mix(in srgb, var(--primary-soft) 46%, transparent)),
    var(--card);
  box-shadow: var(--shadow);
  padding: 26px;
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.platform-top strong {
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 8px 12px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.signal-grid span {
  display: block;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent),
    var(--card);
}

.signal-grid span:nth-child(2),
.signal-grid span:nth-child(3) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
    var(--card);
}

.pipeline {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.pipeline div {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  font-weight: 650;
  padding: 14px 16px;
}

.pipeline div:not(:last-child)::after {
  content: "↓";
  position: absolute;
  right: 18px;
  bottom: -26px;
  color: var(--primary);
  font-weight: 900;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-card,
.info-card,
.leader-card,
.market-card,
.tam-card,
.metric-card,
.document-card,
.chart-card,
.news-card,
.panel,
.funding-card,
.progress-panel,
.contact-card,
.investor-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-weight: 600;
  padding: 14px 16px;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.document-row strong,
.document-row span {
  display: block;
}

.document-row span {
  color: var(--muted);
  margin-top: 4px;
}

.stat-card {
  padding: 22px;
}

.stat-card strong,
.metric-card strong {
  display: block;
  color: var(--text);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 720;
  line-height: 1;
}

.stat-card span,
.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}

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

.card-grid,
.leader-grid,
.market-grid,
.tam-grid,
.metric-grid,
.document-grid,
.news-grid,
.revenue-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three,
.leader-grid,
.market-grid,
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four,
.metric-grid,
.document-grid,
.revenue-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.leader-card,
.market-card,
.tam-card,
.metric-card,
.document-card,
.news-card,
.panel {
  padding: 24px;
}

.info-card .icon,
.document-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
}

.info-card h3,
.leader-card h3,
.market-card h3,
.panel h3,
.news-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.info-card p,
.leader-card p,
.market-card p,
.panel p,
.news-card p,
.document-card p {
  color: var(--muted);
  margin: 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.leader-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)),
    var(--surface);
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 700;
}

.leader-photo {
  position: relative;
  overflow: hidden;
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)),
    var(--surface);
}

.leader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-photo span {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 700;
}

.leader-role {
  display: block;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 12px;
}

.text-link {
  display: inline-flex;
  color: var(--primary-dark);
  font-weight: 650;
  margin-top: 18px;
}

.market-card {
  overflow: hidden;
}

.market-meter {
  height: 10px;
  border-radius: 999px;
  background: var(--surface);
  margin-top: 18px;
}

.market-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.tam-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.tam-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 36px;
  font-weight: 720;
  line-height: 1;
}

.tam-card span {
  color: var(--muted);
  font-weight: 600;
}

.flow-card {
  display: grid;
  gap: 12px;
}

.flow-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.flow-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 28px;
  bottom: -28px;
  color: var(--primary);
  font-weight: 900;
}

.revenue-grid {
  margin-top: 36px;
}

.revenue-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.timeline-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.timeline-item strong {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 6px 10px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.metric-card {
  padding: 22px;
}

.funding-card,
.progress-panel,
.investor-form {
  padding: 30px;
}

.raise-text strong {
  color: var(--primary-dark);
}

.progress-row {
  margin-top: 18px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1s ease;
}

.document-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.document-card h3 {
  margin: 18px 0 8px;
}

.document-card .btn {
  width: 100%;
  margin-top: auto;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 240px;
  border-bottom: 1px solid var(--line);
  padding-top: 22px;
}

.bar {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  height: 210px;
  gap: 8px;
}

.bar span {
  display: block;
  min-height: 12px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform-origin: bottom;
}

.bar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

caption {
  color: var(--muted);
  font-weight: 600;
  padding: 18px;
  text-align: left;
}

th,
td {
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
}

th {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.news-category {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 650;
  padding: 6px 10px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
  padding: 20px;
  text-align: left;
}

.faq-answer {
  display: none;
  color: var(--muted);
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent),
    var(--surface);
}

.contact-card {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding: 22px;
}

.contact-card span,
.contact-card a {
  color: var(--muted);
}

.contact-card a {
  color: var(--primary-dark);
  font-weight: 650;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  color: var(--text);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
  outline: 0;
}

.field-error {
  border-color: #d92d20;
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-weight: 600;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: #d92d20;
}

.site-footer {
  background: #071020;
  color: #d9e3f2;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand .brand-mark {
  background: linear-gradient(135deg, #58a0ff, #49d4ba);
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #a8b4c5;
}

.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8b4c5;
  margin-top: 38px;
  padding-top: 22px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: var(--shadow);
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.back-to-top.is-visible {
  display: grid;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    padding: 18px 20px 24px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .stats-grid,
  .kpi-strip,
  .card-grid.four,
  .metric-grid,
  .document-grid,
  .revenue-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .platform-card {
    min-height: auto;
    padding: 18px;
  }

  .stats-grid,
  .kpi-strip,
  .card-grid.three,
  .card-grid.four,
  .leader-grid,
  .market-grid,
  .tam-grid,
  .metric-grid,
  .document-grid,
  .news-grid,
  .revenue-grid,
  .vision-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .document-row {
    grid-template-columns: 1fr;
  }
}
