/* ============================================================
   makeBIMI.com — Design System
   Exact Linear.app aesthetic: Inter Variable, fractional weights,
   precise letter-spacing, deep black, stark white
   ============================================================ */

/* Inter Variable — rsms.me CDN (same source Linear uses) */
@import url('https://rsms.me/inter/inter.css');

:root {
  /* ── Colors (matched to Linear.app exactly) ── */
  --bg-base:        #08090a;
  --bg-elevated:    #0f1011;
  --bg-card:        #141517;
  --bg-card-hover:  #1a1b1e;
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(255,255,255,0.13);
  --text-primary:   #f7f8f8;
  --text-secondary: #8a8f98;
  --text-muted:     #4e5158;
  --accent:         #7170ff;
  --accent-glow:    rgba(113,112,255,0.2);
  --accent-dim:     rgba(113,112,255,0.1);
  --green:          #4caf7d;
  --green-dim:      rgba(76,175,125,0.1);
  --red:            #e5484d;
  --yellow:         #f5a623;

  /* ── Typography (Inter Variable, matching Linear) ── */
  --font:   'Inter var', 'Inter Variable', 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --mono:   'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, 'SF Mono', monospace;

  /* ── Spacing & Shape ── */
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-pill: 9999px;
  --transition: 120ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enable Inter Variable optical sizing */
@supports (font-variation-settings: normal) {
  :root { font-optical-sizing: auto; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ── SELECTION ── */
::selection { background: var(--accent-dim); color: var(--text-primary); }

/* ── LINKS ── */
a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 510;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.0; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.022em; }
h3 { font-size: 1.05rem; font-weight: 510; letter-spacing: -0.016em; }
h4 { font-size: 0.875rem; font-weight: 510; letter-spacing: -0.01em; }

p {
  color: var(--text-secondary);
  line-height: 1.65;
  letter-spacing: -0.011em;
}

code, kbd {
  font-family: var(--mono);
  font-size: 0.84em;
  letter-spacing: 0;
}
kbd {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
  font-size: 0.75em;
  color: var(--text-secondary);
}

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 9, 10, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 0;
  font-size: 0.9375rem;
  font-weight: 510;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.navbar-logo .logo-dot { color: var(--accent); }
.navbar-links { display: flex; align-items: center; gap: 0; }
.navbar-links a {
  padding: 5px 10px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.7;
  transition: opacity var(--transition), background var(--transition);
  letter-spacing: -0.011em;
}
.navbar-links a:hover { opacity: 1; background: rgba(255,255,255,0.05); }
.navbar-cmd {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  font-family: var(--font);
  letter-spacing: -0.011em;
}
.navbar-cmd:hover { border-color: var(--border-hover); color: var(--text-secondary); background: rgba(255,255,255,0.03); }

/* ── HERO ── */
.hero { padding: 96px 0 72px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 32px;
  background: rgba(255,255,255,0.02);
  letter-spacing: -0.005em;
}
.hero-badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p {
  max-width: 480px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── UTILITY PANEL ── */
.utility-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.utility-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
}
.utility-tab {
  flex: 1; padding: 11px 14px;
  font-size: 0.8125rem;
  font-weight: 400;
  font-family: var(--font);
  letter-spacing: -0.011em;
  color: var(--text-muted);
  cursor: pointer;
  border: none; background: none;
  border-bottom: 1.5px solid transparent;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.utility-tab:hover { color: var(--text-secondary); background: rgba(255,255,255,0.02); }
.utility-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,0.02);
}
.utility-tab .tab-num {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-weight: 510;
}
.utility-tab.active .tab-num { background: var(--accent-dim); border-color: rgba(113,112,255,0.3); color: var(--accent); }

.utility-body { padding: 24px; }
.utility-pane { display: none; }
.utility-pane.active { display: block; }

/* ── DROPZONE ── */
.dropzone {
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 52px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}
.dropzone::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(113,112,255,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: rgba(113,112,255,0.4);
  background: rgba(113,112,255,0.03);
}
.dropzone:hover::before, .dropzone.drag-over::before { opacity: 1; }
.dropzone-icon { font-size: 1.5rem; margin-bottom: 12px; opacity: 0.4; }
.dropzone h3 { font-size: 0.9375rem; font-weight: 510; margin-bottom: 5px; letter-spacing: -0.016em; }
.dropzone p  { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 14px; }
.dropzone-formats { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.format-tag {
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0;
}
#file-input { display: none; }

/* ── DOMAIN FETCH ── */
.domain-row { display: flex; gap: 8px; }
.input-wrap { flex: 1; position: relative; }
.input-wrap .input-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.875rem; pointer-events: none;
}
.input-field {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px 9px 34px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus {
  border-color: rgba(113,112,255,0.5);
  box-shadow: 0 0 0 2.5px rgba(113,112,255,0.12);
}
.input-field.no-icon { padding-left: 12px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 510;
  font-family: var(--font);
  letter-spacing: -0.011em;
  cursor: pointer; border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #5f5ef5;
  box-shadow: 0 0 0 1px rgba(113,112,255,0.3), 0 4px 16px rgba(113,112,255,0.2);
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── AI PROMPT ── */
.prompt-warning {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 12px;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-size: 0.8125rem;
  color: var(--yellow);
  line-height: 1.5;
  letter-spacing: -0.008em;
}
.prompt-warning .warn-icon { flex-shrink: 0; margin-top: 1px; }
.prompt-area {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  resize: vertical;
  min-height: 88px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 10px;
}
.prompt-area::placeholder { color: var(--text-muted); }
.prompt-area:focus {
  border-color: rgba(113,112,255,0.5);
  box-shadow: 0 0 0 2.5px rgba(113,112,255,0.12);
}

/* ── TERMINAL LOG ── */
.terminal {
  background: #050506;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 20px;
  overflow: hidden;
  display: none;
}
.terminal.visible { display: block; }
.terminal-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green  { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 0.6875rem; color: var(--text-muted); font-family: var(--mono); letter-spacing: 0; }
.terminal-body { padding: 14px; max-height: 260px; overflow-y: auto; font-family: var(--mono); font-size: 0.75rem; line-height: 1.75; letter-spacing: 0; }
.log-line { display: flex; gap: 9px; }
.log-tag  { color: var(--text-muted); flex-shrink: 0; }
.log-tag.sys  { color: var(--accent); }
.log-tag.ok   { color: var(--green); }
.log-tag.err  { color: var(--red); }
.log-tag.warn { color: var(--yellow); }
.log-msg { color: var(--text-secondary); }
.log-msg.success { color: var(--green); }
.log-msg.error   { color: var(--red); }
.cursor-blink {
  display: inline-block; width: 6px; height: 12px;
  background: var(--accent); vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── RESULT PANEL ── */
.result-panel {
  display: none;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}
.result-panel.visible { display: block; }
.result-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.result-header h3 { font-size: 0.875rem; font-weight: 510; display: flex; align-items: center; gap: 7px; letter-spacing: -0.016em; }
.badge-success {
  padding: 1px 7px; border-radius: var(--radius-pill);
  background: var(--green-dim); color: var(--green);
  font-size: 0.6875rem; font-weight: 510; letter-spacing: -0.005em;
}
.result-body { display: flex; gap: 0; }
.result-preview {
  flex: 1; padding: 22px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
  min-height: 180px;
  background: repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 0 0 / 18px 18px;
}
.result-preview img, .result-preview svg { max-width: 140px; max-height: 140px; }
.result-meta { width: 240px; padding: 18px; }
.result-meta h4 {
  font-size: 0.6875rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px; font-weight: 510;
}
.meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}
.meta-row:last-child { border-bottom: none; }
.meta-key { color: var(--text-muted); letter-spacing: -0.008em; }
.meta-val { color: var(--text-primary); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0; }
.meta-val.ok  { color: var(--green); }
.meta-val.err { color: var(--red); }
.result-actions { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* ── DNS PANEL ── */
.dns-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  display: none;
}
.dns-panel.visible { display: block; }
.dns-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.dns-header h3 { font-size: 0.875rem; font-weight: 510; letter-spacing: -0.016em; }
.dns-status { margin-left: auto; font-size: 0.75rem; }
.dns-body { padding: 18px; }
.dns-record {
  background: #050506;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  word-break: break-all;
  position: relative;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.dns-copy-btn {
  position: absolute; top: 7px; right: 7px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 2px 7px;
  font-size: 0.6875rem; color: var(--text-muted);
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font); letter-spacing: -0.008em;
}
.dns-copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.dns-check-row { display: flex; align-items: center; gap: 9px; font-size: 0.8125rem; margin-bottom: 7px; letter-spacing: -0.011em; }
.dns-check-row .check-icon { width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.625rem; flex-shrink: 0; }
.check-pass { background: var(--green-dim); color: var(--green); }
.check-fail { background: rgba(229,72,77,0.1); color: var(--red); }
.check-warn { background: rgba(245,166,35,0.1); color: var(--yellow); }

/* ── BENTO GRID ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bento-card {
  background: var(--bg-base);
  padding: 28px 26px;
  transition: background var(--transition);
  position: relative;
}
.bento-card:hover { background: var(--bg-elevated); }
.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

/* Remove old emoji icon style, use minimal text label */
.bento-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 510;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--mono);
  letter-spacing: 0;
}
.bento-card h3 {
  font-size: 0.9375rem;
  font-weight: 510;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.bento-card p  {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: -0.011em;
}
.bento-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 510;
  margin-top: 14px;
  letter-spacing: -0.005em;
}
.tag-security { background: rgba(229,72,77,0.08); color: var(--red); }
.tag-identity  { background: var(--accent-dim); color: var(--accent); }
.tag-standard  { background: var(--green-dim); color: var(--green); }
.tag-dns       { background: rgba(245,166,35,0.08); color: var(--yellow); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .overline {
  font-size: 0.6875rem;
  font-weight: 510;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header p  { max-width: 480px; margin: 0 auto; font-size: 0.9375rem; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── CODE BLOCK ── */
.code-block {
  background: #050506;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 14px 0;
  line-height: 1.65;
  letter-spacing: 0;
}
.code-block .kw  { color: var(--accent); }
.code-block .str { color: var(--green); }
.code-block .cmt { color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-left { font-size: 0.8125rem; color: var(--text-muted); letter-spacing: -0.011em; }
.footer-left strong { color: var(--text-secondary); font-weight: 510; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 0.8125rem; color: var(--text-muted); letter-spacing: -0.011em; transition: color var(--transition); }
.footer-links a:hover { color: var(--text-secondary); }

/* ── COMMAND PALETTE ── */
.cmd-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px) saturate(150%);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14vh;
  opacity: 0; pointer-events: none;
  transition: opacity 120ms ease;
}
.cmd-overlay.open { opacity: 1; pointer-events: all; }
.cmd-modal {
  width: 100%; max-width: 540px;
  background: rgba(15,16,17,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03);
  transform: translateY(-6px) scale(0.99);
  transition: transform 120ms ease;
}
.cmd-overlay.open .cmd-modal { transform: translateY(0) scale(1); }
.cmd-search-row {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.cmd-search-icon { color: var(--text-muted); flex-shrink: 0; }
.cmd-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: var(--font);
  font-size: 0.9375rem; font-weight: 400;
  letter-spacing: -0.011em;
}
.cmd-input::placeholder { color: var(--text-muted); }
.cmd-esc {
  padding: 1px 5px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.6875rem;
  color: var(--text-muted); font-family: var(--font);
}
.cmd-results { max-height: 340px; overflow-y: auto; padding: 6px; }
.cmd-group-label {
  padding: 7px 9px 3px;
  font-size: 0.6875rem; font-weight: 510; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
}
.cmd-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 0.875rem;
  letter-spacing: -0.011em;
}
.cmd-item:hover, .cmd-item.selected { background: rgba(255,255,255,0.05); }
.cmd-item-icon { color: var(--text-muted); width: 15px; flex-shrink: 0; font-size: 0.8125rem; }
.cmd-item-label { color: var(--text-primary); flex: 1; font-weight: 400; }
.cmd-item-desc  { font-size: 0.75rem; color: var(--text-muted); }
.cmd-footer {
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  display: flex; gap: 14px;
  font-size: 0.6875rem; color: var(--text-muted);
}
.cmd-footer span { display: flex; align-items: center; gap: 4px; }

/* ── PROGRESS BAR ── */
.progress-wrap { height: 1.5px; background: var(--border); margin-top: 14px; overflow: hidden; display: none; }
.progress-wrap.visible { display: block; }
.progress-bar { height: 100%; background: var(--accent); width: 0%; transition: width 0.25s ease; }

/* ── SPINNER ── */
.spinner {
  width: 13px; height: 13px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST ── */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 6px; }
.toast {
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: slideIn 0.15s ease;
  display: flex; align-items: center; gap: 7px;
}
.toast.success { border-color: rgba(76,175,125,0.25); }
.toast.error   { border-color: rgba(229,72,77,0.25); }
@keyframes slideIn { from { transform: translateX(16px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── MANIFESTO PAGE ── */
.manifesto { max-width: 680px; margin: 0 auto; padding: 72px 24px; }
.manifesto-header { text-align: center; margin-bottom: 64px; }
.manifesto-header .overline {
  font-size: 0.6875rem; font-weight: 510; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.manifesto-header h1 { margin-bottom: 14px; }
.manifesto-header p  { font-size: 1rem; color: var(--text-secondary); }
.manifesto-section { margin-bottom: 52px; }
.manifesto-section h2 {
  font-size: 1.125rem; font-weight: 510; letter-spacing: -0.02em;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.manifesto-section p  { margin-bottom: 14px; font-size: 0.9375rem; }
.manifesto-section ul { list-style: none; padding: 0; }
.manifesto-section ul li {
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  letter-spacing: -0.011em;
}
.manifesto-section ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 0.8em; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; background: none; border: none; gap: 1px; }
  .bento-card { border: 1px solid var(--border); border-radius: var(--radius-md); }
  .bento-card.wide { grid-column: span 1; }
  .result-body { flex-direction: column; }
  .result-meta { width: 100%; border-top: 1px solid var(--border); }
  .navbar-links { display: none; }
  .domain-row { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .utility-tab span:not(.tab-num) { display: none; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
}
