/* How-to page: static, no scripts. Colours follow monday's light and dark palettes; contrast is WCAG 2.2 AA. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/how-to-use/figtree.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/how-to-use/poppins-500.woff2') format('woff2');
}
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f6f7fb;
  --text: #323338;
  --muted: #5d6070;
  --border: #d0d4e4;
  --accent: #0060b9;
  --accent-bg: #cce5ff;
  --positive: #00854d;
  --focus: #0073ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181b34;
    --surface: #222543;
    --text: #d5d8df;
    --muted: #a8acbf;
    --border: #4b4e69;
    --accent: #69a7ef;
    --accent-bg: #133774;
    --positive: #33d391;
    --focus: #69a7ef;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Figtree, Roboto, 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
}
a {
  color: var(--accent);
  text-underline-offset: 2px;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  padding: 8px 12px;
  background: var(--bg);
  border: 2px solid var(--focus);
  border-radius: 4px;
  z-index: 10;
}
.skip:focus {
  top: 8px;
}
h1,
h2,
h3 {
  font-family: Poppins, Figtree, Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 20px;
  }
}
p {
  margin: 0 0 12px;
}
.top {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-bottom: 8px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.lead {
  margin: 12px 0 20px;
  font-size: 18px;
  color: var(--text);
  max-width: 640px;
}
.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.toc a:hover {
  border-color: var(--accent);
}
main section {
  padding: 32px 0 8px;
  border-bottom: 1px solid var(--border);
}
main section:last-child {
  border-bottom: 0;
}
section[id],
h2[id] {
  scroll-margin-top: 16px;
}
.ticks {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--positive);
  border-bottom: 2px solid var(--positive);
  transform: rotate(-45deg);
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 12px 48px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--text);
  font-weight: 600;
  text-align: center;
  line-height: 32px;
}
.steps h3 {
  padding-top: 4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
@media (max-width: 680px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card,
.plan {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--bg);
}
.card p:last-child,
.plan p:last-child,
.plan ul:last-child {
  margin-bottom: 0;
}
.example {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
}
.example span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.note {
  color: var(--muted);
  font-size: 14px;
}
.defs {
  margin: 0 0 12px;
}
.defs dt {
  font-weight: 600;
  margin-top: 12px;
}
.defs dd {
  margin: 2px 0 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 680px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}
.plan--paid {
  border-color: var(--accent);
  box-shadow: inset 0 3px 0 var(--accent);
}
.foot {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
