/* Bulk Media Downloader: site styles.
   Cool neutral, tight sans headings, monospace labels, near-black controls.
   Full-bleed bands share one 820px column so every left edge aligns. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --ink: #0e1116;
  --body: #364152;
  --muted: #5b6472;
  --line: #e5e7eb;
  --line-strong: #cbd2da;
  --accent: #1b3fe0;

  --container: 940px;
  --measure: 680px;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

::selection { background: #d3e0ff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Shared grid. */
.bar, .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.wrap { padding-top: 48px; padding-bottom: 48px; }

/* Prose held to a readable measure; grids and cards run full width. */
.wrap > p,
.wrap > ol,
.wrap > ul:not(.features),
.wrap > .note { max-width: var(--measure); }

/* --- Top bar --------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-decoration: none;
}

.mark { width: 22px; height: 22px; flex: none; }

/* The moat takes the page colour, which is what lets the badge read as a bite
   out of the tile rather than a blob sitting on top of it. */
.mark__tile { fill: var(--accent); }
.mark__on { fill: #ffffff; }
.mark__moat { fill: var(--bg); }

.nav { font-size: 13.5px; font-weight: 500; }

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}

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

/* --- Hero and page heads --------------------------------------------- */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero__copy { flex: 1 1 440px; min-width: 0; }

.hero__copy .lede { max-width: 30em; margin-bottom: 0; }

/* The hero screenshot: a real capture of the extension window, generated by
   npm run store:assets in the extension repo (shell-1-found.png). */
.shot {
  flex: 0 0 440px;
  width: 100%;
  max-width: 440px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 18px 40px -14px rgba(14, 17, 22, 0.28), 0 2px 6px rgba(14, 17, 22, 0.05);
}

.pagehead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.pagehead .bar { padding-top: 46px; padding-bottom: 40px; }

.pagehead .lede { max-width: 40em; margin-bottom: 0; font-size: 17.5px; }

/* --- Type ------------------------------------------------------------ */

h1 {
  font-size: 43px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.033em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 18px;
}

.pagehead h1 { font-size: 34px; letter-spacing: -0.028em; margin-bottom: 10px; }

h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.016em;
  color: var(--ink);
  margin: 46px 0 14px;
  scroll-margin-top: 80px;
}

/* Short accent rule above each section heading, for vertical rhythm. */
h2::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  margin-bottom: 16px;
}

.wrap > h2:first-child, .band h2 { margin-top: 0; }

h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

strong { font-weight: 600; color: var(--ink); }

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 0;
}

.updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.fineprint { font-size: 14.5px; color: var(--muted); margin-top: 18px; }

/* The refund promise, directly under the two buy buttons. Deliberately not
   .fineprint: it is the reason a first-time buyer risks the purchase, and the
   refund policy already leads with it. */
.guarantee {
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 0;
  text-align: center;
}
.guarantee strong { font-weight: 650; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

ul, ol { padding-left: 20px; }

li { margin-bottom: 8px; }

li::marker { color: var(--line-strong); }

/* Numbered steps and clauses read better with a deliberate numeral. */
ol > li::marker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

h1 { scroll-margin-top: 80px; }

code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
}

/* --- Tick list ------------------------------------------------------- */

.ticks { list-style: none; padding-left: 0; }

.ticks li { position: relative; padding-left: 24px; }

.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

/* --- Feature grid ---------------------------------------------------- */

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.features li {
  background: var(--bg);
  padding: 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  transition: background 0.15s ease;
}

.features li:hover { background: #fbfcfd; }

.features li strong {
  display: block;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

/* --- Tinted band (pricing) ------------------------------------------- */

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

/* --- Pricing --------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0 0;
}

.plan {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 24px 26px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan:hover {
  border-color: var(--line-strong);
  box-shadow: 0 3px 12px rgba(14, 17, 22, 0.05);
}

/* The one-off licence is the headline offer, so it carries the accent edge. */
.plan:first-child { border-top: 2px solid var(--accent); }

.plan .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan .per {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.plan p { font-size: 15px; line-height: 1.55; margin: 0; }

.plan .btn { display: block; text-align: center; }

/* --- Buttons --------------------------------------------------------- */

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #262d38; border-color: #262d38; }

.btn.secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn.secondary:hover { background: var(--surface); border-color: var(--muted); }

/* --- Callouts -------------------------------------------------------- */

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.band .note { background: var(--bg); }


/* --- Footer ---------------------------------------------------------- */

.sitefoot {
  background: var(--ink);
  color: #9aa2af;
  font-size: 14px;
  line-height: 1.6;
}

.sitefoot .bar { padding-top: 36px; padding-bottom: 40px; }

.footlinks { margin-bottom: 22px; }

.footlinks a {
  color: #e8ebef;
  text-decoration: none;
  margin-right: 22px;
  font-weight: 500;
}

.footlinks a:hover { color: #fff; text-decoration: underline; }

.sitefoot p { margin: 0 0 6px; max-width: 62em; }

.sitefoot a { color: #b9c4d6; }

.sitefoot .seller { color: #9aa2af; }

.sitefoot .copy {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #6a727f;
  margin-top: 14px;
}

/* --- Small screens --------------------------------------------------- */

@media (max-width: 720px) {
  .shot { display: none; }
  .features, .pricing { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 31px; }
  .pagehead h1 { font-size: 27px; }
  h2 { font-size: 19.5px; margin-top: 42px; }
  .lede { font-size: 17.5px; }
  .bar, .wrap { padding-left: 20px; padding-right: 20px; }
  .wrap { padding-top: 36px; padding-bottom: 36px; }
  .topbar .bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav a { margin-left: 0; margin-right: 18px; }
  .brand { font-size: 15px; }
}
