/* RotationSMP website [OWNER, 2026-11-28: minimal, but its own look, not a copy of other stores; dark only].
   Motif: an orbit (the network rotates through twists). Colours are tokens. */
:root {
  --bg: #0f0d13;
  --bg-2: #15121b;
  --panel: #1a1621;
  --panel-2: #221d2b;
  --line: #2c2636;
  --line-2: #3a3247;
  --text: #f4f0f8;
  --muted: #a29aae;
  --faint: #6f677c;
  --accent: #cc02f7;
  --accent-2: #ff52ff;
  --accent-soft: rgba(204, 2, 247, 0.14);
  --gold: #f2b544;
  --amethyst: #9a5cc6;
  --ok: #7ee0a6;
  --warn: #f2b544;
  --bad: #f06a7d;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 "Space Grotesk", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1040px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.mono { font-family: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* faint grid in the background, fading out */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.22;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
}

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.01em; text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 4px; }
.nav a, .link-btn { padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 500; background: none; border: 0; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .link-btn:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--text); }
.link-btn img { border-radius: 4px; image-rendering: pixelated; }
@media (max-width: 560px) { .nav a.hide-sm { display: none; } .top-row { gap: 6px; } .brand span { display: none; } }

/* ---- hero: text left, orbit right ---- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .orbit { order: -1; width: min(240px, 70vw); margin: 0 auto; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0 0 30px; white-space: nowrap; font-size: clamp(18px, 5.4vw, 42px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.hero p.lead { margin: 0 0 28px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.ip { display: inline-flex; align-items: center; gap: 12px; padding: 13px 16px 13px 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel); font: 600 15px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; transition: border-color 0.2s, transform 0.2s var(--ease); }
.ip:hover { border-color: var(--accent); }
.ip:active { transform: scale(0.97); }
.ip .i { color: var(--muted); }
.ip.copied .i { color: var(--ok); animation: pop 0.4s var(--ease); }
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: transparent; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: border-color 0.2s, background 0.2s; }
.ghost-btn:hover { border-color: var(--muted); background: var(--panel); }
.ghost-btn svg { width: 19px; height: 19px; fill: currentColor; }

/* the orbit: the logo with two twists circling it */
.orbit { position: relative; aspect-ratio: 1; width: min(360px, 100%); justify-self: center; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.orbit .ring.r2 { inset: 9%; border-style: solid; border-color: var(--line); animation-duration: 26s; animation-direction: reverse; }
.orbit .ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; }
.orbit .ring.r1::after { background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.orbit .ring.r2::after { background: var(--amethyst); box-shadow: 0 0 18px var(--amethyst); }
.orbit .core { position: absolute; inset: 6%; display: grid; place-items: center; }
.orbit .core img { width: 100%; height: auto; display: block; }
.orbit .tag { position: absolute; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.orbit .tag.t1 { top: 9%; right: 2%; color: var(--gold); }
.orbit .tag.t2 { bottom: 10%; left: 0; color: #c89bea; }

/* ---- sections ---- */
.section { padding: 28px 0 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); }
.kicker { font: 600 12px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--accent-2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }

/* ---- the ranks: one comparison table, the columns are the "cards" ---- */
.compare { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { text-align: left; width: 40%; }
.compare tbody td:first-child { color: var(--muted); }
.compare thead th { vertical-align: top; padding: 22px 14px 18px; font-weight: 500; position: relative; }
.compare .plan { display: grid; gap: 6px; justify-items: center; }
.compare .plan-name { font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.compare .plan-price { font-size: 13px; color: var(--muted); }
.compare .plan-price strong { color: var(--text); font-size: 22px; font-weight: 700; margin-right: 3px; }
.compare .plan-term { font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.compare .col-vip-plus, .compare th.col-vip-plus { background: linear-gradient(180deg, var(--accent-soft), transparent 260px); }
.compare th.col-vip-plus::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.compare th.col-vip::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--amethyst); }
.compare .lead-cell { text-align: left; }
.compare .lead-cell h3 { margin: 0 0 6px; font-size: 18px; }
.compare .lead-cell p { margin: 0; font-size: 13px; color: var(--muted); font-weight: 400; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: rgba(126, 224, 166, 0.13); color: var(--ok); }
.yes svg { width: 14px; height: 14px; stroke-width: 3; }
.no { color: var(--faint); }
.no::before { content: ""; width: 10px; height: 2px; border-radius: 2px; background: currentColor; }
.val { font-weight: 600; }
.soon { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--panel-2); color: var(--faint); font-size: 11px; font-weight: 600; vertical-align: 1px; }
.compare tbody tr { transition: background 0.2s; }
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.compare tfoot td { padding: 16px 14px 20px; border-top: 1px solid var(--line); border-bottom: 0; }
.note-row td { font-size: 12px; color: var(--faint); }
@media (max-width: 640px) {
  .compare th, .compare td { padding: 11px 6px; font-size: 13px; }
  .compare th:first-child, .compare td:first-child { width: 34%; padding-left: 12px; }
  .compare .plan-price strong { font-size: 17px; }
  .compare .plan-name { font-size: 15px; }
  .compare .lead-cell h3 { font-size: 15px; }
  .compare .lead-cell p { display: none; }
  .buy { padding: 10px 6px; font-size: 13px; }
}

.primary-btn { position: relative; overflow: hidden; border: 0; border-radius: 11px; padding: 12px 18px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform 0.2s var(--ease), filter 0.2s; }
.primary-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); transition: left 0.6s var(--ease); }
.primary-btn:hover:not(:disabled)::after { left: 120%; }
.primary-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.primary-btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.primary-btn:disabled { background: var(--panel-2); color: var(--faint); cursor: not-allowed; }
.buy { width: 100%; }
.free-tag { display: inline-block; color: var(--muted); font-size: 13px; font-weight: 600; padding: 12px 0; }

