:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-muted: #fbfbfd;
  --bg-dark: #000000;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --blue: #0071e3;
  --button-dark: #1d1d1f;
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.08);
  --shadow-device: 0 32px 100px rgba(15, 23, 42, 0.16);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.hero-text,
.intro-shell p,
.section-heading h2 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

img {
  display: block;
  max-width: 100%;
}

body.js-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.js-ready .reveal[data-reveal="slide-left"] {
  transform: translate3d(64px, 0, 0);
}

body.js-ready .reveal[data-reveal="slide-right"] {
  transform: translate3d(-64px, 0, 0);
}

body.js-ready .reveal[data-reveal="zoom-in"] {
  transform: scale(0.94);
}

main {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
}

.nav-shell,
.hero,
.feature-shell,
.intro-shell,
.grid-band,
.metrics-band,
.gallery-band,
.compliance-band,
.footer-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.hero {
  padding: 72px 0 24px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow-dark {
  color: #7db8ff;
}

.hero h1,
.section-heading h2,
.feature-copy h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero h1 {
  width: min(980px, 100%);
  margin: 18px auto 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  font-weight: 700;
}

.hero-text,
.feature-copy p,
.product-card p,
.metric-card p,
.compliance-card p,
.footer-meta p,
.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  width: min(760px, 100%);
  margin: 22px auto 0;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
}

.button-dark {
  background: var(--button-dark);
  color: #fff;
}

.button-light {
  background: var(--bg-soft);
  color: var(--ink);
}

.hero-scroll {
  position: relative;
  height: 195vh;
  margin-top: 34px;
}

.hero-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 96px);
}

.hero-stage {
  position: relative;
  height: 100%;
  background:
    radial-gradient(circle at 50% 18%, rgba(83, 145, 255, 0.25), transparent 22%),
    linear-gradient(180deg, #fbfbfd 0%, #f0f2f5 55%, #ffffff 100%);
  border-radius: 56px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(92, 146, 255, 0.3) 0%, rgba(92, 146, 255, 0.08) 40%, transparent 72%);
  filter: blur(12px);
}

.device {
  position: absolute;
  transition: transform 0.3s linear;
  will-change: transform;
}

.device img,
.gallery-item img,
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.device::after,
.gallery-item::after,
.product-card img {
  pointer-events: none;
}

.device-shot,
.product-shot,
.gallery-shot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 70px rgba(15, 23, 42, 0.16));
}

.device-shot {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: transform 0.25s linear;
}

.device-left {
  left: 4%;
  top: 22%;
  width: 248px;
  transform: rotate(-14deg);
}

.device-center {
  left: 50%;
  top: 7%;
  width: 360px;
  transform: translateX(-50%);
}

.device-right {
  right: 4%;
  top: 22%;
  width: 248px;
  transform: rotate(14deg);
}

.hero-timeline {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hero-beat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}

.hero-beat span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-beat strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-beat.is-active {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-1px);
}

.intro-strip {
  padding: 24px 0 84px;
}

.intro-shell {
  text-align: center;
}

.intro-shell p {
  width: min(980px, 100%);
  margin: 0 auto;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.feature-band,
.grid-band,
.metrics-band,
.gallery-band,
.compliance-band {
  padding: 110px 0;
}

.feature-band-dark {
  background: var(--bg-dark);
  color: #fff;
}

.feature-band-dark .feature-copy p,
.feature-band-dark .feature-list li {
  color: rgba(255, 255, 255, 0.72);
}

.feature-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 60px;
  align-items: center;
}

.feature-shell.reverse {
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
}

.feature-shell.reverse .feature-copy {
  order: 2;
}

.feature-shell.reverse .feature-visual {
  order: 1;
}

.feature-copy h2,
.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
}

.feature-copy p {
  margin-top: 20px;
  font-size: 17px;
}

.feature-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-top: 12px;
  font-size: 16px;
  white-space: nowrap;
}

.feature-list li::before {
  content: "•";
  margin-right: 10px;
  color: #7db8ff;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.device-single {
  position: relative;
  width: min(390px, 100%);
}

.section-heading {
  text-align: center;
}

.section-heading.narrow {
  width: min(860px, 100%);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 72px rgba(15, 23, 42, 0.12);
}

.product-card-soft {
  background: var(--bg-soft);
}

.product-card-dark {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  background: linear-gradient(135deg, #111111, #1f1f22);
  color: #fff;
}

.product-card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.product-card-copy {
  padding: 42px;
}

.product-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 580px;
  padding: 0 24px 30px;
}

