:root {
  --bg: #f3f6fb;
  --bg-alt: #ffffff;
  --text: #111a2e;
  --muted: #566175;
  --dark: #0f172a;
  --dark-soft: #182236;
  --border: #dce3ee;
  --accent: #2157d5;
  --accent-dark: #1845af;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 18px;
  --shadow: 0 22px 56px rgba(12, 20, 36, 0.11);
  --surface-shadow: 0 14px 32px rgba(14, 26, 48, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 9% 12%, rgba(33, 87, 213, 0.09), transparent 34%),
    radial-gradient(circle at 87% 4%, rgba(15, 23, 42, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 26, 46, 0.06) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  opacity: 0.18;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 246, 251, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition: min-height 0.25s ease, backdrop-filter 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(243, 246, 251, 0.94);
  backdrop-filter: blur(10px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 0.25s ease;
}

.site-header.scrolled .header-inner {
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 34px;
  width: auto;
}

.screenshot-placeholder,
.screenshot-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.screenshot-image {
  display: block;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.header-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-login-button:hover {
  background: var(--accent-dark);
}

.mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  padding: 104px 0 86px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(46px, 7.4vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 24px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 21px;
}

.secondary-copy {
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(18, 35, 67, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16, 34, 65, 0.15);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(16, 34, 65, 0.18);
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
}

.button.secondary.light {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.button.secondary.light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-preview {
  padding: 20px;
  border-radius: 26px;
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow);
  animation: floatPreview 8s ease-in-out infinite;
}

.preview-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--dark-soft);
}

.preview-header small,
.preview-card small {
  display: block;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.preview-header strong {
  display: block;
  font-size: 24px;
}

.preview-status {
  align-self: start;
  padding: 6px 11px;
  border-radius: 999px;
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.preview-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.preview-card strong {
  font-size: 26px;
  line-height: 1;
}

.fake-table {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 12px;
  padding: 12px 14px;
  color: #e5e7eb;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-row:last-child {
  border-bottom: none;
}

.table-head {
  color: #93c5fd;
  font-weight: 800;
}

.ok {
  color: #86efac;
  font-weight: 800;
}

.warn {
  color: #fcd34d;
  font-weight: 800;
}

.preview-note {
  margin: 16px 4px 0;
  color: #cbd5e1;
  font-size: 13px;
}



.section {
  padding: 90px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffffff 100%);
}

.section-intro,
.section-outro {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
}

.section-intro {
  margin: 0 0 38px;
}

.section-outro {
  margin: 34px auto 0;
}

.historian-section .section-intro {
  max-width: 900px;
}

.historian-cards {
  margin-top: 26px;
}

.platform-section {
  padding: 110px 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.platform-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.platform-copy {
  max-width: 660px;
  padding-top: 34px;
}

.platform-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.platform-copy p:last-child {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.two-column p {
  color: var(--muted);
  font-size: 18px;
}

.split-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.large-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: var(--surface-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.large-card:hover {
  transform: translateY(-3px);
  border-color: #bccae0;
  box-shadow: 0 16px 34px rgba(14, 26, 48, 0.14);
}

.large-card p {
  color: var(--muted);
  font-size: 17px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--accent);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.dark-card {
  color: white;
  background: var(--dark);
  border-color: var(--dark);
}

.dark-card p,
.dark-card li {
  color: #cbd5e1;
}

.dark-card .card-label {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.screenshot-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: var(--surface-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  border-color: #bccae0;
  box-shadow: 0 16px 34px rgba(14, 26, 48, 0.14);
}

.screenshot-placeholder {
  min-height: 230px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.04)),
    repeating-linear-gradient(
      45deg,
      rgba(15, 23, 42, 0.04),
      rgba(15, 23, 42, 0.04) 10px,
      transparent 10px,
      transparent 20px
    );
  border: 1px dashed #b9c5d8;
  font-weight: 800;
}

.screenshot-card p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--surface-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #bccae0;
  box-shadow: 0 16px 34px rgba(14, 26, 48, 0.14);
}

.card p {
  color: var(--muted);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-list span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  background: white;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
}

.dark-section {
  color: white;
  background: var(--dark);
}

.dark-section .eyebrow {
  color: #93c5fd;
}

.dark-section p {
  color: #cbd5e1;
}

.faq-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 250, 255, 0.96) 100%);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--surface-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: #c0cde0;
  box-shadow: 0 16px 34px rgba(14, 26, 48, 0.11);
}

.faq-item h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--bg-alt);
}

.contact-box {
  max-width: 860px;
  padding: 54px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #121d32 0%, #0f172a 100%);
  color: white;
  box-shadow: var(--shadow);
}

.contact-box p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #cbd5e1;
  font-size: 18px;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 700;
}

.footer-social a:hover {
  border-color: #b8c6da;
  background: #f2f6fb;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatPreview {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .two-column,
  .split-cards {
    grid-template-columns: 1fr;
  }

  .cards,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .platform-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .platform-copy {
    padding-top: 0;
  }

  .platform-copy p {
    font-size: 18px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo img {
    height: 30px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-copy {
    font-size: 18px;
  }

  .cards,
  .screenshot-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr 0.8fr;
  }

  .table-row span:nth-child(3),
  .table-row span:nth-child(4) {
    display: none;
  }

  .large-card {
    padding: 26px;
  }

  .contact-box {
    padding: 36px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 38px;
  }

  .screenshot-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: white;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  }

  .screenshot-placeholder {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 24px;
    border-radius: 18px;
    border: 2px dashed #b9c5d8;
    background: #f1f5f9;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
  }

  .screenshot-card p {
    color: var(--muted);
  }
}

@media (max-width: 980px) {
  .header-inner {
    position: relative;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-login-button {
    display: none;
  }

  .site-header.menu-open .nav {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    color: var(--text);
  }

  .mobile-only {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}