:root {
  --bg: #06070b;
  --bg-soft: #0a0c12;
  --card: rgba(255, 255, 255, 0.042);
  --card-2: rgba(255, 255, 255, 0.02);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #edeff6;
  --muted: #9298ac;
  --muted-2: #697086;
  --accent: #7b5cff;
  --accent-2: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb5a72;
  --radius: 18px;
  --radius-sm: 11px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Consolas, monospace;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(123, 92, 255, 0.22), transparent 65%),
    radial-gradient(760px 460px at 92% 4%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(900px 700px at 50% 110%, rgba(123, 92, 255, 0.08), transparent 70%);
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

::selection {
  background: rgba(123, 92, 255, 0.35);
}

.container {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.container-narrow {
  width: min(980px, 100% - 40px);
}

/* ------------------------------------------------------------------ навигация */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(6, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0d12;
  box-shadow: 0 8px 24px -8px rgba(123, 92, 255, 0.9);
  color: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-spacer {
  flex: 1;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}

/* --------------------------------------------------------------------- кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.14s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  background: var(--card);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b3ce0);
  box-shadow: 0 14px 30px -14px rgba(123, 92, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8a6dff, #6544ee);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-subtle {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.btn-danger {
  background: rgba(251, 90, 114, 0.14);
  border-color: rgba(251, 90, 114, 0.4);
  color: #ffb4bf;
}

.btn-danger:hover {
  background: rgba(251, 90, 114, 0.22);
}

.btn-ok {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.38);
  color: #8dffd1;
}

.btn-sm {
  padding: 6px 11px;
  font-size: 12.5px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  padding: 7px 9px;
}

/* --------------------------------------------------------------------- карточки */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-tight {
  padding: 16px;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-title h3 {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.card-title .hint {
  font-size: 12.5px;
  color: var(--muted-2);
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #c7c0ff;
  border: 1px solid rgba(123, 92, 255, 0.35);
  background: rgba(123, 92, 255, 0.1);
  border-radius: 999px;
}

/* ----------------------------------------------------------------------- hero */

.hero {
  padding: 84px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(120deg, #b8a7ff 0%, #7b5cff 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12.5px;
  color: var(--muted-2);
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.12), rgba(6, 7, 11, 0.5));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 65%);
  filter: blur(10px);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 9px;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.mock-row:last-child {
  margin-bottom: 0;
}

.mock-key {
  font-family: var(--mono);
  font-size: 12px;
  color: #b9aaff;
  letter-spacing: 0.04em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.9);
  display: inline-block;
}

/* ------------------------------------------------------------------- фичи */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(123, 92, 255, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(123, 92, 255, 0.14);
  border: 1px solid rgba(123, 92, 255, 0.28);
  color: #c2b4ff;
}

.feature h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ------------------------------------------------------------------ тарифы */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.plan:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 92, 255, 0.45);
}

.plan-featured {
  border-color: rgba(123, 92, 255, 0.55);
  box-shadow: 0 24px 60px -30px rgba(123, 92, 255, 0.9);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #0a0713;
  background: linear-gradient(135deg, #c3b3ff, #7b5cff);
}

.plan-name {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-note {
  color: var(--muted-2);
  font-size: 12.5px;
  min-height: 18px;
  margin-bottom: 10px;
}

/* ------------------------------------------------------------------- шаги */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
}

.step h4 {
  margin-bottom: 6px;
  font-size: 15px;
}

.step p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ------------------------------------------------------------------ подвал */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- формы */

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  background: #0a0c12;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(123, 92, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.18);
}

.textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.input-mono {
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.row > * {
  flex: 1 1 180px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-error {
  display: none;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #ffb4bf;
  background: rgba(251, 90, 114, 0.1);
  border: 1px solid rgba(251, 90, 114, 0.35);
  border-radius: var(--radius-sm);
}

.form-error.show {
  display: block;
}

/* ------------------------------------------------------------------- табы */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tab {
  padding: 7px 15px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.9), rgba(91, 60, 224, 0.9));
  box-shadow: 0 8px 20px -12px rgba(123, 92, 255, 0.9);
}

/* ------------------------------------------------------------------ таблицы */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}

thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

td.actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.table-empty {
  padding: 34px 14px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13.5px;
}

/* -------------------------------------------------------------------- значки */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge-active {
  color: #8dffd1;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.32);
}

.badge-unused {
  color: #c2b4ff;
  background: rgba(123, 92, 255, 0.12);
  border-color: rgba(123, 92, 255, 0.32);
}

.badge-expired {
  color: #d3d7e2;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.badge-revoked,
.badge-banned,
.badge-rejected {
  color: #ffb4bf;
  background: rgba(251, 90, 114, 0.12);
  border-color: rgba(251, 90, 114, 0.32);
}

.badge-pending {
  color: #ffe1a3;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}

.badge-paid {
  color: #8dffd1;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.32);
}

.badge-admin {
  color: #a6f0ff;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.3);
}

.badge-user {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

/* ---------------------------------------------------------------- статистика */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-2);
}

.stat-label {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.stat-value {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-sub {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 4px;
}

.stat-accent .stat-value {
  background: linear-gradient(120deg, #c3b3ff, #7b5cff 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ график */

.chart {
  width: 100%;
  height: 170px;
  display: block;
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 6px;
}

/* ------------------------------------------------------------------ раскладка */

.page {
  padding: 34px 0 70px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.page-head h1 {
  font-size: clamp(22px, 3vw, 30px);
}

.page-head p {
  color: var(--muted);
  font-size: 13.5px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

.tag-uid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #a6f0ff;
  font-family: var(--mono);
  font-size: 12px;
}

.progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-top: 12px;
}

.progress > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.kv {
  display: grid;
  gap: 10px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kv-row span:first-child {
  color: var(--muted-2);
}

/* -------------------------------------------------------------------- модалка */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(6px);
}

.modal-backdrop.open {
  display: flex;
  animation: fade-in 0.16s ease;
}

.modal {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0b0d14;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
  animation: pop-in 0.18s ease;
}

.modal-wide {
  width: min(760px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-head h3 {
  font-size: 18px;
}

.modal-close {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body p {
  color: var(--muted);
  font-size: 13.5px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------- тосты */

.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 36px));
}

.toast {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #10121a;
  font-size: 13.5px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  animation: slide-in 0.2s ease;
}

.toast-ok {
  border-color: rgba(52, 211, 153, 0.4);
}

.toast-error {
  border-color: rgba(251, 90, 114, 0.45);
}

.toast-warn {
  border-color: rgba(251, 191, 36, 0.42);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

/* ------------------------------------------------------------------ мелочи */

.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-box {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(123, 92, 255, 0.4);
  background: rgba(123, 92, 255, 0.07);
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.list-plain {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.list-plain li {
  margin-bottom: 6px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.search {
  position: relative;
  flex: 0 1 300px;
}

.search .input {
  padding-left: 34px;
}

.search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
}

.plan-editor-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.6fr 0.7fr 0.7fr 1.8fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
  }

  .plan-editor-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 52px 0;
  }

  .container {
    width: min(1180px, 100% - 24px);
  }

  .hero {
    padding: 52px 0 40px;
  }

  .card {
    padding: 18px;
  }
}