/* ---- small feature strip ---- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--bg-2); padding: 20px 22px; }
.fact b { display: block; font-size: 15px; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 14px; }

/* ---- forms, cards (support + staff) ---- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field small { color: var(--faint); font-size: 12px; }
input, select, textarea { width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color 0.2s, box-shadow 0.2s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.error { color: var(--bad); font-size: 14px; min-height: 1em; margin: 0 0 10px; }
.list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; cursor: pointer; text-align: left; width: 100%; transition: border-color 0.2s, transform 0.2s var(--ease); }
.item:hover { border-color: var(--line-2); transform: translateX(2px); }
.item.active { border-color: var(--accent); }
.item .meta { color: var(--faint); font-size: 12px; }
.item .grow { flex: 1; min-width: 0; }
.item .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font: 600 11px/1 "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 99px; white-space: nowrap; }
.pill.OPEN { color: var(--ok); background: rgba(126, 224, 166, 0.12); }
.pill.LOOKING { color: var(--warn); background: rgba(242, 181, 68, 0.12); }
.pill.CLOSED { color: var(--faint); background: var(--panel-2); }
.unread { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; }
.thread { display: grid; gap: 12px; margin: 18px 0; }
.msg { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); max-width: 92%; animation: rise 0.35s var(--ease) both; }
.msg.staff { justify-self: end; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--panel)); }
.msg .who { font-size: 12px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.msg .who b { color: var(--text); }
.msg .badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--accent); color: #fff; letter-spacing: 0.04em; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket-head h2 { margin: 0; font-size: 22px; }
.empty { color: var(--faint); text-align: center; padding: 28px 0; }
.tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 13px; }
.tabs button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); }
.saved-link { display: flex; gap: 8px; margin-top: 10px; }
.saved-link input { font: 13px "JetBrains Mono", ui-monospace, monospace; }
.status-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.status-btns button { padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 13px; }
.status-btns button:hover { background: var(--panel); }
.status-btns button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-2); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-links, #tebex-legal { display: flex; gap: 18px; flex-wrap: wrap; }
#tebex-legal:empty { display: none; }

/* ---- dialog, toast ---- */
dialog { border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-2); color: var(--text); padding: 0; width: min(380px, 100% - 32px); }
dialog[open] { animation: rise 0.3s var(--ease); }
dialog::backdrop { background: rgba(5, 3, 8, 0.6); backdrop-filter: blur(3px); }
.dialog-body { padding: 24px; display: grid; gap: 14px; }
.dialog-body h3 { margin: 0; font-size: 20px; }
.dialog-body p { margin: 0; font-size: 14px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease);
  background: var(--panel-2); border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- terms page ---- */
.doc { padding: 48px 0 64px; max-width: 760px; }
.doc h1 { margin: 0 0 6px; font-size: 34px; letter-spacing: -0.02em; }
.doc h2 { margin: 34px 0 10px; font-size: 19px; }
.doc ul { padding-left: 20px; color: var(--muted); display: grid; gap: 8px; margin: 0; }

/* ---- motion ---- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { 40% { transform: scale(1.35); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.staff-grid { grid-template-columns: 0.8fr 1.2fr; } @media (max-width: 820px) { .staff-grid { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .compare th:not(:first-child), .compare td:not(:first-child) { padding-left: 3px; padding-right: 3px; }
  .compare .plan-price { display: grid; font-size: 11px; line-height: 1.2; }
  .compare .plan-price strong { font-size: 16px; margin: 0; }
  .compare .plan-term { font-size: 9px; letter-spacing: 0.04em; }
  .compare .dot { display: none; }
  .compare .plan-name { font-size: 14px; }
  .buy { padding: 9px 4px; font-size: 12px; line-height: 1.2; white-space: normal; border-radius: 9px; }
  .free-tag { font-size: 12px; }
}
@media (max-width: 380px) {
  .ip { font-size: 12.5px; padding: 12px 12px; gap: 8px; }
  .nav a, .link-btn { padding: 8px 8px; }
  .orbit .tag.t1 { right: 0; }
}
/* [OWNER, 2026-11-28] the slogan in its own display font */
.hero h1 { font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(18px, calc(7.4vw - 3px), 46px); }
.compare thead th.col-free { vertical-align: middle; }
