/* ═══════════════════════════════════════════════════
   Lumina Design System — DomLibre
   Tokens from DESIGN.md (Google Stitch)
   ═══════════════════════════════════════════════════ */
:root {
  /* Surface */
  --bg:              #f9f9fd;
  --surface:         #ffffff;
  --surface2:        #f3f3f7;
  --surface-container: #ededf1;

  /* Borders & outlines */
  --border:          #e2e2e6;
  --border2:         #ccc3d7;

  /* Brand */
  --accent:          #6d28d9;   /* primary-container / vivid-purple */
  --accent-primary:  #5300b7;   /* primary */
  --accent-light:    #ebddff;   /* primary-fixed */
  --accent2:         #0891b2;   /* electric-cyan */

  /* Semantic */
  --green:           #059669;
  --green-bg:        #ecfdf5;
  --green-border:    #a7f3d0;
  --red:             #ba1a1a;   /* error */
  --red-bg:          #ffdad6;   /* error-container */
  --red-border:      #f4b8b8;

  /* Text */
  --text:            #1a1c1f;   /* on-surface */
  --text2:           #4a4455;   /* on-surface-variant */
  --muted:           #7b7486;   /* outline */
  --deep-space:      #1e1b4b;

  /* Shadows */
  --shadow-sm:       rgba(30, 27, 75, 0.06);
  --shadow-md:       rgba(30, 27, 75, 0.10);
}

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px 80px;
  flex: 1;
  width: 100%;
}

/* ── Header ── */
header { text-align: center; margin-bottom: 64px; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #6d28d9, #0891b2);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(109, 40, 217, .2);
}

.logo {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #6d28d9 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(109, 40, 217, .2);
  border-radius: 100px;
  padding: 6px 16px;
}
.tagline-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}
.tagline {
  font-family: 'Inter', sans-serif;
  color: var(--accent);
  font-size: .75rem;
  letter-spacing: .03em;
  font-weight: 500;
}

/* ── Mode tabs ── */
.mode-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.mode-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.mode-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.mode-tab.active { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

/* ── Search ── */
.search-wrap {
  display: flex;
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px var(--shadow-sm);
}
.search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12), 0 1px 4px var(--shadow-sm);
}

#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
#searchInput::placeholder {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .95rem;
}

#searchBtn {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border: none;
  padding: 16px 28px;
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  white-space: nowrap;
}
#searchBtn:hover { opacity: .88; }
#searchBtn:active { transform: scale(.97); }
#searchBtn:disabled { background: var(--surface-container); color: var(--muted); cursor: not-allowed; }

/* ── Context panel ── */
.context-panel { display: none; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.context-panel.visible { display: flex; }

.context-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.context-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12);
}

#contextInput {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px 42px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  resize: none;
  min-height: 140px;
  line-height: 1.6;
}
#contextInput::placeholder { color: var(--muted); }

.context-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}
.char-counter { font-family: 'Inter', sans-serif; font-size: .68rem; color: var(--muted); }
.char-counter.warn { color: #d97706; }
.char-counter.over { color: var(--red); }

#generateBtn, #sloganGenBtn {
  background: var(--accent);
  border: none;
  padding: 6px 16px;
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}
#generateBtn:hover, #sloganGenBtn:hover { opacity: .88; }
#generateBtn:active, #sloganGenBtn:active { transform: scale(.97); }
#generateBtn:disabled, #sloganGenBtn:disabled { background: var(--surface-container); color: var(--muted); cursor: not-allowed; }

/* ── Slogan panel ── */
.slogan-panel { display: none; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.slogan-panel.visible { display: flex; }

.slogan-panel-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.slogan-panel-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12);
}

#sloganNameInput {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  padding: 14px 20px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
#sloganNameInput::placeholder {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .9rem;
}

#sloganContextInput {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px 48px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  resize: none;
  min-height: 110px;
  line-height: 1.6;
}
#sloganContextInput::placeholder { color: var(--muted); }

.slogan-context-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}

/* ── TLD Selector ── */
.tld-selector { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tld-selector-label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .7rem; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; white-space: nowrap;
}
.tld-toggles { display: flex; gap: 6px; flex-wrap: wrap; }
.tld-toggle {
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.tld-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.tld-toggle.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.tld-toggle.active::before { content: "✓ "; }

/* ── Results ── */
#results { animation: fadeUp .3s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}

/* ── Domain card ── */
.domain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 8px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.domain-card.libre::before       { background: var(--green); }
.domain-card.ocupado::before     { background: var(--red); }
.domain-card.desconocido::before { background: var(--muted); }
.domain-card.libre   { background: var(--green-bg); border-color: var(--green-border); }
.domain-card.ocupado { background: var(--red-bg);   border-color: var(--red-border); }
.domain-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--shadow-md);
}

.domain-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.domain-name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: -.02em; color: var(--text);
}

