:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #f2f4f4;
  --primary: #545f74;
  --primary-dark: #475267;
  --text: #2d3435;
  --text-soft: #596061;
  --secondary: #6c778d;
  --border: #e2e8f0;
  --success: #198c5c;
  --warning: #c7851f;
  --shadow: 0 18px 48px rgba(45, 52, 53, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(84, 95, 116, 0.08), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(108, 119, 141, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(45, 52, 53, 0.18);
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: var(--muted);
  color: var(--primary);
}

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

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 54px;
}

.hero-clean {
  min-height: calc(100vh - 76px);
  padding-top: 58px;
  padding-bottom: 44px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.app-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(45, 52, 53, 0.06);
}

.app-mark img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;
  color: var(--text-soft);
  font-size: clamp(18px, 2.1vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-actions.compact {
  margin-top: 0;
  align-content: center;
}

.store-badge {
  min-width: 174px;
  height: 58px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: #111315;
  color: #fff;
  box-shadow: 0 18px 38px rgba(17, 19, 21, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(17, 19, 21, 0.25);
  background: #202326;
}

.store-badge small {
  display: block;
  margin-bottom: -2px;
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

.store-badge span:last-child {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.store-icon {
  font-size: 30px;
  line-height: 1;
}

.play-icon {
  width: 26px;
  height: 30px;
  position: relative;
  display: inline-block;
}

.play-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(135deg, #43e0a7, #4aa3ff 48%, #f9cf4a 52%, #ff6d6d);
}

.store-note {
  margin-top: 12px;
  color: var(--text-tertiary, #757c7d);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(330px, 82vw);
  aspect-ratio: 9 / 19.5;
  transform: translateX(-50%) rotate(2deg);
  border: 10px solid #202326;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(45, 52, 53, 0.24);
  background: #fff;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-main {
  inset: 26px auto auto 48%;
  transform: translateX(-50%) rotate(2deg);
}

.phone-small {
  inset: 124px auto auto 18%;
  width: min(248px, 60vw);
  opacity: 0.82;
  transform: rotate(-8deg);
}

.phone.back {
  transform: translate(-76%, 72px) rotate(-7deg);
  opacity: 0.72;
  scale: 0.78;
  filter: saturate(0.75);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 22px;
}

.compact-section {
  padding-top: 46px;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  color: var(--text-soft);
  font-size: 18px;
}

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

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

.mini-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(45, 52, 53, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(84, 95, 116, 0.22);
  box-shadow: 0 26px 60px rgba(45, 52, 53, 0.10);
}

.mini-card span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.mini-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
}

.mini-card p {
  color: var(--text-soft);
}

.showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 22px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 36px;
}

.screen-row {
  min-height: 560px;
  position: relative;
}

.screen-card {
  position: absolute;
  top: 0;
  width: 250px;
  max-width: 42%;
  border: 8px solid #202326;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(45, 52, 53, 0.20);
  background: #fff;
  transition: transform 260ms ease;
}

.screen-card:hover {
  z-index: 4;
  transform: translateY(-10px) rotate(0deg) scale(1.03);
}

.tilt-left {
  left: 0;
  top: 70px;
  transform: rotate(-8deg);
}

.tilt-up {
  left: 31%;
  z-index: 2;
  transform: rotate(1deg);
}

.tilt-right {
  right: 0;
  top: 90px;
  transform: rotate(8deg);
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: var(--text);
  color: #fff;
  box-shadow: 0 26px 70px rgba(45, 52, 53, 0.18);
}

.cta-card img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.cta-card h2 {
  margin-bottom: 8px;
  color: #fff;
}

.cta-card .lead,
.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(45, 52, 53, 0.06);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.card p {
  color: var(--text-soft);
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--muted);
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.metric span {
  color: var(--secondary);
  font-weight: 700;
}

.legal-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 62px 22px 84px;
}

.legal-layout h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-layout h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-layout p,
.legal-layout li {
  color: var(--text-soft);
  font-size: 17px;
}

.support-box {
  padding: 24px;
  border-radius: 8px;
  background: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  background: #fbfbfb;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
  animation: pulse 6s ease-in-out infinite;
}

.orb-one {
  width: 280px;
  height: 280px;
  top: 40px;
  right: 50px;
  background: rgba(84, 95, 116, 0.12);
}

.orb-two {
  width: 180px;
  height: 180px;
  left: 40px;
  bottom: 120px;
  background: rgba(108, 119, 141, 0.12);
  animation-delay: 1.4s;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 700ms ease forwards;
}

.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }
.delay-4 { animation-delay: 360ms; }

.float {
  animation: float 5.8s ease-in-out infinite;
}

.float-slow {
  animation: floatSlow 7.4s ease-in-out infinite;
}

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

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@keyframes floatSlow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 12px; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.52; }
  50% { transform: scale(1.08); opacity: 0.78; }
}

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

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

  .hero {
    padding-top: 48px;
  }

  .phone-stage {
    min-height: 560px;
  }

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

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

  .hero-visual {
    min-height: 560px;
  }

  .showcase-copy {
    text-align: left;
  }

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

  .cta-card .store-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
  }

  .store-actions {
    display: grid;
  }

  .store-badge {
    width: 100%;
  }

  .phone-stage {
    min-height: 500px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: min(290px, 82vw);
  }

  .footer-inner {
    display: grid;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .screen-row {
    min-height: 470px;
  }

  .screen-card {
    width: 190px;
    border-radius: 26px;
  }

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