/* Feedback by Bright Kumedzro. Same tokens as brightkumedzro.com and the Reveal site: ink on near-black, grey second
   sentences, film grain, soft dark pills with one light primary, Plus Jakarta Sans, Caveat as a handwritten accent. */
/* Theme tokens: the same system as brightkumedzro.com. Light is the :root default; dark is the original look.
   /theme.js (loaded first in every <head>) sets data-theme on <html> from the saved choice or the system. */
:root {
  --bg: #ffffff; --surface: #f5f5f4; --surface2: #eeeeec; --surface3: #e4e4e1;
  --ink: #161616; --body: #3b3b3b; --soft: #5f5f5f; --mute: #6b6b6b; --faint: #b9b9b9; --line: #ececea; --line2: #dcdcd8; --line3: #c6c6c1;
  --accent: #0099ff; --accent-text: #0066b3; --focus: #0077cc; --on-accent: #04121c; --leaf: #15803d; --on-leaf: #ffffff; --bad: #cc2020; --amber: #d97706;
  --r1: #cc2020; --r2: #b45309; --r3: #6b6b6b; --r4: #15803d; --r5: #0066b3;
  --ink-hover: #000000; --inv-hover: #333333;
  --glass: rgba(255, 255, 255, .72); --glass2: rgba(255, 255, 255, .88); --scrim: rgba(20, 20, 20, .34);
  --ring: rgba(0, 119, 204, .2); --accent-tint: rgba(0, 153, 255, .1); --accent-tint2: rgba(0, 153, 255, .16); --leaf-glow: rgba(21, 128, 61, .16);
  --warn-bg: rgba(217, 119, 6, .1); --warn-line: rgba(180, 83, 9, .35); --bad-bg: #fef2f2; --bad-line: #fca5a5; --bad-line2: #f3b9b9;
  --stage: #e8e8e5; --tmix: 55%;
  --sh-toast: 0 10px 30px rgba(0, 0, 0, .18); --sh-menu: 0 20px 50px rgba(0, 0, 0, .16); --sh-drawer: -30px 0 60px rgba(0, 0, 0, .14); --sh-modal: 0 30px 80px rgba(0, 0, 0, .22); --sh-bar: 0 16px 40px rgba(0, 0, 0, .24); --sh-demo: 0 40px 80px -30px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .03);
  --grain-op: .05; --grain-blend: multiply;
  --on-dark: none; --on-light: block;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}
