/* getcirculate.ca — the website's one stylesheet (R107: system fonts, no imports, under 20 KB).
   Look: quiet and high-end — white and light-grey bands, large tight headlines, one blue accent, rounded cards. */

:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-mid: #424245;
  --paper: #ffffff;
  --paper-alt: #f5f5f7;
  --night: #000000;
  --night-ink: #f5f5f7;
  --night-soft: #a1a1a6;
  --line: #d2d2d7;
  --brand: #0066cc;
  --brand-dark: #004f9e;
  --button: #0071e3;
  --button-dark: #0062c4;
  --brand-tint: #e8f2fd;
  --night-link: #2997ff;
  --focus: #0071e3;
  --radius: 18px;
  --wrap: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Links inside text keep an underline, so colour is never the only cue (WCAG 1.4.1). Buttons, menus and link lists
   stay clean. */
main p a:not(.button),
main li a:not(.button),
main td a,
.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

main .docs-nav a:not(.button),
main .docs-index li a:not(.button),
main .pager a:not(.button),
main .post-list li a:not(.button) {
  text-decoration: none;
}

main .docs-nav a:hover,
main .docs-index li a:hover,
main .pager a:hover,
main .post-list li a:hover {
  text-decoration: underline;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.015em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.9rem;
  background: var(--paper);
  border: 2px solid var(--button);
  border-radius: 980px;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Header ------------------------------------------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 253, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-row {
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  min-height: 52px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: 26px;
  height: 26px;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

nav[aria-label="Main"] {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--ink-mid);
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.header-actions .button {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.link-quiet {
  color: var(--ink-mid);
}

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

.button {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 980px;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--button);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--button-dark);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.button-secondary:hover {
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.prose .cta-row,
.callout + .cta-row {
  justify-content: flex-start;
}

/* Sections ---------------------------------------------------------------------------------------------------- */

.hero {
  padding: 6rem 0 4.5rem;
  text-align: center;
  background: var(--paper);
}

.hero h1,
.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  max-width: 20ch;
}

.hero .callout {
  margin: 2rem auto 0;
  text-align: left;
}

.hero .lead {
  max-width: 38rem;
}

.lead {
  font-size: clamp(1.15rem, 2vw, 1.3125rem);
  line-height: 1.42;
  color: var(--ink-soft);
  max-width: 42rem;
}

.small,
.note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.band {
  padding: 6.5rem 0;
}

.band > .wrap > h2:first-child,
.band > .wrap > .eyebrow + h2 {
  text-align: center;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.band > .wrap > h2 + .lead,
.band-center .lead {
  text-align: center;
  margin: 0 auto 3rem;
}

.band-alt {
  background: var(--paper-alt);
}

.band-dark {
  background: var(--night);
  color: var(--night-ink);
  text-align: center;
}

.band-dark .lead {
  color: var(--night-soft);
  margin-left: auto;
  margin-right: auto;
}

.band-dark a {
  color: var(--night-link);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.band-dark .eyebrow {
  color: var(--night-soft);
}

.prose > * {
  max-width: 44rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  padding: 2.25rem 2rem 1.5rem;
  background: var(--paper-alt);
  border-radius: var(--radius);
}

.band-alt .card {
  background: var(--paper);
}

.card h3 a {
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.card p {
  color: var(--ink-soft);
}

.price-card {
  display: flex;
  flex-direction: column;
}

.card .price {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 44rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-alt);
  border-radius: 14px;
}

/* Product picture on the home page: a review screen drawn in SVG (no image request, no script). */
.shot {
  max-width: 1080px;
  margin: 4rem auto 0;
  padding: 0 22px;
}

.shot svg {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Lists ------------------------------------------------------------------------------------------------------- */

.ticks {
  list-style: none;
  padding: 0;
  max-width: 44rem;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.35em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--button);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2.5rem auto 0;
  max-width: 44rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.steps li strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  line-height: 2.25rem;
  text-align: center;
}

/* Questions and answers (home and pricing). */
.faq {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: var(--ink-soft);
  margin: 0;
}

/* Legal and other text pages. */
.prose h2 {
  margin-top: 1.6em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose h3 {
  margin-top: 1.4em;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--ink-mid);
}

/* Docs -------------------------------------------------------------------------------------------------------- */

.docs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 3rem;
  max-width: 1080px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 56rem) {
  .docs-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
  }
}

.docs-nav {
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

@media (min-width: 56rem) {
  .docs-nav {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 0 1rem 0 0;
  }
}

.docs-nav ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.docs-nav li {
  margin: 0.2rem 0;
}

.docs-nav a {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--ink-mid);
}

.docs-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.docs-nav-home {
  margin-bottom: 0.75rem;
}

.docs-nav-section {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.docs-article h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.docs-index {
  list-style: none;
  padding: 0;
}

.docs-index li {
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li > p {
  margin-bottom: 0.4rem;
}

code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.88em;
}

kbd {
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-alt);
  white-space: nowrap;
}

pre {
  overflow-x: auto;
  padding: 1rem 1.25rem;
  background: var(--paper-alt);
  border-radius: 12px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  min-width: 18rem;
}

caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.5rem;
}

th,
td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pager a {
  display: inline-flex;
  flex-direction: column;
}

.pager a[rel="next"] {
  margin-left: auto;
  text-align: right;
}

.pager-dir {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.post-list h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.post-meta {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.post {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

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

.site-footer {
  padding: 2rem 0 3rem;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.site-footer p {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--ink-mid);
}

@media (max-width: 52rem) {
  .nav-list {
    justify-content: flex-start;
  }
}

@media (max-width: 40rem) {
  .header-row {
    gap: 0.25rem 1rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0.35rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .band {
    padding: 4rem 0;
  }

  .card {
    padding: 1.75rem 1.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media print {
  .site-header nav,
  .header-actions,
  .skip-link,
  .cta-row {
    display: none;
  }

  .site-header {
    position: static;
  }

  .band-dark {
    background: none;
    color: var(--ink);
  }
}
