/* Copyright (c) 2026 Taki Consulting Limited. All rights reserved. Proprietary and confidential. */
/* SPDX-License-Identifier: LicenseRef-Taki-Proprietary */
/* Taki brand (31 Oct 2026), the same tokens as takiconsulting.nz (taki-website/src/index.css):
   near-black red background, gold primary, deep teal accent, Russo One headings, Roboto body.
   Fonts are self-hosted @fontsource copies (SIL OFL 1.1, licences in public/fonts). */
@font-face { font-family: 'Russo One'; font-weight: 400; font-display: swap; src: url('/static/russo-one-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Russo One'; font-weight: 400; font-display: swap; src: url('/static/russo-one-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('/static/roboto-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('/static/roboto-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('/static/roboto-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('/static/roboto-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('/static/roboto-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('/static/roboto-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --tknj48yzqvnvea: 0; }
:root {
  --bg: #1a0505;          /* background */
  --card: #080000;        /* cards */
  --raised: #121212;      /* inputs, code */
  --ink: #f5f5f5;         /* text */
  --muted: #b3b3b3;       /* secondary text */
  --line: #2a2a2a;        /* borders */
  --brand: #d4af37;       /* gold primary */
  --brand-ink: #121212;   /* text on gold */
  --accent: #1b3d48;      /* deep teal */
  --bad: #f97066;
  --good: #47cd89;
  --heading: 'Russo One', Arial, sans-serif;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; background: var(--bg); }
a { color: var(--brand); }
header.top { background: var(--card); border-bottom: 1px solid var(--line); padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
header.top .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
header.top .brand img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
header.top .brand b { font-family: var(--heading); font-weight: 400; font-size: 1.15rem; color: var(--brand); letter-spacing: .01em; }
header.top .brand .muted { overflow-wrap: anywhere; }
header.top nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
header.top nav a { color: var(--ink); text-decoration: none; }
header.top nav a.on { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
main.narrow { max-width: 420px; }
h1, h2 { font-family: var(--heading); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: 1.6rem; margin: 0 0 4px; }
h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--brand); }
.card h2:first-child { margin-top: 0; }
p.sub { color: var(--muted); margin: 0 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 0 0 16px; }
label { display: block; font-weight: 500; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], select {
  width: 100%; padding: 10px 12px; border: 1px solid #7a7a7a; border-radius: 6px; font-size: 1rem; background: var(--raised); color: var(--ink);
}
/* 44 px tap targets for links and link-buttons, for gloves and sun on site (phone review, 5 Nov 2026). */
header.top nav a, header.top nav button.link, .row > a, td button.link { min-height: 44px; display: inline-flex; align-items: center; }
header.top nav button.link { color: var(--ink); text-decoration: none; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
button, .button {
  display: inline-block; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--brand);
  background: var(--brand); color: var(--brand-ink); font-size: 1rem; font-weight: 500; cursor: pointer; text-decoration: none; font-family: inherit;
}
button:hover, .button:hover { filter: brightness(1.08); }
button.secondary, .button.secondary { background: transparent; color: var(--brand); }
button.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
button.link { background: none; border: none; color: var(--brand); padding: 0; text-decoration: underline; font-weight: 400; line-height: inherit; vertical-align: baseline; }
header.top nav form.inline { display: flex; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.msg { padding: 10px 12px; border-radius: 6px; margin: 0 0 16px; }
.msg.bad { background: #2a0b0b; color: var(--bad); border: 1px solid #5c1a1a; }
.msg.good { background: #0b2416; color: var(--good); border: 1px solid #1a5c38; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px; text-decoration: none; color: var(--ink); }
a.tile:hover { border-color: var(--brand); }
.tile strong { display: block; font-family: var(--heading); font-weight: 400; font-size: 1.15rem; color: var(--brand); }
.tile span { display: block; color: var(--muted); font-size: .9rem; }
.tile.soon { border-style: dashed; }
.tile.soon strong { color: var(--ink); }
.tile .tag { display: inline-block; margin-top: 8px; font-size: .78rem; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: var(--ink); }
.industries { margin: 0 0 20px; }
.industries p { margin: 0 0 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
button.chip { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 11px 14px; font-weight: 400; }
button.chip:hover { border-color: var(--brand); }
button.chip.on { background: var(--brand); color: #1a0505; border-color: var(--brand); font-weight: 500; }
button.chip.clear { color: var(--muted); }
.industries p.for { margin: 14px 0 8px; font-size: .9rem; }
.prospect { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--brand); border-radius: 10px; }
.prospect img { height: 32px; width: auto; max-width: 100%; }
.prospect p { flex: 1 1 220px; margin: 0; color: var(--ink); }
/* The Taki bar (8 Nov 2026): talk box, then one card per proposed draft. */
.bar { margin: 0 0 24px; }
.bar h2 { font-size: 1.05rem; margin: 20px 0 10px; }
.bar .talk { background: var(--card); border: 1px solid var(--brand); border-radius: 12px; padding: 16px; }
/* Tap and talk: one big target, gloves and sun on site. Gold at rest, red while listening. */
.bar .voice { text-align: center; margin: 0 0 16px; padding: 18px 16px; background: var(--card); border: 1px solid var(--brand); border-radius: 12px; }
.bar .voice[hidden] { display: none; }
.voice-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 360px; min-height: 64px; border-radius: 32px; font-family: var(--heading); font-weight: 400; font-size: 1.25rem; }
.voice-btn .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-ink); flex: none; }
.voice[data-state="listening"] .voice-btn { background: var(--bad); border-color: var(--bad); }
.voice[data-state="listening"] .voice-btn .dot { animation: taki-pulse 1s ease-in-out infinite; }
.voice[data-state="sending"] .voice-btn { opacity: .75; cursor: progress; }
.bar .voice p { margin: 10px 0 0; }
@keyframes taki-pulse { 50% { transform: scale(.55); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .voice[data-state="listening"] .voice-btn .dot { animation: none; } }
.bar .talk label { font-family: var(--heading); color: var(--brand); font-size: 1.15rem; }
.bar textarea { width: 100%; box-sizing: border-box; font: inherit; }
.barcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; }
.barcard h3 { margin: 0 0 8px; font-size: 1rem; }
.barcard.saved { border-color: var(--good); }
.barcard .said { margin: 0 0 6px; }
.barcard .row { flex-wrap: wrap; }
.preview ul { margin: 4px 0 8px; padding-left: 18px; }
.preview li span { color: var(--muted); font-size: .85rem; }
.preview li.amber { color: #f0b429; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.grid2 input { width: 100%; box-sizing: border-box; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
td button.link { white-space: nowrap; }
th { font-size: .85rem; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: .8rem; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: var(--ink); }
.pill.off { background: #5c1a1a; color: #ffd6d2; }
code { background: var(--raised); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
code.codes { display: block; white-space: pre; font-size: 1.05rem; padding: 12px; border-radius: 6px; border: 1px solid var(--line); }
code.key { font-size: 1.1rem; letter-spacing: .04em; white-space: normal; }
.qr { width: 200px; height: 200px; background: #fff; padding: 8px; border-radius: 6px; }
.or { text-align: center; color: var(--muted); margin: 14px 0; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; padding: 10px 14px; }
legend { font-weight: 500; }
.inline { display: inline; }
@media (max-width: 480px) { main { padding: 16px 12px 40px; } header.top .brand .muted { display: none; } }
