/* check-bot site. The CSP allows styles only from this file: no style
   attributes or <style> blocks in the pages. Mobile first, 360 px and up. */

:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --card: #ffffff;
  --fg: #1b1b1f;
  --muted: #5d5e66;
  --line: #e2e0da;
  --accent: #2a55c9;
  --accent-fg: #ffffff;
  --accent-soft: #e7edfc;
  --warn-bg: #fff3d1;
  --warn-fg: #5c4300;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --card: #1b1c20;
    --fg: #ececef;
    --muted: #a4a5ae;
    --line: #2d2f35;
    --accent: #8eaaff;
    --accent-fg: #0c1330;
    --accent-soft: #1f2843;
    --warn-bg: #362d12;
    --warn-fg: #f1d88e;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 1.9rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: 1.4rem; margin: 0 0 1rem; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
p { margin: 0 0 .75rem; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; color: var(--muted); }

/* Header */

.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.brand img { display: block; }

/* Buttons */

.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.1); }
.btn-small { padding: .45rem .95rem; font-size: .9rem; white-space: nowrap; }
.cta { margin: 1.25rem 0 0; }
.cta .btn { display: block; }

/* Hero */

.hero { display: grid; gap: 28px; padding-top: 28px; }
.lead { font-size: 1.1rem; color: var(--muted); }

.qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* The QR keeps its white background in the dark theme, so phones read it. */
.qr img { flex: none; width: 112px; height: 112px; border-radius: 6px; }
.qr p { margin: 0; font-size: .92rem; color: var(--muted); }

.example { margin: 0; text-align: center; }
.example img { width: 100%; max-width: 300px; border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.example figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }

/* Sections */

.block { padding-top: 40px; }

.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); }

.plans { display: grid; gap: 12px; }
.plan { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-main { border: 2px solid var(--accent); }
.plan ul { margin: 0 0 .75rem; padding-left: 1.2rem; }
.plan li { margin: .3rem 0; }
.plan .small { margin: 0; }
.price { margin: .2rem 0 .75rem; font-size: 1.8rem; font-weight: 700; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }

.note { padding: 18px 20px; background: var(--warn-bg); color: var(--warn-fg); border-radius: var(--radius); }
.note h2 { margin-bottom: .5rem; font-size: 1.15rem; }
.note p { margin: 0; }

/* Footer */

.foot { margin-top: 48px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.foot-nav a { color: var(--fg); }
.foot p { margin: 0 0 .35rem; }

/* Legal pages */

.doc { max-width: 760px; padding-top: 28px; }
.doc h2 { margin: 1.75rem 0 .6rem; font-size: 1.2rem; }
.doc ul { padding-left: 1.3rem; }
.doc li { margin: .3rem 0; }
.doc table { width: 100%; margin: 0 0 .75rem; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.meta { color: var(--muted); font-size: .9rem; }

.req { margin: 0 0 1rem; }
.req dt { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.req dd { margin: 0; }

/* Payment done */

.done { max-width: 520px; margin: 0 auto; padding-top: 56px; text-align: center; }
.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
}
.done .small { margin-top: 1.5rem; }

/* Wide screens */

@media (min-width: 560px) {
  .req { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; }
  .req dt { margin-top: 0; }
  .cta .btn { display: inline-block; }
}

@media (min-width: 800px) {
  h1 { font-size: 2.6rem; }
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-top: 56px; }
  .qr { max-width: 460px; }
  .qr img { width: 132px; height: 132px; }
  .example img { max-width: 340px; }
  .block { padding-top: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 64px 20px 20px; }
  .steps li::before { top: 20px; left: 20px; }
  .plans { grid-template-columns: 1fr 1fr; }
}
