:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #11131a;
  --panel-2: #171a22;
  --text: #f4f6fb;
  --muted: #a4a9b6;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #77e1d1;
  --accent-2: #b8a4ff;
  --ok: #7dffb2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 12%, rgba(119, 225, 209, 0.12), transparent 28rem),
    radial-gradient(circle at 18% 0%, rgba(184, 164, 255, 0.1), transparent 24rem),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand,
.desktop-nav,
.topbar-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-mark span {
  position: absolute;
  width: 15px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}

.brand-mark span:nth-child(1) {
  transform: rotate(0deg);
}

.brand-mark span:nth-child(2) {
  transform: rotate(60deg);
}

.brand-mark span:nth-child(3) {
  transform: rotate(-60deg);
}

.desktop-nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a,
.footer a,
.request-link {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.footer a:hover,
.request-link:hover {
  color: var(--text);
}

.topbar-actions {
  gap: 12px;
}

.request-link {
  color: var(--muted);
  font-size: 14px;
}

.menu-toggle,
.menu-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
}

.menu-plus,
.menu-plus::before,
.menu-plus::after {
  display: block;
  width: 13px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-plus {
  position: relative;
}

.menu-plus::before,
.menu-plus::after {
  position: absolute;
  inset: 0;
}

.menu-plus::after {
  transform: rotate(90deg);
}

.menu-open .menu-plus::after {
  transform: rotate(0deg);
}

.staggered-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
}

.menu-panel {
  position: absolute;
  top: 18px;
  right: max(20px, calc((100vw - 1180px) / 2));
  width: min(460px, calc(100vw - 40px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 14, 20, 0.94);
  box-shadow: var(--shadow);
  transform: translateY(-18px) scale(0.98);
  opacity: 0;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  backdrop-filter: blur(22px);
}

.menu-open .staggered-menu {
  pointer-events: auto;
}

.menu-open .menu-scrim,
.menu-open .menu-panel {
  opacity: 1;
}

.menu-open .menu-panel {
  transform: translateY(0) scale(1);
}

.menu-head,
.menu-meta div,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-close {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.menu-close::before,
.menu-close::after {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.menu-links {
  display: grid;
  gap: 8px;
  margin: 28px 0;
}

.menu-links a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(18px);
  transition:
    color 160ms ease,
    opacity 280ms ease calc(var(--i) * 48ms),
    transform 280ms ease calc(var(--i) * 48ms);
}

.menu-open .menu-links a {
  opacity: 1;
  transform: translateY(0);
}

.menu-links a:hover {
  color: var(--accent);
}

.menu-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.menu-meta {
  color: var(--muted);
  font-size: 14px;
}

.menu-meta div {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 58px 0 82px;
}

.hero-page {
  min-height: 520px;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-page h1 {
  max-width: 680px;
  font-size: clamp(40px, 5vw, 66px);
}

.hero-api h1 {
  max-width: 640px;
  font-size: clamp(38px, 4.6vw, 62px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lede,
.hero-copy > p:not(.eyebrow),
.split-section p,
.info-card p,
.footer p {
  color: #bec4d0;
  font-size: 17px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(119, 225, 209, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(119, 225, 209, 0.3), rgba(184, 164, 255, 0.18));
  color: var(--text);
  font-weight: 720;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(119, 225, 209, 0.8);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.product-visual {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(119, 225, 209, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.product-visual img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0.96;
}

.visual-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 136px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 9, 13, 0.86);
  backdrop-filter: blur(14px);
}

.visual-card span {
  color: var(--muted);
  font-size: 12px;
}

.visual-card strong {
  font-size: 18px;
}

.visual-card-a {
  right: 6%;
  bottom: 10%;
}

.visual-card-b {
  left: 6%;
  top: 10%;
}

.section {
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 880px;
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.info-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.timeline span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 780;
}

.timeline strong {
  margin-bottom: 6px;
}

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

.data-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.table-row {
  display: grid;
  grid-template-columns: var(--table-grid, minmax(180px, 1.35fr) repeat(4, minmax(120px, 1fr)));
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.table-row span:first-child {
  color: var(--text);
  font-weight: 700;
}

.form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  outline: none;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(119, 225, 209, 0.55);
}

.form-note {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--ok);
}

.footer {
  align-items: flex-start;
  padding: 36px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.footer p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.reveal {
  animation: reveal 600ms ease both;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .request-link {
    display: none;
  }

  .hero,
  .split-section,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

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

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    gap: 32px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .product-visual {
    margin-inline: -4px;
  }

  .visual-card {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .table-head {
    display: none;
  }

  .menu-panel {
    top: 10px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .menu-links a {
    font-size: clamp(30px, 12vw, 54px);
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