.product-visual-dark {
  padding: 34px 28px 34px 0;
}

.product-card h3,
.metric-card h3,
.compliance-card h3,
.legal-card h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.product-card h3 {
  font-size: 36px;
  white-space: nowrap;
}

.product-card p {
  margin-top: 14px;
  font-size: 16px;
}

.product-shot {
  width: min(290px, 100%);
}

.metrics-band {
  background: var(--bg-soft);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.metric-card {
  padding: 32px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.metric-card h3 {
  margin-top: 14px;
  font-size: 28px;
  white-space: nowrap;
}

.metric-card p {
  margin-top: 12px;
  font-size: 16px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 32px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-shot {
  width: 100%;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 46px;
}

.compliance-card,
.legal-card {
  padding: 34px;
  border-radius: 32px;
  background: var(--bg-soft);
}

.compliance-card h3 {
  font-size: 28px;
}

.compliance-card p {
  margin: 12px 0 0;
  font-size: 17px;
}

.footer {
  padding: 42px 0 56px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  background: var(--bg-muted);
}

.footer-shell {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-meta p {
  margin: 6px 0 0;
  font-size: 14px;
}

.legal-page {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 30px 0 60px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.04em;
}

.legal-card h2 {
  margin-top: 30px;
  font-size: 26px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.legal-note {
  color: var(--blue);
}

@media (max-width: 1180px) {
  .hero-scroll {
    height: 182vh;
  }

  .hero-stage {
    min-height: 670px;
  }

  .device-left,
  .device-right {
    width: 220px;
  }

  .device-center {
    width: 330px;
  }

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

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-scroll {
    height: auto;
    margin-top: 28px;
  }

  .hero-sticky {
    position: relative;
    top: auto;
    height: auto;
  }

  .hero-stage {
    min-height: 980px;
  }

  .device-left,
  .device-center,
  .device-right {
    transform: none;
  }

  .device-left {
    left: 50%;
    top: 48px;
    width: 240px;
    transform: translateX(-50%);
  }

  .device-center {
    left: 50%;
    top: 286px;
    width: 280px;
    transform: translateX(-50%);
  }

  .device-right {
    left: 50%;
    right: auto;
    top: 556px;
    width: 240px;
    transform: translateX(-50%);
  }

  .hero-timeline {
    bottom: 22px;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 24px);
  }

  .feature-shell,
  .feature-shell.reverse,
  .product-card-dark,
  .metrics-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .feature-shell.reverse .feature-copy,
  .feature-shell.reverse .feature-visual {
    order: initial;
  }

  .product-grid,
  .gallery-row {
    grid-template-columns: 1fr 1fr;
  }

  .product-card-dark .product-visual {
    padding: 0 24px 30px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-inline: 10px;
  }

  .nav-shell,
  .hero,
  .feature-shell,
  .intro-shell,
  .grid-band,
  .metrics-band,
  .gallery-band,
  .compliance-band,
  .footer-shell,
  .legal-page {
    width: min(calc(100% - 24px), var(--container));
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-stage {
    min-height: 860px;
    border-radius: 34px;
  }

  .device {
    transition: none;
  }

  .device-left {
    width: 188px;
  }

  .device-center {
    top: 250px;
    width: 232px;
  }

  .device-right {
    top: 470px;
    width: 188px;
  }

  .intro-shell p {
    font-size: 34px;
  }

  .feature-band,
  .grid-band,
  .metrics-band,
  .gallery-band,
  .compliance-band {
    padding: 74px 0;
  }

  .feature-copy h2,
  .section-heading h2 {
    font-size: 38px;
  }

  .feature-copy p,
  .product-card p,
  .metric-card p,
  .compliance-card p {
    font-size: 16px;
  }

  .product-grid,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  .product-card-copy,
  .metric-card,
  .compliance-card,
  .legal-card {
    padding: 24px;
  }

  .product-visual,
  .product-visual-dark {
    min-height: auto;
    padding: 0 18px 24px;
  }

  .product-card h3,
  .metric-card h3,
  .compliance-card h3 {
    font-size: 28px;
    white-space: normal;
  }

  .feature-list li {
    white-space: normal;
  }
}

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

  body.js-ready .reveal,
  body.js-ready .reveal.is-visible,
  .device,
  .product-card,
  .gallery-item {
    transition: none;
    transform: none;
    opacity: 1;
    animation: none;
  }
}
