/* Website Copier — landing.
   Design: Figma mzWiSOHguVbN1PodrxiPrq — desktop 1440 (286:1341), mobile 375 (328:2196). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

:root {
  --ink: #0f1722;
  --grey: #5d6879;
  --main: #0052f5;
  --border: #e4eaf5;
  --bg-soft: #f2f4f9;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.br-m { display: none; }

/* ---------- Buttons and badge ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  white-space: nowrap;
}
.btn-nav {
  padding: 14px 18px;
  background: linear-gradient(90deg, #2f8cf0 0%, #0052f5 55%, #0047e0 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
.btn-primary {
  gap: 10px;
  padding: 16px 30px 16px 28px;
  background: linear-gradient(90deg, #0052f5, #316adb);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}
.btn-white {
  gap: 8px;
  height: 58px;
  padding: 14px 24px;
  background: #fff;
  color: var(--main);
  font-size: 16px;
  font-weight: 500;
}
.btn img, .badge-cws img { flex: none; }

/* Chrome Web Store badge (Figma note: replace with the official badge before launch) */
.badge-cws {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 12px;
  background: #fff;
  border: 1px solid #dfeae6;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: normal;
}
.badge-cws span { display: flex; flex-direction: column; }
.badge-cws small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--grey); }

/* ---------- Header and footer ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}
.brand img { flex: none; width: 32px; height: 32px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 79px;
}

.footer { border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 77px;
}
.footer__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  line-height: normal;
  color: var(--grey);
  white-space: nowrap;
}

/* ---------- 1 · Hero ---------- */
.hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #fff 0%, #eef4ff 59.115%, #fff 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 {
  font-size: 64px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero__lead {
  max-width: 852px;
  margin-top: 20px;
  font-size: 20px;
  line-height: 30px;
  color: var(--grey);
}
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 60px; }
.hero__window {
  width: 100%;
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 51, 0.06), 0 24px 60px rgba(15, 23, 51, 0.1);
}
.hero__window img { width: 100%; height: auto; }

/* ---------- Sections 2 and 3 ---------- */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 60px 0;
}
.section h2 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: center;
}
.section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.section__head p { max-width: 620px; font-size: 18px; line-height: 28px; color: var(--grey); }

/* Mode cards */
.modes__cards, .audience__cards { display: flex; gap: 24px; width: 100%; }
.mode-card {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.mode-card__preview { position: relative; height: 189px; overflow: hidden; background: var(--bg-soft); }
/* positions from the design, measured from the card center (all three are centered there) */
.mode-card__img { position: absolute; left: 50%; max-width: none; height: auto; }
.mode-card__img--page   { top: 36px; width: 204px;    margin-left: -102px; }
.mode-card__img--linked { top: 14px; width: 256.16px; margin-left: -127.75px; }
.mode-card__img--site   { top: 0;    width: 283.65px; margin-left: -141.38px; }
.mode-card__text { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px 28px; }
.mode-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.mode-card p { font-size: 16px; line-height: 24px; color: var(--grey); }

/* Audience cards */
.aud-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 232px; /* as the two taller cards in the design; the row keeps one height */
  padding: 24px 24px 28px;
  background: #f7f9fc;
  border-radius: 20px;
}
.aud-card__icon { display: flex; padding: 12px; margin-bottom: 16px; /* 4 px spacer + 12 px gap in the design */ background: #e6efff; border-radius: 14px; }
.aud-card h3 { font-size: 19px; line-height: 26px; font-weight: 600; }
.aud-card p { font-size: 15px; line-height: 22px; color: var(--grey); }

/* Final CTA */
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 52px 64px;
  border-radius: 28px;
  background: linear-gradient(98.82deg, #324d9b 20.125%, #0047e0 110.27%);
}
.final-cta h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.01em; color: #fff; text-align: left; }
.final-cta__actions { display: flex; align-items: center; gap: 16px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .modes__cards, .audience__cards { flex-wrap: wrap; }
  .mode-card { flex-basis: calc(50% - 12px); }
  .aud-card { flex-basis: calc(50% - 12px); }
  .final-cta { flex-direction: column; text-align: center; }
}

/* ---------- Phone (328:2196) ---------- */
@media (max-width: 767px) {
  .br-d { display: none; }
  .br-m { display: inline; }

  .nav { height: 79px; }
  .nav .brand { gap: 10px; font-size: 17px; }
  .nav .brand img { width: 28px; height: 28px; }
  .btn-nav { padding: 10px 14px; font-size: 14px; }

  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 36px; line-height: 42px; }
  .hero__lead { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .hero__cta { flex-direction: column; gap: 12px; width: 100%; margin-top: 28px; }
  .hero__cta .btn-primary { width: 100%; }
  .hero__window { margin-top: 36px; }

  .section { gap: 28px; padding: 48px 0; }
  .section h2 { font-size: 30px; line-height: 36px; }
  .section__head p { font-size: 16px; line-height: 24px; }
  .audience { padding-bottom: 56px; }

  .modes__cards, .audience__cards { flex-direction: column; }
  .modes__cards { gap: 16px; }
  .audience__cards { gap: 12px; }
  .aud-card { min-height: 0; }
  .mode-card h3 { font-size: 20px; }
  .mode-card p { font-size: 15px; line-height: 22px; }

  .final-cta { gap: 0; padding: 36px 24px; background: linear-gradient(91.5deg, #324d9b 20.125%, #0047e0 110.27%); }
  .final-cta h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; text-align: center; }
  /* phone: the button first, the badge under it */
  .final-cta__actions { flex-direction: column-reverse; gap: 12px; width: 100%; }
  .final-cta .btn-white { width: 100%; }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    height: auto;
    padding: 28px 0 32px;
  }
  .footer__links { flex-wrap: wrap; gap: 10px 20px; }
}