.badge {
  display: inline-flex; align-items: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .06em; padding: 4px 12px;
  border-radius: 100px; text-transform: uppercase; white-space: nowrap;
}
.badge-libre   { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-ocupado { background: var(--red-bg); color: #93000a; border: 1px solid var(--red-border); }
.badge-unknown { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }

/* ── Affiliate buttons ── */
.affiliate-row { margin-top: 14px; }
.aff-btn.namecheap {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid rgba(222, 75, 0, 0.22); background: #fff8f5; color: #c03d00;
  font-family: 'Inter', sans-serif; font-weight: 500;
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .15s, box-shadow .18s, color .18s;
}
.aff-btn.namecheap:hover {
  background: #DE4B00; border-color: #DE4B00; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(222, 75, 0, 0.28);
}
.nc-logo { flex-shrink: 0; width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.aff-info { display: flex; flex-direction: column; gap: 1px; flex: 1; line-height: 1.2; }
.aff-label { font-weight: 600; font-size: .82rem; }
.aff-price { color: var(--muted); font-size: .63rem; }
.aff-btn.namecheap:hover .aff-price { color: rgba(255,255,255,.7); }
.aff-arrow { flex-shrink: 0; opacity: .45; transition: transform .18s, opacity .18s; }
.aff-btn.namecheap:hover .aff-arrow { transform: translateX(3px); opacity: 1; color: #fff; }

/* ── Trademark buttons ── */
.trademark-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.trademark-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid var(--border2); background: var(--surface2); color: var(--text2);
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.trademark-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── Divider ── */
.divider { display: flex; align-items: center; gap: 14px; margin: 40px 0 24px; }
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-light); border: 1px solid rgba(109, 40, 217, .2);
  border-radius: 100px; padding: 5px 14px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; color: var(--accent); text-transform: uppercase; white-space: nowrap;
}

/* ── Suggestion card ── */
.sug-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px; margin-bottom: 8px;
  opacity: 0; animation: fadeUp .3s ease forwards;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.sug-card:hover {
  border-color: rgba(109, 40, 217, .3);
  box-shadow: 0 4px 20px var(--shadow-md);
  transform: translateY(-1px);
}
.sug-card:nth-child(1) { animation-delay: .04s; }
.sug-card:nth-child(2) { animation-delay: .08s; }
.sug-card:nth-child(3) { animation-delay: .12s; }
.sug-card:nth-child(4) { animation-delay: .16s; }
.sug-card:nth-child(5) { animation-delay: .20s; }
.sug-card:nth-child(6) { animation-delay: .24s; }
.sug-card:nth-child(7) { animation-delay: .28s; }
.sug-card:nth-child(8) { animation-delay: .32s; }

.sug-name {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: -.02em; color: var(--text); margin-bottom: 10px;
}
.sug-tlds { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tld-pill {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; padding: 3px 10px; border-radius: 100px; font-weight: 600;
}
.tld-pill.libre   { background: #d1fae5; border: 1px solid #a7f3d0; color: #065f46; }
.tld-pill.ocupado { background: var(--red-bg); border: 1px solid var(--red-border); color: #93000a; }
.tld-pill.unknown { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); }

/* ── Analysis card ── */
.analysis-card {
  margin-top: 12px; padding: 16px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; font-size: .78rem;
  animation: fadeUp .3s ease both;
}
.analysis-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.analysis-title {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 700;
  font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.score-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 800;
  font-size: .82rem; padding: 3px 10px; border-radius: 100px;
}
.score-high { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.score-mid  { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }
.score-low  { background: var(--red-bg); color: #93000a; border: 1px solid var(--red-border); }

.analysis-indicators { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.indicator {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px; font-family: 'Inter', sans-serif;
  font-size: .67rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text2);
}
.indicator.ok  { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.indicator.bad { background: var(--red-bg); border-color: var(--red-border); color: #93000a; }

.conflict-row {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-family: 'Inter', sans-serif; font-size: .72rem; color: #92400e;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: 6px 10px;
}

/* ── Variation pills ── */
.var-section { margin-bottom: 10px; }
.var-section-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .67rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.var-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.var-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: .67rem; font-weight: 600;
  text-decoration: none;
}
.var-pill--risky { background: var(--red-bg); border: 1px solid var(--red-border); color: #93000a; }
.var-pill--safe  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.var-warning {
  font-family: 'Inter', sans-serif; font-size: .67rem;
  color: #92400e; margin-top: 6px; line-height: 1.5;
}

.analysis-note    { font-family: 'Inter', sans-serif; color: var(--text2); font-size: .72rem; line-height: 1.5; margin-bottom: 10px; }
.analysis-verdict { font-family: 'Inter', sans-serif; font-weight: 500; color: var(--text); font-size: .75rem; margin-bottom: 10px; }
.analysis-links   { display: flex; gap: 6px; flex-wrap: wrap; }
.analysis-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text2);
  font-family: 'Inter', sans-serif; font-size: .68rem; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s, transform .1s;
}
.analysis-link:hover {
  color: var(--accent); border-color: var(--accent);
  background: var(--accent-light); transform: translateY(-1px);
}

.analyze-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px; padding: 6px 12px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text2);
  font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 500;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.analyze-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── Domain preview ── */
.domain-preview {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.browser-traffic-lights { display: flex; gap: 5px; flex-shrink: 0; }
.traffic-light { width: 8px; height: 8px; border-radius: 50%; }
.tl-red    { background: #ff5f57; }
.tl-yellow { background: #febc2e; }
.tl-green  { background: #28c840; }

.browser-address {
  flex: 1; display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 10px; min-width: 0;
}
.browser-lock { flex-shrink: 0; font-size: .68rem; color: var(--green); }
.browser-url-text {
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.preview-identity-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; flex-wrap: wrap;
}

.preview-logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 800;
  font-size: .85rem; color: #fff; flex-shrink: 0; letter-spacing: -.01em;
}

.preview-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.preview-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  background: var(--surface2); border: 1px solid var(--border);
  font-family: 'Inter', sans-serif; font-size: .7rem; color: var(--text2); font-weight: 500;
}

/* ── Social handles ── */
.social-row { margin-top: 12px; }
.social-title {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 700;
  font-size: .67rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.social-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.social-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 600;
  text-decoration: none; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text2);
  transition: border-color .15s, color .15s, background .15s;
}
.social-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.social-chip--free  { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.social-chip--free:hover { background: #dcfce7; border-color: #86efac; color: #15803d; }
.social-chip--taken { background: var(--red-bg); border-color: var(--red-border); color: #93000a; }
.social-chip--taken:hover { background: var(--red-bg); border-color: #f4b8b8; }
.social-chip--link  { background: var(--surface2); border-color: var(--border); color: var(--text2); }
.social-chip svg { flex-shrink: 0; }
.social-status { font-size: .64rem; opacity: .85; }

/* ── Slogans ── */
.slogans-card { margin-top: 4px; }
.slogans-list { display: flex; flex-direction: column; gap: 6px; }
.slogan-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500;
  color: var(--text); font-style: italic;
  padding: 8px 12px; border-radius: 6px;
  background: var(--accent-light); border: 1px solid rgba(109,40,217,.15);
}
.slogan-text { flex: 1; }
.slogan-copy-btn {
  flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  font-size: .85rem; padding: 2px 6px; border-radius: 4px;
  color: var(--accent); transition: background .15s;
  line-height: 1;
}
.slogan-copy-btn:hover { background: rgba(109, 40, 217, .12); }

/* ── Loader ── */
.loader {
  display: flex; align-items: center; gap: 12px;
  color: var(--text2); font-family: 'Inter', sans-serif; font-size: .82rem; padding: 28px 0;
}
.loader--error  { color: var(--red); }
.loader--inline { padding: 12px 0; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .65s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ── */
footer {
  text-align: center; color: var(--muted);
  font-family: 'Inter', sans-serif; font-size: .72rem;
  margin-top: auto; padding: 24px;
  border-top: 1px solid var(--border); letter-spacing: .03em;
}
footer span { color: var(--border2); margin: 0 8px; }
.footer-brand { margin-bottom: 10px; }
.footer-legal { margin-top: 8px; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: var(--text2); text-decoration: underline; }

/* ── Legal pages ── */
.legal-page { max-width: 700px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none;
  font-family: 'Inter', sans-serif; font-size: .8rem;
  margin-bottom: 36px; transition: color .15s;
}
.legal-back:hover { color: var(--accent); }
.legal-page h1 {
  font-family: 'Hanken Grotesk', sans-serif; font-size: 1.9rem; font-weight: 800;
  color: var(--text); margin: 0 0 4px; letter-spacing: -.02em;
}
.legal-updated { font-size: .7rem; color: var(--muted); font-family: 'Inter', sans-serif; margin: 0 0 40px; }
.legal-page h2 {
  font-family: 'Hanken Grotesk', sans-serif; font-size: .95rem; font-weight: 700;
  color: var(--text); margin: 36px 0 10px; text-transform: uppercase; letter-spacing: .04em;
}
.legal-page p { font-family: 'Inter', sans-serif; font-size: .87rem; color: var(--text2); line-height: 1.75; margin: 0 0 12px; }
.legal-page ul { padding-left: 20px; margin: 0 0 12px; }
.legal-page li { font-family: 'Inter', sans-serif; font-size: .87rem; color: var(--text2); line-height: 1.75; margin-bottom: 4px; }
.legal-page a { color: var(--accent); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-highlight {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; margin: 0 0 20px;
}
.legal-highlight p { margin: 0; font-size: .83rem; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .logo { font-size: 2.4rem; }
  .container { padding: 48px 16px 96px; }
  #searchBtn { padding: 16px; font-size: .76rem; }
}
