/* Clipvora's site, in the app's Light palette: warm paper, ink, one warm accent. Flat --
   no glow, noise or gradients -- so the recordings of the app carry the page. */
:root {
  --paper: #f6f4ef;
  --card: #fbfaf7;
  --ink: #1c1a17;
  --muted: #5e5a53;
  --faint: #7d786f;
  --line: #e2ddd2;
  --line-strong: #d6d1c6;
  --accent: #9a5b2e;
  --accent-ink: #ffffff;
  --accent-soft: #efe2d4;
  --pass: #047857;
  --bug: #b91c1c;
  --skip: #b45309;
  --radius: 10px;
  /* Names the older pages' inline styles still use */
  --primary: var(--accent);
  --green: #047857;
  --shell: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(var(--shell), 100% - 32px);
  margin: 0 auto;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

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

.nav .button {
  margin-left: auto;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--card);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: #864e27;
}

.button[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 24px;
  font-size: 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--faint);
}

/* A recording of the app: a short loop, or until it is filmed, what it will show. */
.recording {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.recording video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recording-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}

.recording-placeholder strong {
  color: var(--muted);
  font-weight: 500;
}

/* Sections */
section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
}

.section-lead {
  margin: 0 0 40px;
  max-width: 640px;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 28px 0;
}

.feature:nth-of-type(even) .feature-text {
  order: 2;
}

.feature p {
  margin: 0 0 12px;
  color: var(--muted);
}

.keys {
  font-size: 13px;
  color: var(--faint);
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--card);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}

.mark-pass { color: var(--pass); font-weight: 600; }
.mark-bug { color: var(--bug); font-weight: 600; }
.mark-skip { color: var(--skip); font-weight: 600; }

.also {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 32px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.also li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

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

/* Two columns of plain prose: privacy, Google Drive */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.facts strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.text-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

code {
  font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.plan-pro {
  border: 2px solid var(--accent);
}

.plan-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
}

.plan-name span {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}

.price {
  margin: 12px 0 4px;
  font-size: 30px;
  font-weight: 600;
}

.plan p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.plan ul {
  flex: 1;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.plan li {
  margin: 6px 0;
}

.plan li.new strong {
  color: var(--accent);
}

/* A feature that is part of Pro, beside its heading. */
.pro-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(154, 91, 46, 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Questions */
.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Rating */
.rating-card {
  max-width: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-star {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--line-strong);
  cursor: pointer;
  padding: 2px;
}

.rating-star.is-lit {
  color: var(--accent);
}

.rating-hint,
.rating-note {
  margin: 8px 0;
  font-size: 13px;
  color: var(--faint);
}

.rating-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 500;
}

.rating-card textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
}

.rating-done {
  color: var(--muted);
}

/* Footer */
footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

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

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .hero,
  .feature,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero {
    padding: 40px 0;
  }

  .feature:nth-of-type(even) .feature-text {
    order: 0;
  }

  section {
    padding: 44px 0;
  }
}

/* The main window, drawn as it looks in Light: the hero's picture of the app. */
.app-window {
  width: min(420px, 100%);
  margin-left: auto;
  padding: 12px 8px 10px;
  border: 1px solid #cfcac0;
  border-radius: 14px;
  background: #f0eee9;
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.04), 0 18px 40px -24px rgba(28, 26, 23, 0.35);
  color: #1c1a17;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  margin-bottom: 12px;
}

.app-grip {
  display: grid;
  grid-template-columns: repeat(2, 3px);
  gap: 3px;
  margin-right: 6px;
}

.app-grip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5e5a53;
}

.app-tile {
  display: flex;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px -2px rgba(28, 26, 23, 0.4);
}

.app-tile img {
  display: block;
  border-radius: 8px;
}

