/* Toolbox mockups — the parts every version shares.
   House standard: greyscale first, one accent (the Toolbox card's blue), two typefaces, white space as content.
   Type and neutrals come from the live kc.together.homes landing page. */
@font-face { font-family: 'Du Bois'; src: url('/v3/fonts/VTCDuBois-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Du Bois'; src: url('/v3/fonts/VTCDuBois-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #F5F5F7; --ink: #0A0A0A; --muted: #55555e; --faint: #8a8a93; --line: rgba(0, 0, 0, .12); --card: #FFFFFF;
  --accent: #3D5A80;
  --display: 'Du Bois', 'Space Grotesk', sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[hidden] { display: none !important; }
.tb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.nw { white-space: nowrap; }
.ln { display: block; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* the site's main menu: the same on every page */
.tb-top { position: sticky; top: 0; z-index: 20; background: rgba(245, 245, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tb-topin { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.tb-brand { font-family: var(--display); font-weight: 700; font-size: 18px; text-decoration: none; padding: 10px 0; }
.tb-menu { display: flex; gap: 24px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; overflow-x: auto; max-width: 100%; }
.tb-menu a { text-decoration: none; color: var(--muted); padding: 10px 0; white-space: nowrap; }
.tb-menu a:hover { color: var(--ink); }
.tb-menu a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

/* rows that scroll sideways on a phone do it without a scrollbar strip */
.tb-menu, .tb-ribbon, .rail ol { scrollbar-width: none; }
.tb-menu::-webkit-scrollbar, .tb-ribbon::-webkit-scrollbar, .rail ol::-webkit-scrollbar { display: none; }

/* small labels */
.tb-kicker { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.tb-how { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tb-how.self, .tb-how.demo { color: var(--ink); }
.tb-how.self::before, .tb-how.demo::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 7px; vertical-align: 1px; }
.tb-how.soon { color: var(--faint); }

/* the audience picker */
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-chip { font: 500 14px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.tb-chip span { color: var(--faint); font-weight: 400; margin-left: 2px; }
.tb-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tb-chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }

/* you bring / you get */
.tb-io { margin: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 14px; font-size: 14.5px; }
.tb-io dt { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.tb-io dd { margin: 0; text-wrap: pretty; }   /* no one-word last line */

.tb-cta { display: inline-block; font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tb-cta:hover { color: var(--ink); }

/* ask band + footer */
.tb-ask { background: var(--ink); color: #fff; margin-top: 112px; }
.tb-ask .tb-wrap { padding-top: 72px; padding-bottom: 72px; }
.tb-ask h2 { font: 700 clamp(32px, 4.4vw, 56px)/1.05 var(--display); margin: 0 0 16px; }
.tb-ask p { color: #c9c9d1; font-size: 18px; margin: 0 0 28px; }
.tb-mail { font: 700 clamp(20px, 2.4vw, 28px) var(--display); color: #fff; text-decoration: none; border-bottom: 2px solid #fff; }
.tb-foot { font-size: 12px; color: var(--muted); }
.tb-foot .tb-wrap { padding-top: 24px; padding-bottom: 96px; }

/* mockup switcher (not part of the design) */
.tb-ribbon { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 2px; background: #FFE066; color: #3a2f00; font: 600 12px var(--body); padding: 5px 6px; border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); max-width: calc(100vw - 16px); overflow-x: auto; white-space: nowrap; }
.tb-ribbon span { padding: 0 8px; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.tb-ribbon a { text-decoration: none; padding: 6px 10px; border-radius: 999px; font-weight: 500; }
.tb-ribbon a[aria-current] { background: #3a2f00; color: #FFE066; }

@media (max-width: 640px) {
  .tb-wrap { padding: 0 16px; }
  .tb-topin { min-height: 0; padding-top: 6px; }
  .tb-menu { gap: 18px; width: 100%; }
  .tb-ask { margin-top: 72px; }
  .tb-ribbon a { padding: 6px 8px; }
}
