/* quizproof.app: the one-page site and the help center. System fonts (the Shopify admin's and the legal pages'), no
   web fonts, no framework. Brand = the app icon: forest #0D4F3C and pale lime #E9F7C8. */
:root {
  color-scheme: light dark;
  --forest: #0d4f3c;
  --forest-ink: #e9f7c8;
  --forest-muted: #b9d3c4;
  --paper: #ffffff;
  --mist: #f0f5f2;
  --ink: #13241e;
  --muted: #4a5d55;
  --line: #d3ded7;
  --link: #0b6b4f;
  --focus: #0d4f3c;
  --draft-bg: #fff1c7;
  --draft-ink: #4d3800;
  --mark: #e9f7c8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 72rem;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --forest: #0b4434;
    --forest-muted: #a9c7b6;
    --paper: #0d1915;
    --mist: #13231d;
    --ink: #e4eee9;
    --muted: #a0b4ab;
    --line: #293c35;
    --link: #bfe68f;
    --focus: #bfe68f;
    --draft-bg: #3b3013;
    --draft-ink: #f6e3a8;
    --mark: #2a4a22;
  }
}
@media (min-width: 40rem) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--paper); padding: 8px 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

/* Forest band: header + hero */
.band { background: var(--forest); color: var(--forest-ink); }
.band a { color: var(--forest-ink); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 1px rgb(233 247 200 / 0.25); }
.top nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; }

.hero { padding-top: 40px; padding-bottom: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem; margin-top: 20px; color: var(--forest-ink); opacity: 0.92; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 40px; }
.button {
  display: inline-block;
  background: var(--forest-ink);
  color: #0d4f3c;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
}
.band a.button { color: #0d4f3c; }
.button:hover { background: #ffffff; }
.pending { display: inline-flex; flex-direction: column; gap: 2px; border: 2px dashed var(--forest-muted); border-radius: 10px; padding: 9px 18px; }
.pending strong { font-weight: 700; }
.pending span { font-size: 0.9rem; color: var(--forest-muted); }
.cta .quiet { color: var(--forest-muted); font-size: 0.95rem; }
.hero-shot { margin: 0 auto; max-width: 66rem; }
.hero-shot img { border-radius: 12px 12px 0 0; box-shadow: 0 -1px 0 rgb(233 247 200 / 0.2); }

/* Sections */
main > section { padding: 72px 0; }
main > section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-head h2, .prose h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 780; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 12px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 64px; }
.step { display: grid; gap: 20px; align-items: center; counter-increment: step; }
.step h3 { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: baseline; }
.step h3::before {
  content: counter(step);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  background: var(--forest);
  color: var(--forest-ink);
  font-size: 0.85em;
}
.step p { color: var(--muted); margin-top: 10px; max-width: 34rem; }
@media (min-width: 52rem) {
  .step { grid-template-columns: 5fr 7fr; gap: 48px; }
  .step:nth-child(even) { grid-template-columns: 7fr 5fr; }
  .step:nth-child(even) .copy { order: 2; }
}

/* Screenshots sit on a forest stage, the listing gallery's frame */
.stage { background: var(--forest); border-radius: 14px; padding: clamp(10px, 2.4vw, 28px); }
.stage img { border-radius: 8px; }

.feature { display: grid; gap: 28px; align-items: center; }
.feature .copy h2 { margin-bottom: 14px; }
.feature .copy p { color: var(--muted); }
.feature .copy p.big { color: var(--ink); font-size: 1.2rem; }
@media (min-width: 52rem) { .feature { grid-template-columns: 5fr 7fr; gap: 48px; } }

.change { background: var(--mist); }

.also { display: grid; gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .also { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.also h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.also p { color: var(--muted); margin: 0; }

/* Plans */
.table { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 650; color: var(--muted); border-bottom-width: 2px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plans { max-width: 44rem; }
.fine { color: var(--muted); font-size: 0.95rem; max-width: 44rem; }

.contact { display: grid; gap: 8px; max-width: 44rem; }
.contact .email { font-size: clamp(1.3rem, 3.4vw, 1.75rem); font-weight: 750; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.93rem; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0 0 12px; }

/* Help center */
.draft-banner { background: var(--draft-bg); color: var(--draft-ink); font-size: 0.95rem; padding: 10px 0; }
.draft-banner p { margin: 0; }
.help-hero { padding-top: 28px; padding-bottom: 36px; }
.help-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.help-hero p { margin-top: 10px; opacity: 0.92; max-width: 40rem; }
.search { margin-top: 22px; max-width: 40rem; }
.search label { display: block; font-weight: 600; margin-bottom: 6px; }
.search input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--paper);
  color: var(--ink);
}
.search input:focus-visible { outline-color: var(--forest-ink); }
.results { margin-top: 28px; }
.results[hidden] { display: none; }
.results h2 { font-size: 1.3rem; margin-bottom: 8px; }
.hits, .articles { list-style: none; margin: 0; padding: 0; }
.hits li, .articles li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hits a, .articles a { font-weight: 650; }
.hits p, .articles p { margin: 2px 0 0; color: var(--muted); font-size: 0.97rem; }
.hits mark { background: var(--mark); color: inherit; }
.cats { display: grid; gap: 40px 48px; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 52rem) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cats h2 { font-size: 1.3rem; font-weight: 750; margin-bottom: 4px; }
.support-box { background: var(--mist); border-radius: 14px; padding: 24px; margin-bottom: 56px; }
.support-box h2 { font-size: 1.3rem; margin-bottom: 8px; }
.support-box p:last-child { margin-bottom: 0; }

.crumbs { font-size: 0.93rem; padding-top: 22px; color: var(--muted); }
.crumbs a { color: var(--link); }
.prose { max-width: 46rem; padding-bottom: 56px; }
.prose h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 18px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 10px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose li { margin: 6px 0; }
.prose li > p { margin: 0; }
.prose code { font: 0.9em var(--mono); background: var(--mist); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.prose pre { background: var(--mist); padding: 12px 14px; border-radius: 8px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose figure { margin: 22px 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 8px; }
.prose figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.prose aside.note { border-left: 4px solid var(--forest); background: var(--mist); padding: 10px 16px; margin: 16px 0; border-radius: 0 8px 8px 0; }
.prose .table { margin: 16px 0; }
.prose :is(h2, h3) a.anchor { color: var(--muted); text-decoration: none; margin-left: 6px; opacity: 0; }
.prose :is(h2, h3):hover a.anchor, .prose a.anchor:focus-visible { opacity: 1; }
.article-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.contact h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 780; letter-spacing: -0.02em; }
