/* AI Agent Brewery, site v2 (prototype 17 Nov 2026): cream page, white cards, the dark green and gold kept for header, hero, bands and footer. */
:root {
  --ink: #1E231B; --ink-2: #242B20; --gold: #D2C562; --gold-pale: #E8E088; --bronze: #8A6A1E;
  --cream: #F5F2E9; --paper: #FFFFFF; --line: #E7E0CB; --text: #23271F; --muted: #5E6253;
  --radius: 18px; --shadow: 0 1px 2px rgba(30, 35, 27, .06), 0 10px 28px rgba(30, 35, 27, .07);
  --shadow-up: 0 2px 4px rgba(30, 35, 27, .08), 0 18px 40px rgba(30, 35, 27, .12);
  --serif: "Bodoni Moda", "Playfair Display", Didot, "Bodoni 72", Georgia, serif;
  --sans: Manrope, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(30, 35, 27, .97); border-bottom: 1px solid rgba(210, 197, 98, .25); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: rgba(210, 197, 98, .14); color: var(--gold-pale); }
.lang { color: var(--gold); font-size: .85rem; font-weight: 700; text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-pale); }
.btn-line { border-color: rgba(210, 197, 98, .6); color: var(--gold-pale); }
.btn-ink { background: var(--ink); color: var(--gold-pale); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.top .btn { margin-left: 6px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 50% -10%, #2f3a26 0%, var(--ink) 60%); color: var(--cream); text-align: center; padding: 64px 0 76px; }
.hero .seal { width: 112px; height: 140px; object-fit: cover; margin: 0 auto 22px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(210, 197, 98, .5), 0 0 48px rgba(210, 197, 98, .22); }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); margin: 0 0 12px; }
.hero h1 { font-family: var(--serif); color: var(--gold); font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.08; margin: 0 0 18px; }
.hero p.lead { max-width: 680px; margin: 0 auto 30px; font-size: 1.2rem; color: #E9E5D8; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: .92rem; color: #CFCab7; }
.trust span::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 8px; }

/* sections */
section.block { padding: 84px 0; }
section.alt { background: #EFEADB; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head .eyebrow { color: var(--bronze); }
.sec-head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0; color: var(--ink); }
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }

/* cards */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px 24px; display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.card h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; margin: 0 0 8px; color: var(--ink); }
.card p { margin: 0 0 14px; color: var(--muted); }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.card a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* agent cards: the logo is the hero of the card, a framed tile like a trading card */
.agent { text-align: center; align-items: center; }
.tile { width: 168px; height: 168px; border-radius: 16px; overflow: hidden; margin: 4px auto 22px; background: var(--ink);
        box-shadow: 0 0 0 1px rgba(154, 115, 34, .55), 0 0 0 6px #fff, 0 0 0 7px rgba(154, 115, 34, .35), 0 14px 30px rgba(30, 35, 27, .28); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.mono { display: flex; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(circle at 50% 35%, #33402a, var(--ink) 70%); }
.tile.mono b { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); line-height: 1; }
.tile.mono small { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; color: var(--gold-pale); margin-top: 8px; text-transform: uppercase; }
.agent .for { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.agent .foot { width: 100%; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #F3EED9; color: #6B5417; }
.pill.live { background: #E3F0DC; color: #2F5B22; }
.price { font-weight: 800; color: var(--ink); }
.facts { text-align: left; width: 100%; margin: 4px 0 14px; font-size: .95rem; }
.facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-top: 10px; }
.facts dd { margin: 2px 0 0; color: var(--text); }

/* filters */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold-pale); }

