:root {
  color-scheme: dark;
  --bg: #0b1324;
  --bg-elevated: #0b1324;
  --surface: #0f1a31;
  --surface-strong: #15233f;
  --surface-soft: #13203a;
  --border: rgba(156, 177, 214, 0.14);
  --border-strong: rgba(156, 177, 214, 0.22);
  --text: #eff4ff;
  --muted: #a9b7cf;
  --accent: #ff8a3d;
  --accent-soft: rgba(255, 138, 61, 0.14);
  --blue-accent: #4a7cff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: 1180px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f3f5f9;
    --bg-elevated: #f3f5f9;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-soft: #f7f9fc;
    --border: rgba(16, 30, 56, 0.08);
    --border-strong: rgba(16, 30, 56, 0.14);
    --text: #111d34;
    --muted: #586881;
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.1);
    --blue-accent: #2850d8;
    --shadow: 0 12px 28px rgba(24, 39, 75, 0.06);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9;
  --bg-elevated: #f3f5f9;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f7f9fc;
  --border: rgba(16, 30, 56, 0.08);
  --border-strong: rgba(16, 30, 56, 0.14);
  --text: #111d34;
  --muted: #586881;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.1);
  --blue-accent: #2850d8;
  --shadow: 0 12px 28px rgba(24, 39, 75, 0.06);
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 92%);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  margin-bottom: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text,
.use-case-grid p,
.preview-list,
.preview-text,
.site-footer p {
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #123a8f;
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.coming-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 120ms ease, color 120ms ease, transform 120ms ease, background-color 120ms ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--blue-accent);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

main {
  display: grid;
  gap: 24px;
}

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h2,
.section-heading h2 {
  margin: 14px 0 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero h2 {
  margin-top: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.15rem);
}

.hero-text {
  max-width: 57ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.platform-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 24px 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.preview-kicker {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.preview-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 1.1rem;
  line-height: 1.65;
}

.preview-text {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading h2 {
  max-width: 19ch;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.use-case-grid article {
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.use-case-grid h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.use-case-grid p {
  margin: 0;
  line-height: 1.8;
}

.site-footer {
  margin-top: 24px;
  padding: 0 6px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer p:first-child {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header,
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h2,
  .section-heading h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 16px;
  }

  .card {
    padding: 24px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
    font-size: 1.65rem;
  }

  .theme-toggle {
    right: 16px;
    bottom: 16px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }

  .hero-text,
  .preview-text,
  .use-case-grid p {
    font-size: 0.98rem;
  }
}
