:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-press: #0077ed;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  background:
    radial-gradient(1200px 600px at 50% -20%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 45%, #ececf0 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(0, 113, 227, 0.06), transparent 60%),
    radial-gradient(700px 500px at 10% 80%, rgba(0, 0, 0, 0.03), transparent 55%);
  z-index: 0;
}

.nav,
.hero,
.focus,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
}

.nav-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--blue);
  transition: opacity 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    opacity: 0.72;
  }
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 22px 40px;
  text-align: center;
}

.brand {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(40px, 7.2vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  margin: 22px auto 0;
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.47059;
  letter-spacing: 0.012em;
  font-weight: 400;
  color: var(--ink-soft);
}

.cta-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition:
    transform 140ms var(--ease-out),
    background 140ms var(--ease-out),
    opacity 140ms var(--ease-out);
  will-change: transform;
}

.cta:active {
  transform: scale(0.97);
  background: var(--blue-press);
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    background: var(--blue-press);
  }
}

.stage {
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.phone {
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(165deg, #2c2c2e, #1c1c1e 55%, #0f0f10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 28px 60px rgba(0, 0, 0, 0.18);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 500ms var(--ease-move);
}

@media (hover: hover) and (pointer: fine) {
  .stage:hover .phone {
    transform: rotateY(-2deg) rotateX(2deg) translateY(-4px);
  }
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f2f2f7);
  display: flex;
  flex-direction: column;
}

.status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 18px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status span:last-child {
  text-align: right;
}

.pill {
  width: 72px;
  height: 18px;
  border-radius: 20px;
  background: #1d1d1f;
}

.app {
  padding: 18px 20px 28px;
  text-align: left;
  flex: 1;
}

.app-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.app-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app-block {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.app-block span {
  display: block;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
}

.app-block span:first-child {
  background: linear-gradient(135deg, #e8f1ff, #f5f5f7);
}

.focus {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 22px 96px;
  text-align: center;
}

.focus h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.focus p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: 0.011em;
  color: var(--ink-soft);
}

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 22px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: -0.01em;
}

.foot div {
  display: grid;
  gap: 4px;
}

.foot span,
.foot a {
  color: var(--ink-soft);
}

.foot a {
  transition: color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .foot a:hover {
    color: var(--blue);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: enter 700ms var(--ease-out) forwards;
}

.delay-1 {
  animation-delay: 50ms;
}
.delay-2 {
  animation-delay: 100ms;
}
.delay-3 {
  animation-delay: 150ms;
}
.delay-4 {
  animation-delay: 220ms;
}

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

@media (max-width: 720px) {
  .hero {
    padding-top: 40px;
  }

  .phone {
    transform: none;
  }

  .foot {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: fade 200ms ease forwards;
    transform: none;
  }

  .phone,
  .cta {
    transition: none !important;
  }

  @keyframes fade {
    to {
      opacity: 1;
    }
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: #f5f5f7;
    backdrop-filter: none;
  }
}
