/* Hindshelf website. Matches the extension's Glass design (src/ui/theme.css): system font, one blue, big calm type,
   white and #f5f5f7 bands, borderless 18px cards, translucent sticky header. No JavaScript, no remote fonts.
   Light by default; dark follows prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --band: #f5f5f7;
  --card: #f5f5f7;
  --card-on-band: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --link: #0066cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #ffffff;
  --hair: rgba(0, 0, 0, 0.1);
  --code-bg: rgba(0, 0, 0, 0.055);
  --header-bg: rgba(255, 255, 255, 0.78);
  --shot-shadow: 0 18px 50px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  --todo-bg: #fff3bf;
  --todo-ink: #5c4a00;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 18px;
  --r-shot: 14px;
  --wrap: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --band: #1c1c1e;
    --card: #1c1c1e;
    --card-on-band: #2c2c2e;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --link: #2997ff;
    --hair: rgba(255, 255, 255, 0.14);
    --code-bg: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(22, 22, 24, 0.78);
    --shot-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    --todo-bg: #4a3d00;
    --todo-ink: #ffe27a;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--accent-ink);
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: 56px;
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.012em;
}
p {
  margin: 0 0 1em;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--code-bg);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
pre {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* A small heading above a title: 17px, weight 600, sentence case. */
.caps {
  display: block;
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink-2);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  min-height: 52px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand .bm-plate {
  fill: var(--accent);
}
.brand .bm-face {
  fill: #ffffff;
}
.brand .bm-hole {
  fill: var(--accent);
}
.nav {
  display: flex;
  flex: 1;
  gap: 24px;
  font-size: 14px;
}
.nav a {
  color: var(--ink);
  opacity: 0.8;
  white-space: nowrap;
}
.nav a:hover {
  opacity: 1;
  text-decoration: none;
}
.header-cta {
  margin-left: auto;
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 980px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}
.btn-sm {
  min-height: 32px;
  padding: 0 14px;
  font-size: 14px;
}
/* secondary actions are plain links with a chevron */
.btn-quiet {
  min-height: 44px;
  padding: 0;
  background: none;
  color: var(--link);
  font-weight: 400;
}
.btn-quiet::after {
  content: '\00a0\203a';
}
.btn-quiet:hover {
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 28px;
}
.fine {
  margin: 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--ink-2);
}
.note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.47;
  color: var(--ink-2);
}

/* ---------- sections ---------- */
.section {
  padding: 96px 0;
  background: var(--bg);
}
.section.band {
  background: var(--band);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  margin: 16px 0 0;
  font-size: 21px;
  line-height: 1.38;
  color: var(--ink-2);
  letter-spacing: -0.012em;
}

/* hero */
.hero {
  padding: 72px 0 80px;
  text-align: center;
}
.hero h1 {
  max-width: 880px;
  margin: 0 auto;
}
.lede {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.hero .fine {
  max-width: 640px;
  margin: 20px auto 0;
}
.shot {
  overflow: hidden;
  border-radius: var(--r-shot);
  box-shadow: var(--shot-shadow);
  background: var(--band);
}
.shot img {
  width: 100%;
}
.hero-shot {
  max-width: 1000px;
  margin: 56px auto 0;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
  text-align: left;
}
.facts > div,
.features > div,
.offer,
.item {
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--card);
}
.band .features > div,
.band .offer,
.band .item,
.band .steps > li {
  background: var(--card-on-band);
}
.facts h3,
.features h3,
.item h2 {
  margin-bottom: 8px;
}
.facts p,
.features p,
.item p,
.steps p {
  margin: 0;
  font-size: 16px;
  line-height: 1.47;
  color: var(--ink-2);
}
.item h2 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.item p + p {
  margin-top: 0.8em;
}

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  position: relative;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--card);
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.steps li li {
  padding: 2px 0;
}
.sample-line {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--ink-2);
}
.sample-line a {
  white-space: nowrap;
}
.gallery,
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 28px;
  margin-top: 72px;
  align-items: start;
}
.pair-gap {
  margin-top: 64px;
}
figure {
  margin: 0;
}
figcaption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.47;
  color: var(--ink-2);
}
figcaption strong {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

/* privacy */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}
.split h3 {
  margin: 36px 0 10px;
}
.split h3:first-child {
  margin-top: 0;
}
.split p,
.split li {
  font-size: 16px;
  color: var(--ink);
}
.csp {
  margin: 16px 0;
  padding: 16px 20px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--card-on-band);
  font-size: 14px;
}
.csp code {
  padding: 0;
  background: none;
  white-space: pre-wrap;
}
.exception {
  margin: 24px 0 0;
  padding: 22px 24px;
  border-radius: var(--r-card);
  background: var(--card-on-band);
}
.exception .caps {
  margin-bottom: 6px;
  color: var(--ink);
}
.exception p {
  margin: 0;
  font-size: 16px;
}
.checks {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 10px 0 10px 26px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* pricing */
.table-wrap {
  border-radius: var(--r-card);
  background: var(--card);
  padding: 8px 12px;
}
.plans {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
}
.plans caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.plans th,
.plans td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  border-top: 1px solid var(--hair);
}
.plans thead th {
  border-top: 0;
  font-size: 21px;
  font-weight: 600;
}
.plans thead th small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}
.plans tbody th {
  width: 46%;
  font-weight: 500;
}
.plans td strong {
  font-weight: 600;
}
.plans .no {
  color: var(--ink-2);
}
.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 40px auto 0;
}
.offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
}
.offer .tag {
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--accent);
}
.offer.best {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.price {
  margin: 10px 0 8px;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price span {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.offer .sub {
  flex: 1;
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--ink-2);
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  margin-bottom: 12px;
  border-radius: var(--r-card);
  background: var(--card-on-band);
}
.faq summary {
  position: relative;
  display: block;
  padding: 20px 56px 20px 24px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.014em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--ink-2);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq .answer {
  padding: 0 24px 8px;
}
.faq .answer p {
  font-size: 16px;
  color: var(--ink-2);
}

/* guides list */
.guide-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.guide-list a {
  display: block;
  height: 100%;
  padding: 24px 28px;
  border-radius: var(--r-card);
  background: var(--card);
  color: var(--ink);
}
.guide-list a:hover {
  text-decoration: none;
}
.guide-list strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--link);
}
.guide-list span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
}
.band .guide-list a {
  background: var(--card-on-band);
}
.guide-list.narrow {
  grid-template-columns: 1fr;
  max-width: 560px;
  text-align: left;
}

