/* Site Switch Guide: Brand West house style (tokens, type and hard-shadow "brut" cards taken from brandwest.co.uk). */
:root { --ink:#121212; --canvas:#F2F1EC; --lime:#C4F000; --sky:#52C3E6; --cobalt:#2B52E1; --safety:#F0821D; --muted:#4a4a4a; --good:#8FE35C; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1.0625rem/1.55 'Space Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E"); }
a { color: inherit; } h1, h2, h3, h4, p, ul, ol { margin: 0; } ul, ol { padding: 0; list-style: none; } img { max-width: 100%; height: auto; display: block; }
main, header, footer, section { position: relative; z-index: 1; }
.display { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .92; text-transform: uppercase; }
.mono { font: 700 .75rem 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: -9999px; top: 0; z-index: 100; background: var(--sky); padding: .75rem 1.25rem; font-weight: 700; border: 2px solid var(--ink); }
.skip:focus { left: .5rem; top: .5rem; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.dark a:focus-visible, .dark button:focus-visible { outline-color: var(--sky); }
::selection { background: var(--sky); }

header { position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--ink); background: rgba(242,241,236,.97); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; } .logo img { width: 2.5rem; height: 2.5rem; } .logo span { font-size: 1.5rem; }
.tag { display: inline-block; border: 2px solid var(--ink); background: var(--sky); padding: .15rem .5rem; }
.meter { height: 6px; background: var(--ink); } .meter i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .5s cubic-bezier(.2,.9,.3,1); }

