:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #111827;
  --muted: #5b6474;
  --line: #d8dee9;
  --blue: #1769e0;
  --teal: #159e8c;
  --yellow: #f2b84b;
  --red: #d95a4e;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

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

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 70px 22px 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 56px;
  align-items: center;
  scroll-margin-top: 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 780;
}

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

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 780;
}

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

.button.secondary {
  background: var(--surface);
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-frame {
  width: min(100%, 390px);
  margin: 0 auto;
}

.phone {
  padding: 14px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.screen {
  min-height: 610px;
  padding: 22px;
  border-radius: 26px;
  background: var(--surface);
}

.status {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.app-title {
  margin: 28px 0 16px;
  font-size: 28px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 8px;
  background: #edf1f7;
}

.segment {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.segment.active {
  color: var(--text);
  background: var(--surface);
}

.event-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.event-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.symbol {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
}

.symbol.blue { background: var(--blue); }
.symbol.teal { background: var(--teal); }
.symbol.yellow { background: var(--yellow); color: var(--text); }
.symbol.red { background: var(--red); }

.event-row strong,
.event-row span {
  display: block;
}

.event-row span,
.event-row time {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 54px 22px;
  scroll-margin-top: 92px;
}

.section h2 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--blue);
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step {
  padding: 20px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

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

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  scroll-margin-top: 92px;
}

.panel h2 {
  margin-bottom: 12px;
}

.panel p {
  color: var(--muted);
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.release-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.release-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.release-item span {
  color: var(--muted);
}

.page {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 58px 22px 80px;
}

.page h1 {
  font-size: clamp(40px, 7vw, 58px);
  line-height: 1.05;
}

.page h2 {
  margin-top: 34px;
}

.page p,
.page li {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 42px;
  }

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