.app-name {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.app-pro {
  padding: 2px 6px;
  border-radius: 5px;
  background: #e7dfd0;
  color: #9a5b2e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.app-icons {
  display: flex;
  gap: 3px;
  margin-left: auto;
  color: #3a3631;
}

.app-icons i {
  display: flex;
  padding: 4px;
  border-radius: 6px;
}

.app-icons i.is-on {
  background: #e6dccb;
  color: #5b3d22;
}

.app-tabbar {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.app-tabs,
.app-filter {
  display: flex;
  align-items: center;
  height: 30px;
  border: 1px solid #d9d4ca;
  border-radius: 15px;
  background: #f5f3ee;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4640;
}

.app-tabs {
  flex: 1;
  justify-content: space-between;
  padding: 0 12px 0 4px;
}

.app-tabs span.is-on {
  padding: 5px 19px;
  border-radius: 11px;
  background: #9a5b2e;
  color: #fff;
  box-shadow: 0 2px 6px -2px rgba(154, 91, 46, 0.6);
}

.app-filter {
  justify-content: space-between;
  gap: 18px;
  padding: 0 8px;
}

.app-filter svg {
  width: 10px;
  height: 10px;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 33px;
  padding: 0 12px;
  margin-bottom: 12px;
  border: 1px solid #d9d4ca;
  border-radius: 14px;
  background: #f5f3ee;
  font-size: 11px;
  color: #7d786f;
}

.app-clip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 14px 6px 7px;
  margin-bottom: 7px;
  border: 1px solid #d9d4ca;
  border-radius: 12px;
  background: #f5f3ee;
}

/* The small dot at a clip's top right. */
.app-clip::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9a5b2e;
}

.app-clip b {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: #e9e6df;
  font-size: 9px;
  font-weight: 800;
  color: #66615a;
}

.app-clip div {
  min-width: 0;
}

.app-clip strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.app-clip span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 8.5px;
  color: #6c675f;
}

.app-clip span.app-text {
  font-size: 10px;
  font-weight: 500;
  color: #1c1a17;
}

.app-clip span.app-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  padding: 3px 0;
  border: 1px solid #cfcac0;
  border-radius: 5px;
  background: #e2dfd8;
  overflow: hidden;
}

/* A tall page, shrunk: white with a few coloured blocks. */
.app-thumb-page i {
  display: block;
  width: 10px;
  height: 5px;
  border-radius: 1px;
  background: #fff;
}

.app-thumb-page i:nth-child(1) {
  background: linear-gradient(#f3b6c4, #fff);
}

.app-thumb-page i:nth-child(3) {
  background: linear-gradient(#fff 50%, #8fd3a6 50%);
}

.app-clip span.app-thumb-dark {
  justify-content: center;
  background: #3c3b39;
}

.app-thumb-dark i {
  display: block;
  width: 14px;
  height: 24px;
  border-radius: 1px;
  background: linear-gradient(#e9e6df 30%, #a49b8e 30%, #a49b8e 45%, #e9e6df 45%);
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 4px 0;
  padding-top: 9px;
  border-top: 1px solid #d9d4ca;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c675f;
}

.app-status span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #86d39b;
}

@media (max-width: 760px) {
  .app-window {
    margin: 0 auto;
  }
}

@media (max-width: 440px) {
  .app-icons i:nth-child(n + 5) {
    display: none;
  }
}

/* Inner pages: their titles, prose, cards and forms in the same palette. */
.page {
  padding: 48px 0 64px;
}

.page-title {
  margin-bottom: 32px;
  max-width: 720px;
}

.page-title p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.page h1 {
  font-size: clamp(30px, 4.5vw, 40px);
}

.legal {
  max-width: 760px;
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 21px;
}

.legal h3 {
  margin: 24px 0 6px;
  font-size: 17px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a,
.page p a {
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.support-item,
.grid > section,
.auth-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.support-item p,
.grid > section p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* How to Use: every feature, and its plan */
#features {
  scroll-margin-top: 80px;
}

.feature-table {
  width: 100%;
  margin: 16px 0 12px;
  border-collapse: collapse;
  font-size: 14px;
}

.feature-table th,
.feature-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.feature-table thead th {
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
}

.feature-table thead th:not(:first-child),
.feature-table td {
  width: 64px;
  text-align: center;
}

.feature-table tbody th {
  color: var(--muted);
  font-weight: 400;
}

.feature-table tr.group th {
  padding-top: 20px;
  color: var(--ink);
  font-weight: 600;
}

.feature-table td.yes {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 440px) {
  .feature-table {
    font-size: 13px;
  }

  .feature-table th,
  .feature-table td {
    padding: 8px 6px;
  }

  .feature-table thead th:not(:first-child),
  .feature-table td {
    width: 44px;
  }
}

/* Pricing's cards */
.plans-grid .plan h3 {
  margin: 0;
}

.plans-grid .plan > strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 28px;
}

.plan-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--faint);
}