.brut { --o: 4px; border: 2px solid var(--ink); box-shadow: var(--o) var(--o) 0 var(--ink); background: var(--canvas); color: var(--ink); }
.btn { display: inline-block; font: inherit; cursor: pointer; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--sky); color: var(--ink); padding: .9rem 1.4rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); } .btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--canvas); } .btn[disabled] { opacity: .5; pointer-events: none; }
.dark .btn { box-shadow: 4px 4px 0 var(--sky); border-color: var(--sky); } .dark .btn:hover { box-shadow: 6px 6px 0 var(--sky); }
.link { background: none; border: 0; padding: .25rem 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

section.screen { border-bottom: 2px solid var(--ink); padding: 3rem 0 4rem; }
@media (min-width: 640px) { section.screen { padding: 4.5rem 0 5.5rem; } }
.dark { background: var(--ink); color: var(--canvas); }
h1.display { font-size: clamp(2.75rem, 8vw, 5.5rem); margin-top: .75rem; max-width: 14ch; }
h2.display { font-size: clamp(2rem, 5.5vw, 3.4rem); margin-top: .6rem; }
.lede { max-width: 38rem; margin-top: 1.25rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

.steps3 { display: grid; gap: 1.25rem; margin-top: 2.5rem; counter-reset: s; }
@media (min-width: 700px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { counter-increment: s; padding-top: .9rem; border-top: 4px solid var(--c, var(--lime)); }
.steps3 li::before { content: '0' counter(s); display: block; font: 400 2.5rem/1 'Bebas Neue', Impact, sans-serif; color: var(--c, var(--lime)); }
.steps3 li:nth-child(2) { --c: #8FE35C; } .steps3 li:nth-child(3) { --c: var(--sky); }
.steps3 b { display: block; font-size: 1.1rem; } .steps3 span { opacity: .85; }
.reassure { margin-top: 2.5rem; display: grid; gap: .6rem; max-width: 38rem; } .reassure li { padding-left: 1.4rem; position: relative; }
.reassure li::before { content: '■'; position: absolute; left: 0; color: var(--sky); font-size: .7rem; top: .35rem; }

.field { display: grid; gap: .5rem; margin-top: 1.75rem; max-width: 30rem; }
.field label { font-weight: 700; } .field input, #askIn { font: inherit; border: 2px solid var(--ink); background: #fff; padding: .85rem 1rem; width: 100%; box-shadow: 4px 4px 0 var(--ink); }
.err { margin-top: 1rem; padding: .75rem 1rem; border: 2px solid var(--ink); background: var(--safety); font-weight: 700; max-width: 30rem; }

.chain { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chain span { font: 700 .72rem 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--ink); padding: .25rem .5rem; background: #fff; opacity: .4; transition: opacity .3s, background .3s; }
.chain span.on { opacity: 1; background: var(--lime); }

.found { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 700px) { .found { grid-template-columns: repeat(2, 1fr); } }
.card { padding: 1.25rem 1.25rem 1.4rem; } .card h3 { font-size: 1.2rem; margin-top: .4rem; } .card p { margin-top: .4rem; color: var(--muted); }
.card .val { font-weight: 700; font-size: 1.25rem; color: var(--ink); word-break: break-word; margin-top: .4rem; display: block; }
.card.warn { background: #fff3e4; border-left-width: 10px; border-left-color: var(--safety); } .card.ok { border-left-width: 10px; border-left-color: var(--good); }
.what { font: inherit; background: var(--ink); color: var(--canvas); border: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-weight: 700; cursor: pointer; margin-left: .35rem; vertical-align: middle; }
.def { margin-top: .6rem; padding: .6rem .8rem; background: var(--lime); border: 2px solid var(--ink); color: var(--ink); font-size: .95rem; }

.q-count { margin-top: 0; } .q-title { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 22ch; margin-top: .75rem; }
.why { margin-top: 1rem; max-width: 36rem; color: var(--muted); }
.opts { display: grid; gap: 1rem; margin-top: 2rem; max-width: 36rem; }
.opt { text-align: left; font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer; padding: 1.1rem 1.25rem; transition: transform 140ms ease, box-shadow 140ms ease, background 140ms; }
.opt:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: var(--sky); }
.opt[aria-pressed="true"] { background: var(--lime); }

.banner { padding: 1rem 1.25rem; font-weight: 700; font-size: 1.15rem; margin-top: 1.5rem; max-width: 40rem; background: var(--sky); }
.banner.care { background: var(--safety); }
.facts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; } .facts .tag { background: #fff; }
.phase { margin-top: 1.75rem; } .phase-head { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 2px solid var(--ink); }
.phase-head .n { font: 400 3rem/1 'Bebas Neue', Impact, sans-serif; color: var(--cobalt); } .phase-head h3 { font-size: 1.35rem; } .phase-head .meta { margin-left: auto; text-align: right; }
.phase p.intro { padding: 1rem 1.25rem 0; color: var(--muted); }
.todo { padding: .5rem 1.25rem 1.25rem; display: grid; gap: .1rem; }
.todo li { display: grid; grid-template-columns: auto 1fr; gap: .85rem; padding: .85rem 0; border-bottom: 1px dashed #bbb; } .todo li:last-child { border-bottom: 0; }
.todo input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; accent-color: var(--ink); }
.todo label { cursor: pointer; } .todo input:checked + label { opacity: .5; text-decoration: line-through; }
.who { display: inline-block; margin-right: .6rem; font: 700 .65rem 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; padding: .1rem .4rem; border: 2px solid var(--ink); vertical-align: .1em; background: #fff; }
.who.you { background: var(--lime); } .who.us { background: var(--sky); }
details.brut { margin-top: 1.5rem; padding: 0; } details.brut summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; } details.brut summary::-webkit-details-marker { display: none; }
details.brut summary::after { content: '+'; float: right; font-size: 1.4rem; line-height: 1; } details.brut[open] summary::after { content: '\2212'; }
details.brut > div { padding: 0 1.25rem 1.25rem; }
table.rec { width: 100%; border-collapse: collapse; font: 500 .85rem 'JetBrains Mono', monospace; } table.rec th, table.rec td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid #ccc; vertical-align: top; word-break: break-all; } table.rec th { text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; }
details.rollback { margin-top: 1.75rem; background: #fff; border-left-width: 10px; border-left-color: var(--cobalt); }
.rollback ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .4rem; margin-top: .75rem; }
.rollback .why { margin-top: 0; }
textarea.msg { width: 100%; min-height: 11rem; font: 400 .95rem/1.5 'Space Grotesk', sans-serif; border: 2px solid var(--ink); padding: .75rem; background: #fff; resize: vertical; }
.back { margin-bottom: 1.5rem; }

.ask-btn { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; padding: .8rem 1.1rem; font: inherit; font-weight: 700; text-transform: uppercase; cursor: pointer; background: var(--lime); }
.drawer { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; width: min(26rem, calc(100vw - 2rem)); max-height: min(36rem, calc(100svh - 2rem)); display: flex; flex-direction: column; --o: 6px; }
.drawer[hidden], .ask-btn[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; background: var(--ink); color: var(--canvas); } .x { background: none; border: 0; color: inherit; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.msgs { overflow-y: auto; padding: 1rem; display: grid; gap: .75rem; flex: 1; min-height: 8rem; }
.m { padding: .6rem .8rem; border: 2px solid var(--ink); max-width: 90%; white-space: pre-wrap; } .m.u { justify-self: end; background: var(--sky); } .m.a { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .5rem; } .chips button { font: 500 .8rem inherit; font-family: inherit; border: 2px solid var(--ink); background: var(--canvas); padding: .25rem .6rem; cursor: pointer; } .chips button:hover { background: var(--lime); }
#askForm { display: flex; gap: .5rem; padding: .75rem 1rem; border-top: 2px solid var(--ink); } #askForm .btn { padding: .6rem 1rem; box-shadow: 3px 3px 0 var(--ink); } #askIn { padding: .6rem .75rem; box-shadow: none; }
.fine { padding: 0 1rem .75rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .drawer { right: .5rem; left: .5rem; bottom: .5rem; width: auto; } .phase-head { flex-wrap: wrap; } .phase-head .meta { margin-left: 0; text-align: left; } }
footer { padding: 2.5rem 0 5rem; font-size: .9rem; } footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }

@media print {
  body::before, header, .ask-btn, .drawer, .actions, .back, footer, .noprint { display: none !important; }
  body { background: #fff; font-size: 11pt; } section.screen { border: 0; padding: 0; } .dark { background: #fff; color: #000; }
  .brut { box-shadow: none; } .phase { break-inside: avoid; } details.brut > * { display: block; } details.brut:not([open]) > div { display: block; }
}

/* fixes from the first phone walkthrough */
main { padding-bottom: 4.5rem; }
.todo li { min-width: 0; } .todo label { min-width: 0; overflow-wrap: anywhere; }
.card, .card .val, .phase { min-width: 0; overflow-wrap: anywhere; }

.todo { padding-bottom: .25rem; }
@media (max-width: 520px) { .ask-btn { padding: .55rem .85rem; font-size: .8rem; } }

.who { display: block; width: fit-content; margin: 0 0 .35rem; vertical-align: baseline; }
h1.display { max-width: 18ch; }

details.keep { border-left-width: 10px; border-left-color: var(--lime); background: #fff; }
details.brut summary { line-height: 1.35; padding-right: 3rem; position: relative; } details.brut summary::after { position: absolute; right: 1.25rem; top: .8rem; float: none; }
table.rec th, table.rec td { word-break: normal; overflow-wrap: anywhere; } table.rec td:nth-child(-n+2), table.rec th:nth-child(-n+2) { white-space: nowrap; padding-right: .9rem; }
.rollback summary { padding-right: 3rem; }
