/* The Baamboo portal (front-end brief, Slice 1, 2026-10-26).
   Ported from the prototype's <style> (_desktop-handoff/prototype-review-2026-10-18/baamboo-prototype.html):
   the :root tokens, type scale and the client-area components. Left out: the marketing site, the demo
   clock, the chat widget, the modal and .blur. Interactive bits are done without script: tabs are links,
   the mobile menu is <details>, chosen cards use :has(:checked). */

@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-400.woff2) format("woff2") }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-500.woff2) format("woff2") }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-600.woff2) format("woff2") }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/hanken-grotesk-700.woff2) format("woff2") }
@font-face { font-family: "Hanken Grotesk"; font-weight: 800; font-display: swap; src: url(fonts/hanken-grotesk-800.woff2) format("woff2") }
@font-face { font-family: "Hanken Grotesk"; font-weight: 900; font-display: swap; src: url(fonts/hanken-grotesk-900.woff2) format("woff2") }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-400.woff2) format("woff2") }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; font-display: swap; src: url(fonts/jetbrains-mono-600.woff2) format("woff2") }

/* The Brand Book's font choices (config/brand-fonts.v1.json), for its samples. */
@font-face { font-family: "Fraunces"; font-weight: 400; font-display: swap; src: url(fonts/fraunces-400.woff2) format("woff2") }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url(fonts/fraunces-700.woff2) format("woff2") }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(fonts/playfair-display-400.woff2) format("woff2") }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-700.woff2) format("woff2") }
@font-face { font-family: "Lora"; font-weight: 400; font-display: swap; src: url(fonts/lora-400.woff2) format("woff2") }
@font-face { font-family: "Lora"; font-weight: 700; font-display: swap; src: url(fonts/lora-700.woff2) format("woff2") }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url(fonts/dm-serif-display-400.woff2) format("woff2") }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url(fonts/archivo-400.woff2) format("woff2") }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-800.woff2) format("woff2") }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url(fonts/outfit-400.woff2) format("woff2") }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(fonts/outfit-700.woff2) format("woff2") }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-400.woff2) format("woff2") }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(fonts/manrope-800.woff2) format("woff2") }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url(fonts/work-sans-400.woff2) format("woff2") }
@font-face { font-family: "Work Sans"; font-weight: 700; font-display: swap; src: url(fonts/work-sans-700.woff2) format("woff2") }

/* Cream paper for reading, deep forest panels for the moments that matter, lime as the growth signal. */
:root {
  --cream: #F5F1E7; --paper: #FBF9F3; --sage: #F2F6EE; --line: #E2DCCB;
  --forest: #1E3B28; --forest-2: #275038; --forest-3: #35684A; --ink: #14211A; --muted: #4A5A50; --soft-ink: #6B786F;
  --lime: #9EE53B; --lime-2: #8EDC4C; --lime-soft: #DCF2C2; --lime-faint: #EAF7DA;
  --good: #2E8B2E; --warn: #C98A0B; --crit: #C2402F; --warn-bg: #FFF3D6; --crit-bg: #FBE3DE;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 14px; --r-lg: 22px;
  color-scheme: light;
}
* { box-sizing: border-box } [hidden] { display: none !important }
html, body { background: var(--cream); color: var(--ink); margin: 0 }
body { font: 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; color: var(--forest) }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800 }
h4 { font-size: 16px; font-weight: 800 }
p { margin: 0 }
ul, ol { margin: 6px 0 0; padding-left: 20px }
a { color: var(--forest-2) }
img { max-width: 100% }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px }
.eyebrow { font: 800 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--forest-3) }
.muted { color: var(--muted) } .small { font-size: 14px } .tiny { font-size: 12.5px }
.num { font-variant-numeric: tabular-nums }
.stack { display: flex; flex-direction: column; gap: 14px }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--forest); background: var(--forest); color: var(--paper);
  border-radius: 999px; padding: 11px 22px; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s }
.btn:hover { transform: translateY(-1px) } .btn:disabled { opacity: .45; cursor: not-allowed; transform: none }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--forest) }
.btn.ghost { background: transparent; color: var(--forest) }
.btn.small { padding: 7px 14px; font-size: 13.5px }
.link { background: none; border: 0; padding: 0; color: var(--forest-2); text-decoration: underline; cursor: pointer; font-weight: 700 }
.tick { display: flex; gap: 10px; align-items: flex-start } .tick::before { content: "✓"; color: var(--lime-2); font-weight: 900; flex: none; margin-top: 1px }

