:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.14);
  --accent: #0071e3;
  --accent-soft: #e9f3ff;
  --dark: #0f1115;
  --dark-soft: #171a21;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(0, 113, 227, 0.05), transparent 26%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

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

a,
button {
  font: inherit;
}

.site-body {
  overflow-x: hidden;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header,
.hero,
.hero-gallery,
.intro-grid,
.apps-index,
.app-hero,
.section-nav,
.metrics-row,
.feature-stage,
.legal-grid,
.site-footer {
  margin-top: 18px;
}

.site-header,
.statement,
.apps-index,
.feature-stage,
.site-footer {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ea4ff, #0071e3);
  box-shadow: 0 0 0 8px rgba(0, 113, 227, 0.08);
}

.site-nav {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.product-link:hover {
  color: var(--ink);
}

.eyebrow,
.showcase-label,
.metric-label {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 8vw, 7.1rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
}

h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.hero {
  padding: 78px 24px 58px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy,
.section-heading p,
.statement p,
.product-card p,
.app-summary,
.feature-copy p,
.legal-card p,
.site-footer span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy {
  max-width: 62ch;
  margin: 20px auto 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.image-reveal {
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s ease;
}

.image-reveal.show {
  opacity: 1;
  transform: scale(1);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card,
.product-card,
.app-hero,
.metric-card,
.feature-list-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-card {
  min-height: 680px;
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card-light {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.showcase-card-dark {
  background: linear-gradient(180deg, #121418 0%, #1a1d26 100%);
  color: #f5f5f7;
}

.showcase-card-dark .showcase-label {
  color: #9ecbff;
}

.showcase-copy {
  max-width: 22rem;
}

.device-frame,
.product-screen,
.app-hero-screen {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: min(360px, 100%);
  margin: 32px auto 0;
  padding: 16px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 29, 31, 0.08);
}

.device-frame-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.device-frame img,
.product-screen img,
.app-hero-screen img {
  width: 100%;
  border-radius: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intro-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.intro-card-copy p,
.intro-card p {
  color: var(--muted);
  line-height: 1.72;
}

.intro-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.apps-index {
  padding: 42px 24px;
  border-radius: var(--radius-xl);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

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

.product-card {
  min-height: 640px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
}

.product-card-light {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.product-card-dark {
  background: linear-gradient(180deg, #121418 0%, #1a1e25 100%);
  color: #f5f5f7;
}

.product-card-copy {
  padding: 28px 24px 0;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-pill-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.product-number {
  color: var(--muted);
  font-weight: 700;
}

.product-card-dark .product-number,
.product-card-dark p {
  color: rgba(245, 245, 247, 0.74);
}

.product-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.product-link-dark {
  color: #ffffff;
}

.product-screen {
  align-items: flex-end;
  padding: 24px;
}

.product-screen img {
  width: min(320px, 100%);
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  padding: 34px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.app-hero-dark {
  background: linear-gradient(180deg, #121418 0%, #1b1e25 100%);
  color: #f5f5f7;
}

.app-hero-dark .app-summary {
  color: rgba(245, 245, 247, 0.74);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.section-nav a:hover {
  color: var(--ink);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.metric-card strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

.feature-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.feature-copy {
  padding: 12px 8px;
}

.feature-list-card {
  padding: 24px;
  background: var(--surface-soft);
}

.feature-list-card-dark {
  background: linear-gradient(180deg, #15171c 0%, #1d2129 100%);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  padding: 36px;
  border-radius: 24px;
  background: #ffffff;
  color: #111;
  transition: all 0.25s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
}

.legal-card-light {
  background: #ffffff;
  color: #111;
}

.legal-card-dark {
  background: linear-gradient(180deg, #121418 0%, #1a1e25 100%);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.08);
}

.legal-card h3 {
  font-size: 26px;
  line-height: 1.2;
}

.legal-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
}

.legal-card-light p {
  color: #666;
}

.legal-card-dark p {
  color: rgba(245, 245, 247, 0.74);
}

.legal-rule {
  width: 40px;
  height: 3px;
  background: #2ecc71;
  margin: 12px 0;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .intro-grid,
  .hero-gallery,
  .product-grid,
  .app-hero,
  .feature-stage,
  .legal-grid,
  .metrics-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 10px;
  }

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

  .hero,
  .apps-index,
  .app-hero,
  .feature-stage {
    padding: 20px;
  }

  .hero {
    padding-top: 52px;
  }

  .section-nav {
    border-radius: 24px;
  }

  .showcase-card,
  .product-card {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .image-reveal,
  .button {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
