/* AdTrustIQ landing page (Day 11 D11-3). Same palette and type as the app (site/style.css),
   mobile first, 8px spacing scale, light and dark. No inline styles: the page's content rules
   (CSP style-src 'self') only allow this file. */
:root {
  color-scheme: light dark;
  --ink: #0f1b2d; --muted: #556175; --bg: #f7f9fb; --bg-alt: #eef2f6; --card: #ffffff; --line: #d3dbe4;
  --accent: #0b7a6e; --accent-dark: #08635a; --accent-ink: #ffffff; --link: #0b7a6e;
  --ok-bg: #e5f5ec; --ok-ink: #0f6638; --warn-bg: #fff3dc; --warn-ink: #7a4a00; --bad-ink: #a61b12;
  --soft: #f1f5f9;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08), 0 1px 2px rgba(15, 27, 45, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px;
  --radius: 14px; --radius-sm: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6edf5; --muted: #9aa8ba; --bg: #0b1220; --bg-alt: #0e1626; --card: #121b2b; --line: #2a3648;
    --link: #3cc4b2; --ok-bg: #0f2e22; --ok-ink: #8be7b8; --warn-bg: #36270a; --warn-ink: #ffd27d; --bad-ink: #ffa49c;
    --soft: #18233a; --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 var(--s2); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.1rem; margin-bottom: var(--s1); }
p { margin: 0 0 var(--s2); }

.skip { position: absolute; left: -9999px; top: var(--s1); background: var(--card); color: var(--ink); padding: var(--s1) var(--s2); border-radius: var(--radius-sm); }
.skip:focus { left: var(--s2); z-index: 10; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--s2); }
.narrow > * { max-width: 720px; margin-left: auto; margin-right: auto; }   /* text columns sit in the middle */
.center { text-align: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 64px; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand b { color: var(--accent); }
@media (prefers-color-scheme: dark) { .brand b { color: var(--link); } }
.top-nav { display: flex; align-items: center; gap: var(--s2); }
.link { color: var(--ink); text-decoration: none; font-weight: 600; }
.link:hover { color: var(--link); }

/* Buttons */
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
          font-weight: 700; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); min-height: 48px; }
.button:hover { background: var(--accent-dark); }
.button.small { padding: var(--s1) var(--s2); min-height: 40px; font-size: 0.95rem; }
.button.light { background: #ffffff; color: #08635a; }
.button.light:hover { background: #e8f6f3; }

/* Hero */
.hero { padding: var(--s5) 0 var(--s6); text-align: center; }
.hero .wrap > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--link); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: var(--s2); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--muted); margin-bottom: var(--s4); }
.fine { font-size: 0.875rem; color: var(--muted); margin-top: var(--s2); }

/* Sections */
.section { padding: var(--s6) 0; }
.hero + .section { padding-top: var(--s2); }
.section.alt { background: var(--bg-alt); }
/* Headings and their intro lines are centered; longer text (lists, cards, answers) stays left-aligned
   inside a centered block, because centered multi-line text is harder to read. */
.section h2, .section-lead { text-align: center; }
.section-lead { color: var(--muted); margin-bottom: var(--s4); }

/* Example: before and after */
.pair { display: grid; gap: var(--s3); }
.report { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
          padding: var(--s2); display: flex; flex-direction: column; gap: var(--s2); }
.report img { border-radius: var(--radius-sm); border: 1px solid var(--line); width: 100%; aspect-ratio: 1 / 1; }
.report p { margin: 0; }
.tag { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.verdict { font-weight: 700; font-size: 1.15rem; padding: var(--s1) var(--s2); border-radius: var(--radius-sm); }
.verdict.warn { background: var(--warn-bg); color: var(--warn-ink); }
.verdict.ok { background: var(--ok-bg); color: var(--ok-ink); }
.check { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2); display: flex; flex-direction: column; gap: var(--s1); }
.check-head { display: flex; justify-content: space-between; font-weight: 700; }
.score small { font-weight: 500; }
.warn-ink { color: var(--warn-ink); } .ok-ink { color: var(--ok-ink); }
.bar { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; margin-bottom: var(--s1); }
.fill { display: block; height: 100%; border-radius: 3px; }
.fill.bad { background: var(--bad-ink); } .fill.good { background: var(--ok-ink); }
.w30 { width: 30%; } .w90 { width: 90%; }
.fix { background: var(--soft); border-radius: var(--radius-sm); padding: var(--s1) var(--s2); }
.bottom-line { background: var(--soft); border-radius: var(--radius-sm); padding: var(--s2); }
.bl-title { font-weight: 700; margin-bottom: var(--s1) !important; }

/* Lists, steps, cards */
.ticks { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: var(--s2); width: fit-content; max-width: 100%; }
.ticks li { position: relative; padding-left: var(--s4); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
                    background: var(--ok-bg); color: var(--ok-ink); font-weight: 700; font-size: 0.8rem;
                    display: flex; align-items: center; justify-content: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
       font-weight: 700; align-items: center; justify-content: center; margin-bottom: var(--s2); }
.grid4 { display: grid; gap: var(--s2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.card p { color: var(--muted); margin: 0; }
.two { display: grid; gap: var(--s6); }
.for, .not-for { padding: var(--s2); border-radius: var(--radius-sm); }
.two h2 { text-align: center; }
.for { background: var(--ok-bg); color: var(--ok-ink); }
.not-for { background: var(--card); border: 1px solid var(--line); color: var(--muted); }

/* Founder note */
.note { margin: 0 auto; text-align: center; }
.note blockquote { margin: 0 0 var(--s2); font-size: clamp(1.1rem, 2.8vw, 1.3rem); }
.note figcaption { color: var(--muted); font-weight: 600; }

/* Pricing */
.price { box-shadow: var(--shadow); }
.price .price-main { color: var(--ink); font-size: 1.35rem; font-weight: 700; margin-bottom: var(--s1); }
.price p { margin-bottom: var(--s3); }

/* FAQ */
.faq { display: grid; gap: var(--s1); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 var(--s2); }
.faq summary { cursor: pointer; font-weight: 600; padding: var(--s2) var(--s4) var(--s2) 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: var(--s2); font-size: 1.25rem; line-height: 1.2; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); }

/* Closing band */
.closing { background: #08635a; color: #ffffff; padding: var(--s8) 0; }
.closing h2 { color: #ffffff; margin-bottom: var(--s3); }

/* Footer */
.foot { padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-direction: column; gap: var(--s1); align-items: center; text-align: center; }
.foot nav { color: var(--muted); }
.small-brand { font-size: 1rem; }

/* 404 page */
.hold { max-width: 560px; margin: 0 auto; padding: var(--s8) var(--s2); text-align: center; }
.hold .brand { display: inline-block; margin-bottom: var(--s3); }

/* Wider screens */
@media (min-width: 640px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 880px) {
  .pair { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .grid4 { grid-template-columns: repeat(4, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  .hero { padding: var(--s6) 0 var(--s6); }
  .section { padding: var(--s8) 0; }
  .hero + .section { padding-top: var(--s3); }
}
@media (max-width: 380px) {
  .top-nav .link { display: none; }       /* keep the header on one line on the smallest phones */
}