/* plan cards */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr } }
.price { border-radius: var(--r-lg); padding: 28px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; cursor: pointer }
.price.dark { background: var(--forest); color: var(--paper); border-color: var(--forest) }
.price.dark h3 { color: var(--paper) }
.price .amt { font: 900 48px/1 var(--f-display); letter-spacing: -.02em } .price .amt small { font-size: 15px; font-weight: 600; opacity: .75; letter-spacing: 0 }
.price .badge { position: absolute; top: 18px; right: 18px; background: var(--lime); color: var(--forest); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px }
.price input[type=radio] { position: absolute; opacity: 0; pointer-events: none }
.price .pick { margin-top: auto; font-weight: 800; font-size: 14px }
.price:has(input:checked), .price.selected { outline: 4px solid var(--lime); outline-offset: 2px }
.price:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px }

/* forms, cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-width: 0 }
.card.tight { padding: 18px }
.card.dark { background: var(--forest); color: var(--paper); border-color: var(--forest) }
.card.dark h2, .card.dark h3, .card.dark h4 { color: var(--paper) }
.card.dark .eyebrow { color: var(--lime) }
.card.lime { background: var(--lime-faint); border-color: var(--lime-soft) }
label.f { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--forest) }
label.f .hint, .hint { font-weight: 500; color: var(--soft-ink); font-size: 13px }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 13px; color: var(--ink) }
textarea { min-height: 84px; resize: vertical }
input:focus, select:focus, textarea:focus { border-color: var(--forest-3); outline: none; box-shadow: 0 0 0 3px var(--lime-soft) }
label.opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; margin: 4px 0 }
label.opt input { margin-top: 5px }
.row2 { display: grid; grid-template-columns: 2fr 1fr; gap: 8px }
.chips { display: flex; gap: 8px; flex-wrap: wrap }
.err { color: var(--crit); font-weight: 700; font-size: 14px }
.auth { max-width: 460px; margin: 48px auto; padding-inline: 20px }
.auth .logo img { height: 30px; display: block; margin-bottom: 26px }
.auth h1 { font-size: 34px }

/* client area */
.app { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(to right, var(--forest) 270px, transparent 270px) }
.side { background: var(--forest); color: var(--lime-soft); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto }
.side .logo img { height: 26px; margin: 4px 8px 16px; display: block }
.grp { font: 800 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); opacity: .85; margin: 14px 10px 6px; display: flex; justify-content: space-between }
a.nav-i { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: var(--paper); padding: 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none }
a.nav-i:hover { background: var(--forest-2) }
a.nav-i[aria-current="page"] { background: var(--lime); color: var(--forest) }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--forest-3); flex: none }
.dot.done { background: var(--lime) } .dot.now { background: #fff; box-shadow: 0 0 0 3px var(--lime) } .dot.lock { background: transparent; border: 1.5px solid var(--forest-3) }
.dot.not_built { background: transparent; border: 1.5px dashed var(--forest-3) }
.nav-i .lock { margin-left: auto; opacity: .6 }
.foot-s { margin-top: auto; padding: 12px 10px 0; font-size: 13px; border-top: 1px solid var(--forest-2) }
.foot-s .link { color: var(--lime) }
.main { padding: 22px 28px 120px; min-width: 0 }
.topbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px }
.topbar .who { margin-left: auto; font-size: 14px; color: var(--muted) }
.topbar form { display: inline }
/* the mobile menu: a <details>, so it needs no script */
.mnav { display: none }
.mnav > summary { list-style: none; display: inline-flex } .mnav > summary::-webkit-details-marker { display: none }
.mnav[open] .side { display: flex; position: static; height: auto; border-radius: var(--r-lg); margin: 10px 0 18px }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; background: none } .app > .side { display: none } .mnav { display: block }
  .main { padding: 16px 16px 120px }
}
.page-h { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px }
.page-h p { max-width: 70ch; margin-top: 6px }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-weight: 800; font-size: 12.5px; background: var(--sage); color: var(--forest); white-space: nowrap }
.pill.lime { background: var(--lime) } .pill.dark { background: var(--forest); color: var(--lime) }
.pill.good { background: #DDF1D9; color: #1d5e1d } .pill.warn { background: var(--warn-bg); color: #7a5300 } .pill.crit { background: var(--crit-bg); color: #8a2a1e } .pill.grey { background: #ECE8DE; color: var(--muted) }
.todo { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; border-radius: 14px; text-align: left; width: 100%; color: var(--ink); text-decoration: none }
.todo:hover { border-color: var(--forest-3) }
.journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px }
.journey .j { border-radius: 14px; padding: 12px; background: var(--sage); min-width: 0 }
.journey .j b { display: block; font-size: 15px; color: var(--forest) } .journey .j span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px }
.journey .j i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3) }
.journey .j.done { background: var(--lime-faint) } .journey .j.now { background: var(--forest) } .journey .j.now b, .journey .j.now i { color: var(--lime) } .journey .j.now span { color: var(--lime-soft) }
.journey .j.not_built { opacity: .6 }
@media (max-width: 760px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
/* the lock over a locked part: a plain decorative panel underneath, never real content */
.locked { position: relative; min-height: 320px; border-radius: var(--r-lg); overflow: hidden;
  background: repeating-linear-gradient(0deg, var(--paper) 0 26px, var(--sage) 26px 52px); border: 1px solid var(--line) }
.lockbox { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px }
.lockbox > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; max-width: 420px; box-shadow: 0 10px 30px rgba(20, 33, 26, .12) }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px }
table.t th { text-align: left; font: 800 11.5px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--soft-ink); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line) }
table.t td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top }
.scroll { overflow-x: auto }
.msg { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px }
.msg:last-child { border-bottom: 0 }
.choice { border: 2px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; cursor: pointer; text-align: left; display: grid; gap: 10px; min-width: 0; width: 100% }
.choice:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 4px var(--lime-soft) }
.flag { font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--warn-bg); color: #5d4500 } .flag.fixed { background: var(--lime-faint); color: var(--forest) } .flag.block { background: var(--crit-bg); color: #7a2418 }
.asset-label { font-size: 14px; color: var(--ink); padding-bottom: 2px; border-bottom: 2px solid var(--forest); justify-self: start }
.cd-note { font-size: 13.5px; line-height: 1.45; padding: 8px 10px; border-radius: 10px; background: var(--lime-faint); color: var(--forest) }
.assets { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px }
.asset { display: grid; gap: 6px; min-width: 0 }
.asset img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: block }
/* designs in context (portal PR 7): the frame is ours, the design inside it untouched */
.ctx { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line) }
.ctx img { border: 0; border-radius: 0 }
.ctx-bar { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 10px; font-size: 13px }
.ctx-post .ctx-bar { justify-content: flex-start }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 12px }
.ctx-foot { padding: 6px 12px 8px; font-size: 15px; color: var(--ink); letter-spacing: .05em }
.ctx-print { background: var(--sage); border: 0; padding: 18px 22px }
.ctx-print img { box-shadow: 0 10px 22px rgba(20, 33, 26, .22); transform: rotate(-1.2deg); border-radius: 2px }
.ctx-sign { background: #3a3f3b; border: 0; padding: 22px 26px 30px }
.ctx-sign img { border: 6px solid #1b1d1c; box-shadow: 0 8px 18px rgba(0, 0, 0, .35) }
.ctx-listing .ctx-bar { border-bottom: 1px solid var(--line); background: var(--paper) }
/* the Brand Book (Review PR 12c) */
.swatches { display: flex; gap: 8px; flex-wrap: wrap }
.sw { width: 58px; height: 58px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); display: flex; align-items: flex-end; padding: 4px; font-size: 10px; font-family: var(--f-mono) }
.font-sample { font-size: 28px; line-height: 1.15 }
.tagline { font: 800 30px/1.15 var(--f-display); color: var(--forest) }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line) }
.copyline { font: 800 18px/1.3 var(--f-display); color: var(--forest); border-left: 3px solid var(--lime); padding-left: 12px }
details.more > summary { cursor: pointer; font-weight: 800; color: var(--forest) }
/* honest failures and "coming soon" */
.failed { padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: #5d4500 }
.coming { max-width: 640px }
.team { border-top: 1px dashed var(--forest-3); padding-top: 10px; margin-top: 4px }
@media (prefers-reduced-motion: reduce) { .btn { transition: none } }

/* Support chat (Review PR 17) */
.msg.chat-me, .msg.chat-ai, .msg.chat-team { border: 0; border-radius: 14px; max-width: 80%; padding: 10px 14px }
.msg.chat-me { background: var(--forest); color: #fff; justify-self: end; align-self: flex-end }
.msg.chat-me .muted { color: rgba(255,255,255,.75) }
.msg.chat-ai { background: var(--cream) }
.msg.chat-team { background: var(--lime-soft, #eef8d6) }
@media (max-width: 640px) { .msg.chat-me, .msg.chat-ai, .msg.chat-team { max-width: 100% } }
/* Launch PR F1: "What's this?" notes for the terms a page uses */
details.whats-this > summary { cursor: pointer; font-size: 13px; color: var(--forest) }
details.whats-this p { margin: 6px 0 0 }
/* The 6Ds (the founders, 2026-10-31): the D large, bold and in capitals; its plain English name beneath, smaller. */
.dname { display: block; text-transform: uppercase; font-weight: 900; letter-spacing: .06em }
.plain { display: block; text-transform: none; font-weight: 500; letter-spacing: 0 }
.journey .j b .dname { font-size: 17px; line-height: 1.1 }
.journey .j b .plain { font-size: 12.5px; margin-top: 2px; color: var(--forest-3) }
.journey .j.now b .plain { color: var(--lime-soft) }
.grp .dname { font-size: 13px; letter-spacing: .12em }
.grp .plain { font-size: 11.5px; opacity: .9; margin-top: 3px }
.eyebrow .dname { display: inline; font-size: 13px }
.eyebrow .plain { display: inline; font-size: 13px; color: var(--muted); margin-left: 8px }
