/* quotasense.com. Tokens from quotasense/pwa/style.css. Dark is the default (as the approved banner); light from the OS. */
:root {
  --bg: #111418; --card: #1a1f25; --ink: #e9edf2; --muted: #98a2ae; --line: #2a313a;
  --brand: #fac800; --ink-on-brand: #1a1f25; --link: #fac800; --word: #e9edf2;
  --focus-c: var(--brand); --focus-halo: none;
  --cl-ink: #a4afb8; --cl-gold: #bca12e; --cl-base: .045; --cl-gain: 1;  /* the banner's own values */
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9; --card: #ffffff; --ink: #14171c; --muted: #5d6673; --line: #dfe3e8;
    --link: #14171c; --word: #0f2a1a;  /* wordmark letters: radar green on light, as quotasense-wordmark-mono-green */
    --focus-c: var(--ink); --focus-halo: 0 0 0 4px var(--brand);
    --cl-ink: #7f9187; --cl-gold: #b39a2a; --cl-base: .03; --cl-gain: .5;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: anywhere; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible + label, .skip:focus { outline: 2px solid var(--focus-c); outline-offset: 2px; box-shadow: var(--focus-halo); }
img, svg { max-width: 100%; height: auto; }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 4vw, 28px); line-height: 1.2; margin: 48px 0 12px; }
h3 { font-size: 18px; margin: 0 0 4px; }
p, ul { margin: 0 0 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 12px 16px; background: var(--brand); color: var(--ink-on-brand); font-weight: 650; }
.skip:focus { top: 8px; }

/* header: small wordmark + nav on every page; the home page puts the animated banner above the nav */
.site { border-bottom: 1px solid var(--line); }
.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { display: block; width: 116px; height: auto; }
nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); font-weight: 600; text-decoration: none; border-radius: 2px; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { background: var(--brand); color: var(--ink-on-brand); }

/* home banner: Clouds v2 (docs/website/quotasense-banner-clouds-v2.html), canvas limited to the banner */
.banner { position: relative; height: 240px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .85; }
.banner .brand { position: relative; height: 100%; display: flex; align-items: center; padding: 0 48px; width: max-content; max-width: 100%; }
.banner .brand::before { content: ""; position: absolute; inset: 0 -100px 0 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 87%, transparent), color-mix(in srgb, var(--bg) 60%, transparent) 65%, transparent); }
.banner .logo { min-height: 0; }
.qs-banner-mark { display: block; width: 300px; height: auto; }
.qs-word { fill: var(--word); }
.motion { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 0 14px; font: 600 14px system-ui, sans-serif; color: var(--ink); background: color-mix(in srgb, var(--bg) 87%, transparent); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.motion[aria-pressed="true"] { background: var(--brand); color: var(--ink-on-brand); border-color: var(--brand); }
.motion[aria-pressed="true"]::before { content: "\2713\00a0"; }  /* paused: shown by the tick, not colour alone */
.motion[hidden] { display: none; }
.motion:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 2px; box-shadow: var(--focus-halo); }
/* the approved logo motion: 5 s sweep, blips on the same cycle (quotasense-website-motion.md) */
.qs-mark #sweep-glow, .qs-mark #sweep-arm { transform-origin: 512px 512px; transform-box: view-box; animation: qs-spin 5s linear infinite; }
.qs-mark #blip-1 { animation: qs-blip 5s linear infinite; animation-delay: -0.208s; }
.qs-mark #blip-2 { animation: qs-blip 5s linear infinite; animation-delay: -3.402s; }
.qs-mark #blip-3 { animation: qs-blip 5s linear infinite; animation-delay: -2.152s; }
.logo-paused .qs-mark #sweep-glow, .logo-paused .qs-mark #sweep-arm, .logo-paused .qs-mark [id^="blip-"] { animation-play-state: paused; }
@keyframes qs-spin { to { transform: rotate(360deg); } }
@keyframes qs-blip { 0% { opacity: 1; animation-timing-function: ease-out; } 50% { opacity: .25; } 100% { opacity: .25; } }
@media (max-width: 600px) {
  .banner { height: 180px; }
  .banner .brand { padding: 0 16px; }
  .qs-banner-mark { width: 230px; }
  .motion { right: 8px; bottom: 8px; }
}

main { display: block; padding-bottom: 48px; }
.hero { padding: 40px 0 8px; }
.lede { font-size: 19px; max-width: 46em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 650; text-decoration: none; background: var(--brand); color: var(--ink-on-brand); }
.tag { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-weight: 600; }

.demo { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; margin-top: 16px; }
.demo figure { margin: 0; }
.demo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.demo .phone { max-width: 300px; margin: 0 auto; }
.demo figcaption, .sample { font-size: 15px; color: var(--muted); margin-top: 8px; }
.sample { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 2px; font-weight: 600; }
@media (min-width: 720px) {
  .demo .f-desk { order: -1; }  /* wide screens: the desktop view first, full width, so its cards stay readable */
  .demo .f-phone { justify-self: center; max-width: 300px; }
}

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.grid > li, .card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.grid > li p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
.never li { margin-bottom: 6px; }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1.3fr; } }
.plan h2 { margin-top: 0; }
.price { font-size: 34px; font-weight: 700; line-height: 1.1; margin: 4px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; }
fieldset.billing { border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px 12px; margin: 0 0 16px; }
.billing legend { padding: 0 6px; font-weight: 650; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-weight: 600; }
.opts input:checked + label { background: var(--brand); color: var(--ink-on-brand); border-color: var(--brand); }
.opts input:checked + label::before { content: "\2713\00a0"; }  /* the choice is not shown by colour alone */
.choice { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.js .choice { border-top: 0; padding-top: 0; margin-top: 0; }
.js .choice[hidden] { display: none; }
.badge { display: inline-block; margin: 6px 0 0; padding: 4px 10px; border: 1px solid var(--brand); border-radius: 2px; font-size: 15px; font-weight: 600; }
.badge[hidden] { display: none; }
.buy { margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 4px; }
.buy strong { display: block; }
.faq h3 { margin-top: 20px; }

/* policies */
.doc { max-width: 46em; }
.doc h1 { margin-top: 40px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.updated { color: var(--muted); }

footer.site-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; color: var(--muted); }
footer.site-foot ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; padding: 0; margin: 0 0 8px; }
footer.site-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: -8px; margin-right: 8px; }
footer.site-foot p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .qs-mark #sweep-glow, html:not(.motion-on) .qs-mark #sweep-arm, html:not(.motion-on) .qs-mark [id^="blip-"] { animation-play-state: paused; }
}
.pricing-h1 { margin-top: 40px; }
.plans + p { margin-top: 12px; }
