@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fbfaff;
  --ink: #1b1530;
  --ink2: #5d5775;
  --line: #e6e1f5;
  --violet: #7c3aed;
  --deep: #5b21b6;
  --cyan: #22d3ee;
  --tint: #f1ecff;
  --sheet: #ffffff;
  --chrome: #f6f4fc;
  --dot: #ddd6f3;
  --bar: #1b1530; /* the capture bar and size label stay dark in both themes, as in the extension */
  --chart: #cffafe;
  --track: #eef2f7;
  --good: #047857;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0d17;
    --ink: #f3f0ff;
    --ink2: #a9a3c2;
    --line: #2a2540;
    --tint: #231c3d;
    --sheet: #17141f;
    --chrome: #1d1928;
    --dot: #3a3452;
    --chart: #0e3a44;
    --track: #262236;
    --good: #34d399;
    --deep: #c4b5fd;
    color-scheme: dark;
  }
  .btn:hover {
    background: #6d28d9;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    17px/1.6 "Urbanist",
    system-ui,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--deep);
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}

/* top bar */
.top {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 38px;
}
.top nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.top nav a {
  color: var(--ink2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.top nav a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: inherit; /* a <button> does not inherit the page font on its own */
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  background: var(--violet);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: var(--deep);
}
.btn:active {
  transform: scale(0.97);
}
.btn.quiet {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn.quiet:hover {
  background: var(--tint);
}
.btn.small {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 11px;
}

/* hero */
.hero {
  padding: 56px 0 0;
}
.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 850;
}
.hero .lede {
  margin: 26px 0 0;
  max-width: 54ch;
  font-size: 20px;
  color: var(--ink2);
}
.hero .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.hero .row small {
  color: var(--ink2);
  font-size: 14px;
}

/* the capture demo */
.demo {
  margin: 64px 0 0;
}
.demo .hint {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--ink2);
  font-size: 15px;
}
.modes {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bar);
  border: 1.5px solid var(--line);
}
.modes button {
  font:
    700 14px "Urbanist",
    system-ui;
  padding: 9px 16px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #cfc8e8;
  cursor: pointer;
}
.modes button:hover {
  color: #fff;
}
.modes button[aria-pressed="true"] {
  background: var(--violet);
  color: #fff;
}
.browser {
  position: relative;
  border-radius: 18px;
  background: var(--sheet);
  border: 1.5px solid var(--line);
  overflow: hidden;
  user-select: none;
}
.chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1.5px solid var(--line);
  background: var(--chrome);
}
.chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot);
}
.chrome .url {
  margin-left: 14px;
  flex: 1;
  max-width: 420px;
  height: 28px;
  border-radius: 8px;
  background: var(--sheet);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink2);
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.chrome .pixzo {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
}
.chrome .pixzo img {
  width: 22px;
}
.viewport {
  position: relative;
  height: 470px;
  overflow: hidden;
  cursor: crosshair;
}
.viewport[data-mode="region"] {
  touch-action: none; /* a finger drag draws the selection instead of scrolling */
}
.viewport[data-mode="element"] {
  cursor: pointer;
}
.viewport[data-mode="visible"],
.viewport[data-mode="full"] {
  cursor: default;
}
.site {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 26px 34px;
  transition: transform 1.6s cubic-bezier(0.6, 0, 0.3, 1);
}
/* the sample page inside the demo (a made-up store dashboard) */
.site header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.site header b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0891b2;
}
.site header span {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink2);
}
.site h2 {
  margin: 26px 0 4px;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.site p {
  margin: 0;
  color: var(--ink2);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.stat {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat small {
  color: var(--ink2);
  font-size: 13px;
  font-weight: 600;
}
.stat strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.stat em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}
.panels {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.panel {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.panel b {
  font-size: 15px;
}
.panel svg {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 8px;
}
.bars div {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}
.bars div::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0891b2 var(--w), var(--track) var(--w));
}
.rows {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.rows div {
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
}
.viewport [data-pick]:hover {
  outline: none;
}
.viewport[data-mode="element"] [data-pick]:hover {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 14px;
}
/* overlay: dim with a clear selection */
.sel {
  position: absolute;
  border: 2px dashed var(--violet);
  box-shadow: 0 0 0 9999px rgba(27, 21, 48, 0.42);
  border-radius: 4px;
  pointer-events: none;
  display: none;
}
.sel.on {
  display: block;
}
.sel span {
  position: absolute;
  left: 0;
  top: -32px;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--bar);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.flash.go {
  animation: flash 0.45s ease-out;
}
@keyframes flash {
  from {
    opacity: 0.95;
  }
  to {
    opacity: 0;
  }
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--sheet);
  border: 1.5px solid var(--line);
  transform: translate(-50%, 18px);
  opacity: 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.on {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast img {
  width: 34px;
}
.toast b {
  display: block;
  color: var(--good);
  font-size: 15px;
}
.toast small {
  color: var(--ink2);
  font-size: 13px;
}
.cta-hint {
  position: absolute;
  right: 18px;
  top: 16px;
  display: none;
}
.viewport[data-mode="visible"] .cta-hint,
.viewport[data-mode="full"] .cta-hint {
  display: block;
}

/* content rows */
.row-block {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0 0;
}
.row-block.flip {
  grid-template-columns: 1.3fr 0.9fr;
}
.row-block.flip .copy {
  order: 2;
}
.row-block h2,
.plain h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 850;
}
.row-block p {
  margin: 18px 0 0;
  color: var(--ink2);
  font-size: 18px;
  max-width: 46ch;
}
.row-block dl {
  margin: 28px 0 0;
}
.row-block dt {
  font-weight: 800;
}
.row-block dd {
  margin: 2px 0 18px;
  color: var(--ink2);
  font-size: 16px;
}
.shot {
  border-radius: 16px;
  border: 1.5px solid var(--line);
  overflow: hidden;
}

/* privacy statement */
.promise {
  margin-top: 140px;
  padding: 64px 0;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
}
.promise img {
  width: 120px;
}
.promise p {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 30ch;
}
.promise p + p {
  margin-top: 18px;
  max-width: 62ch;
  line-height: 1.6;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink2);
}

/* plain sections */
.plain {
  padding: 120px 0 0;
}
.plain > p {
  margin: 14px 0 0;
  color: var(--ink2);
  max-width: 52ch;
}
.tools {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--line);
}
.tools.three {
  grid-template-columns: repeat(3, 1fr);
}
.tools div {
  padding: 22px 22px 0 0;
}
.tools b {
  display: block;
  font-size: 19px;
}
.tools span {
  display: block;
  margin-top: 6px;
  color: var(--ink2);
  font-size: 15.5px;
}
.tools kbd {
  display: inline-block;
  margin-top: 12px;
}
kbd {
  font:
    800 13px "Urbanist",
    system-ui;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--sheet);
  border: 1.5px solid var(--line);
  border-bottom-width: 3px;
  color: var(--ink);
}
.faq {
  margin-top: 30px;
  max-width: 760px;
}
details {
  border-top: 1.5px solid var(--line);
  padding: 20px 0;
}
details:last-child {
  border-bottom: 1.5px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-weight: 600;
  color: var(--violet);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin: 10px 0 0;
  color: var(--ink2);
  max-width: 60ch;
}
.closing {
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.closing h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 850;
  flex: 1 1 460px;
}
footer {
  border-top: 1.5px solid var(--line);
  padding: 28px 0 44px;
  color: var(--ink2);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
footer a {
  color: var(--ink2);
}

/* privacy policy page */
.doc {
  max-width: 720px;
  padding: 40px 0 90px;
}
.doc h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 850;
}
.doc h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 40px 0 0;
}
.doc p,
.doc li {
  color: var(--ink2);
}
.doc li + li {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .top nav {
    display: none;
  }
  .row-block,
  .row-block.flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 90px;
  }
  .row-block.flip .copy {
    order: 0;
  }
  .tools {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .tools.three {
    grid-template-columns: 1fr;
  }
  .promise {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .promise img {
    width: 84px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .viewport {
    height: 420px;
  }
}
@media (max-width: 560px) {
  .modes button {
    padding: 8px 10px;
    font-size: 13px;
  }
  .site {
    padding: 18px;
  }
  .site header span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Phones and tablets cannot hover: in Element mode, outline every part that can be picked. */
@media (hover: none) {
  .viewport[data-mode="element"] [data-pick] {
    outline: 2px dashed color-mix(in srgb, var(--violet) 70%, transparent);
    outline-offset: 3px;
    border-radius: 14px;
  }
}

/* goodbye page (bye.html, thanks.html) */
.bye {
  max-width: 640px;
}
.bye-mascot {
  width: 88px;
  margin: 8px 0 18px;
}
.bye-note {
  color: var(--ink2);
  font-size: 15px;
}
.bye-trap {
  position: absolute;
  left: -9999px;
}
.bye-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 26px;
}
.bye-reasons input {
  position: absolute;
  opacity: 0;
}
.bye-reasons span {
  display: inline-block;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.bye-reasons input:checked + span {
  border-color: var(--violet);
  background: var(--tint);
  color: var(--ink);
}
.bye-reasons input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.bye-comment {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  font-weight: 700;
}
.bye-comment textarea,
.bye-comment input {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--sheet);
  color: var(--ink);
  resize: vertical;
}
.bye .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 16px;
}

/* short pages (goodbye, thank-you, contact, privacy): keep the footer at the bottom of the window */
body:has(main.doc) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body:has(main.doc) > footer {
  width: 100%;
}
body:has(main.doc) > main {
  flex: 1;
}