:root[data-theme="dark"] {
  --bg: #0c0c0c; --surface: #141414; --surface2: #1a1a1a; --surface3: #222222;
  --ink: #f1f1ef; --body: #c9c9c6; --soft: #8d8d8d; --mute: #838383; --faint: #5f5f5f; --line: #232323; --line2: #2e2e2e; --line3: #3d3d3d;
  --accent: #33adff; --accent-text: #33adff; --focus: #33adff; --on-accent: #04121c; --leaf: #5cc976; --on-leaf: #04121c; --bad: #f87171; --amber: #fbbf24;
  --r1: #f87171; --r2: #fbbf24; --r3: #a1a1aa; --r4: #4ade80; --r5: #33adff;
  --ink-hover: #ffffff; --inv-hover: #e4e4e1;
  --glass: rgba(12, 12, 12, .72); --glass2: rgba(12, 12, 12, .86); --scrim: rgba(0, 0, 0, .5);
  --ring: rgba(51, 173, 255, .18); --accent-tint: rgba(51, 173, 255, .1); --accent-tint2: rgba(51, 173, 255, .25); --leaf-glow: rgba(92, 201, 118, .18);
  --warn-bg: rgba(251, 191, 36, .08); --warn-line: rgba(251, 191, 36, .28); --bad-bg: #2a1717; --bad-line: #5a2a2a; --bad-line2: #4a2424;
  --stage: #0f0f10; --tmix: 100%;
  --sh-toast: 0 10px 30px rgba(0, 0, 0, .5); --sh-menu: 0 20px 50px rgba(0, 0, 0, .6); --sh-drawer: -30px 0 60px rgba(0, 0, 0, .5); --sh-modal: 0 30px 80px rgba(0, 0, 0, .7); --sh-bar: 0 16px 40px rgba(0, 0, 0, .6); --sh-demo: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03);
  --grain-op: .09; --grain-blend: screen;
  --on-dark: block; --on-light: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0c0c0c; --surface: #141414; --surface2: #1a1a1a; --surface3: #222222;
  --ink: #f1f1ef; --body: #c9c9c6; --soft: #8d8d8d; --mute: #838383; --faint: #5f5f5f; --line: #232323; --line2: #2e2e2e; --line3: #3d3d3d;
  --accent: #33adff; --accent-text: #33adff; --focus: #33adff; --on-accent: #04121c; --leaf: #5cc976; --on-leaf: #04121c; --bad: #f87171; --amber: #fbbf24;
  --r1: #f87171; --r2: #fbbf24; --r3: #a1a1aa; --r4: #4ade80; --r5: #33adff;
  --ink-hover: #ffffff; --inv-hover: #e4e4e1;
  --glass: rgba(12, 12, 12, .72); --glass2: rgba(12, 12, 12, .86); --scrim: rgba(0, 0, 0, .5);
  --ring: rgba(51, 173, 255, .18); --accent-tint: rgba(51, 173, 255, .1); --accent-tint2: rgba(51, 173, 255, .25); --leaf-glow: rgba(92, 201, 118, .18);
  --warn-bg: rgba(251, 191, 36, .08); --warn-line: rgba(251, 191, 36, .28); --bad-bg: #2a1717; --bad-line: #5a2a2a; --bad-line2: #4a2424;
  --stage: #0f0f10; --tmix: 100%;
  --sh-toast: 0 10px 30px rgba(0, 0, 0, .5); --sh-menu: 0 20px 50px rgba(0, 0, 0, .6); --sh-drawer: -30px 0 60px rgba(0, 0, 0, .5); --sh-modal: 0 30px 80px rgba(0, 0, 0, .7); --sh-bar: 0 16px 40px rgba(0, 0, 0, .6); --sh-demo: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03);
  --grain-op: .09; --grain-blend: screen;
  --on-dark: block; --on-light: none;
  color-scheme: dark;
  }
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Themed scrollbars: native scrolling, styled from the theme tokens (light + dark). Phones keep their overlay bars. */
html, * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 38%, var(--bg)) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 38%, var(--bg)); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--ink) 58%, var(--bg)); background-clip: padding-box; }
@media (forced-colors: active) { html, * { scrollbar-width: auto; scrollbar-color: auto; } *::-webkit-scrollbar { width: auto; height: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--grain); opacity: var(--grain-op); mix-blend-mode: var(--grain-blend); }
body > * { position: relative; z-index: 1; }
a { color: var(--accent-text); text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.hidden { display: none !important; }
.muted { color: var(--soft); } .small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* type: medium weight, tight, and two-tone (a white lead, then the rest in grey) */
h1, h2, h3 { font-weight: 500; letter-spacing: -.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 17px; letter-spacing: -.01em; font-weight: 600; }
.rest { color: var(--soft); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 0 0 12px; }
.hand { font-family: Caveat, "Segoe Script", cursive; font-weight: 500; color: var(--accent-text); }

/* lockup: a speech bubble whose tail is the accent, then Feedback, then a quiet "by Bright Kumedzro" */
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.lockup svg { width: 28px; height: 28px; flex: none; }
.lockup b { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.lockup small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-top: 1px; font-weight: 600; }
.lockup span { display: block; line-height: 1.15; }

/* pills: soft dark for most, one light primary, as on the portfolio */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 "Plus Jakarta Sans", system-ui, sans-serif; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface2); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s, transform .15s var(--ease), color .2s; white-space: nowrap; }
.btn:hover { background: var(--surface3); border-color: var(--line3); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--ink-hover); }
.btn.blue { background: #1c79c7; border-color: #1c79c7; color: #fff; }
.btn.blue:hover { background: #2389df; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.danger { color: var(--bad); }
.btn.danger:hover { background: var(--bad-bg); border-color: var(--bad-line); }
.btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
.iconbtn { appearance: none; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--soft); cursor: pointer; transition: background .15s, color .15s; position: relative; }
.iconbtn:hover, .iconbtn:focus-visible { background: var(--surface3); color: var(--ink); }
.iconbtn.danger:hover { color: var(--bad); }
.iconbtn svg, .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font: 600 11px/1 "Plus Jakarta Sans", sans-serif; padding: 6px 8px; border-radius: 7px; white-space: nowrap; pointer-events: none; z-index: 30; }
.chip { appearance: none; font: 600 13px/1 "Plus Jakarta Sans", sans-serif; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--soft); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all .15s; }
.chip:hover { color: var(--ink); border-color: var(--line3); }
.chip[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-variant-numeric: tabular-nums; opacity: .7; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card h3 + p { margin-top: 4px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* status pill with a dot */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 4px 11px 4px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--body); background: var(--surface); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.live i { background: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-glow); }
.status.paused i { background: var(--amber); }
.status.wait i { background: var(--accent); }
.badge { display: inline-block; min-width: 20px; text-align: center; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-variant-numeric: tabular-nums; }

