:root {
  color-scheme: light;
  --background: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #edf4ff;
  --text: #141923;
  --muted: #5f6c7b;
  --line: #d9e0ea;
  --primary: #0b69c7;
  --primary-dark: #084f99;
  --green: #0f8b4c;
  --red: #c42026;
  --shadow: 0 22px 70px rgba(22, 35, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(246, 248, 252, 0.9);
  border-bottom: 1px solid rgba(217, 224, 234, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 10px 28px rgba(11, 105, 199, 0.25);
  flex: 0 0 auto;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  min-height: calc(100vh - 81px);
  padding: clamp(34px, 6vw, 86px) clamp(20px, 4vw, 56px) 56px;
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-actions span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 9px 14px;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 8px 26px rgba(22, 35, 52, 0.07);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 0.96fr 0.82fr;
  align-items: center;
  min-height: 620px;
}

.phone {
  margin: 0;
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  object-position: top;
}

.primary-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 315px);
  justify-self: end;
}

.secondary-phone {
  width: min(100%, 260px);
  transform: translateX(-18px);
}

.section {
  padding: 72px clamp(20px, 4vw, 56px);
  background: var(--surface);
}

.section:nth-of-type(odd) {
  background: var(--background);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.screenshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(22, 35, 52, 0.08);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
}

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

.feature-card:nth-child(3) .feature-icon {
  color: var(--red);
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screenshots-section {
  padding-bottom: 88px;
}

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  object-position: top;
  background: #f3f5fb;
}

.screenshot-card figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--primary-dark);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #101827;
  color: #ffffff;
}

.site-footer span {
  color: #c7d2e3;
}

@media (max-width: 1100px) {
  .feature-grid,
  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: auto;
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

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

  .hero {
    padding-top: 32px;
  }

  .hero-media {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .primary-phone,
  .secondary-phone {
    width: min(100%, 320px);
    justify-self: center;
    transform: none;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
