/* The Work-Life Group — demo site. Colours measured from the brand guide (navy #2a2a66, sage #8aa266); type pairs
   the wordmark's humanist sans (Open Sans) with a warm serif for headlines (Newsreader). One deliberate world: light. */
:root {
  --navy: #2a2a66;
  --navy-deep: #1c1c4a;
  --sage: #8aa266;
  --sage-ink: #516537;   /* sage for small text: 6:1 on white */
  --sage-wash: #f1f4ea;
  --paper: #ffffff;
  --ink: #202245;
  --muted: #53577a;
  --line: #dde2d2;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --max: 1120px;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* the demo band — on every page, so nobody takes this for the live site */
.demo-band { background: var(--navy-deep); color: #e7e8f4; font-size: .82rem; text-align: center; padding: 7px 16px; }
.demo-band strong { color: #fff; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand .word { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; line-height: 1.1; }
.brand .word small { display: block; font-weight: 400; letter-spacing: .14em; color: var(--sage-ink); font-size: .68rem; margin-top: 3px; }
nav.main { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.main a { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink); white-space: nowrap; }
.btn { white-space: nowrap; }
/* A row of buttons wraps. Two of them beside each other on the Team page were wider than a phone, and the page
   scrolled sideways by up to 185px - found by look.py on its first run. Inside a card a button may break its words
   rather than run past the edge. */
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.card .btn { white-space: normal; max-width: 100%; text-align: center; }
body { overflow-x: clip; }
nav.main a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--sage); }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: .93rem; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; font-family: var(--sans); }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.line { background: transparent; color: var(--navy); }
.btn.line:hover { background: var(--sage-wash); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--sans); color: var(--navy); min-height: 40px; }

/* type */
.eyebrow { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; color: var(--sage-ink); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.12; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; }
p { max-width: 68ch; }
.tagline { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); font-size: .84rem; }