.list {
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* The buttons older pages name differently */
.home-button,
.button.primary,
.button.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.home-button-primary,
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: var(--card);
  color: var(--muted);
}

/* Forms: support, password reset */
.support-form-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  margin: 16px 0 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.support-form-copy p {
  color: var(--muted);
}

.support-form,
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-form label,
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.support-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page input,
.page select,
.page textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.page input:focus,
.page select:focus,
.page textarea:focus {
  outline: 2px solid rgba(154, 91, 46, 0.35);
  border-color: var(--accent);
}

.support-form-note,
.form-status {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}

.auth-card {
  max-width: 460px;
}

.recovery-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .support-form-panel,
  .support-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Download */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.platform-grid[data-downloads="off"],
.platform-grid[data-downloads="on"] ~ .downloads-paused-note {
  display: none;
}

.platform-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.platform-card p {
  color: var(--muted);
  font-size: 15px;
}

.platform-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.platform-label {
  font-size: 13px;
  color: var(--faint);
}

.platform-meta {
  margin: 10px 0 0;
  font-size: 13px !important;
  color: var(--faint) !important;
}

.os-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  vertical-align: middle;
}

.os-windows {
  grid-template-columns: 7px 7px;
  gap: 2px;
  place-content: center;
}

.os-windows i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}

.install {
  margin-top: 48px;
  padding: 48px 0 0;
}

