:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.5;
  --bg: #080c14;
  --bg-elevated: #0d111b;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-solid: #111827;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(212, 160, 23, 0.28);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --gold-start: #c9940f;
  --gold-mid: #e8b923;
  --gold-end: #f5d76e;
  --accent: var(--gold-mid);
  --blue: #60a5fa;
  --ok: #4ade80;
  --warn: #fbbf24;
  --error: #f87171;
  --glow: rgba(232, 185, 35, 0.18);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 60px var(--glow);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 185, 35, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(96, 165, 250, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 100%, rgba(74, 222, 128, 0.05), transparent 45%),
    var(--bg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes veil-rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  animation: veil-rise-in 0.35s ease both;
}

.hero {
  animation-delay: 0.05s;
}

.nav-signout {
  background: none;
  border: 0;
  color: #f6d57a;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  padding: 0;
}

.nav-signout:hover {
  text-decoration: underline;
}

.nav [aria-current="page"] {
  color: #e7ecf3;
  font-weight: 600;
  text-decoration: none;
}

a { color: #f6d57a; }

.layout {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 32px rgba(232, 185, 35, 0.06);
}

.card + .card { margin-top: 1rem; }

h1 { font-size: 1.35rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.75rem; }
p, .lede { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #c8d0dc;
}

input, textarea, select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #3a4658;
  background: var(--bg);
  color: inherit;
  font-size: 0.98rem;
}

