:root {
  --header-h: 74px;
  --footer-h: 44px;
  --bg: #eef4ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #0f1728;
  --muted: #5f6b80;
  --line: rgba(126, 156, 208, 0.28);
  --line-strong: rgba(96, 131, 193, 0.38);
  --primary-a: #3d6eff;
  --primary-b: #00b7ff;
  --shadow: 0 24px 60px rgba(27, 46, 89, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(89, 142, 255, 0.28), transparent 64%),
    radial-gradient(900px 560px at 94% 2%, rgba(112, 233, 255, 0.24), transparent 62%),
    radial-gradient(800px 460px at 72% 88%, rgba(146, 145, 255, 0.2), transparent 64%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 60%, #eff4ff 100%);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
}

.ambient-a {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -120px;
  background: rgba(99, 126, 255, 0.24);
}

.ambient-b {
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -140px;
  background: rgba(72, 219, 255, 0.22);
}

.site-header,
main,
.site-footer {
  width: 100vw;
}

.header-inner,
.slide-inner,
.footer-inner {
  width: min(1420px, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.site-header {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(126, 156, 208, 0.18);
  backdrop-filter: blur(12px) saturate(140%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--muted);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.64);
}

main {
  height: calc(100svh - var(--header-h) - var(--footer-h));
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

main::-webkit-scrollbar {
  display: none;
}

.hero,
.section,
.cta {
  min-height: calc(100svh - var(--header-h) - var(--footer-h));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-top: 1px solid rgba(126, 156, 208, 0.2);
  border-bottom: 1px solid rgba(126, 156, 208, 0.2);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(135%);
}

.slide-inner {
  padding-top: clamp(1rem, 2.1vh, 1.7rem);
  padding-bottom: clamp(1rem, 2.1vh, 1.7rem);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(61, 110, 255, 0.14), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(0, 183, 255, 0.12), transparent 38%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: center;
  height: 100%;
}

.hero-panel {
  display: grid;
  gap: 0.72rem;
}

.hero-panel > img {
  width: 100%;
  height: clamp(210px, 34vh, 360px);
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 0.95rem;
  display: grid;
  gap: 0.58rem;
}

.eyebrow,
.section-kicker,
.metric-label,
.process-item span,
th {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3761d5;
}

h1,
h2,
h3,
p,
ol,
figure {
  margin: 0;
}

h1 {
  margin-top: 0.62rem;
  font-size: clamp(2.2rem, 5.2vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(105deg, #2f61f6 0%, #00a7df 46%, #7b6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-top: 0.34rem;
  font-size: clamp(1.44rem, 2.7vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1rem;
}

.lead,
.section-text,
.block p,
.process-item p,
.cta p,
.photo-card figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.67;
  font-size: 0.94rem;
}

.hero-actions {
  margin-top: 1.04rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.64rem 1.02rem;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary-a), var(--primary-b));
  box-shadow: 0 12px 30px rgba(40, 96, 246, 0.3);
}

.btn-secondary,
.btn-tertiary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-strong);
}

.metric-item {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.metric-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-number {
  display: block;
  margin-top: 0.1rem;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.metric-item span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4f7ad4;
}

.section {
  display: flex;
  align-items: center;
}

.grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.72rem;
}

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

.block,
.process-item,
.photo-card,
.kpi-row article {
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.block {
  padding: 0.88rem;
}

.block h3 {
  letter-spacing: -0.01em;
}

.block-metric {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3e67cf;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1rem;
  align-items: center;
}

.kpi-row {
  margin-top: 0.86rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.kpi-row article {
  padding: 0.72rem;
}

.kpi-row article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.kpi-number {
  margin-top: 0.18rem;
  display: block;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  letter-spacing: -0.01em;
}

.kpi-row article span {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4f7ad4;
}

.photo-card {
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: clamp(220px, 36vh, 420px);
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  margin: 0;
  padding: 0.66rem 0.82rem;
  font-size: 0.84rem;
}

.image-row {
  margin-top: 0.84rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.image-row img {
  width: 100%;
  height: clamp(180px, 22vh, 260px);
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-list {
  margin-top: 0.88rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.process-item {
  padding: 0.82rem;
}

.process-item span {
  font-size: 0.72rem;
}

.api-row {
  margin-top: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.status-pill {
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.3rem 0.62rem;
  font-size: 0.8rem;
}

.portfolio-stats {
  margin-top: 0.84rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.portfolio-stats article {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: 0.72rem;
}

.portfolio-stats p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.portfolio-stats strong {
  margin-top: 0.18rem;
  display: block;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  letter-spacing: -0.01em;
}

.table-wrap {
  margin-top: 0.84rem;
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

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

th,
td {
  text-align: left;
  padding: 0.62rem 0.46rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}

th {
  font-size: 0.7rem;
  color: var(--muted);
}

td a {
  color: #315bd6;
}

.cta {
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% -20%, rgba(61, 110, 255, 0.16), transparent 52%),
    var(--surface);
}

.cta-inner {
  max-width: 920px;
}

.cta .hero-actions {
  justify-content: center;
}

.credit {
  margin-top: 0.84rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.slide-nav {
  position: fixed;
  right: 0.82rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: 0.2s ease;
}

.slide-dot.is-active {
  height: 30px;
  background: linear-gradient(180deg, var(--primary-a), var(--primary-b));
  border-color: transparent;
}

.site-footer {
  min-height: var(--footer-h);
  border-top: 1px solid rgba(126, 156, 208, 0.18);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--text);
}

.legal-links {
  display: flex;
  gap: 0.5rem;
}

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

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

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

  .grid.three,
  .process-list,
  .kpi-row,
  .portfolio-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  body {
    overflow: auto;
  }

  main {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .hero,
  .section,
  .cta {
    min-height: auto;
    padding: 0;
  }

  .slide-inner {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .slide-nav {
    display: none;
  }

  .site-footer {
    min-height: auto;
    padding: 0.75rem 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    padding: 0.75rem 0;
  }

  .header-inner,
  .slide-inner,
  .footer-inner {
    width: calc(100vw - 1.2rem);
  }

  h1 {
    font-size: clamp(1.86rem, 10vw, 2.85rem);
  }

  .grid.three,
  .process-list,
  .kpi-row,
  .image-row,
  .portfolio-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    scroll-behavior: auto;
  }

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