/* Bantrix Translate — plain CSS, no external dependencies. */
:root {
  --bg: #0e0e12;
  --panel: #17171e;
  --panel-2: #1e1e27;
  --gold: #c9a227;
  --gold-soft: #e6c65c;
  --text: #ece9e2;
  --muted: #a49f92;
  --line: #2c2c38;
  --err: #e07a5f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--gold-soft); }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; color: var(--text); text-decoration: none; }
.brand .accent { color: var(--gold); }
nav.links a {
  color: var(--muted); text-decoration: none; margin-left: 22px; font-size: .95rem;
}
nav.links a:hover, nav.links a.active { color: var(--gold-soft); }
.hero { padding: 56px 0 28px; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 14px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lede { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0; }
section { padding: 28px 0; }
h2 { font-size: 1.4rem; margin: 0 0 14px; color: var(--gold-soft); }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 22px;
}
.demo label { display: block; font-size: .9rem; color: var(--muted); margin: 14px 0 6px; }
.demo label:first-child { margin-top: 0; }
textarea, select {
  width: 100%; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px;
  font: inherit; font-size: 1rem;
}
textarea { min-height: 110px; resize: vertical; }
textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.row .grow { flex: 1 1 260px; }
button {
  background: var(--gold); color: #141005; border: 0; border-radius: 8px;
  padding: 12px 26px; font: inherit; font-weight: 700; cursor: pointer;
}
button:hover { background: var(--gold-soft); }
button:disabled { opacity: .55; cursor: wait; }
.counter { font-size: .85rem; color: var(--muted); text-align: right; margin-top: 4px; }
.output {
  margin-top: 18px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px; min-height: 64px; white-space: pre-wrap;
}
.output:empty::before { content: "Your translation will appear here."; color: var(--muted); }
.status { font-size: .9rem; color: var(--muted); margin-top: 10px; min-height: 1.2em; }
.status.error { color: var(--err); }
.note { font-size: .92rem; color: var(--muted); }
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.example-grid .card h3 { margin: 0 0 6px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.example-grid .card p.title { margin: 0; font-size: 1.15rem; font-weight: 600; }
table.tiers { width: 100%; border-collapse: collapse; }
table.tiers th, table.tiers td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tiers th { color: var(--gold-soft); font-size: 1.05rem; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--text); white-space: nowrap; }
ul.clean { padding-left: 20px; }
ul.clean li { margin-bottom: 6px; }
footer.site {
  border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 36px;
  color: var(--muted); font-size: .9rem;
}
