:root {
  color-scheme: dark;
  --bg: #140d0e;
  --ink: #fff8f6;
  --muted: #f0d9d4;
  --line: rgba(255, 236, 230, 0.14);
  --glass: rgba(32, 16, 18, 0.66);
  --coral: #f3867f;
  --coral-deep: #e07068;
  --coral-ink: #2a1210;
  --primary: var(--coral);
  --primary-2: var(--coral-deep);
  --danger: #ffb4c0;
  --font: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.sky, .stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.sky {
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(243, 134, 127, 0.46), transparent 58%),
    radial-gradient(ellipse 42% 32% at 88% 12%, rgba(224, 112, 104, 0.22), transparent 60%),
    radial-gradient(ellipse 36% 28% at 8% 28%, rgba(243, 176, 140, 0.16), transparent 62%),
    var(--bg);
}
.stars {
  z-index: -1;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255,255,255,.75) 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.55) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 72% 30%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 84% 74%, rgba(255,255,255,.45) 50%, transparent 52%),
    radial-gradient(1px 1px at 46% 18%, rgba(255,255,255,.5) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 60% 82%, rgba(255,255,255,.4) 50%, transparent 52%);
  animation: drift 48s linear infinite;
}

html.skip-splash .splash { display: none; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--bg);
  pointer-events: none;
  animation: splash-out 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}
.splash-card { text-align: center; animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.splash-name { margin-top: 14px; font-size: 1.35rem; font-weight: 800; }
.loader {
  width: 148px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.loader span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  animation: load 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(243, 134, 127, 0.4), rgba(224, 112, 104, 0.16));
  box-shadow: 0 0 32px rgba(243, 134, 127, 0.4);
}
.mark svg { width: 30px; height: 30px; display: block; }
.splash .mark { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto; }
.splash .mark svg { width: 40px; height: 40px; }

.bar {
  position: sticky;
  top: 14px;
  z-index: 10;
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  background: rgba(28, 14, 16, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand .mark { width: 36px; height: 36px; border-radius: 12px; box-shadow: none; }
.brand .mark svg { width: 20px; height: 20px; }
.menu { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
}
.menu a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.06); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.stage { padding-bottom: 72px; animation: fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 72px 0 8px;
}
.hero + .section { padding-top: 36px; }
.orb {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 134, 127, 0.34), rgba(224, 112, 104, 0.08) 45%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); max-width: 12ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-align: center; }
.lead {
  max-width: 38rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.apps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 28px;
  margin: 32px auto 0;
  padding: 0;
  max-width: 720px;
}
.apps li {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 92px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}
.apps svg { width: 38px; height: 38px; color: var(--ink); }

.features.six { grid-template-columns: repeat(3, 1fr); }
.cta-final { text-align: center; width: min(760px, 100%); }
.cta-final .lead { margin-bottom: 0; }

