:root {
  --ink: #10172a;
  --muted: #667085;
  --line: #e7eaf1;
  --blue: #1769ff;
  --violet: #7547ff;
  --surface: #f7f9fd;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.header,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  height: 76px;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 34px;
  height: 34px;
}

nav,
footer div {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 680px;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

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

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

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue);
}

.lead {
  max-width: 550px;
  color: var(--muted);
  font-size: 18px;
}

.install-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0 22px;
}

.store-button {
  min-width: 190px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.store-button small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 500;
}

.chrome-button {
  color: #fff;
  background: var(--ink);
  transition: transform 160ms ease, background 160ms ease;
}

.chrome-button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.edge-button {
  color: #98a2b3;
  background: #f2f4f7;
  border: 1px solid var(--line);
  cursor: not-allowed;
  user-select: none;
}

.store-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  font-size: 19px;
}

.edge-button .store-icon {
  color: #98a2b3;
  background: #e4e7ec;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 12px;
}

.product-preview {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(23, 105, 255, 0.16);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 32px 80px rgba(54, 65, 104, 0.2);
  transform: rotate(1.5deg);
}

.preview-bar {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #697386;
  font-size: 12px;
}

.preview-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5dd;
}

.preview-bar span {
  margin-left: 8px;
}

.product-preview > img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.features {
  padding: 110px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.privacy-callout h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}

.feature-grid article div {
  padding: 26px;
}

.feature-grid article div > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

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

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

.privacy-callout,
.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 100px auto;
  border-radius: 28px;
}

.privacy-callout {
  padding: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: linear-gradient(135deg, #10172a, #182b64);
}

.privacy-callout div {
  max-width: 740px;
}

.privacy-callout p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #c6cee1;
}

.privacy-callout a {
  flex: none;
  font-weight: 700;
}

.final-cta {
  padding: 80px 30px;
  text-align: center;
  background: linear-gradient(145deg, #edf5ff, #f4efff);
}

.final-cta img {
  width: 64px;
}

.final-cta h2 {
  max-width: 760px;
  margin: 18px auto 28px;
}

.primary-button {
  padding: 13px 22px;
  display: inline-block;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.policy-body {
  background: var(--surface);
}

.policy-body .header {
  background: var(--surface);
}

.policy {
  width: min(780px, calc(100% - 40px));
  margin: 70px auto 100px;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.policy h1 {
  margin-bottom: 8px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.policy-date {
  color: var(--muted);
  font-size: 13px;
}

.policy-intro {
  margin: 30px 0 50px;
  color: #475467;
  font-size: 18px;
}

.policy section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy section:last-child {
  padding-bottom: 0;
}

.policy h2 {
  font-size: 24px;
}

.policy h3 {
  margin: 25px 0 6px;
  font-size: 17px;
}

.policy section p,
.policy li {
  color: #475467;
}

.policy a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 70px 0;
  }

  .product-preview {
    transform: none;
  }

  .privacy-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .header nav {
    gap: 15px;
  }

  .header nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 46px;
  }

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

  .install-actions {
    display: grid;
  }

  .feature-grid {
    display: grid;
  }

  .store-button {
    width: 100%;
  }

  .features {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .privacy-callout {
    margin: 70px auto;
    padding: 36px 28px;
  }

  .final-cta {
    margin: 70px auto;
    padding: 56px 24px;
  }

  .policy {
    margin: 36px auto 70px;
    padding: 34px 24px;
  }

  footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

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

  .chrome-button {
    transition: none;
  }
}
