/* Novatra Apps Help Center. Read mode: one column of text, quiet chrome, one accent.
   Archivo (self-hosted, variable weight and width). Light only: the pictures are light screenshots. */
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --paper: #f7f6f2;
  --panel: #ffffff;
  --ink: #1b211d;
  --ink-2: #4d554f;
  --line: #dcd9cf;
  --accent: #17543f;
  --accent-soft: #e3ece6;
  --code: #eeece5;
  --supermenu: #0f6e66;
  --formlane: #1f5ae6;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--font); font-stretch: 100%; }
::selection { background: #cfe0d5; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #e2a03f; outline-offset: 2px; border-radius: 5px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; z-index: 10; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.bar { background: var(--panel); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-stretch: 88%; font-size: 18px; }
.mark img { flex: none; }
.bar nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 16px; }
.bar nav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.bar nav a:hover { color: var(--accent); text-decoration: underline; }

/* headings */
h1, h2, h3 { font-stretch: 84%; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; margin: 48px 0 14px; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 750; margin: 52px 0 12px; }
h3 { font-size: 21px; font-weight: 700; margin: 32px 0 8px; font-stretch: 92%; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 62ch; margin: 0 0 32px; }

/* home */
.home { padding-bottom: 56px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.app { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.app-head { display: flex; gap: 16px; align-items: center; }
.app-head img { border-radius: 12px; flex: none; }
.app-head h2 { margin: 0 0 2px; font-size: 28px; }
.app-head p { margin: 0; color: var(--ink-2); }
.app-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 6px; font-size: 16px; }
.app h3 { font-size: 17px; margin: 26px 0 6px; color: var(--ink-2); font-stretch: 100%; font-weight: 650; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 650; padding: 11px 18px; border-radius: 10px; line-height: 1.25; }
.btn:hover { background: #2f3a33; color: #fff; }
.guides { list-style: none; margin: 0; padding: 0; }
.guides li + li { border-top: 1px solid var(--line); }
.guides a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.guides .t { display: block; font-weight: 650; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.guides .d { display: block; color: var(--ink-2); font-size: 16px; margin-top: 2px; }
.guides a:hover .t { text-decoration-thickness: 2px; }
.home > h2 { margin-top: 40px; }

/* article */
.article { max-width: 760px; padding-bottom: 48px; }
.meta { color: var(--ink-2); font-size: 15px; margin: 0 0 28px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-block; font-weight: 650; font-size: 14px; padding: 2px 10px; border-radius: 999px; color: #fff; }
.chip-supermenu { background: var(--supermenu); }
.chip-formlane { background: var(--formlane); }
.prose p, .prose li { max-width: 68ch; }
.prose > p:first-child { font-size: 20px; line-height: 1.55; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ink-2); font-weight: 650; }
.prose strong { font-weight: 680; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.86em; background: var(--code); padding: 1px 5px; border-radius: 5px; }
pre { background: var(--code); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
pre code { background: none; padding: 0; font-size: inherit; }
figure { margin: 24px 0 30px; }
figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
figcaption { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 4px 18px; margin: 24px 0; }
.tablewrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--code); font-weight: 650; }
tbody th { font-weight: 600; }

/* video box: our picture first, YouTube after a tap */
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid var(--line); }
.yt img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(20, 24, 22, 0.86); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); transition: transform 0.15s ease-out; }
.yt .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { transform: scale(1.06); }
.yt-on iframe { width: 100%; height: 100%; border: 0; display: block; }

/* install box */
.cta { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 32px 0; }
.cta img { border-radius: 10px; }
.cta p { margin: 0; }
.cta .cta-name { font-weight: 750; font-stretch: 88%; font-size: 20px; }
.cta .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.after { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--panel); font-size: 15px; color: var(--ink-2); padding: 28px 0 40px; }
.foot p { margin: 4px 0; max-width: 90ch; }
.foot-help { margin-bottom: 16px; color: var(--ink); font-size: 16px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  h1 { margin-top: 32px; }
  .app { padding: 20px; }
  .lead, .prose > p:first-child { font-size: 18px; }
  .bar nav { font-size: 15px; gap: 2px 14px; }
  .yt .play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .yt .play::after { left: 24px; top: 18px; border-width: 12px 0 12px 19px; }
}
@media (prefers-reduced-motion: reduce) { .yt .play { transition: none; } }
