:root {
  --bg: #0e1014;
  --surface: #161a20;
  --surface-2: #1d222a;
  --border: #272d36;
  --text: #eceef1;
  --muted: #98a1ad;
  --accent: #f5b544;
  --tor: #9b5fc0;
  --tg: #2aabee;
  --warn: #e5735b;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 20px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
}

.lang {
  display: flex;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.lang button {
  font: 600 13px/1 var(--sans);
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.hero { padding: 24px 0 20px; }

h1 {
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}

.lead { font-size: 17px; color: var(--muted); margin: 0; }

.meta { font-weight: 400; }
.meta time { color: var(--text); }

h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 12px;
}

.list-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 12px;
}

.list-head h2 { margin: 0; }

.seller { margin: 0; font-size: 14px; color: var(--muted); }

.seller code {
  font: 600 13px var(--mono);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
}

.mirrors {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.mirror {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 20px;
}

.mirror + .mirror { border-top: 1px solid var(--border); }

.mirror:hover { background: var(--surface-2); }

.mirror .host {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mirror .host:hover { color: var(--accent); }

.retiring {
  margin-top: 10px;
  padding: 8px 14px 10px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  border-radius: 10px;
  background: var(--surface);
}

.retiring-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.retiring-head svg { color: var(--warn); flex: none; }
.retiring-head strong { color: var(--text); font-weight: 600; }
.retiring-head span { margin-left: auto; }

.retiring ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.retiring li {
  font: 13px/1.6 var(--mono);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(229, 115, 91, .55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 600 15px/1 var(--sans);
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #1a1305;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .15s, transform .15s;
}

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

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

.btn-ghost:hover { background: var(--surface-2); }

.btn-sm { padding: 9px 14px; font-size: 14px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover { color: var(--text); background: var(--bg); }

.main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

.domains { grid-column: 1; grid-row: 1; }

.ways {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 16px;
  padding-top: 31px;
}

.way {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.way-tor { border-top: 3px solid var(--tor); }
.way-tg { border-top: 3px solid var(--tg); }

.way-head { display: flex; gap: 12px; align-items: center; }
.way-title { flex: 1; min-width: 0; }
.way-row { display: flex; gap: 8px; align-items: stretch; }
.way-row code { flex: 1; min-width: 0; }
.way-row .icon-btn { height: auto; min-height: 38px; }

.way-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  color: #fff;
}

.way-icon svg { width: 26px; height: 26px; }
.way-tor .way-icon { background: var(--tor); }
.way-tg .way-icon { background: var(--tg); }
.way-tg .way-icon svg { margin-left: -2px; }

h3 { font-size: 17px; margin: 0; }
.way-head p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.35; }

.way code {
  font: 13px/1.5 var(--mono);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}


.btn-tor { background: var(--tor); color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }

.safety { margin-top: 18px; }

.safety ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.safety li { position: relative; padding-left: 16px; }

.safety li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.foot {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 10px);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { animation: reveal .5s ease-out both; }
.reveal:nth-child(2) { animation-delay: .06s; }
.reveal:nth-child(3) { animation-delay: .12s; }
.reveal:nth-child(4) { animation-delay: .18s; }
.reveal:nth-child(5) { animation-delay: .24s; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .main, .safety ul { grid-template-columns: 1fr; }
  .domains, .ways { grid-column: auto; grid-row: auto; }
  .ways { padding-top: 0; }
  .safety ul { gap: 6px; }
  .hero { padding: 24px 0 20px; }
  .lead { font-size: 17px; }
}

@media (max-width: 480px) {
  .retiring ul { grid-template-columns: 1fr 1fr; }
  .retiring-head { flex-wrap: wrap; }
  .retiring-head span { margin-left: 0; flex-basis: 100%; }
  .page { padding: 20px 16px 32px; }
  .mirror { padding: 12px 12px 12px 16px; gap: 8px; }
  .mirror .host { font-size: 17px; }
  .mirror .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