.closing {
  text-align: center;
}
.closing h2 {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- inner pages: guides, support, legal ---------- */
.page {
  max-width: 828px;
  padding-top: 40px;
  padding-bottom: 96px;
}
.crumbs {
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.page h1 {
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.standfirst {
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.meta-line {
  font-size: 14px;
  color: var(--ink-2);
}
.prose {
  margin-top: 40px;
}
.prose h2 {
  margin: 64px 0 16px;
  font-size: 32px;
  line-height: 1.12;
}
.prose h3 {
  margin: 32px 0 8px;
}
.prose p,
.prose li {
  font-size: 17px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose .steps-list {
  padding-left: 0;
}
.prose li {
  margin: 0.35em 0;
}
.prose blockquote {
  margin: 1.2em 0;
  padding: 4px 0 4px 20px;
  box-shadow: inset 3px 0 0 var(--accent);
  color: var(--ink-2);
}
.prose pre {
  margin: 1.2em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
  line-height: 1.5;
}
.prose pre code {
  padding: 0;
  background: none;
  overflow-wrap: normal;
}
.callout {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-radius: var(--r-card);
  background: var(--card);
}
.callout .caps {
  margin-bottom: 4px;
  color: var(--ink);
}
.callout p {
  margin: 0;
  font-size: 16px;
}
.steps-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps-list > li {
  position: relative;
  margin: 0 0 12px;
  padding: 22px 26px 22px 72px;
  border-radius: var(--r-card);
  background: var(--card);
  counter-increment: s;
}
.steps-list > li::before {
  content: counter(s);
  position: absolute;
  left: 24px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}
.steps-list h3 {
  margin: 0 0 4px;
  font-size: 19px;
}
.steps-list p {
  margin: 0;
  font-size: 16px;
}
.related {
  margin-top: 64px;
}
.related .caps {
  color: var(--ink);
  font-size: 21px;
}
.related ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.related li {
  padding: 6px 0;
}
.cta-soft {
  margin: 56px 0 0;
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--card);
}
.cta-soft .caps {
  margin-bottom: 4px;
}
.cta-soft h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.14;
}
.cta-soft p {
  font-size: 16px;
  color: var(--ink-2);
}
.cta-soft .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 20px;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.mailto {
  display: inline-block;
  margin: 12px 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.lost {
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 640px;
}
.lost h1 {
  margin-bottom: 16px;
}
.lost .lede {
  margin: 0 0 32px;
}
mark.todo {
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: var(--todo-bg);
  color: var(--todo-ink);
}
.legal h2 {
  font-size: 28px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--band);
  font-size: 14px;
  color: var(--ink-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand p {
  max-width: 260px;
  margin: 12px 0 0;
}
.site-footer h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  padding: 3px 0;
}
.site-footer a {
  color: var(--ink-2);
}
.site-footer a:hover {
  color: var(--ink);
}
.site-footer .brand {
  color: var(--ink);
}
.legal-line {
  margin-top: 40px;
  padding-top: 24px;
  box-shadow: 0 -0.5px 0 var(--hair);
  font-size: 12px;
  line-height: 1.5;
}
.legal-line p {
  max-width: 900px;
  margin: 0 0 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .features,
  .facts,
  .steps,
  .offers {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  h1,
  .page h1 {
    font-size: 40px;
    line-height: 1.1;
  }
  h2 {
    font-size: 32px;
  }
  .prose h2 {
    font-size: 28px;
  }
  .lede,
  .standfirst,
  .section-head p {
    font-size: 19px;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero-shot {
    margin-top: 40px;
  }
  .features,
  .facts,
  .steps,
  .offers,
  .gallery,
  .pair,
  .guide-list,
  .support-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .gallery,
  .pair {
    margin-top: 48px;
  }
  .site-header .wrap {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 0;
  }
  .nav {
    order: 3;
    flex: 0 0 100%;
    gap: 22px;
    margin: 0 -20px;
    padding: 6px 20px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .table-wrap {
    padding: 4px 4px;
  }
  .plans {
    font-size: 14px;
  }
  .plans th,
  .plans td {
    padding: 10px 6px;
  }
  .plans thead th:nth-child(n + 2) {
    width: 29%;
  }
  .plans thead th {
    font-size: 17px;
  }
  .plans tbody th {
    width: auto;
  }
  .steps-list > li {
    padding: 20px 20px 20px 64px;
  }
  .steps-list > li::before {
    left: 18px;
  }
  .price {
    font-size: 40px;
  }
  .mailto {
    font-size: 22px;
  }
  .faq summary {
    font-size: 17px;
    padding: 18px 48px 18px 20px;
  }
  .faq summary::after {
    right: 18px;
  }
  .faq .answer {
    padding: 0 20px 6px;
  }
}
/* The six nav links need about 470px. Below 520px wide they overflow and scroll sideways, so the end of the row
   fades (16px) as the cue. Wider than that everything fits and there is no mask. */
@media (max-width: 520px) {
  .nav {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