input.code {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.field { margin-bottom: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #17130a;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.25);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled { opacity: 0.6; cursor: wait; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn--ghost:hover:not(:disabled) {
  border-color: rgba(212, 160, 23, 0.45);
  color: #f6d57a;
  transform: none;
}
.btn--danger { background: #dc2626; }
.btn--sm { padding: 0.45rem 0.75rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.status { margin-top: 1rem; min-height: 1.25rem; font-size: 0.9rem; }
.status.error { color: var(--error); }
.status.ok { color: var(--ok); }
.status.warn { color: var(--warn); }

.banner {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.banner--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.hint { font-size: 0.85rem; color: #9aa4b4; margin-top: 0.35rem; }

.credential {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px dashed #3a4658;
  background: #11161d;
}

.credential code {
  display: block;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { color: var(--muted); font-weight: 600; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--ok { background: rgba(74, 222, 128, 0.15); color: var(--ok); }
.badge--off { background: rgba(248, 113, 113, 0.15); color: var(--error); }

.hidden { display: none !important; }

.layout--wide { max-width: 960px; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  transition: opacity 0.15s ease;
}

.brand-link:hover {
  opacity: 0.88;
}

.brand-link:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.35rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.nav-home:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav-home img {
  border-radius: 8px;
  display: block;
}

.nav-home__text {
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
  border-radius: 10px;
}

.brand__name {
  display: block;
  font-size: 1.1rem;
}

.brand__byline {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.nav--header { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f6d57a;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero__lede { font-size: 1rem; max-width: 52ch; }

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

.card--flat {
  box-shadow: none;
  background: rgba(23, 29, 38, 0.85);
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.steps li { margin-bottom: 0.5rem; }

.steps strong { color: var(--text); }

.trust-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.trust-list li { margin-bottom: 0.35rem; }

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer a { color: #f6d57a; }

.price-card { display: flex; flex-direction: column; gap: 0.5rem; }
.price-card--featured { border: 1px solid rgba(246, 213, 122, 0.45); box-shadow: 0 0 0 1px rgba(246, 213, 122, 0.12); }
.price-card__amount { margin: 0; font-size: 2rem; font-weight: 700; color: var(--text); }
.price-card__unit { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.stat-tile {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.stat-tile__value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}

.credential__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.credential__row code {
  flex: 1;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
}

.invite-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px dashed #3a4658;
  background: #11161d;
}

.invite-box textarea {
  min-height: 140px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  resize: vertical;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.diagnostics-block {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #11161d;
  border: 1px solid #2a3444;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  color: #b8c0d0;
}

@media (max-width: 600px) {
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
}

/* Console layouts (admin) — one tab at a time, scroll inside panels */
.layout--console {
  max-width: 1080px;
  padding-bottom: 1.5rem;
}

.admin-header {
  margin-bottom: 0;
  padding-bottom: 0.75rem;
}

.admin-header__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.admin-header__top h1 { margin-bottom: 0.25rem; }

.admin-header__actions {
  margin: 0;
  flex-shrink: 0;
}

.admin-header .status { margin-top: 0.5rem; margin-bottom: 0.25rem; }

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.portal-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.portal-tab:hover {
  color: var(--text);
  border-color: rgba(212, 160, 23, 0.25);
}

.portal-tab[aria-selected="true"] {
  color: #f6d57a;
  border-color: rgba(212, 160, 23, 0.4);
  background: rgba(212, 160, 23, 0.1);
}

.admin-panels { margin-top: 0.75rem; }

.portal-panel[hidden] { display: none !important; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 820px) {
  .admin-grid { grid-template-columns: 1fr; }
}

.admin-grid .card { margin-top: 0; }

.admin-grid .card + .card { margin-top: 0; }

.table-scroll {
  max-height: min(360px, 50vh);
  overflow: auto;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.table-scroll table { margin: 0; }

.table-scroll th {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}

.table-scroll--short { max-height: min(240px, 40vh); }

.panel-section + .panel-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.input-with-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.input-with-action input {
  flex: 1 1 12rem;
  min-width: 0;
}

.input-with-action .btn {
  flex: 0 0 auto;
  align-self: stretch;
  white-space: nowrap;
}

.form-actions {
  margin-top: 1rem;
}

.guide-callout {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  background: rgba(212, 160, 23, 0.06);
}

.guide-callout--compact {
  margin-bottom: 0.75rem;
}

.guide-callout__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.guide-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-checklist__item {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
}

.guide-checklist__item:first-child { border-top: 0; }

.guide-checklist__item--done .guide-checklist__link {
  color: var(--muted);
  text-decoration: line-through;
}

.guide-checklist__mark {
  flex-shrink: 0;
  width: 1.25rem;
  color: #f6d57a;
  font-weight: 700;
}

.guide-checklist__item--done .guide-checklist__mark { color: var(--ok); }

.guide-checklist__link {
  background: none;
  border: 0;
  color: #f6d57a;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0;
  text-align: left;
}

.guide-checklist__link:hover { text-decoration: underline; }

.guide-checklist__body .hint { margin: 0.2rem 0 0; }

.guide-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-steps li { margin-bottom: 0.35rem; }

.admin-dialog {
  width: min(520px, calc(100vw - 2rem));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--surface);
  color: var(--text);
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.admin-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.pack-library {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pack-library__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.pack-library__item--on {
  border-color: rgba(212, 160, 23, 0.35);
  background: rgba(212, 160, 23, 0.06);
}

.pack-library__item input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pack-library__item strong {
  display: block;
  font-size: 0.92rem;
}

.pack-library__item .hint {
  display: block;
  margin-top: 0.2rem;
}

/* ── Premium marketing & onboarding ───────────────────────────── */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.5);
  font-size: 0.82rem;
  color: var(--muted);
}

.trust-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--ok);
  font-weight: 600;
  font-size: 0.78rem;
}

.hero--premium {
  position: relative;
  overflow: hidden;
  border-color: var(--border-strong);
  background:
    linear-gradient(135deg, rgba(232, 185, 35, 0.08) 0%, transparent 45%),
    var(--surface);
}

.hero--premium::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none;
}

.hero--premium > * { position: relative; z-index: 1; }

.hero__actions { margin-top: 1.25rem; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.6);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.15s ease;
  min-width: 200px;
}

.store-badge:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--text);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.store-badge__icon--edge { background: linear-gradient(135deg, #0078d4, #00bcf2); color: #fff; }
.store-badge__icon--chrome { background: linear-gradient(135deg, #ea4335, #fbbc04); color: #fff; }

.store-badge__text strong { display: block; font-size: 0.92rem; }
.store-badge__text span { font-size: 0.78rem; color: var(--muted); }

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(232, 185, 35, 0.12);
  border: 1px solid rgba(232, 185, 35, 0.25);
  margin-bottom: 0.25rem;
}

.feature-card h2,
.feature-card h3 {
  margin: 0;
  font-size: 1rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.45);
  counter-increment: flow;
}

.flow-step::before {
  content: counter(flow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #17130a;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flow-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 800px) {
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .flow-steps { grid-template-columns: 1fr; }
}

.install-paths {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.install-path .steps {
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .install-paths { grid-template-columns: 1fr; }
}

.page-hero {
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.page-hero h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin-bottom: 0.35rem;
}

.page-hero .lede { margin-bottom: 0; }

.page-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 280px;
  align-items: start;
}

@media (max-width: 800px) {
  .page-split { grid-template-columns: 1fr; }
}

.side-panel {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.5);
}

.side-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.side-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.side-panel li { margin-bottom: 0.35rem; }

.stat-tile {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 20, 0.45);
  transition: border-color 0.2s ease;
}

.stat-tile:hover {
  border-color: var(--border-strong);
}

.stat-tile__label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.portal-tab[aria-selected="true"] {
  background: rgba(232, 185, 35, 0.1);
  border-color: var(--border-strong);
  color: var(--gold-end);
}

.guide-callout {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(232, 185, 35, 0.06), transparent);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(232, 185, 35, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.12);
}

.card--flat {
  box-shadow: none;
  background: rgba(17, 24, 39, 0.55);
}

h1 { font-size: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
h3 { font-size: 0.95rem; margin: 0 0 0.35rem; }

code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9em;
}