section { padding: clamp(56px, 8vw, 96px) 0; }
section.wash { background: var(--sage-wash); }
section.navy { background: var(--navy); color: #eceef8; }
section.navy h2, section.navy h3 { color: #fff; }
section.navy .eyebrow { color: #c5d3a8; }

/* the hero */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* cards and grids */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
/* Four service cards: two by two on mid widths, never three plus one alone (10-16). */
@media (min-width: 560px) and (max-width: 1100px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .pt { width: 28px; height: 3px; background: var(--sage); margin-bottom: 16px; border-radius: 2px; }
.offer-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.offer-list li { border-left: 3px solid var(--sage); padding: 4px 0 4px 16px; font-weight: 600; color: var(--navy); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.values { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 24px; }
.values div { border-top: 3px solid var(--sage); padding: 12px 6px 10px; border-radius: 0 0 8px 8px; transition: transform .25s ease, border-color .25s ease, background-color .25s ease; }
.values b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; transition: color .25s ease; }
.values p { margin: 6px 0 0; font-size: .95rem; color: var(--muted); transition: color .25s ease; }
/* On the navy section the names were navy on navy - invisible - and the paragraphs the grey meant for a white page.
   Readable at rest first (a phone has no hover), then, under the pointer, the column grows a touch and lights up. */
section.navy .values b { color: #fff; }
section.navy .values p { color: #c9cce6; }
section.navy .values div:hover { transform: scale(1.04); border-top-color: #e9f2c9; background: rgba(255, 255, 255, .04); position: relative; z-index: 1; }
section.navy .values div:hover b { color: #c5d3a8; }
section.navy .values div:hover p { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .values div, .values b, .values p { transition: none; }
  section.navy .values div:hover { transform: none; }
}

/* placeholders are honest: dashed, labelled, never passed off as real */
.placeholder { border: 2px dashed #b9c29f; background: #fbfcf8; border-radius: var(--radius); padding: 22px; color: var(--muted); }
.placeholder .tag, .card .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); background: var(--sage-wash); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.next-phase { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.next-phase .tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }

/* the team */
.person { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--sage-wash); display: grid; place-items: center; font-family: var(--serif); font-size: 2.3rem; color: var(--navy); border: 3px solid var(--sage); }

/* images, testimonials and booking */
.photo { width: 100%; height: auto; display: block; }
.photo.rounded { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(42, 42, 102, .12); }
.photo.portrait { aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; }
.photo.headshot { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: center 28%; border: 4px solid var(--sage); }
.photo.logo-tile { width: 140px; height: 140px; object-fit: contain; background: #fff; margin-bottom: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.media-split .photo.rounded { margin-top: 12px; }
.photo-band { padding: 0; height: clamp(180px, 28vw, 360px); overflow: hidden; }
.photo-band .band { height: 100%; object-fit: cover; object-position: center 60%; }
.testimonials { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 420px; }
.testimonials iframe { display: block; width: 1px; min-width: 100%; min-height: 400px; border: 0; }
.contact-split { align-items: start; }
.booking { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 700px; }

/* ask */
.ask { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(42, 42, 102, .08); }
.ask form { display: flex; gap: 10px; flex-wrap: wrap; }
.ask input { flex: 1 1 280px; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.ask .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask .chips button { background: var(--sage-wash); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 6px 12px; font: 600 .85rem var(--sans); cursor: pointer; }
.answers { display: grid; gap: 14px; margin-top: 18px; }
.answers .q { font-weight: 700; color: var(--navy); }
.answers .a { background: var(--sage-wash); border-radius: 8px; padding: 14px 16px; }
.answers .a p { margin: 0 0 8px; }
.answers .src { font-size: .82rem; color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); }

/* The contact manager (CRM) at `/crm`, hers alone: a list you can filter and search, and the record you opened beside it. */
.crm { margin-top: 26px; }
.crm-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.crm-bar input { font: inherit; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; flex: 1 1 220px; max-width: 320px; background: #fff; color: var(--ink); }
.crm-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.crm-filters button { background: var(--paper); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--sans); cursor: pointer; }
.crm-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.crm-screen { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.crm-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.crm-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.crm-table th { text-align: left; font: 700 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-ink); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.crm-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.crm-table tbody tr:last-child td { border-bottom: 0; }
.crm-table tr[hidden] { display: none; }
/* A five-column table ran 104px past the right edge of a phone (look.py, first run on the sketch). Below 900px the
   list and the detail pane stack; the table keeps a frame of its own as a backstop; on a phone the two columns that
   the detail pane repeats - where it came in through, and the engagement - are hidden from the table. */
.crm-list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) {
  .crm-screen { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .crm-table th:nth-child(3), .crm-table td:nth-child(3), .crm-table th:nth-child(4), .crm-table td:nth-child(4) { display: none; }
  .crm-table th, .crm-table td { padding: 10px 10px; }
  .crm-table { table-layout: fixed; width: 100%; }
  .crm-table td, .crm-table th { overflow-wrap: anywhere; }
}
.crm-table tr.on td { background: var(--sage-wash); }
.crm-open { background: none; border: 0; padding: 0; font: 700 .95rem var(--sans); color: var(--navy); cursor: pointer; text-align: left; }
.crm-open:hover { text-decoration: underline; }
.crm-stage { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); background: var(--sage-wash); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.crm-detail { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.crm-detail .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); background: var(--sage-wash); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.crm-detail h3 { margin: 0 0 8px; }
.crm-detail dl { margin: 16px 0 0; display: grid; gap: 12px; }
.crm-detail dt { font: 700 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-ink); }
.crm-detail dd { margin: 3px 0 0; color: var(--muted); font-size: .95rem; }
.crm-detail ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .crm-screen { grid-template-columns: 1fr; } .crm-detail { position: static; } }

/* care and improvements: the box where she describes what she wants different */
.care-box { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.care-box textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; resize: vertical; }

/* footer */
footer { background: var(--navy-deep); color: #d9dbee; padding: 56px 0 28px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer a { color: #fff; }
footer h3 { color: #fff; font-size: 1.1rem; }
footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; font-size: .82rem; color: #b3b6d6; }
footer .lockup { width: 150px; background: #fff; border-radius: 8px; padding: 8px; margin-bottom: 14px; }

@media (max-width: 1080px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--line); gap: 14px; }
  nav.main.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .top .btn.solid { margin-left: 12px; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .media-split { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--line); gap: 14px; }
  nav.main.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .top .btn.solid { display: none; }
}
@media (max-width: 520px) {
  .person { grid-template-columns: 1fr; }
}
/* The info wall (who is visiting, before the demo opens) and the demo's clock in the banner. */
.demo-left { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.wall-body { background: var(--sage-wash); min-height: 100vh; }
.wall { display: grid; place-items: center; padding: clamp(28px, 6vw, 72px) 16px; }
.wall-card { width: min(560px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 10px 30px rgba(28, 28, 74, .08); }
.wall-logo { height: 44px; width: auto; display: block; margin-bottom: 18px; }
.wall h1 { font-family: var(--serif); color: var(--navy); font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.wall-form { display: grid; gap: 14px; margin-top: 18px; }
.wall-form label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.wall-form input:not([type="radio"]) { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.wall-form input:focus-visible, .wall-form button:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.wall-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 0; display: grid; gap: 6px; }
.wall-form legend { font-weight: 600; font-size: .92rem; color: var(--navy); padding: 0 4px; }
.wall-form .wall-pick { display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--ink); cursor: pointer; }
.wall-form .wall-pick input { accent-color: var(--navy); }
.wall-form .btn { justify-self: start; }
.wall-error { color: #9a3412; font-weight: 600; }
.wall-fine { font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* the contact form (Contact page), the privacy page, and a message that did not go */
form.inquiry { display: grid; gap: 8px; margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
form.inquiry h3 { margin: 0 0 4px; }
form.inquiry label { font-size: .88rem; color: var(--muted); }
form.inquiry input, form.inquiry textarea { font: inherit; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; width: 100%; }
form.inquiry button { justify-self: start; margin-top: 6px; }
form.inquiry .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prose { max-width: 70ch; padding-block: 10px 50px; }
.prose h2 { font-size: 1.3rem; margin-top: 28px; }
.bad { color: #9b1c1c; }

/* her new direction (2026-10-01/02): the home page choices, the Wire, its review screen and the library */
[hidden] { display: none !important; }
.worry { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 14px; }
.worry-pick { display: inline-block; padding: 12px 18px; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; background: var(--paper); max-width: 100%; }
.worry-pick:hover, .worry-pick[aria-current="true"] { background: var(--navy); color: #fff; }
.worry-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); margin-bottom: 18px; scroll-margin-top: 96px; }
.worry-panel:focus { outline: none; }
.five { list-style: none; counter-reset: five; padding: 0; margin: 0; display: grid; gap: 16px; }
.five > li { counter-increment: five; border-left: 3px solid var(--sage); padding: 2px 0 2px 16px; }
.five > li > b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.15rem; }
.five > li > b::before { content: counter(five) ". "; color: var(--sage-ink); }
.five p { margin: 6px 0 0; }
.five .placeholder, .five .cta { margin-top: 8px; }
a.cat-card { text-decoration: none; color: inherit; display: block; }
a.cat-card:hover { border-color: var(--sage); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-ink); background: var(--sage-wash); border-radius: 999px; padding: 3px 10px; }
.tag.sample { color: #fff; background: var(--navy); }
.wire-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.wire-filter button { font: 600 .9rem var(--sans); color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; min-height: 44px; cursor: pointer; }
.wire-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-list { display: grid; gap: 10px 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0 0 20px; }
.cat-list dt { font-weight: 700; color: var(--navy); }
.cat-list dd { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.wire-items, .review-list, .lib-list { display: grid; gap: 18px; margin-top: 18px; }
.wire-item, .review-item, .lib-q { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); min-width: 0; overflow-wrap: anywhere; scroll-margin-top: 96px; }
.wire-item.is-sample { border-style: dashed; }
.wire-meta { margin: 0 0 8px; }
.wire-fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0 14px; }
.wire-fields dt { font: 700 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); padding-top: 3px; }
.wire-fields dd { margin: 0; color: var(--muted); font-size: .95rem; min-width: 0; }
.review-item.is-published { border-color: var(--sage); box-shadow: inset 4px 0 0 var(--sage); }
.review-item.is-skipped { opacity: .55; }
.review-item.is-editing dd[contenteditable="true"] { background: var(--sage-wash); outline: 1px dashed var(--sage-ink); padding: 2px 6px; border-radius: 4px; color: var(--ink); }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); min-width: 0; }
.lead-form label { font-size: .88rem; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="email"] { font: inherit; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; width: 100%; }
.lead-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 6px 0; display: grid; gap: 6px; min-width: 0; }
.lead-form legend { font-weight: 600; color: var(--navy); font-size: .92rem; padding: 0 4px; }
.lead-form label.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.lead-form label.check { min-height: 44px; align-items: center; }
.lead-form label.check input { width: 22px; height: 22px; flex: none; accent-color: var(--navy); }
.lead-form button { justify-self: start; margin-top: 6px; }
.lead-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lib-signup { margin: 16px 0; background: var(--sage-wash); }
.lib-part { margin-top: 16px; }
.lib-part h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lib-q h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
#lib-search { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; width: min(520px, 100%); margin-top: 6px; display: block; }
@media (max-width: 600px) {
  .wire-fields { grid-template-columns: 1fr; gap: 2px; }
  .wire-fields dd { margin-bottom: 8px; }
  .worry-pick { width: 100%; text-align: center; }
}

/* the "How it works" tour (assets/tour.js): the lit part, and the caption box with its buttons, thumb-sized on a phone */
.tour-cta { margin: 0 0 14px; }
.tour-on { outline: 3px solid var(--sage); outline-offset: 4px; border-radius: 8px; position: relative; z-index: 2; box-shadow: 0 0 0 9999px rgba(28, 28, 74, .35); scroll-margin-top: 96px; }
.tour-running body { padding-bottom: 200px; }
.tour-box { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, 100% - 24px); z-index: 20; background: var(--navy-deep); color: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.tour-box p { margin: 0 0 10px; font-size: 1rem; line-height: 1.5; }
.tour-count { font-size: .78rem !important; opacity: .85; letter-spacing: .06em; text-transform: uppercase; }
.tour-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tour-btns button { font: 700 .9rem var(--sans); border-radius: 999px; min-height: 44px; padding: 8px 16px; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.tour-btns button.go { background: #fff; color: var(--navy-deep); }
.tour-btns button:disabled { opacity: .45; cursor: default; }
.tour-btns button:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
@media (max-width: 420px) { .tour-box { padding: 14px; bottom: 10px; } .tour-btns button { padding: 8px 12px; } }

/* traditional home page (2026-10-12): the logo beside the hero words, and the partners strip */
.partner-strip { display: flex; flex-wrap: wrap; gap: 22px 18px; margin-top: 24px; align-items: flex-start; }
.partner-strip a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; line-height: 1.3; text-align: center; }
.partner-strip .ptile { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 150px; height: 120px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.partner-strip .ptile img { border-radius: 18%; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner-strip .pmark { font-family: var(--serif, inherit); font-size: 1.15rem; line-height: 1.15; color: var(--navy); letter-spacing: .01em; }
.partner-strip a:hover .ptile { border-color: var(--sage); }
@media (max-width: 520px) { .partner-strip { justify-content: center; } }
/* hero: two main buttons in a row, "How it works" as a quiet text link with a play mark under them */
.hero .tour-cta { margin: 14px 0 0; }
.tour-play { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 2px; min-height: 44px; font: 700 .95rem var(--sans); color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.tour-play:hover { color: var(--navy-deep); }
.tour-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .62rem; padding-left: 2px; box-sizing: border-box; text-decoration: none; }
@media (max-width: 420px) { .hero .cta .btn { flex: 1 1 100%; justify-content: center; } }

/* the header with nine links and the button: the brand keeps its line and the links tighten (wide screens only; narrower ones use the menu) */
@media (min-width: 1321px) {
  .brand { flex-shrink: 0; }
  .brand .word { white-space: nowrap; }
  .top .wrap { gap: 14px; }
  nav.main { gap: 10px; }
  nav.main a { font-size: .84rem; }
  .top .btn.solid { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--line); gap: 14px; }
  nav.main.open { display: flex; }
  .menu-toggle { display: inline-block; }
}

/* The four compass points on the home logo: link boxes laid over the points of the compass image (620x575). */
.hero-logo { position: relative; display: block; width: min(100%, 420px); margin: 0 auto; }
.hero-logo img { display: block; width: 100%; height: auto; }
.hero-ask { margin: 14px 0 0; text-align: center; font-weight: 600; }
.compass { position: absolute; inset: 0; }
.compass .cp { position: absolute; display: block; min-width: 44px; min-height: 44px; width: 18%; height: 18%; transform: translate(-50%, -50%); border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.compass .cp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compass .cp:hover, .compass .cp:active { background: rgba(255,255,255,.35); }
.compass .cp:focus-visible { outline: 3px solid #2a2a66; outline-offset: 2px; background: rgba(255,255,255,.35); }
.compass .cp-n { left: 50%; top: 14%; }
.compass .cp-s { left: 50%; top: 58%; }
.compass .cp-w { left: 30%; top: 37%; }
.compass .cp-e { left: 70%; top: 37%; }
