/* ChildGuard landing – no web fonts, no external requests. */
:root {
  --paper: #EDF2EF;
  --paper-2: #E1E9E4;
  --ink: #17302A;
  --ink-soft: #46605A;
  --allow: #2E7A57;
  --block: #9E2A55;
  --rewrite: #9A6608;
  --ask: #2F5E8C;
  --line: #C5D3CC;
  --panel: #17302A;
  --panel-ink: #E4EFE9;
  --panel-soft: #9FB8AE;
  --sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Avenir Next Condensed", "Segoe UI Variable Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --measure: 36rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101C19;
    --paper-2: #16241F;
    --ink: #E2ECE7;
    --ink-soft: #A3B8AF;
    --allow: #6FCB9C;
    --block: #EE8DB2;
    --rewrite: #E5B65A;
    --ask: #8CB8E6;
    --line: #2B3D37;
    --panel: #0A1411;
    --panel-ink: #E2ECE7;
    --panel-soft: #8CA59B;
  }
}

* { 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(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
}
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ask); outline-offset: 3px; border-radius: 4px; }

main, .top, .foot { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* header */
.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem;
  padding: 1.25rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; text-decoration: none;
}
.brand .mark { width: 1.6em; height: 1.6em; color: var(--ink); }
.brand .mark .tick { stroke: var(--paper); }
.sections { display: flex; gap: 1.5rem; margin-right: auto; }
.sections a { text-decoration: none; color: var(--ink-soft); }
.sections a:hover { color: var(--ink); text-decoration: underline; }
.langs { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.langs a { display: block; padding: .2rem .5rem; border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
.langs a[aria-current] { background: var(--ink); color: var(--paper); }
.langs a:not([aria-current]):hover { background: var(--paper-2); color: var(--ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2rem, 7vw, 6rem) 0 clamp(3rem, 8vw, 7rem);
  border-top: 0;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; max-width: 17ch; text-wrap: balance; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); margin: 1.5rem 0 2rem; }
.button {
  display: inline-block; padding: .85rem 1.4rem; border-radius: .6rem;
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--allow); color: #fff; }
.status { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.status::before {
  content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem;
  border-radius: 50%; background: var(--allow); vertical-align: .08em;
}

/* the ticker: real resolver answers */
.ticker {
  margin: 0; background: var(--panel); color: var(--panel-ink);
  border-radius: 1.25rem; padding: 1.5rem 1.5rem 1.1rem;
}
.ticker ol { list-style: none; margin: 0; padding: 0; }
.ticker li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid color-mix(in srgb, var(--panel-ink) 12%, transparent);
  animation: arrive .45s ease-out both;
}
.ticker li:last-child { border-bottom: 0; }
.ticker .q { font: 1rem/1.3 var(--mono); }
.ticker .a { font-size: .95rem; text-align: right; display: inline-flex; align-items: center; gap: .5rem; }
.ticker .a::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; flex: none; }
.v-allow .a { color: #8FE0B6; } .v-allow .a::before { background: #8FE0B6; }
.v-block .a { color: #F5A3C3; } .v-block .a::before { background: #F5A3C3; border-radius: 2px; }
.v-rewrite .a { color: #F0C870; } .v-rewrite .a::before { background: #F0C870; }
.v-ask .a { color: #A8CBF0; } .v-ask .a::before { background: transparent; box-shadow: inset 0 0 0 2px #A8CBF0; }
.ticker figcaption { margin-top: .75rem; font-size: .8rem; color: var(--panel-soft); }
.ticker li:nth-child(1) { animation-delay: .2s; }
.ticker li:nth-child(2) { animation-delay: .75s; }
.ticker li:nth-child(3) { animation-delay: 1.3s; }
.ticker li:nth-child(4) { animation-delay: 1.85s; }
.ticker li:nth-child(5) { animation-delay: 2.4s; }
.ticker li:nth-child(6) { animation-delay: 2.95s; }
@keyframes arrive { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ticker li { animation: none; } }

/* sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.75rem; max-width: 20ch; text-wrap: balance; }
.note { max-width: var(--measure); color: var(--ink-soft); }

.steps {
  list-style: none; counter-reset: step; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%;
  border: 2px solid var(--ink); font: 700 1.1rem/1 var(--display);
}
.steps h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.more-h { font-size: 1.25rem; margin: 3.5rem 0 1rem; }
.more { margin: 0; padding-left: 1.2rem; columns: 2 18rem; column-gap: 3rem; }
.more li { break-inside: avoid; margin-bottom: .6rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
th, td { text-align: left; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
tbody th { font-weight: 600; width: 32%; }
td.neg { color: var(--block); font-weight: 600; }

.data dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; max-width: 56rem; }
.data dt { font: 700 1.15rem/1.2 var(--display); margin-bottom: .35rem; }
.data dd { margin: 0; color: var(--ink-soft); }

.price p { font-size: 1.25rem; max-width: var(--measure); margin: 0; }

.faq details { border-bottom: 1px solid var(--line); max-width: 48rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1.1rem; }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-soft); max-width: var(--measure); }

/* documents */
.doc { padding: 2rem 0 4rem; }
.doc > * { max-width: 44rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: none; margin: 1.5rem 0 1rem; }
.doc h2 { font-size: 1.35rem; margin: 2.25rem 0 .5rem; max-width: none; }
.doc p { max-width: var(--measure); }
.draft { padding: .75rem 1rem; border-left: 4px solid var(--rewrite); background: var(--paper-2); }
.lic { min-width: 0; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem;
}
.foot p { margin: 0; }
.foot-links { display: flex; gap: 1.25rem; }

/* language picker at / */
.root main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 2rem; }
.root .brand { font-size: 2rem; gap: .75rem; }
.langs.big { font-size: 1.15rem; gap: .5rem; }
.langs.big a { padding: .6rem 1rem; border: 1px solid var(--line); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .data dl { grid-template-columns: 1fr; }
  .sections { display: none; }
}
@media (max-width: 30rem) {
  .ticker .q { font-size: .9rem; }
  .ticker li { flex-wrap: wrap; }
}