/* hive, media, tests, blog */
.hive { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.hive .media { background: var(--ink); }
.hive .media video, .hive .media img { width: 100%; height: 100%; object-fit: cover; }
.hive .body { padding: 34px 32px; }
.members { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.members a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; background: #FBF9F2; }
.members img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.media-card { padding: 0; overflow: hidden; }
.media-card video { width: 100%; aspect-ratio: 16/9; background: var(--ink); display: block; }
.media-card .body { padding: 20px 22px; }
.test .icon { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; margin-bottom: 16px; box-shadow: 0 0 0 1px rgba(154, 115, 34, .4); background: var(--ink); }
.post { padding: 0; overflow: hidden; }
.post img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post .body { padding: 20px 22px 22px; }

/* club band + footer */
.band { background: var(--ink); color: var(--cream); padding: 70px 0; text-align: center; }
.band h2 { font-family: var(--serif); color: var(--gold); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 12px; }
.band p { max-width: 640px; margin: 0 auto 26px; color: #E1DCCB; }
footer { background: #171B14; color: #BDB8A6; padding: 46px 0 34px; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 26px; }
footer h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
footer a { color: #E2DDCA; text-decoration: none; display: block; padding: 3px 0; }
footer .legal { border-top: 1px solid #2c3326; margin-top: 30px; padding-top: 18px; color: #8E8A79; }

.page-hero { background: var(--ink); color: var(--cream); padding: 56px 0 48px; }
.page-hero h1 { font-family: var(--serif); color: var(--gold); font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 0 10px; }
.page-hero p { max-width: 700px; color: #E1DCCB; margin: 0; font-size: 1.12rem; }

@media (max-width: 900px) {
  .top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .top .btn { margin-left: auto; }
  .hive { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .tile { width: 148px; height: 148px; }
}

/* problem / solution on each agent card */
.ps { width: 100%; text-align: left; display: grid; gap: 10px; margin: 6px 0 14px; }
.ps > div { padding: 12px 14px; border-radius: 12px; font-size: .95rem; line-height: 1.5; color: var(--text); }
.ps span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; font-weight: 700; }
.ps .prob { background: #FBF1EA; border-left: 3px solid #B5532F; }
.ps .prob span { color: #9A4426; }
.ps .sol { background: #EEF4E8; border-left: 3px solid #4C7A35; }
.ps .sol span { color: #3D6A2A; }
.never { width: 100%; text-align: left; font-size: .92rem; margin: 2px 0 8px !important; color: var(--text) !important; }
.never b { color: var(--ink); }
.proof { width: 100%; text-align: left; font-size: .88rem; font-style: italic; margin: 0 0 12px !important; }

/* the six qualities: clean, clear, reliable, in your control, traceable, easy to use */
.vals { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vals li { font-size: .74rem; font-weight: 700; color: #2F5B22; background: #fff; border: 1px solid #CFE0C4; border-radius: 999px; padding: 2px 9px; }
.vals li::before { content: "✓ "; }
.vals-full { margin: 12px 0 0; display: grid; grid-template-columns: 1fr; gap: 0; font-size: .9rem; }
.vals-full dd + dt { margin-top: 8px; }
.vals-full dt { font-weight: 800; color: #2F5B22; white-space: nowrap; }
.vals-full dt::before { content: "✓ "; }
.vals-full dd { margin: 0; }
.promise { list-style: none; padding: 0; margin: -10px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.promise li { background: var(--ink); color: var(--gold-pale); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .92rem; }
.promise li::before { content: "✓ "; color: var(--gold); }

/* ---------- pages (17 Nov 2026): hives, forms on white cards, articles, checkout ---------- */
.center { text-align: center; margin-top: 30px; }
.seal-sm { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; margin-bottom: 16px; box-shadow: 0 0 0 1px rgba(210, 197, 98, .5); cursor: pointer; }
.page-hero .eyebrow { color: var(--gold-pale); }
.for { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 0 0 6px !important; }
.grid.five { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card.core { padding: 20px; }
.card.core h3 { font-size: 1.2rem; }
.card.core p { font-size: .92rem; margin: 0; }
.team { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 10px; }
.team li { display: flex; gap: 12px; align-items: flex-start; }
.team img, .team i { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(154, 115, 34, .4); }
.team i { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); font-family: var(--serif); font-style: normal; font-weight: 700; font-size: 1.1rem; }
.team b { display: block; color: var(--ink); font-size: .95rem; }
.team span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.hive .team { margin-bottom: 22px; }
.connectors { margin-top: 26px; }
.cgroup { margin-top: 14px; }
.cgroup h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 6px; }
.conn { display: inline-flex; gap: 6px; align-items: center; margin: 0 6px 6px 0; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
.conn i { font-style: normal; font-weight: 600; font-size: .75rem; padding: 1px 7px; border-radius: 999px; }
.conn.read i { background: #E3F0DC; color: #2F5B22; }
.conn.ask i { background: #F3EED9; color: #6B5417; }
.conn.off i { background: #EEE; color: #666; }
.post .when { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--bronze); margin: 0 0 6px; }

/* forms lifted from the current pages, restyled for white cards */
.formcard { max-width: 860px; margin: 0 auto; padding: 36px 40px; }
.formcard section { margin: 0 0 40px; padding: 0; background: none; border: 0; }
.formcard section + section { padding-top: 36px; border-top: 1px solid var(--line); }
.formcard h2 { font-family: var(--serif); color: var(--ink); font-size: 1.7rem; line-height: 1.2; margin: 0 0 12px; }
.formcard h3 { font-family: var(--serif); color: var(--ink); font-size: 1.25rem; margin: 24px 0 8px; }
.formcard p, .formcard li { color: var(--text); }
.formcard label { display: block; margin: 16px 0 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.formcard input[type=text], .formcard input[type=email], .formcard input[type=tel], .formcard input:not([type]), .formcard textarea, .formcard select {
  display: block; width: 100%; padding: 12px 14px; margin-top: 6px; font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text);
  background: #FDFCF8; border: 1.5px solid var(--line); border-radius: 10px; }
.formcard input:focus, .formcard textarea:focus, .formcard select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--bronze); }
.formcard button { margin-top: 18px; padding: 13px 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--gold-pale); font: inherit; font-weight: 700; cursor: pointer; }
.formcard button:hover { background: #2f3a26; }
.formcard button:disabled { opacity: .6; cursor: wait; }
.formcard .linklike { background: none; color: var(--bronze); padding: 0; text-decoration: underline; font-weight: 600; }
.formcard .tick, .formcard .check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.formcard .tick input, .formcard .check input { margin-top: 4px; flex: none; width: auto; }
.formcard .fine { font-size: .86rem; color: var(--muted); }
.formcard .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.formcard .row { display: flex; gap: 10px; align-items: stretch; }
.formcard .row input { margin-top: 0; }
.formcard .row button { margin-top: 0; white-space: nowrap; }
.tool-msg, #msg, #bmsg, #cardmkmsg, #cardsavemsg { min-height: 1.3em; margin: 10px 0 0; font-weight: 600; }
.ok, .tool-msg.ok { color: #2F5B22 !important; }
.err, .tool-msg.err { color: #A33A1C !important; }
.formcard details { margin-top: 16px; }
.formcard summary { cursor: pointer; font-weight: 700; color: var(--bronze); }
.formcard code { font-size: .85em; background: #F3EED9; padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.formcard .spotlight > ul { padding-left: 20px; margin: 0 0 18px; }
.formcard .mkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.formcard .mkgrid label { margin-top: 12px; }
.formcard .os { display: flex; gap: 10px; flex-wrap: wrap; }
.formcard .os label { position: relative; margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 1rem; color: var(--text); }
.formcard .os input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.formcard .os span { display: block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.formcard .os input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold-pale); }
.formcard fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.formcard legend { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
#cardqr { width: fit-content; margin: 0 0 16px auto; background: #0b0b0b; border-radius: 10px; box-shadow: var(--shadow-up); }
#cardqr:empty { display: none; }
#cardqr canvas { display: block; width: 320px; max-width: 100%; height: auto; border-radius: 10px; }
.beta[hidden] { display: none; }
body.turned .formcard { box-shadow: 0 0 0 3px var(--gold), var(--shadow-up); }
.perk { background: #F3EED9; border-radius: 12px; padding: 12px 16px; }
.count { font-family: var(--mono); color: var(--bronze); }

/* blog articles */
.article { font-size: 1.05rem; line-height: 1.75; }
.article h2 { margin-top: 34px; }
.article img { border-radius: 12px; margin: 18px 0; height: auto; }
.article a { color: var(--bronze); }
.article blockquote { margin: 18px 0; padding: 10px 18px; border-left: 3px solid var(--gold); background: #FBF9F2; }
.article table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.co-main { padding: 32px; }
.co-head { display: flex; gap: 22px; align-items: center; margin-bottom: 10px; }
.tile.small { width: 110px; height: 110px; margin: 0; flex: none; }
.co-head p { margin: 0; }
.co-price { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-price span { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.co-price b { font-size: 1.15rem; color: var(--ink); text-align: right; }
.co-go { width: 100%; justify-content: center; margin-top: 8px; }
.co-steps ol { padding-left: 20px; margin: 10px 0 14px; }
.co-steps li { margin-bottom: 12px; color: var(--muted); }
.co-steps li b { color: var(--ink); display: block; }
.picklist { display: grid; gap: 12px; margin-top: 12px; }
.pickrow { flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px; text-decoration: none; color: var(--text); }
.pickrow img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.pickrow b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.pickrow span { color: var(--muted); font-size: .9rem; }
.buy { margin-left: auto; }
.agent .foot .buy + .more { margin-left: 10px; }
.fine { font-size: .86rem; color: var(--muted); }

@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .formcard { padding: 24px 20px; }
  .formcard .mkgrid { grid-template-columns: 1fr; }
  .formcard .row { flex-direction: column; }
  .co-head { flex-direction: column; text-align: center; }
  #cardqr { margin: 0 auto 16px; }
}

/* cookie banner and preferences (cookie-consent.js), in the v2 look */
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(30, 35, 27, .98); border-top: 1px solid var(--gold); color: var(--cream); }
.cookie-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 1180px; margin: 0 auto; padding: 14px 20px; font-size: .92rem; line-height: 1.5; }
.cookie-banner-inner p { margin: 0; flex: 1 1 380px; }
.cookie-banner-inner a, .cookie-prefs-panel a { color: var(--gold-pale); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; border: 1.5px solid rgba(210, 197, 98, .6); background: transparent; color: var(--gold-pale); }
.cookie-actions button:first-child, #cp-save { background: var(--gold); border-color: var(--gold); color: var(--ink); }
#cookie-prefs-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .55); }
#cookie-prefs-modal[hidden] { display: none; }
.cookie-prefs-panel { width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; padding: 26px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-up); }
.cookie-prefs-panel a { color: var(--bronze); }
.cookie-prefs-panel h2 { margin: 0 0 10px; font-family: var(--serif); color: var(--ink); }
.cookie-prefs-panel .cookie-actions button { color: var(--ink); border-color: var(--line); }
.cookie-category { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.cookie-category p { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.cookie-prefs-panel .cookie-actions { margin-top: 14px; justify-content: flex-end; }
.formcard select, .formcard input, .formcard textarea { font-family: var(--sans) !important; }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions button { flex: 1 1 0; padding: 10px 8px; } }

/* ---------- the Hive page ---------- */
.hive-hero { background: radial-gradient(1100px 520px at 75% 10%, #34402a 0%, var(--ink) 62%); color: var(--cream); padding: 60px 0 70px; }
.hive-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hive-hero h1 { font-family: var(--serif); color: var(--gold); font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.08; margin: 0 0 16px; }
.hive-hero .lead { font-size: 1.15rem; color: #E9E5D8; margin: 0 0 14px; }
.hive-hero .motto { font-family: var(--serif); font-style: italic; color: var(--gold-pale); margin: 0 0 26px; }
.hive-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hive-seal { width: 104px; height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(210, 197, 98, .7), 0 0 0 5px rgba(30, 35, 27, .9), 0 0 0 6px rgba(210, 197, 98, .4), 0 0 40px rgba(210, 197, 98, .25); }
.hive-seal.sm { width: 70px; height: 80px; margin: 0 auto 14px; display: block; }
.hive-seal.left { margin: 0 0 14px; box-shadow: 0 0 0 1px rgba(154, 115, 34, .5), 0 8px 20px rgba(30, 35, 27, .18); }
.hh-art { margin: 0; }
.hh-art img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px rgba(210, 197, 98, .5), 0 24px 60px rgba(0, 0, 0, .45); }
.grid.three-up { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pillar .num { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; }
.flow li { position: relative; padding: 26px 20px 22px; background: #fff; border: 1px solid var(--line); counter-increment: f; }
.flow li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.flow li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow li + li { border-left: 0; }
.flow li::before { content: counter(f); display: block; font-family: var(--mono); font-size: .8rem; color: var(--bronze); margin-bottom: 8px; letter-spacing: .1em; }
.flow b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.flow span { color: var(--muted); font-size: .93rem; }
.flow.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .flow.three { grid-template-columns: 1fr; } }
.taproom-ctas { margin-top: 26px; }
button.btn { font-family: inherit; }
.client .ch { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.client .ch img, .client .ch i { width: 48px; height: 48px; border-radius: 12px; flex: none; object-fit: contain; background: #F7F3E7; box-shadow: 0 0 0 1px var(--line); }
.client .ch i { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); font-family: var(--serif); font-style: normal; font-weight: 700; font-size: 1.3rem; }
.client h3 { margin: 0; font-size: 1.3rem; }
.client .ask { margin-top: auto !important; padding: 12px 14px; background: #F7F3E7; border-radius: 12px; color: var(--ink) !important; font-style: italic; }
.client .ask span { display: block; font-style: normal; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 3px; }
.hood { margin-top: 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; background: var(--ink); color: var(--cream); border-color: var(--ink); }
.hood:hover { transform: none; }
.hood h3 { color: var(--gold); }
.hood .eyebrow { color: var(--gold-pale); }
.hood-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.hood-list li { color: #DDD8C6; padding-left: 22px; position: relative; }
.hood-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.hood-list b { color: var(--gold-pale); }
.hood-code .for { color: var(--gold-pale) !important; }
.hood-code pre { margin: 6px 0 10px; padding: 18px; background: #11140F; border: 1px solid rgba(210, 197, 98, .3); border-radius: 12px; color: #E8E088; font-family: var(--mono); font-size: .8rem; line-height: 1.55; overflow-x: auto; white-space: pre; }
.hood-code .fine { color: #B8B3A1; }
.gates { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gate { border-top: 4px solid var(--gold); }
.gate h3 { font-size: 1.25rem; }
.hive-band { background: radial-gradient(800px 360px at 50% 0%, #34402a, var(--ink) 70%); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; } .flow li { border-radius: 0 !important; border-left: 1px solid var(--line) !important; } .flow li + li { border-top: 0; } .flow li:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; } .flow li:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; } }
@media (max-width: 900px) { .hive-hero .wrap, .hood { grid-template-columns: 1fr; } .hh-art { order: -1; } }
.hood > div { min-width: 0; }
.nav a.nav-co { border: 1px solid rgba(210, 197, 98, .45); }

/* ---------- content lifted from the current pages (job hunter, legal, beacon, blog) ---------- */
.prose { font-size: 1.02rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 36px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--bronze); }
.prose a.cta, .prose .cta { display: inline-flex; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; margin: 6px 8px 6px 0; }
.prose .badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #E3F0DC; color: #2F5B22; font-size: .75rem; font-weight: 700; vertical-align: middle; }
.prose .updated { font-family: var(--mono); font-size: .78rem; color: var(--bronze); letter-spacing: .06em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 14px 0 22px; }
.prose th { text-align: left; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); border-bottom: 2px solid var(--line); padding: 8px; }
.prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose iframe { border-radius: 12px; }
.prose img { border-radius: 12px; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.prose pre { background: #F7F3E7; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: .85rem; }
.prose .alogo img { width: 64px; height: 64px; border-radius: 12px; display: inline-block; }
.hero-icon { margin: 0 0 18px; width: 92px; height: 92px; }
@media (max-width: 560px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { margin-bottom: 12px; border-top: 1px solid var(--line); }
  .prose td { border: 0; padding: 4px 0; }
  .prose td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--bronze); }
}

/* ---------- free tests: two bold white cards, logos, a FREE stamp, the S-H-I-T-E letters ---------- */
.pick2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pickt { flex-direction: row; gap: 24px; align-items: center; text-decoration: none; color: var(--text); padding: 30px; overflow: hidden; }
.pickt h3 { font-size: 1.6rem; }
.ptile { flex: none; width: 128px; height: 128px; border-radius: 22px; overflow: hidden; background: var(--ink); transform: rotate(-4deg);
         box-shadow: 0 0 0 1px rgba(154, 115, 34, .5), 0 0 0 6px #fff, 0 0 0 7px rgba(154, 115, 34, .35), 0 16px 30px rgba(30, 35, 27, .25); transition: transform .2s; }
.pickt:hover .ptile { transform: rotate(3deg) scale(1.05); }
.ptile img, .tb-logo img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; top: 18px; right: -34px; transform: rotate(35deg); background: var(--gold); color: var(--ink); font-weight: 800; font-size: .78rem;
         letter-spacing: .2em; text-transform: uppercase; padding: 5px 44px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.test-big { display: grid; grid-template-columns: .9fr 1.1fr; padding: 0; overflow: hidden; margin-bottom: 34px; }
.test-big:hover { transform: none; }
.tb-side { position: relative; padding: 40px 36px; color: var(--cream); overflow: hidden; }
.beacon-side { background: radial-gradient(500px 300px at 20% 0%, #2f4a24, #1D2F17 70%); }
.ashtray-side { background: radial-gradient(500px 300px at 20% 0%, #4a3a1c, #23271F 70%); }
.tb-side h2 { font-family: var(--serif); color: var(--gold); font-size: 2rem; line-height: 1.15; margin: 18px 0 10px; }
.tb-side h2 small { display: block; font-size: 1rem; color: var(--gold-pale); font-family: var(--mono); letter-spacing: .08em; margin-top: 6px; }
.tb-side p { color: #E1DCCB; }
.tb-side .fine, .tb-side .fine a { color: #CFCAB7; }
.tb-logo { width: 140px; height: 140px; border-radius: 26px; overflow: hidden; transform: rotate(-5deg); box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(0, 0, 0, .45); }
.tb-logo.round { border-radius: 50%; transform: rotate(4deg); }
.chips2 { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips2 li { background: rgba(210, 197, 98, .14); border: 1px solid rgba(210, 197, 98, .55); color: var(--gold-pale); padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .86rem; }
.letters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 20px 0 16px; }
.lt { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .72rem; color: #E1DCCB; line-height: 1.25; }
.lt b { display: flex; width: 100%; aspect-ratio: 1; align-items: center; justify-content: center; border-radius: 12px; background: var(--gold); color: var(--ink);
        font-family: var(--serif); font-size: 1.9rem; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.lt:nth-child(even) b { transform: rotate(5deg); background: var(--gold-pale); }
.lt:nth-child(odd) b { transform: rotate(-4deg); }
.tb-form { padding: 36px 40px; background: #fff; }
.tb-form label:first-of-type { margin-top: 0; }
.tb-form button[type=submit] { background: var(--gold); color: var(--ink); padding: 15px 28px; font-size: 1.05rem; }
.tb-form button[type=submit]:hover { background: var(--gold-pale); }
.tb-form input[type=text], .tb-form input[type=email], .tb-form textarea { display: block; width: 100%; padding: 12px 14px; margin-top: 6px; font: inherit; font-family: var(--sans);
  background: #FDFCF8; border: 1.5px solid var(--line); border-radius: 10px; color: var(--text); }
.tb-form label { display: block; margin: 16px 0 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.tb-form .tick { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.tb-form .tick input { margin-top: 4px; }
.tb-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.tb-form button { margin-top: 18px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.tb-form h3 { font-family: var(--serif); color: var(--ink); margin: 26px 0 8px; }
.tb-form details { margin-top: 16px; }
.tb-form summary { cursor: pointer; font-weight: 700; color: var(--bronze); }
.tb-form code { font-size: .82em; background: #F3EED9; padding: 1px 5px; border-radius: 4px; word-break: break-word; }
@media (max-width: 900px) { .pick2, .test-big { grid-template-columns: 1fr; } .pickt { flex-direction: column; text-align: center; } .tb-form { padding: 28px 22px; } .tb-side { padding: 32px 24px; } }

/* agent details and the 6 results */
.details { text-align: left; width: 100%; color: var(--text) !important; font-size: .97rem; margin: 2px 0 14px !important; }
.results { width: 100%; text-align: left; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #FBF9F2; border: 1px solid var(--line); }
.results > span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 700; margin-bottom: 8px; }
.results ol { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 8px; }
.results li { position: relative; padding-left: 32px; font-size: .92rem; line-height: 1.45; counter-increment: r; }
.results li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }

/* sign in */
.signin { color: var(--cream); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.signin:hover { background: rgba(210, 197, 98, .14); color: var(--gold-pale); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.whocard { font: inherit; text-align: left; cursor: pointer; padding: 32px; border: 2px solid var(--line); }
.whocard[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(210, 197, 98, .55), var(--shadow-up); }
.whocard[aria-pressed="true"] h3::after { content: "  \2713"; color: #2F5B22; }
.whoicon { font-size: 2.6rem; line-height: 1; margin-bottom: 12px; }
.whohint { margin-top: auto; font-size: .88rem; color: var(--bronze); font-weight: 600; }
.door .ms-ic { font-size: 2rem; margin-bottom: 10px; }
.door .foot .btn { width: 100%; justify-content: center; }
@media (max-width: 700px) { .who { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .signin { display: none; } }

/* icons in the Brewery look; sign-in tabs */
.signin { display: inline-flex; align-items: center; gap: 6px; }
.ico { flex: none; }
.ico-tile { display: block; flex: none; border-radius: 12px; box-shadow: 0 6px 14px rgba(30, 35, 27, .22); }
.door .ico-tile { margin-bottom: 14px; }
.logintabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); margin-bottom: 26px; }
.logintabs button { display: flex; gap: 14px; align-items: center; text-align: left; font: inherit; color: var(--text); background: transparent; border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer; }
.logintabs button b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.logintabs button small { display: block; color: var(--muted); font-size: .88rem; }
.logintabs button[aria-selected="true"] { background: var(--ink); }
.logintabs button[aria-selected="true"] b { color: var(--gold); }
.logintabs button[aria-selected="true"] small { color: #D9D4C1; }
.logintabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tabnote { font-weight: 600; color: var(--bronze); margin: 0 0 18px; }
@media (max-width: 700px) { .logintabs { grid-template-columns: 1fr; } }
.team .ico-tile { box-shadow: none; border-radius: 10px; }
.client .ch .ico-tile { border-radius: 12px; }

/* the nav logo: a hi-res emblem cut from the master logo, bigger and framed */
.top .wrap { height: 80px; }
.brand { gap: 12px; font-size: 1.32rem; letter-spacing: .01em; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px rgba(232, 212, 107, .75), 0 0 0 4px rgba(30, 35, 27, .9), 0 0 0 5px rgba(232, 212, 107, .35), 0 0 18px rgba(232, 212, 107, .25); }
@media (max-width: 900px) { .top .wrap { height: auto; } .brand img { width: 46px; height: 46px; } }
@media (max-width: 480px) { .brand span { display: inline; font-size: 1.1rem; } }
/* header fit with the bigger logo */
.top .wrap { gap: 14px; }
.nav { gap: 0; }
.nav a { padding: 8px 9px; font-size: .93rem; }
.top .btn, .btn { white-space: nowrap; }
.signin { padding: 8px 8px; }
@media (max-width: 1260px) { .signin span { display: none; } }
@media (max-width: 1100px) { .signin { display: none; } }

/* only header buttons never wrap (long French labels elsewhere must) */
.btn { white-space: normal; }
.top .btn { white-space: nowrap; }
/* the Agent Beacon page */
.beacon-hero video { width: 100%; display: block; border-radius: 14px; box-shadow: 0 0 0 1px rgba(210, 197, 98, .5), 0 24px 60px rgba(0, 0, 0, .45); }
.beacon-hero figcaption { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--gold-pale); }
.beacon-hero .hero-icon { width: 104px; height: 104px; }
.bcard { max-width: 900px; }
.bcard h2, .bplain h2 { font-family: var(--serif); color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin: 0 0 12px; }
.bplain > h2 { margin-bottom: 26px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border-top: 4px solid var(--gold); }
.offer b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.offer span { color: var(--muted); }
.grp { font-weight: 700; color: var(--bronze); margin: 10px 0 4px; }
.clean { list-style: none; padding: 0; }
.clean li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.clean li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.beacon-form .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.beacon-form input[type=text], .beacon-form input[type=email] { display: block; width: 100%; padding: 12px 14px; margin: 0 0 12px; font: inherit; font-family: var(--sans); background: #FDFCF8; border: 1.5px solid var(--line); border-radius: 10px; }
.beacon-form .master { font-family: var(--serif); color: var(--ink); }
.beacon-form button { background: var(--gold); color: var(--ink); padding: 15px 28px; font-size: 1.05rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.beacon-hero .hero-icon { margin-bottom: 22px; }
.bplain > h2 { font-family: var(--serif); }

/* audit fixes 18 Nov: hidden headings, footer titles, light YouTube */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
footer .fh { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ytlite { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; border-radius: 12px; }
.ytplay { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 2px var(--gold); }
.ytplay::after { content: ""; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--gold); }
.ytlite:hover .ytplay { background: #2f3a26; }

/* contact in the free-tests look */
.contact-side .reach { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.contact-side .reach li { display: flex; gap: 12px; align-items: center; }
.contact-side .reach a { color: var(--gold-pale); font-weight: 700; text-decoration: none; }
.contact-side .reach a:hover { text-decoration: underline; }
.contact-form h3 { font-family: var(--serif); color: var(--ink); font-size: 1.5rem; margin: 0 0 6px; }
.contact-form textarea { display: block; width: 100%; padding: 12px 14px; font: inherit; font-family: var(--sans); background: #FDFCF8; border: 1.5px solid var(--line); border-radius: 10px; }
.contact-form input[type=tel] { display: block; width: 100%; padding: 12px 14px; font: inherit; font-family: var(--sans); background: #FDFCF8; border: 1.5px solid var(--line); border-radius: 10px; }
.contact-form .fine { font-size: .86rem; color: var(--muted); }
/* the Portals menu in the header */
.nav { overflow: visible; }
.portals { position: relative; }
.portals summary { list-style: none; cursor: pointer; color: var(--cream); font-weight: 600; font-size: .93rem; padding: 8px 9px; border-radius: 999px; white-space: nowrap; }
.portals summary::-webkit-details-marker { display: none; }
.portals summary::after { content: " \25BE"; color: var(--gold); }
.portals[open] summary, .portals summary:hover { background: rgba(210, 197, 98, .14); color: var(--gold-pale); }
.pmenu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-up); padding: 8px; }
.pmenu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text) !important; background: none !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pmenu a:hover { background: #F7F3E7 !important; }
.pmenu img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .nav { overflow-x: auto; } .pmenu { position: fixed; left: 16px; right: 16px; top: 120px; } }

/* home FAQ */
.faq { padding: 8px 26px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bronze); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 1440px) { .signin span { display: none; } }
@media (max-width: 1200px) and (min-width: 901px) { .brand span { display: none; } }

/* Sign-in: the "New here? Create your account" strip under each tab (18 Nov 2026) */
.newacct { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 22px; border: 1px solid var(--gold); }
.newacct h3 { margin: 0 0 4px; }
.newacct p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .newacct { grid-template-columns: 1fr; text-align: left; } .newacct .btn { width: 100%; justify-content: center; } }
/* A card footer with status, price, Buy and the link wraps on phones instead of pushing the page sideways (18 Nov 2026) */
.agent .foot { flex-wrap: wrap; row-gap: 8px; }
/* The page's one human check (public/human.js, Cloudflare Turnstile): invisible unless a visitor has to prove they are human,
   then a centred card over the page. These rules were only in the old style.css (18 Nov 2026: it showed as text under the footer). */
.human-one { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; }
.human-one.show { opacity: 1; pointer-events: auto; background: rgba(0, 0, 0, .6); }
.human-card { max-width: 100%; padding: 20px 22px; text-align: center; color: var(--text); background: #fff; border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.human-card p { margin: 0 0 14px; font-weight: 600; color: var(--ink); }

/* Footer: the social accounts (18 Nov 2026) */
footer .socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; }
footer .socials .fh { margin: 0 6px 0 0; }
footer a.soc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #2c3326; border-radius: 999px; }
footer a.soc:hover, footer a.soc:focus-visible { border-color: var(--gold); color: var(--gold); }

/* Header option A (owner, 19 Nov 2026): name, sign-in, FR and Join on the top row; the tabs on their own row underneath,
   centred under a thin gold line, at every width. The name no longer runs into the tabs and is never hidden. */
.top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; row-gap: 4px; }
.top .nav { order: 3; width: 100%; margin-left: 0; justify-content: center; border-top: 1px solid rgba(210, 197, 98, .18); padding-top: 6px; }
.top .btn { margin-left: auto; }
@media (max-width: 1200px) and (min-width: 901px) { .brand span { display: inline; } }
@media (max-width: 1100px) { .signin { display: inline-flex; } }
@media (max-width: 900px) { .top .nav { justify-content: flex-start; } }
[id] { scroll-margin-top: 140px; }

/* Agent cards on the agents page open one at a time (owner, 19 Nov 2026): the short version shows, "Details" opens
   only that card. Neighbours in the row keep their own height while a card is open. */
.js .agent:not(.open) .info, .js .agent:not(.open) .vals-full, .js .agent.open .sol .vals, .agent .sol .vals + .vals-full { display: none; }
.js .agent.open .sol .vals-full { display: grid; }
.agent .info { width: 100%; }
.grid:has(.agent.open) > .agent { align-self: start; }
.js article.agent:has(button.toggle) { cursor: pointer; }
.agent button.toggle { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--bronze); cursor: pointer; }
.agent button.toggle::after { content: " \25BE"; }
.agent button.toggle[aria-expanded="true"]::after { content: " \25B4"; }
.agent.open { box-shadow: 0 0 0 2px var(--gold), var(--shadow-up); }

/* Agents for sale first, in Mini / Midi / Maxi rows with their own colours; the rest Beta (owner, 19 Nov 2026) */
:root { --mini: #4C7A35; --mini-soft: #EEF4E8; --midi: #B0662F; --midi-soft: #FAEEE4; --maxi: #B8952A; --maxi-soft: #FBF4DD; --beta: #8A8F84; --beta-soft: #F1F1EC; }
.tier-row { margin: 34px 0 0; }
.tier-row:first-of-type { margin-top: 22px; }
.tier-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 14px; padding: 0 0 8px; border-bottom: 3px solid var(--tc, var(--beta)); }
.tier-head h2 { margin: 0; font-size: 1.5rem; color: var(--tc, var(--ink)); }
.tier-head p { margin: 0; color: var(--muted); }
.tier-mini { --tc: var(--mini); --ts: var(--mini-soft); }
.tier-midi { --tc: var(--midi); --ts: var(--midi-soft); }
.tier-maxi { --tc: var(--maxi); --ts: var(--maxi-soft); }
.tier-beta { --tc: var(--beta); --ts: var(--beta-soft); }
.card.agent.tier-mini, .card.agent.tier-midi, .card.agent.tier-maxi, .card.agent.tier-beta { border: 2px solid var(--tc); box-shadow: 0 0 0 4px var(--ts), var(--shadow); }
.card.agent.tier-mini:hover, .card.agent.tier-midi:hover, .card.agent.tier-maxi:hover, .card.agent.tier-beta:hover { box-shadow: 0 0 0 4px var(--ts), var(--shadow-up); }
.card.agent.tier-beta { border-style: dashed; }
.agent.open { box-shadow: 0 0 0 4px var(--ts, transparent), 0 0 0 2px var(--gold), var(--shadow-up) !important; }
.tierb { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--tc); border-radius: 999px; padding: 3px 9px; }
.pill.beta { background: var(--beta-soft); color: #55594F; border: 1px solid #CFD1C8; }

/* The club application panel (Buy) */
dialog.apply { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: var(--radius); padding: 0; background: var(--paper); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
dialog.apply::backdrop { background: rgba(20, 24, 18, .6); }
.apply-form, .apply-done { position: relative; padding: 28px 28px 22px; }
.apply-form h2, .apply-done h2 { margin: 4px 0 8px; font-size: 1.6rem; color: var(--ink); }
.apply-off { margin: 0 0 6px; color: var(--mini); font-size: 1.05rem; }
.apply-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; }
.apply-x:hover { background: rgba(0, 0, 0, .06); }
.apply-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 16px 0 14px; }
.apply-kind legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.apply-kind label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.apply-kind label:has(input:checked) { border: 2px solid var(--gold); background: #FBF8EC; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.apply-biz { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; grid-column: 1 / -1; }
.apply-biz[hidden] { display: none; }
.apply-grid label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.apply-grid .wide { grid-column: 1 / -1; }
.apply-grid input, .apply-grid select, .apply-grid textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.apply-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .9rem; }
.apply-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.apply-form .btn { width: 100%; justify-content: center; }
.apply-msg { min-height: 1.3em; margin: 10px 0 0; font-weight: 600; }
.apply-msg.err { color: #9A4426; }
.apply-form .fine { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 560px) { .apply-grid, .apply-biz, .apply-kind { grid-template-columns: 1fr; } .apply-form, .apply-done { padding: 22px 18px 18px; } }
.apply-form .eyebrow { color: var(--bronze); }

/* OpenRouter box under the agents hero (owner, 19 Nov 2026) */
.or-box-wrap { padding-top: 0; padding-bottom: 0; margin-top: -18px; }
.or-box { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; border: 2px solid var(--gold); }
.or-box h2 { margin: 2px 0 8px; font-size: 1.35rem; }
.or-box p { margin: 0 0 8px; }
.or-steps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 2px; }
.or-btn { white-space: nowrap; }
@media (max-width: 720px) { .or-box { grid-template-columns: 1fr; } .or-btn { justify-self: start; } }

/* How you get it, on each card for sale (19 Nov 2026) */
.agent .how { width: 100%; text-align: left; margin: 0 0 12px; }
.agent .how > span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 700; margin-bottom: 6px; }
.agent .how ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.agent .how li { font-size: .82rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--line); background: #fff; }
.agent .how li.how-windows::before { content: "\2B07\a0"; }
.agent .how li.how-online { border-color: #CFE0C4; color: #2F5B22; background: #F2F8EE; }
.agent .how li.how-online::before { content: "\2601\a0"; }
.agent .how li.how-online_beta { color: #55594F; background: var(--beta-soft, #F1F1EC); border-style: dashed; }

/* Yours to keep: pay once vs monthly (owner, 19 Nov 2026) */
.block.own-wrap { padding-top: 32px; padding-bottom: 22px; margin-top: 0; }
.block.own-wrap + .block.or-box-wrap { margin-top: 0; padding-top: 0; }
.own-box h2 { margin: 2px 0 14px; font-size: 1.35rem; }
.own-box .eyebrow { color: var(--bronze); }
.own-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.own-col { border-radius: 12px; padding: 14px 18px; }
.own-col h3 { margin: 0 0 8px; font-size: 1.02rem; }
.own-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.own-us { background: #F2F8EE; border: 1px solid #CFE0C4; }
.own-us li::before { content: "\2713\a0"; color: #2F5B22; font-weight: 800; }
.own-them { background: #F6F4EF; border: 1px dashed var(--line); color: var(--muted); }
.own-them li::before { content: "\2715\a0"; font-weight: 800; }
@media (max-width: 720px) { .own-cols { grid-template-columns: 1fr; } }

/* 21 Nov 2026: the Sympathico chat box styles, moved from public/style.css (v2 pages load only v2.css, so since 18 Nov the chat opened
   unstyled, full width below the screen). One copy here; colours as on the old site (--pale written out). */
/* Sympathico chat box (chat-widget.js). A parchment panel, like the emails, on the dark page. Hidden until the server says the chat is on. */
.sy-root { --sy-bottom: 16px; --sy-paper: #FAF8F0; --sy-ink: #121411; --sy-gilt: #D2C562; --sy-bronze: #7A6420; --sy-fine: #4A4A3C; }
.sy-root[hidden], .sy-panel[hidden] { display: none; }
.sy-launch { position: fixed; right: 16px; bottom: var(--sy-bottom); z-index: 55; display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 8px 16px 8px 10px; font-weight: 700; font-size: .95rem; color: var(--sy-ink); background: var(--sy-gilt); border: 1px solid var(--sy-bronze); border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
.sy-launch:hover { background: #E8E088; }
.sy-launch img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #121411; }
.sy-panel { position: fixed; right: 16px; bottom: var(--sy-bottom); z-index: 80; display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100svh - var(--sy-bottom) - 104px)); color: var(--sy-ink); background: var(--sy-paper); border: 1px solid var(--sy-gilt); border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .55); text-align: left; font-size: .95rem; line-height: 1.5; }
.sy-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid rgba(122, 100, 32, .35); background: #F1EDDC; border-radius: 12px 12px 0 0; }
.sy-who { display: flex; align-items: center; gap: 8px; }
.sy-who strong { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.05rem; }
.sy-badge { padding: 1px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sy-ink); background: var(--sy-gilt); border-radius: 999px; }
.sy-panel button { width: auto; font: inherit; }
.sy-close { padding: 0 8px; font-size: 1.5rem; line-height: 1.2; color: var(--sy-ink); background: none; border: 0; border-radius: 6px; cursor: pointer; }
.sy-close:hover { background: rgba(122, 100, 32, .15); }
.sy-log { flex: 1 1 auto; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sy-msg { max-width: 88%; padding: 8px 12px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 10px; }
.sy-bot { align-self: flex-start; background: #fff; border: 1px solid #E4DFC8; }
.sy-me { align-self: flex-end; background: rgba(210, 197, 98, .4); border: 1px solid rgba(122, 100, 32, .35); }
.sy-err { background: #FBE9E3; border-color: #E6B8A8; color: #6B2A14; }
.sy-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sy-note { margin: 0; padding: 6px 12px; font-size: .78rem; line-height: 1.4; color: var(--sy-fine); border-top: 1px solid rgba(122, 100, 32, .25); }
.sy-note a, .sy-panel a { color: var(--sy-bronze); }
.sy-human { padding: 0 12px; }
.sy-human:empty { display: none; }
.sy-status { min-height: 1.3em; margin: 0; padding: 0 12px 2px; font-size: .8rem; color: var(--sy-fine); }
.sy-form { display: flex; gap: 8px; padding: 8px 12px 12px; align-items: flex-end; }
.sy-field { flex: 1 1 auto; min-width: 0; padding: 8px 10px; font: inherit; color: var(--sy-ink); background: #fff; border: 1px solid rgba(122, 100, 32, .55); border-radius: 8px; resize: none; }
.sy-field:disabled { opacity: .6; }
.sy-send { padding: 9px 16px; font-weight: 700; color: var(--sy-ink); background: var(--sy-gilt); border: 1px solid var(--sy-bronze); border-radius: 8px; cursor: pointer; }
.sy-send:hover:not(:disabled) { background: #E8E088; }
.sy-send:disabled { opacity: .6; cursor: default; }
.sy-panel :focus-visible, .sy-launch:focus-visible { outline: 2px solid var(--sy-bronze); outline-offset: 2px; }
@media (max-width: 560px) {
  .sy-panel { left: 8px; right: 8px; width: auto; height: min(78svh, calc(100svh - var(--sy-bottom) - 72px)); }
  .sy-launch span { display: none; }
  .sy-launch { padding: 8px; }
}
.sy-join { margin: 0; padding: 8px 12px; border-top: 1px solid rgba(122, 100, 32, .25); background: #F1EDDC; }
.sy-joinh { margin: 0 0 6px; font-size: .8rem; font-weight: 700; line-height: 1.3; color: var(--sy-ink); }
.sy-joinrow { display: flex; gap: 6px; }
.sy-joinfield { flex: 1 1 auto; min-width: 0; padding: 7px 9px; font: inherit; font-size: .88rem; color: var(--sy-ink); background: #fff; border: 1px solid rgba(122, 100, 32, .55); border-radius: 8px; }
.sy-joinbtn { padding: 7px 12px; font-weight: 700; font-size: .88rem; color: var(--sy-ink); background: var(--sy-gilt); border: 1px solid var(--sy-bronze); border-radius: 8px; cursor: pointer; }
.sy-joinbtn:disabled { opacity: .6; cursor: default; }
.sy-joinmsg { margin: 4px 0 0; min-height: 1.1em; font-size: .78rem; color: var(--sy-fine); }

.sy-panel .sy-joinfield { background: #fff; color: var(--sy-ink); border: 1px solid rgba(122, 100, 32, .55); }
.sy-panel .sy-joinfield::placeholder { color: #6b6a5c; }
@media (max-width: 640px) {      /* on a phone the conversation gets the room: the join and privacy strips shrink */
  .sy-join { padding: 6px 12px; }
  .sy-joinh { margin-bottom: 4px; font-size: .74rem; }
  .sy-panel .sy-joinfield, .sy-panel .sy-joinbtn { padding: 5px 8px; font-size: .82rem; line-height: 1.2; min-height: 0; }
  .sy-joinmsg { min-height: 0; margin-top: 2px; }
  .sy-note { padding: 4px 12px; font-size: .68rem; line-height: 1.3; }
}
.btn-line.btn-dark { border-color: var(--ink); color: var(--ink); }
