:root {
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f4f6f9;
  --line: #e5e7eb;
  --blue: #0a84ff;
  --green: #14b86a;
  --coral: #ff6b4a;
  --paper: #f5f5f7;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.compact,
.site-header.is-scrolled {
  border-bottom-color: rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: rgba(17, 24, 39, 0.78);
}

.nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  padding: 9px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin: 0 auto;
  padding: 112px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.94;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.brand-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 96px;
  isolation: isolate;
  overflow: visible;
  background: transparent;
  border-radius: 18px;
}

.brand-strip-left,
.brand-strip-right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-strip-left {
  color: #f5f5f7;
  background: #000;
  border-radius: 18px 0 0 18px;
  font-size: clamp(22px, 3vw, 38px);
}

.brand-strip-right {
  color: #050505;
  background: #fff;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12), inset 12px 0 18px rgba(17, 24, 39, 0.04);
  font-size: clamp(40px, 5vw, 62px);
  text-transform: lowercase;
}

.brand-strip-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 118px;
  height: 96px;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 374px;
  padding: clamp(34px, 6vw, 70px);
  color: #f5f5f7;
  background: #000;
  border-radius: 18px;
}

.hero-statement {
  max-width: 910px;
  margin: 0 auto 56px;
  font-size: clamp(25px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(270px, 64vw);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.app-store-badge {
  width: 100%;
  height: auto;
}

.device-stage {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(260px, 1fr) 160px;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  padding: 56px clamp(24px, 5vw, 68px);
  background: #000;
  border-radius: 58px;
}

.stage-arrow {
  width: 112px;
  height: 112px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: start;
}

.stage-arrow::before {
  content: "";
  display: block;
  width: 78px;
  height: 78px;
  border-left: 9px solid #fff;
  border-bottom: 9px solid #fff;
  transform: rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.stage-arrow:hover::before {
  opacity: 0.78;
  transform: translateX(-4px) rotate(45deg);
}

.stage-arrow.next {
  justify-self: end;
}

.stage-arrow.next::before {
  transform: rotate(225deg);
}

.stage-arrow.next:hover::before {
  transform: translateX(4px) rotate(225deg);
}

.phone-shell {
  position: relative;
  justify-self: center;
  width: min(330px, 74vw);
  aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 0 34px rgba(255, 138, 61, 0.22));
}

.phone-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.phone-display {
  position: absolute;
  top: 2.5%;
  right: 5.333%;
  bottom: 2.5%;
  left: 5.333%;
  z-index: 1;
  overflow: hidden;
  background: #f7f8fb;
  border-radius: 42px;
}

.phone-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.phone-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

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

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
}

.section h2,
.contact h1,
.legal h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 850px;
  color: rgba(17, 24, 39, 0.68);
  font-size: clamp(18px, 2vw, 24px);
}

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

.center-heading {
  max-width: 880px;
  margin: 0 auto;
}

.center-heading .lead,
.center-heading p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 0;
}

.feature {
  min-height: 240px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.feature:nth-child(2) .feature-icon {
  background: var(--green);
}

.feature:nth-child(3) .feature-icon {
  background: var(--blue);
}

.feature:nth-child(4) .feature-icon {
  background: var(--coral);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature p,
.text-stack p,
.boundary-section p,
.contact p,
.legal p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.text-stack {
  padding-top: 10px;
  font-size: 19px;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 14px;
}

.legal,
.contact {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: 24px;
}

.updated {
  margin-bottom: 34px;
}

.contact-hero {
  margin-bottom: 48px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius);
}

.contact-row span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  }

  .nav a {
    padding: 12px 10px;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .menu-button {
    display: block;
  }

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

  .site-footer,
  .contact-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 104px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    gap: 22px;
  }

  h1 {
    font-size: 54px;
  }

  .brand-strip {
    min-height: 72px;
    border-radius: 14px;
  }

  .brand-strip-left,
  .brand-strip-right {
    padding: 12px 14px;
  }

  .brand-strip-icon {
    width: 76px;
    height: 72px;
  }

  .hero-card {
    min-height: 330px;
    padding: 30px 24px;
    border-radius: 14px;
  }

  .hero-statement {
    margin-bottom: 34px;
    font-size: 24px;
  }

  .device-stage {
    grid-template-columns: 54px 1fr 54px;
    min-height: 500px;
    padding: 34px 12px;
    border-radius: 34px;
  }

  .stage-arrow {
    width: 48px;
    height: 48px;
  }

  .stage-arrow::before {
    width: 34px;
    height: 34px;
    border-left-width: 6px;
    border-bottom-width: 6px;
  }

  .section {
    padding: 68px 0;
  }

  .feature {
    min-height: auto;
  }

  .legal,
  .contact {
    padding-top: 122px;
  }
}