.install-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.install-step {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.install-step img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.install-step figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* How to use: its walkthroughs and the small working demos */
.how-to-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.how-to-grid > div {
  padding: 0;
  border: 0;
  background: none;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.step {
  display: flex;
  gap: 14px;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.step-text h3 {
  margin: 4px 0 4px;
  font-size: 16px;
}

.step-text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

code.key {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  color: var(--ink);
}

.mock-textfield {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink) !important;
  font-size: 14px;
}

.pasted-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent) !important;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.clip-window {
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid rgba(28, 26, 23, 0.24);
  border-radius: 14px;
  background: var(--paper);
}

.clip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.clip-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clip-title strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.clip-title small {
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.dots {
  display: flex;
  gap: 4px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.clip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.clip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(28, 26, 23, 0.1);
  border-radius: 10px;
  background: var(--card);
  font-size: 13px;
}

.clip-item.active {
  border-color: var(--accent) !important;
  background: rgba(154, 91, 46, 0.08);
}

.clip-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(28, 26, 23, 0.06);
  font-size: 11px;
  color: var(--muted);
}

.clip-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.clip-badge {
  margin-left: auto;
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.shortcut-hint {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.feature-lab-heading span {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.feature-lab-heading p {
  color: var(--muted);
}

.feature-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-demo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.feature-demo-card h3 {
  margin: 0;
  font-size: 16px;
}

.feature-demo-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.feature-demo-card input,
.feature-demo-card select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.feature-demo-card button {
  padding: 9px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.feature-demo-card p,
.feature-demo-card output {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}

.feature-demo-card .is-ready {
  color: var(--accent);
  font-weight: 500;
}

.feature-demo-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--faint);
}

.feature-demo-top span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-demo-top em {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.feature-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-snip {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}

.demo-snip span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.demo-snip p {
  margin: 6px 0 0;
  color: var(--ink);
}

.demo-snip b {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--pass);
}

.demo-snip i {
  position: absolute;
  inset: 34px 30% auto 10px;
  height: 18px;
  border-radius: 3px;
  background: rgba(253, 224, 71, 0);
  transition: background 0.2s;
}

.demo-snip.is-edited i {
  background: rgba(253, 224, 71, 0.55);
}

.watch-demo-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  color: var(--faint);
}

.watch-demo-screen i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.watch-demo.is-live .watch-demo-screen i {
  background: #dc2626;
}

.watch-demo-screen div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.watch-demo-screen b {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

@media (max-width: 760px) {
  .how-to-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The features' pictures: each tool drawn as it looks in Light. */
.illus {
  position: relative;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

/* Cycle Paste over a document */
.doc {
  max-width: 78%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}

.doc-title {
  margin-bottom: 8px;
  font-weight: 600;
}

.doc p {
  margin: 4px 0;
  color: var(--muted);
}

.doc-pasted {
  color: var(--ink) !important;
}

.doc-caret i {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--accent);
}

.cycle-pop {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(300px, 70%);
  padding: 10px;
  border: 1px solid rgba(28, 26, 23, 0.24);
  border-radius: 12px;
  background: var(--paper);
  font-size: 11px;
  box-shadow: 0 6px 20px rgba(28, 26, 23, 0.08);
}

.cycle-pop-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--faint);
}

.cycle-pop-head em {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-style: normal;
  letter-spacing: 0.08em;
}

.cycle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  margin-bottom: 5px;
  border: 1px solid rgba(28, 26, 23, 0.1);
  border-radius: 9px;
  background: var(--card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cycle-row b {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(28, 26, 23, 0.06);
  font-size: 10px;
  color: var(--muted);
}

.cycle-row.is-on {
  border-color: var(--accent);
  background: rgba(154, 91, 46, 0.08);
}

.cycle-row.is-on b {
  background: var(--accent);
  color: #fff;
}

.cycle-hint {
  margin-top: 6px;
  font-size: 10px;
  color: var(--faint);
  text-align: center;
}

.cycle-hint kbd {
  font-size: 10px;
  padding: 0 4px;
}

/* Chat Wheel */
.illus-wheel {
  display: grid;
  place-items: center;
}

.illus-wheel svg {
  width: min(300px, 100%);
  height: auto;
  font-family: inherit;
}

/* A pinned screenshot with its marks and toolbar */
.illus-pin {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.pin {
  position: relative;
  width: min(330px, 82%);
  padding: 12px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 26, 23, 0.08);
}

.shot-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.shot-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.shot-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 4px;
}

.shot-row > i {
  height: 8px;
  border-radius: 4px;
  background: #d9d4c8;
}

.shot-row.hl {
  background: rgba(253, 224, 71, 0.55);
}

.mark-step {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.mark-step.dim {
  opacity: 0.35;
}

.badge {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.badge.pass { background: #10b981; }
.badge.fail { background: #ef4444; }
.badge.skip { background: #f59e0b; font-size: 10px; }

.pin-note {
  display: inline-block;
  margin: 10px 0 0 36px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
}

.pin-tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.pin-tools i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}

.pin-tools .on-hl {
  background: #fde047;
  border-color: #fde047;
}

.pin-tools .on-mark {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* Scroll Capture */
.illus-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.capture-page {
  position: relative;
  width: min(260px, 60%);
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.capture-frame {
  padding: 10px;
  border: 2px solid #38bdf8;
  border-radius: 4px;
}

.capture-page i,
.capture-result i {
  display: block;
  height: 7px;
  margin: 7px 0;
  border-radius: 4px;
  background: #d9d4c8;
}

.capture-page i.blk,
.capture-result i.blk {
  width: 100%;
  height: 30px;
  background: #ece4d2;
}

.capture-below {
  padding: 4px 12px 0;
  opacity: 0.5;
}

.capture-pill {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 10px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.capture-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
}

.capture-pill b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.capture-result {
  width: 90px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 26, 23, 0.08);
}

.capture-result i {
  height: 5px;
  margin: 5px 0;
}

.capture-result i.blk {
  height: 18px;
}

@media (max-width: 760px) {
  .doc {
    max-width: 100%;
  }

  .cycle-pop {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
}

/* Pro is not on sale yet, so it is kept on every page but hidden: whatever is marked data-pro,
 * with data-free-only wording shown in its place. To show Pro again, change this rule's selector
 * to [data-free-only]. */
[data-pro] {
  display: none !important;
}
