/* Amazing Choices: friendly flowchart theme */
:root {
  --mint: #dff5ec;
  --mint-deep: #b9e8d5;
  --mint-ink: rgb(18, 104, 74);
  --lilac: #e7e1fb;
  --lilac-deep: #cfc4f6;
  --lilac-ink: #4b37b0;
  --peach: #ffe3d3;
  --peach-deep: #ffc9ab;
  --peach-ink: #a3401b;
  --ink: rgb(29, 27, 58);
  --ink-soft: #46436b;
  --paper: #fffdfb;
  --line: rgba(29, 27, 58, .16);
  --r: 24px;
  --shadow: 0 1px 0 rgba(29,27,58,.06), 0 14px 34px -18px rgba(29,27,58,.35);
  --head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 8% -6%, var(--mint) 0, transparent 62%),
    radial-gradient(900px 520px at 100.0% 8%, var(--lilac) 0, transparent 60%),
    radial-gradient(900px 700px at 40% 110%, var(--peach) 0, transparent 60%),
    var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100.0%; height: auto; display: block; }
a { color: var(--lilac-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac-ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { font-weight: 800; }
small { font-size: .875rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 1rem; color: #fff; }
.wrap { width: min(var(--wrap), 100.0% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100.0% - 2.5rem); margin-inline: auto; }

/* ---------- Centred pill header with overlapping round logo badge ---------- */
.pillbar-shell { position: sticky; top: 10px; z-index: 50; padding: 18px .75rem 0; }
.pillbar {
  width: fit-content; max-width: calc(100.0% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: .6rem;
  padding: .42rem .45rem .42rem 3.4rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  position: relative; translate: 16px 0;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.18rem; white-space: nowrap; }
.brand > img { width: 38px; height: 38px; }
.brand .badge {
  position: absolute; left: -32px; top: 50%; translate: 0 -50%;
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--ink); box-shadow: 0 0 0 5px rgba(255,255,255,.75), var(--shadow);
  transition: transform .2s ease;
}
.brand .badge img { width: 44px; height: 44px; }
.brand:hover .badge { transform: rotate(-8deg); }
.brand:hover { color: var(--lilac-ink); }
.mainnav { margin-left: .6rem; padding-left: .6rem; border-left: 1px solid var(--line); }
.mainnav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.mainnav li { margin: 0; }
.mainnav a {
  display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.mainnav a:hover { background: var(--mint); }
.mainnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn {
  display: none; margin-left: .3rem; align-items: center; gap: .45rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: .55rem 1rem; font: 800 .95rem var(--body); cursor: pointer;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-btn .bars::before { top: 0; } .menu-btn .bars span { top: 5px; } .menu-btn .bars::after { bottom: 0; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .js .mainnav {
    display: none; position: absolute; left: 50%; translate: -50% 0; top: calc(100.0% + 12px);
    width: max(100.0%, 260px); margin: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: .6rem;
  }
  .js .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; }
  .mainnav a { padding: .75rem 1rem; font-size: 1rem; }
  html:not(.js) .pillbar { flex-wrap: wrap; border-radius: var(--r); }
  html:not(.js) .brand .badge { top: 28px; }
  html:not(.js) .mainnav { width: 100.0%; margin: 0; padding: 0; border: 0; }
  html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 480px) {
  .pillbar { padding-left: 2.7rem; gap: .4rem; translate: 12px 0; max-width: calc(100.0% - 24px); }
  .pillbar .brand { font-size: 1rem; }
  .brand .badge { width: 56px; height: 56px; left: -24px; }
  .brand .badge img { width: 34px; height: 34px; }
  .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: .65rem .8rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 800 1rem var(--body); text-decoration: none; border-radius: 999px;
  padding: .85rem 1.35rem; border: 2px solid var(--ink); cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 0 -1px var(--lilac-deep); }
.btn-ink:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 -1px var(--lilac-deep); }
.btn-soft { background: #fff; color: var(--ink); }
.btn-soft:hover { background: var(--mint); color: var(--ink); }
.btn .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-deep); flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Hero: centred heading over a mini flowchart ---------- */
.hero { padding: clamp(2.8rem, 6vw, 4.8rem) 0 2rem; text-align: center; }
.hero-head { width: min(880px, 100.0% - 2.5rem); }
.hero-head .dek { margin-inline: auto; }
.dek { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.byline { font-size: .92rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero .byline, .page-hero .byline { justify-content: center; }
.minichart { margin-block: clamp(1.6rem, 4vw, 2.6rem) 0; }
.start-node { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.start-node img {
  width: clamp(150px, 18vw, 200px); aspect-ratio: 1; object-fit: cover; object-position: 50% 40%;
  border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--ink), var(--shadow);
}
.start-q {
  margin-top: -1.2rem; position: relative; background: var(--ink); color: #fff;
  font: 700 1.12rem var(--head); line-height: 1.25; padding: .5rem 1.15rem; border-radius: 999px;
}
.branches { width: 100.0%; height: clamp(70px, 9vw, 100px); margin-top: -.2rem; overflow: visible; }
.branches path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 1 8; stroke-linecap: round; opacity: .75; }
.ends { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; }
.ends > li { margin: 0; padding-inline: clamp(.4rem, 1.4vw, 1.1rem); }
.end a {
  display: block; height: 100.0%; position: relative; text-decoration: none; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: 6px 6px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.end a::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--ink); border: 3px solid var(--paper);
}
.end a:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.end.mint a { background: var(--mint); } .end.lilac a { background: var(--lilac); } .end.peach a { background: var(--peach); }
.end strong { display: block; font: 800 1.35rem var(--head); line-height: 1.2; }
.end span { display: block; margin-top: .3rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.hero-act { margin-top: clamp(2rem, 4vw, 2.8rem); }
.hero-act .btn-row { justify-content: center; }
.hero-act .disclose { margin: 1.1rem auto 0; }
.disclose {
  font-size: .92rem; background: #fff; border: 1px dashed var(--ink-soft); border-radius: 16px;
  padding: .7rem 1rem; color: var(--ink-soft); max-width: 38em;
}
.disclose strong { color: var(--ink); }

/* ---------- Flow strip with SVG connectors ---------- */
.flowstrip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.flowstrip li { margin: 0; position: relative; z-index: 1; }
.connectors { position: absolute; inset: 0; width: 100.0%; height: 100.0%; pointer-events: none; z-index: 0; }
.connectors path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 1 8; stroke-linecap: round; opacity: .7; }
.node {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r);
  padding: 1.3rem 1.4rem; box-shadow: 6px 6px 0 var(--ink);
}
.node h3 { margin-bottom: .35rem; }
.node p:last-child { margin-bottom: 0; }
.node.mint { background: var(--mint); } .node.lilac { background: var(--lilac); } .node.peach { background: var(--peach); }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { max-width: 46em; margin-bottom: 1.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.band { background: rgba(255,255,255,.72); border-block: 1px solid var(--line); }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.cite { font-size: .85rem; color: var(--ink-soft); }
.cite a { color: var(--ink-soft); }

/* ---------- Decision tree (signature) ---------- */
.tree-shell {
  background: #fff; border: 2px solid var(--ink); border-radius: 32px; padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: 10px 10px 0 var(--lilac-deep); position: relative;
}
.tree-static ul { list-style: none; padding-left: 1.4rem; border-left: 2px dashed var(--line); margin: .6rem 0 .6rem .4rem; }
.tree-static > ul { border-left: 0; padding-left: 0; margin-left: 0; }
.tree-static li { margin: .55rem 0; }
.tree-static .q { font: 700 1.15rem var(--head); display: block; }
.tree-static .ans {
  display: inline-block; font-weight: 800; font-size: .85rem; background: var(--lilac); color: var(--lilac-ink);
  border-radius: 999px; padding: .1rem .7rem; margin-right: .4rem;
}
.result { border-radius: 20px; padding: 1rem 1.2rem; border: 2px solid var(--ink); margin-top: .4rem; }
.result p:last-child { margin-bottom: 0; }
.result .verdict { display: inline-block; font: 800 .78rem var(--body); text-transform: uppercase; letter-spacing: .07em; border-radius: 999px; padding: .2rem .7rem; margin-bottom: .45rem; background: #fff; border: 1.5px solid var(--ink); }
.result.chrome { background: var(--mint); }
.result.free { background: var(--lilac); }
.result.plus { background: var(--peach); }
.result.neither { background: #f3f1ee; }

.tree-live[hidden] { display: none; }
.trail { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.2rem; align-items: center; }
.trail li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.trail li + li::before { content: ""; width: 18px; height: 2px; background: var(--ink); opacity: .4; border-radius: 2px; }
.trail button {
  font: 700 .85rem var(--body); background: var(--mint); border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: .25rem .75rem; cursor: pointer;
}
.trail button:hover { background: var(--mint-deep); }
.trail .here { font: 800 .85rem var(--body); background: var(--ink); color: #fff; border-radius: 999px; padding: .3rem .8rem; }
.live-node { animation: pop .28s ease; }
.live-node .qtext { font: 800 clamp(1.4rem, 3vw, 2rem) var(--head); margin-bottom: .4rem; line-height: 1.15; }
.live-node .hint { color: var(--ink-soft); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; margin: 1.1rem 0 0; }
.choice {
  text-align: left; font: 700 1rem var(--body); color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 20px; padding: .9rem 1.1rem; cursor: pointer;
  display: flex; align-items: center; gap: .7rem; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.choice:hover { background: var(--lilac); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.choice:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.choice .yn { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 .8rem var(--body); background: var(--mint); border: 1.5px solid var(--ink); }
.choice.no .yn { background: var(--peach); }
.tree-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.linkish { background: none; border: 0; padding: .3rem 0; font: 800 .95rem var(--body); color: var(--lilac-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------- Annoyance cards ---------- */
.annoy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.annoy { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1.4rem 1.5rem; position: relative; }
.annoy .tagrow { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.pill { display: inline-block; font: 800 .75rem var(--body); text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: .2rem .65rem; border: 1.5px solid var(--ink); }
.pill.chrome { background: var(--mint); } .pill.free { background: var(--lilac); } .pill.plus { background: var(--peach); } .pill.neither { background: #f3f1ee; }
.annoy dl { margin: 0; }
.annoy dt { font-weight: 800; margin-top: .6rem; }
.annoy dd { margin: 0 0 .2rem; color: var(--ink-soft); }

/* ---------- Outcome map ---------- */
.outcomes { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.outcomes .node { position: relative; z-index: 1; }

/* ---------- Fact panel ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 0 0 1.2rem; padding: 0; }
.fact { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 1rem 1.1rem; margin: 0; }
.fact dt { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.fact dd { margin: .2rem 0 0; font: 700 1.25rem var(--head); line-height: 1.25; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 1rem; }
.steps > li { counter-increment: s; position: relative; padding: 1rem 1.2rem 1rem 4.2rem; background: #fff; border: 2px solid var(--ink); border-radius: 22px; margin: 0; }
.steps > li::before {
  content: counter(s); position: absolute; left: 1rem; top: .95rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--lilac); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 1.05rem var(--head);
}

/* ---------- Compare (free vs plus) ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.compare .col { border: 2px solid var(--ink); border-radius: var(--r); padding: 1.4rem; background: #fff; }
.compare .col h3 { margin-bottom: .2rem; }
.compare .col .sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: .8rem; }
.compare .col ul { padding-left: 1.1rem; }
.compare .col.trial { background: var(--mint); } .compare .col.free { background: var(--lilac); } .compare .col.plus { background: var(--peach); }
.tablewrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100.0%; min-width: 520px; font-size: .98rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--lilac); font-family: var(--head); font-size: 1.05rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 800; }

/* ---------- Photo figures ---------- */
.photo { margin: 0 0 1.6rem; }
.photo img { border-radius: var(--r); border: 5px solid #fff; box-shadow: var(--shadow); width: 100.0%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo figcaption { font-size: .86rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- Page hero (subpages): centred, with a small branching mark ---------- */
.page-hero { padding: clamp(2.4rem, 5vw, 4rem) 0 1.5rem; text-align: center; }
.page-hero .wrap { width: min(880px, 100.0% - 2.5rem); }
.page-hero .dek { max-width: 40em; margin-inline: auto; }
.page-hero .wrap::after {
  content: ""; display: block; width: 132px; height: 50px; margin: 1.2rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 50'%3E%3Cg fill='none' stroke='rgb(29,27,58)' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='1 6' opacity='.75'%3E%3Cpath d='M66 10C66 30 18 22 18 38'/%3E%3Cpath d='M66 10V38'/%3E%3Cpath d='M66 10C66 30 114 22 114 38'/%3E%3C/g%3E%3Ccircle cx='66' cy='7' r='5' fill='rgb(29,27,58)'/%3E%3Cg stroke='rgb(29,27,58)' stroke-width='2'%3E%3Ccircle cx='18' cy='42' r='6' fill='%23dff5ec'/%3E%3Ccircle cx='66' cy='42' r='6' fill='%23e7e1fb'/%3E%3Ccircle cx='114' cy='42' r='6' fill='%23ffe3d3'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.aside-node { position: sticky; top: 110px; }
.aside-node .node + .node { margin-top: 1.2rem; }
.aside-node ul { padding-left: 1.1rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: .2rem 1.2rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font: 700 1.12rem var(--head); padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.4rem var(--body); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p, .faq details > ul { color: var(--ink-soft); }

/* ---------- CTA block ---------- */
.cta-node {
  background: var(--ink); color: #fff; border-radius: 36px; padding: clamp(1.6rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.cta-node h2 { color: #fff; }
.cta-node p { color: #dcd9f3; }
.cta-node .btn-ink { background: var(--mint); color: var(--ink); border-color: var(--mint); box-shadow: 0 6px 0 -1px #6f62c9; }
.cta-node .btn-ink:hover { color: var(--ink); }
.cta-node .disclose { background: transparent; border-color: #8f8bc0; color: #dcd9f3; }
.cta-node .disclose strong { color: #fff; }
.cta-node a:not(.btn) { color: #fff; }

/* ---------- Footer ---------- */
.site-foot { margin-top: 3rem; padding: 3rem 0 2rem; background: #fff; border-top: 2px solid var(--ink); border-radius: 40px 40px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-foot h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li { margin-bottom: .35rem; }
.site-foot a { color: var(--ink); }
.site-foot .fine { font-size: .88rem; color: var(--ink-soft); }
.foot-base { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Misc ---------- */
.note { background: var(--peach); border: 2px solid var(--ink); border-radius: 20px; padding: 1rem 1.2rem; }
.note.mint { background: var(--mint); }
.note.lilac { background: var(--lilac); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.err-hero { text-align: center; padding: 5rem 0 3rem; }
.err-hero .btn-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cta-node, .split { grid-template-columns: minmax(0, 1fr); }
  .aside-node { position: static; }
  .compare { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .flowstrip { grid-template-columns: 1fr; gap: 1.4rem; }
  .annoy-grid, .outcomes { grid-template-columns: 1fr; gap: 1.3rem; }
  .connectors { display: none; }
  .branches { display: none; }
  .ends { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; padding-top: 1.6rem; position: relative; max-width: 460px; margin-inline: auto; }
  .ends::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 1.5rem; border-left: 3px dotted var(--ink); opacity: .6; }
  .end a { box-shadow: 4px 4px 0 var(--ink); }
  .foot-grid { grid-template-columns: 1fr; }
  .node { box-shadow: 4px 4px 0 var(--ink); }
  .tree-shell { box-shadow: 6px 6px 0 var(--lilac-deep); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.tree-static .hint { display: block; color: var(--ink-soft); font-size: .95rem; margin-bottom: .2rem; }
.tree-shell { scroll-margin-top: 110px; }
.photo.wide img { aspect-ratio: 21 / 8; }
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo.wide img { aspect-ratio: 16 / 9; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Advertorial bar (top of every page) ---------- */
.adbar { background: var(--ink); color: #f1effa; font-size: .85rem; line-height: 1.45; }
.adbar p { max-width: 1180px; margin: 0 auto; padding: .5rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .7rem; text-align: center; }
.adbar__tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--peach); color: var(--peach-ink); padding: .16rem .6rem; border-radius: 999px; white-space: nowrap; }
.adbar a { color: #fff; font-weight: 700; }
.adbar a:hover { color: var(--peach); }
