:root {
  color-scheme: light;
  --ink: #121826;
  --ink-soft: #263348;
  --muted: #657086;
  --line: rgba(18, 24, 38, 0.12);
  --line-strong: rgba(18, 24, 38, 0.18);
  --blue: #2f66e9;
  --blue-deep: #1d49bd;
  --teal: #16a394;
  --violet: #7a5cf0;
  --amber: #d48b24;
  --page: #f5f7fb;
  --panel: #ffffff;
  --wash: #eef4ff;
  --white: #ffffff;
  --max: 1200px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 42%, #ffffff 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(18, 24, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 38, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 72%);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 16px 22px;
  background: rgba(250, 252, 255, 0.82);
  border-bottom: 1px solid rgba(18, 24, 38, 0.08);
  backdrop-filter: blur(20px);
}

.nav-inner,
.section-inner,
.hero-inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(47, 102, 233, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

nav a {
  transition: color 160ms ease;
}

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

.hero {
  min-height: 100vh;
  padding: 112px 0 76px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.hero-copy-block {
  max-width: 570px;
}

.eyebrow,
.section-kicker,
.step {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: var(--teal);
  content: "";
}

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

h1 {
  margin-bottom: 22px;
  font-size: 92px;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}

.hero-copy {
  max-width: 560px;
  color: #334158;
  font-size: 21px;
  line-height: 1.62;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.primary-action {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(18, 24, 38, 0.18);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.secondary-action:hover {
  border-color: var(--line-strong);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 500px;
  margin-top: 46px;
}

.hero-metrics div {
  padding: 18px 16px;
  border: 1px solid rgba(18, 24, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 23px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.phone-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 19.5;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #111827;
  box-shadow:
    0 34px 80px rgba(18, 24, 38, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.phone-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 23px;
  pointer-events: none;
  content: "";
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-50%);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: left top;
}

.hero-phone {
  position: absolute;
  right: 72px;
  top: 8px;
  width: 310px;
  transform: rotate(2deg);
}

.secondary-phone {
  right: 330px;
  top: 118px;
  width: 250px;
  opacity: 0.96;
  transform: rotate(-7deg);
}

.hero-visual::before {
  position: absolute;
  left: 64px;
  right: 20px;
  bottom: 24px;
  height: 230px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 102, 233, 0.16), rgba(22, 163, 148, 0.1)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 24, 38, 0.08);
  content: "";
}

.section {
  padding: 112px 0;
}

.intro-section,
.safety-section {
  background: var(--white);
}

.intro-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: start;
}

.section-lead {
  max-width: 500px;
}

.mode-list,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mode-list article,
.quality-grid article {
  min-height: 196px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 46px rgba(18, 24, 38, 0.06);
}

.mode-list article:nth-child(2),
.quality-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.mode-list article:nth-child(3),
.quality-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

.mode-list article:nth-child(4),
.quality-grid article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.mode-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.screenshot-band {
  background:
    linear-gradient(180deg, #f5f7fb 0%, #eef4ff 48%, #f8fbff 100%);
}

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

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.screen-card {
  display: grid;
  gap: 26px;
  align-content: start;
  padding: 26px;
  border: 1px solid rgba(18, 24, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.08);
  backdrop-filter: blur(14px);
}

.screen-card.featured {
  padding-top: 18px;
  background: #ffffff;
  box-shadow: 0 36px 100px rgba(47, 102, 233, 0.17);
}

.screen-card .phone-frame {
  width: min(100%, 286px);
  justify-self: center;
}

.screen-card.featured .phone-frame {
  width: min(100%, 324px);
}

.screen-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.flow-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 0.55fr);
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid rgba(18, 24, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(18, 24, 38, 0.08);
}

.wide-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(18, 24, 38, 0.08);
  overflow: hidden;
}

.wide-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-section {
  background: #111827;
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 880px;
}

.cta-section h2,
.cta-section p {
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-section .section-kicker {
  color: #9cc7ff;
}

.cta-section .section-kicker::before {
  background: var(--teal);
}

.centered {
  justify-content: center;
}

.cta-section .primary-action {
  background: var(--white);
  color: var(--ink);
}

.cta-section .secondary-action {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-inner,
  .intro-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-copy-block,
  .section-lead {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .hero-phone {
    right: 18%;
  }

  .secondary-phone {
    right: 48%;
  }

  .phone-showcase {
    grid-template-columns: 1fr;
  }

  .screen-card {
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    align-items: center;
  }

  .screen-card .phone-frame,
  .screen-card.featured .phone-frame {
    width: min(100%, 270px);
  }
}

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

  .nav-inner,
  .section-inner,
  .hero-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .hero {
    padding-top: 142px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics,
  .mode-list,
  .quality-grid,
  .flow-row,
  .screen-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-phone {
    right: 7%;
    width: 260px;
  }

  .secondary-phone {
    left: 0;
    right: auto;
    top: 150px;
    width: 205px;
  }

  .section {
    padding: 82px 0;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-metrics {
    gap: 8px;
  }

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

  .hero-phone {
    width: 228px;
  }

  .secondary-phone {
    top: 145px;
    width: 178px;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 30px;
  }

  .phone-frame img {
    border-radius: 20px;
  }

  .mode-list article,
  .quality-grid article,
  .screen-card,
  .flow-row {
    padding: 22px;
  }
}
