:root {
  color-scheme: light;
  --ink: #14243a;
  --muted: #5e6b7a;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce3eb;
  --blue: #0067c0;
  --blue-dark: #004d91;
  --blue-soft: #e7f2fc;
  --navy: #0d2138;
  --green: #1c8b62;
  --shadow: 0 24px 70px rgba(26, 53, 84, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(214, 224, 234, .9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(30, 54, 80, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 10px; }

nav { display: flex; gap: 26px; }

nav a {
  color: #3d4d61;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { color: var(--blue); }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 86px auto 72px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 62px;
}

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

h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }

h1 { margin-bottom: 24px; font-size: clamp(42px, 5.1vw, 70px); }

h2 { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 52px); }

h3 { margin-bottom: 10px; font-size: 23px; }

.lead { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.65; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary { background: var(--blue); color: var(--white); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: var(--white); border: 1px solid var(--line); }

.release-line { color: var(--muted); font-size: 13px; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); }

.product-window {
  overflow: hidden;
  background: #f7f9fb;
  border: 1px solid #cfd8e2;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(.8deg);
}

.window-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  background: #edf2f6;
  border-bottom: 1px solid #d6dee7;
  font-size: 13px;
}

.window-title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.window-title img { border-radius: 5px; }
.window-controls { color: #4d5d70; letter-spacing: .35em; }
.window-body { padding: 24px; }

.app-heading { display: grid; grid-template-columns: .65fr 1fr 1.1fr; gap: 10px; }
.app-heading div { padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.app-heading small, .app-heading strong { display: block; }
.app-heading small { color: var(--muted); font-size: 10px; }
.app-heading strong { overflow: hidden; font-size: 12px; white-space: nowrap; }
.result-count { margin: 18px 0 8px; color: var(--muted); font-size: 11px; }
.table { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.table-row { display: grid; grid-template-columns: 1.35fr .65fr 1fr; min-height: 42px; align-items: center; border-top: 1px solid #e9eef3; }
.table-row:first-child { border-top: 0; }
.table-row span { overflow: hidden; padding: 0 12px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.table-head { background: #edf4fa; color: #35516d; font-weight: 700; }
.source-note { margin-top: 13px; color: var(--muted); font-size: 10px; }

.metrics {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics article { padding: 28px 22px; border-left: 1px solid var(--line); }
.metrics article:first-child { border-left: 0; }
.metrics strong, .metrics span { display: block; }
.metrics strong { color: var(--blue); font-size: 34px; line-height: 1.1; }
.metrics span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.content-section {
  width: min(1060px, calc(100% - 40px));
  margin: 120px auto;
}

.split, .privacy { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.body-copy p { margin: 0 0 22px; color: var(--muted); font-size: 18px; }

.feature-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-grid article { min-height: 270px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.feature-grid p { color: var(--muted); font-size: 15px; }
.feature-number { display: block; margin-bottom: 52px; color: var(--blue); font-size: 13px; font-weight: 800; }

.sources-section { padding: 112px max(20px, calc((100% - 1060px) / 2)); background: var(--white); }
.section-heading { max-width: 690px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--muted); }
.source-list { border-top: 1px solid var(--line); }
.source-list a, .source-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.source-list a:hover { color: var(--blue); }
.source-list span { color: var(--muted); font-size: 14px; font-weight: 500; text-align: right; }

.privacy { margin-bottom: 120px; }

.download-section {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: center;
  padding: 90px max(20px, calc((100% - 1180px) / 2));
  background: var(--navy);
  color: var(--white);
}

.eyebrow.light { color: #8fc7f7; }
.download-section p:not(.eyebrow) { max-width: 700px; color: #bed0e2; }
.download-card { min-width: 0; padding: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; }
.download-card > * { display: block; }
.download-card .badge { display: inline-block; margin-bottom: 22px; padding: 4px 9px; background: #164c3b; border: 1px solid #31846a; border-radius: 999px; color: #bff4df; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.download-card strong { margin-bottom: 3px; font-size: 23px; }
.download-card > span:not(.badge) { color: #bed0e2; font-size: 14px; }
.download-card .download-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 24px 0 12px; border-radius: 8px; background: #ffffff; color: #12314f; font-weight: 800; text-decoration: none; }
.download-card .download-button:hover { background: #dceeff; }
.download-card small { overflow-wrap: anywhere; color: #a8bbcf; line-height: 1.5; }
.silent-install { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.silent-install strong { margin-bottom: 10px; font-size: 15px; }
.silent-install code { display: block; overflow-wrap: anywhere; margin-bottom: 8px; padding: 10px 12px; border-radius: 7px; background: rgba(0, 0, 0, .24); color: #f4f8fc; font: 12px/1.55 Consolas, "Courier New", monospace; }
footer a { color: inherit; }

footer {
  padding: 44px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}

footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { margin-top: 54px; grid-template-columns: 1fr; }
  .product-window { transform: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metrics article:nth-child(4) { border-top: 1px solid var(--line); }
  .split, .privacy, .download-section { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header, .hero, .metrics, .content-section, .feature-grid { width: min(100% - 24px, 1180px); }
  .hero { margin-bottom: 48px; }
  .metrics, .feature-grid { grid-template-columns: 1fr; }
  .metrics article { border-left: 0; border-top: 1px solid var(--line); }
  .metrics article:first-child { border-top: 0; }
  .content-section { margin: 82px auto; }
  .feature-grid article { min-height: auto; }
  .feature-number { margin-bottom: 32px; }
  .app-heading { grid-template-columns: 1fr; }
  .app-heading div:nth-child(3) { display: none; }
  .source-list a, .source-list > div { display: block; }
  .source-list span { display: block; margin-top: 5px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
