/* ===============================
   BASE STYLES – HEADERS, TEXT, ETC.
   =============================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--surface);
  color: var(--text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;   /* reduced */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;   /* smaller */
  height: auto;
}

.brand-main {
  font-weight: 700;
  color: #1d2b4f;
}

.brand-accent {
  font-weight: 700;
  color: #2a7abf;
}

.tagline {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 400;
}

header h1,
header p {
  margin: 0;
}
header h1 {
  font-size: 1.25rem;
}

.subtle-note {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: #555;
}
/* ===============================
   BUTTON SYSTEM
   =============================== */

button {
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background: var(--surface-muted);
}

button:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Primary button */
button.primary {
  background: var(--brand-primary);
  color: white;
  border: none;
}

button.primary:hover {
  filter: brightness(1.05);
}

/* Secondary button */
button.secondary {
  background: transparent;
}

/* ===============================
   ICONS (SVG) – consistent, brandable
   =============================== */
/* Icons: slightly heavier + cleaner at small sizes */
.icon {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;          /* heavier = more premium */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon button look (consistent) */
.mic-btn,
.status-speak,
.quick-dest {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--brand-primary);       /* key: brand the icons */
}

/* Hover / active polish */
.mic-btn:hover,
.status-speak:hover,
.quick-dest:hover {
  box-shadow: var(--shadow-float);
}

.mic-btn:active,
.status-speak:active,
.quick-dest:active {
  box-shadow: var(--shadow-soft);
}

/* Slightly larger icons for the quick row */
.quick-dest .icon { width: 22px; height: 22px; }

.qd-text{
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--brand-primary);
}
/* Icon-only buttons must not inherit global button padding */
.mic-btn,
.status-speak,
.quick-dest {
  padding: 0;
  line-height: 0;
}
.mic-btn,
.status-speak,
.quick-dest{
  position: relative;
}

/*brand tool tip */
.ui-tooltip{
  position:absolute;
  top: var(--tooltip-offset-y);
  left:50%;
  transform:translateX(-50%);
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  padding: var(--tooltip-pad-y) var(--tooltip-pad-x);
  border-radius: var(--tooltip-radius);
  font-size: 12px;
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  box-shadow: var(--shadow-soft);
  z-index: 2000;
}

.mic-btn:hover .ui-tooltip,
.mic-btn:focus-visible .ui-tooltip,
.status-speak:hover .ui-tooltip,
.status-speak:focus-visible .ui-tooltip,
.quick-dest:hover .ui-tooltip,
.quick-dest:focus-visible .ui-tooltip{
  opacity: 1;
}

/* Footer styles and menu button for info/about/licensing etc.*/
footer {
  display: flex;
  bottom: 0;  
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #eaeaea;
  font-size: 0.9rem;
}
