:root {
  --ink: #101425;
  --muted: #667085;
  --line: #e7e1f4;
  --paper: #fbf8ff;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --gold: #f7d990;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(16, 20, 37, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 60px rgba(48, 36, 82, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  color: #42485c;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover {
  background: #f4efff;
  color: var(--ink);
}

.hero,
.feature-band,
.screens-section,
.story-section,
.download-section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 56px;
  align-items: center;
  min-height: 76svh;
  padding: 72px 0 88px;
}

.eyebrow {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  margin-top: 18px;
  font-size: clamp(48px, 6.8vw, 86px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy > p,
.story-copy > p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.25);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero-gallery {
  position: relative;
  min-height: 690px;
}

.phone {
  position: absolute;
  width: min(48%, 310px);
  border: 1px solid rgba(16, 20, 37, 0.08);
  border-radius: 34px;
  background: white;
  box-shadow: 0 32px 90px rgba(48, 36, 82, 0.18);
}

.phone-one {
  z-index: 2;
  left: 8%;
  top: 0;
  transform: rotate(-4deg);
}

.phone-two {
  right: 6%;
  top: 112px;
  transform: rotate(5deg);
}

.phone-three {
  z-index: 1;
  right: 28%;
  top: 250px;
  transform: rotate(1deg);
}

.feature-band,
.story-section,
.download-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(48, 36, 82, 0.08);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  padding: 46px;
}

h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

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

.feature-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #fbf7ff);
}

.feature-grid span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin-top: 48px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
}

.feature-grid p,
.site-footer p {
  margin-top: 14px;
  color: var(--muted);
}

.screens-section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

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

.screens-grid img {
  border: 1px solid rgba(16, 20, 37, 0.08);
  border-radius: 8px;
  background: white;
  box-shadow: 0 22px 70px rgba(48, 36, 82, 0.12);
}

.story-section {
  padding: 48px;
  background: linear-gradient(135deg, #faf6ff, #fff2f8);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: white;
  color: #42485c;
  font-size: 13px;
  font-weight: 800;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  margin-bottom: 78px;
  padding: 48px;
  background: #111827;
  color: white;
}

.download-section .eyebrow {
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .hero,
  .feature-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-gallery {
    min-height: 620px;
  }

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

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

@media (max-width: 740px) {
  .site-header {
    position: static;
    width: min(calc(100% - 20px), var(--max));
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 22px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 2px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 11px;
  }

  .hero,
  .feature-band,
  .screens-section,
  .story-section,
  .download-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    max-width: 350px;
    font-size: clamp(40px, 10.8vw, 56px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.02;
  }

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

  .phone {
    width: min(58%, 280px);
    border-radius: 26px;
  }

  .phone-one {
    left: 0;
  }

  .phone-two {
    right: 0;
    top: 82px;
  }

  .phone-three {
    right: 20%;
    top: 168px;
  }

  .feature-band,
  .story-section,
  .download-section {
    padding: 28px;
  }

  .screens-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .screens-grid img {
    width: 74%;
    min-width: 245px;
  }

  .download-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }
}