.faq { display: grid; gap: 10px; width: min(820px, 100%); margin: 0 auto; }
.faq details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  font-weight: 800;
  cursor: pointer;
}
.menu a.btn {
  padding: 0 18px;
  font-weight: 800;
}
.menu a.btn-primary { color: var(--coral-ink); }
.btn-primary {
  border: 0;
  color: var(--coral-ink);
  background: linear-gradient(180deg, #f8b0aa, var(--coral) 46%, var(--coral-deep));
  box-shadow: 0 10px 32px rgba(243, 134, 127, 0.34);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled { opacity: 0.72; cursor: default; filter: none; }
.menu a:not(.btn):hover,
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

html { scroll-behavior: smooth; }
.section { padding: 72px 0 10px; scroll-margin-top: 70px; }
.section h2 { margin-bottom: 36px; }
.section .lead { margin-bottom: 28px; }
.term { margin: 0; color: var(--muted); font-weight: 700; }

.features, .price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features { grid-template-columns: repeat(4, 1fr); }
.card, .price-card, .panel, .bubble {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.card {
  padding: 22px 20px 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(243, 134, 127, 0.55); }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(243, 134, 127, 0.18);
  color: #ffe4df;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; }
.card p, .price-card li, .fine { color: var(--muted); }
.fine code { color: var(--ink); font-weight: 800; }
.tg-widget h2 { font-size: 1.45rem; text-align: left; }
.tg-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 12px;
  background: #2aabee;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.tg-go svg { width: 22px; height: 22px; display: block; flex: none; }
.tg-go:hover { filter: brightness(1.06); }
.tg-go:disabled { opacity: 0.72; cursor: default; filter: none; }
.tg-status { min-height: 1.5em; margin: 2px 0 0; }
.card p { margin: 8px 0 0; }
.shot { display: block; max-width: min(420px, 100%); margin-top: 8px; border-radius: 14px; }
.file-link { display: inline-block; margin-top: 8px; font-weight: 800; }

.price-grid { margin-top: 8px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 22px;
  text-decoration: none;
  min-height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(243, 134, 127, 0.55); }
.price-card.featured {
  border-color: rgba(243, 134, 127, 0.75);
  box-shadow: 0 0 0 1px rgba(243, 134, 127, 0.35), 0 24px 60px rgba(180, 70, 64, 0.28);
  background: linear-gradient(180deg, rgba(180, 70, 64, 0.38), rgba(32, 16, 18, 0.78));
}
.badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 0.85rem;
  font-weight: 800;
}
.amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; margin-top: 8px; }
.price-card ul { list-style: none; margin: 8px 0 18px; padding: 0; }
.price-card li { padding: 7px 0; border-top: 1px solid var(--line); }
.price-card .btn { margin-top: auto; }

.panel {
  width: min(640px, 100%);
  margin: 28px auto 0;
  padding: 28px 26px 26px;
  text-align: left;
}
.panel h1, .page-head h1 { max-width: none; }
.page-head { text-align: center; padding: 54px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 auto; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.choice {
  min-width: 48px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.choice[aria-current="true"] {
  color: var(--coral-ink);
  border-color: transparent;
  background: linear-gradient(180deg, #f8b0aa, var(--coral));
}
.total { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin: 6px 0; }
.kicker { color: var(--muted); margin: 18px 0 0; }

label { display: block; margin: 14px 0 6px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(20, 10, 12, 0.55);
  border-radius: 16px;
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
.error { color: var(--danger); font-weight: 700; }

.preview { margin: 8px 0 0; }
.preview div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.preview dt { color: var(--muted); }
.preview dd { margin: 0; font-weight: 700; text-align: right; }

.thread { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.bubble { max-width: 78%; padding: 14px 16px; border-radius: 18px; }
.bubble.staff {
  align-self: flex-start;
  background: rgba(243, 134, 127, 0.16);
  border: 1px solid rgba(243, 134, 127, 0.4);
}
.bubble.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.bubble.staff .who { color: #ffe4df; }
.who { color: var(--muted); font-size: 0.92rem; font-weight: 800; }
.bubble p { margin: 6px 0 0; white-space: pre-wrap; }
.wait-banner, .client-banner {
  margin: 4px 0 8px;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
  animation: wait-glow 1.6s ease-in-out infinite;
}
.wait-banner {
  color: #ffe7ad;
  background: rgba(255, 186, 70, 0.16);
  border: 1px solid rgba(255, 196, 90, 0.45);
}
.client-banner {
  color: #d5e0ff;
  background: rgba(109, 140, 255, 0.16);
  border: 1px solid rgba(150, 170, 255, 0.45);
}
.rail li.is-wait {
  color: #1c1406;
  background: #ffc85a;
  border-color: transparent;
  animation: wait-glow 1.6s ease-in-out infinite;
}
.rail li.is-staff {
  color: #f7f8ff;
  background: #3156c9;
  border-color: transparent;
}
.ticket-actions { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 8px; }
.ticket-actions[hidden], #ticket-closed-note[hidden] { display: none !important; }
.ticket-actions .actions { margin-top: 4px; }
.ticket-actions form { width: 100%; }
.ticket-buttons { align-items: center; }
.ticket-buttons .btn { min-width: 180px; }
.account { display: grid; gap: 16px; }
.account-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: nowrap; }
.page-head .account-head { text-align: left; width: min(640px, 100%); margin: 0 auto; }
.page-head .account-head h1 { margin: 0; text-align: left; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head .account-head .lead { margin: 6px 0 0; text-align: left; }
.account-head > div { min-width: 0; }
.account-head h2 { overflow-wrap: anywhere; }
.account-head .btn { flex: none; white-space: nowrap; }
.auth-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.auth-switch a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}
.auth-switch a[aria-current="true"] {
  color: var(--coral-ink);
  border-color: transparent;
  background: linear-gradient(180deg, #f8b0aa, var(--coral));
}
.auth-actions { justify-content: flex-start; align-items: stretch; margin-top: 18px; }
.account .auth-actions .btn { width: 100%; }
.auth-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
}
.auth-buttons form { margin: 0; }
.auth-buttons .btn { width: 100%; }
.account .btn-ghost { background: rgba(20, 10, 12, 0.88); }
.gmail-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: #1f1f1f;
  font-weight: 800;
  text-decoration: none;
}
.gmail-go svg { width: 18px; height: 18px; flex: none; }
.gmail-go:hover { filter: brightness(0.97); }
.gmail-note { margin: 8px 0 0; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 4px;
  color: var(--muted);
  font-weight: 800;
}
.auth-or::before, .auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.connect-panel h2 { margin: 0 0 8px; text-align: left; font-size: 1.8rem; }
.connect-kicker { margin: 0; color: var(--muted); font-weight: 800; }
.connect-until {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.connect-go { width: 100%; min-height: 56px; margin-top: 18px; font-size: 1.15rem; }
.connect-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #1c1012;
  color: var(--ink);
}
.connect-dialog::backdrop { background: rgba(8, 4, 5, 0.72); }
.connect-dialog h2 { margin: 0 0 8px; text-align: left; font-size: 1.45rem; }
.connect-link {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  word-break: break-all;
  font-weight: 800;
}
.account > .panel,
.account > .account-fold { margin-top: 0; }
.tg-ask {
  border-color: rgba(42, 171, 238, 0.45);
}
.tg-ask h2 { margin: 0 0 8px; text-align: left; font-size: 1.45rem; }
.tg-ask p { margin: 0; }
.tg-ask .tg-go { margin-top: 16px; }
.account-fold {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}
.account-fold summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 12px 0;
  font-weight: 800;
  font-size: 1.05rem;
}
.account-fold summary::-webkit-details-marker { display: none; }
.account-fold summary::after {
  content: "+";
  flex: none;
  color: var(--coral);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.account-fold summary .fine { display: block; margin-top: 2px; font-weight: 700; }
.account-fold[open] summary .fine { display: none; }
.account-fold[open] summary::after { content: "–"; }
.account-fold[open] { padding-bottom: 22px; }
.account-fold[open] summary { margin-bottom: 8px; }
.account-side { margin: 4px auto 0; width: min(640px, 100%); }
.account-side a { color: var(--muted); font-weight: 800; }
.notice { color: #b7ebc8; font-weight: 700; }
.sub-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.sub-card.is-alive { border-color: rgba(120, 210, 160, 0.4); }
.sub-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.sub-card p { margin: 6px 0 0; color: var(--muted); }

.foot {
  width: min(1120px, calc(100% - 40px));
  margin: 10px auto 28px;
  padding-top: 28px;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.foot strong { color: var(--ink); font-size: 1.05rem; }
.foot-copy { margin: 6px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--ink); }
.legal { text-align: left; }
.legal h1 { text-align: center; }
.legal-body { margin-top: 28px; padding: 8px 26px 26px; }
.legal-body h2 {
  text-align: left;
  font-size: 1.2rem;
  margin: 26px 0 8px;
}
.legal-body p { margin: 0 0 12px; color: var(--muted); }
.legal-body ul { margin: 0 0 14px; padding-left: 1.2rem; color: var(--muted); }
.legal-body li { margin: 4px 0; }
.legal-body strong { color: var(--ink); }
.empty { text-align: center; color: var(--muted); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes splash-out {
  to { opacity: 0; visibility: hidden; }
}
@keyframes load { to { width: 100%; } }
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}

.desk { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: start; }
.desk-board, .filters, .desk-list { display: flex; flex-direction: column; gap: 10px; }
.filters { flex-direction: row; flex-wrap: wrap; }
.filters a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.filters a[aria-current="page"] {
  color: var(--coral-ink);
  border-color: transparent;
  background: var(--coral);
}
.desk-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(32, 16, 18, 0.5);
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.desk-row:hover { border-color: rgba(243, 134, 127, 0.55); transform: translateY(-2px); }
.desk-row strong, .desk-row .fine { display: block; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255,255,255,0.08);
}
.pill-waiting { color: #f7f8ff; background: rgba(49, 86, 201, 0.55); }
.pill-open { color: #ffe3a3; background: rgba(255, 196, 80, 0.16); animation: wait-glow 1.8s ease-in-out infinite; }
.pill-resolved { color: #c8f5d4; background: rgba(80, 200, 130, 0.16); }
.pill-closed { color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.cat { position: relative; }
.cat input { position: absolute; opacity: 0; }
.cat span {
  display: block;
  text-align: center;
  font-weight: 800;
  padding: 14px 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, background 0.3s;
}
.cat input:focus-visible + span { outline: 2px solid var(--coral); }
.cat input:checked + span {
  color: var(--coral-ink);
  border-color: transparent;
  background: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(243, 134, 127, 0.28);
}
.rail { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 14px; }
.rail li {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.rail li.is-done { color: #ffe4df; border-color: rgba(243, 134, 127, 0.4); }
.rail li.is-on:not(.is-wait):not(.is-staff) {
  color: var(--coral-ink);
  border-color: transparent;
  background: linear-gradient(180deg, #f8b0aa, var(--coral));
  animation: pulse 1.8s ease-in-out infinite;
}
.subs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.sub { padding: 12px 0; border-top: 1px solid var(--line); }
.sub p { margin: 6px 0 0; color: var(--muted); }
.sub div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 134, 127, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(243, 134, 127, 0); }
}
@keyframes wait-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 80, 0.45); }
  50% { box-shadow: 0 0 22px 4px rgba(255, 186, 60, 0.28); }
}

@media (max-width: 980px) {
  .features, .price-grid { grid-template-columns: 1fr 1fr; }
  .features.six { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bar {
    border-radius: 22px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    gap: 10px;
  }
  .brand { width: 100%; justify-content: center; }
  .menu { width: 100%; justify-content: center; gap: 8px; }
  .menu a.btn { flex: 1 1 100%; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}
@media (max-width: 720px) {
  .features, .features.six, .price-grid, .desk, .cats { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero + .section { padding-top: 20px; }
  .rail { flex-direction: column; }
  .bubble.staff, .bubble.user { margin-left: 0; margin-right: 0; }
  .legal-body { padding: 8px 16px 22px; }
  .account-head { flex-direction: column; align-items: stretch; }
  .account-head form { display: flex; }
  .account-head .btn { width: 100%; }
}
.keep-us h2 {
  margin: 0 0 8px;
  text-align: left;
  font-size: 1.35rem;
}
.keep-us h2:not(:first-child) { margin-top: 22px; }
.keep-us p { margin: 0 0 10px; }
.keep-us .btn { width: 100%; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  .stage, .splash-card, .stars, .loader span, .desk-row, .pill-open, .rail li.is-on, .rail li.is-wait, .wait-banner, .client-banner { animation: none; }
  .card, .tg-go { transition: none; }
  .price-card { transition: none; }
}
