.textro-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.textro-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-name a {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #111827;
  text-decoration: none;
}

.brand-name a:visited,
.brand-name a:hover,
.brand-name a:active {
  color: #111827;
  text-decoration: none;
}

.divider {
  width: 1px;
  height: 64px;
  background: #d1d5db;
}

.brand-tagline {
  font-size: 16px;
  line-height: 1.4;
  color: #4b5563;
}

.textro-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toggle-btn {
  font-size: 18px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
}

.lang-wrap select {
  font-size: 14px;
  padding: 6px 10px;
}

.lang-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* DARK MODE */
body.dark {
  background: #0f172a;
  color: #e5e7eb;
}

body.dark .textro-header {
  background: #020617;
  border-color: #1e293b;
}

body.dark .brand-name a {
  color: #e5e7eb;
}

body.dark .brand-tagline {
  color: #9ca3af;
}

/* DARK MODE TEXT FIXES */

body.dark .textro-title {
  color: #f9fafb;
}

body.dark .textro-essay {
  color: #d1d5db;
}

body.dark .textro-footer h3 {
  color: #f9fafb;
}

body.dark .textro-footer a {
  color: #c7d2fe;
}

body.dark .textro-footer a:hover {
  color: #e0e7ff;
}

body.dark .textro-footer {
  background-color: #030712;
}