/* forms */
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--body); margin: 0 0 6px; }
input[type=text], input[type=email], input[type=search], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--line3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
::placeholder { color: var(--mute); }
.field { margin-bottom: 16px; }
.hint { color: var(--soft); font-size: 12.5px; margin-top: 6px; }
.linkbtn { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.err { color: var(--bad); font-size: 13.5px; margin: 8px 0 0; }
.err:empty { display: none; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border: 1px solid var(--line2); border-radius: 999px; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--soft); font: 600 13px/1 "Plus Jakarta Sans", sans-serif; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.seg button[aria-pressed=true] { background: var(--surface3); color: var(--ink); }
.switch { position: relative; display: inline-block; width: 40px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--surface3); border: 1px solid var(--line2); border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--soft); transition: transform .2s var(--ease), background .2s; }
.switch input:checked + span { background: var(--accent-tint2); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--accent); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* face with a coloured ring */
.face { --c: var(--r3); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; line-height: 1; flex: none; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.face.sm { width: 28px; height: 28px; font-size: 15px; border-width: 1.5px; }
.face.none { border-color: var(--line2); background: transparent; color: var(--mute); font-size: 14px; }
.word { font-weight: 600; color: var(--c, var(--body)); }

.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--bg); padding: 11px 12px 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--sh-toast); animation: toast-in .22s var(--ease); }
.toast button { appearance: none; border: 0; background: var(--bg); color: var(--ink); font: 700 13px/1 "Plus Jakarta Sans", sans-serif; padding: 8px 13px; border-radius: 999px; cursor: pointer; }
.toast:not(:has(button)) { padding-right: 18px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.skel { background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
kbd { font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; background: var(--surface3); border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; color: var(--body); }
.code { position: relative; background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; padding: 14px 16px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; padding-right: 96px; color: var(--body); }
.code .btn { position: absolute; top: 8px; right: 8px; }
.code .k { color: var(--accent-text); }

/* the footer, as on the portfolio and Reveal */
.site-foot { border-top: 1px solid var(--line); padding: 28px max(16px, calc((100% - 1160px) / 2)) calc(28px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; font-size: 13px; }
.site-foot .me { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.site-foot .me img { width: 34px; height: 34px; border-radius: 9px; }
.site-foot .me b { display: block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.site-foot .me span span { display: block; color: var(--soft); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin-top: 2px; }
.site-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.site-foot nav a { color: var(--soft); text-decoration: none; }
.site-foot nav a:hover, .site-foot nav a:focus-visible { color: var(--ink); }
.site-foot .talk { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #1c79c7; color: #fff !important; font-weight: 600; }
.site-foot .talk i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.site-foot .where { color: var(--soft); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* illustrations: a dark and a light <img> are both rendered; the one for the other theme is display:none (so, being lazy, never fetched) */
.illus { display: block; margin: 0 auto 14px; max-width: 100%; height: auto; }
.illus.il-dark { display: var(--on-dark); } .illus.il-light { display: var(--on-light); }
/* theme toggle: the sun in dark mode ("switch to light"), the moon in light mode */
.theme-toggle .i-sun { display: var(--on-dark); } .theme-toggle .i-moon { display: var(--on-light); }
.theme-toggle .ic { width: 17px; height: 17px; }
.theme-toggle.corner { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); z-index: 30; width: 38px; height: 38px; border-color: var(--line2); background: var(--surface); }
body:has(.shell) .theme-toggle.corner { display: none; }
