:root {
  --ink: #171923;
  --muted: #606777;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --line: #dbe2ef;
  --blue: #175cff;
  --blue-dark: #0d3cb6;
  --green: #18a66a;
  --coral: #ff7048;
  --violet: #6f4cff;
  --shadow: 0 24px 70px rgba(23, 25, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(219, 226, 239, 0.75);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  min-height: calc(84svh - 72px);
  max-height: 760px;
  padding: clamp(38px, 5vw, 54px) clamp(20px, 6vw, 76px);
  background:
    linear-gradient(120deg, rgba(255, 112, 72, 0.14), transparent 34%),
    linear-gradient(280deg, rgba(24, 166, 106, 0.13), transparent 40%),
    var(--paper);
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.status {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 474px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: min(78vw, 520px);
  aspect-ratio: 1;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(23, 92, 255, 0.16), rgba(255, 112, 72, 0.2)),
    #eaf0ff;
  content: "";
  transform: rotate(-8deg);
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  border: 12px solid #141722;
  border-radius: 42px;
  background: #141722;
  box-shadow: var(--shadow);
}

.phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 94px;
  height: 28px;
  border-radius: 999px;
  background: #141722;
  transform: translateX(-50%);
}

.screen {
  display: grid;
  min-height: 450px;
  align-content: start;
  gap: 22px;
  padding: 58px 22px 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(23, 92, 255, 0.16), transparent 45%),
    #f9fbff;
}

.screen img {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(13, 60, 182, 0.24);
}

.screen-copy span,
.card-stack span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.screen-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 2.25rem;
  line-height: 1;
}

.screen-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.card-stack {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(23, 25, 35, 0.08);
}

.card-stack strong {
  font-size: 1.05rem;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 76px);
}

.apps-section {
  background: #f6f7f4;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
}

.app-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.app-card.featured {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

.app-card-media {
  display: grid;
  min-height: 320px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(24, 166, 106, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(255, 112, 72, 0.18), transparent 52%),
    #eef4ff;
}

.app-card-media img {
  width: min(180px, 50%);
  border-radius: 36px;
  box-shadow: 0 22px 48px rgba(13, 60, 182, 0.22);
}

.app-card-copy {
  padding: clamp(24px, 4vw, 44px);
}

.app-card-copy p:not(.status) {
  color: var(--muted);
  font-size: 1.02rem;
}

.app-card-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.app-card-copy li {
  position: relative;
  padding-left: 24px;
  color: #343b4a;
  font-weight: 700;
}

.app-card-copy li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.placeholder {
  align-content: start;
  min-height: 100%;
}

.placeholder-mark {
  display: grid;
  min-height: 180px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(111, 76, 255, 0.14), transparent 50%),
    #f0f2f7;
  color: var(--violet);
  font-size: 4rem;
  font-weight: 350;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--paper);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .app-grid,
  .app-card.featured {
    grid-template-columns: 1fr;
  }

  .hero {
    max-height: none;
    padding-top: 44px;
  }

  .phone-stage {
    min-height: auto;
  }

  .phone {
    width: min(300px, 84vw);
  }

  .screen {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 3.5rem);
  }

  .hero {
    min-height: auto;
    gap: 22px;
    padding-top: 32px;
    padding-bottom: 14px;
  }

  .button {
    width: 100%;
  }

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

  .phone-stage::before {
    width: min(78vw, 310px);
    border-radius: 32px;
  }

  .phone {
    width: min(190px, 64vw);
    border-width: 8px;
    border-radius: 32px;
  }

  .phone-top {
    top: 8px;
    width: 72px;
    height: 22px;
  }

  .screen {
    min-height: 270px;
    gap: 14px;
    padding: 42px 15px 15px;
    border-radius: 24px;
  }

  .screen img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .screen-copy strong {
    font-size: 1.55rem;
  }

  .screen-copy p {
    font-size: 0.9rem;
  }

  .card-stack {
    display: none;
  }
}
