/* ═══════════════════════════════════════════════════════
   xBOOST // SIGNAL.OPS — Terminal-grade minimalism
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #0f0f10;
  --bg-alt:    #060606;
  --surface:   #111112;
  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.14);
  --line-3:    rgba(255, 255, 255, 0.28);
  --fg:        #ededed;
  --fg-2:      #a1a1a1;
  --fg-3:      #6a6a6a;
  --fg-4:      #404040;
  --accent:    #c4ff48;
  --accent-2:  #d6ff6e;
  --accent-dim: rgba(196, 255, 72, 0.12);
  --ok:        #6ee7a3;
  --warn:      #fbbf24;
  --danger:    #ff6b81;
  --mono:      'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --sans:      'Geist', -apple-system, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--mono);
  font-feature-settings: "ss01", "ss02", "cv11";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #000; }

/* ═══════════════════ TICKER ═══════════════════ */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 48px;
  padding: 7px 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}

.t-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.dot-ok   { background: var(--ok);   box-shadow: 0 0 6px var(--ok);   animation: pulse 2s ease-in-out infinite; }
.dot-warn { background: var(--warn); box-shadow: 0 0 6px var(--warn); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.brand-mark {
  color: var(--accent);
  margin-right: 1px;
  font-size: 18px;
  line-height: 1;
}
.brand-text { letter-spacing: 0; }
.brand-meta {
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}

.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.nav-time { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.nav-sep { color: var(--fg-4); }
.nav-status { display: inline-flex; align-items: center; gap: 6px; }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.nav-links > a:not(.cta-mini) {
  color: var(--fg-3);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.nav-links > a:not(.cta-mini):hover { color: var(--fg); }
.nav-links > a:not(.cta-mini)::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links > a:not(.cta-mini):hover::after { transform: scaleX(1); }

.cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.18s;
}
.cta-mini:hover {
  background: var(--accent);
  color: #000;
}
.cta-mini > span { transition: transform 0.18s; }
.cta-mini:hover > span { transform: translateX(3px); }

@media (max-width: 880px) {
  .nav { grid-template-columns: auto auto; gap: 16px; padding: 14px 20px; }
  .nav-meta { display: none; }
  .nav-links a:not(.cta-mini) { display: none; }
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  padding: 80px 32px 60px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 30%, #000 30%, transparent 80%);
}

.hero-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  width: fit-content;
}
.meta-line { color: var(--accent); }
.meta-val { color: var(--fg-2); font-weight: 500; }

.hero-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--fg);
  margin-top: 8px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.05s; }
.hero-title .line:nth-child(2) { animation-delay: 0.18s; }
.hero-title .line:nth-child(3) { animation-delay: 0.32s; }
.hero-title .accent {
  color: var(--accent);
  position: relative;
}
.caret {
  display: inline-block;
  color: var(--accent);
  margin-left: 0.05em;
  animation: blink 1s steps(2) infinite;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  max-width: 540px;
  margin-top: 28px;
}
.hero-sub p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  font-weight: 400;
}
.hero-sub strong {
  color: var(--fg);
  font-weight: 500;
  border-bottom: 1px dashed var(--line-3);
  padding-bottom: 1px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-readout {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.ro-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.ro-label { color: var(--fg-3); }
.ro-bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.ro-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--accent);
  background-image: repeating-linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) 4px,
    rgba(0,0,0,0.4) 4px,
    rgba(0,0,0,0.4) 6px
  );
  animation: fill 1.4s cubic-bezier(0.25, 0.8, 0.3, 1) both;
}
@keyframes fill {
  from { transform: scaleX(0); transform-origin: left; }
}
.ro-val {
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.ro-val i {
  font-style: normal;
  color: var(--fg-3);
  font-weight: 400;
  margin-left: 2px;
}
.ro-val.ok { color: var(--accent); }

@media (max-width: 640px) {
  .hero { padding: 48px 20px 40px; }
  .hero-title { font-size: clamp(36px, 13vw, 64px); letter-spacing: -0.05em; }
  .ro-row { grid-template-columns: 90px 1fr 64px; gap: 8px; font-size: 9.5px; }
  .ro-label { letter-spacing: 0.03em; }
  .hero-cta { gap: 8px; }
  .btn { padding: 12px 14px; font-size: 11.5px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 36px; }
}

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  transition: all 0.18s ease;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-2);
  padding: 13px 4px;
  border-color: transparent;
  border-bottom: 1px solid var(--line-2);
}
.btn-ghost:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn-block { width: 100%; justify-content: center; }
.btn-mini { padding: 6px 10px; font-size: 10.5px; }

.btn-bracket { color: rgba(0,0,0,0.45); font-weight: 700; }
.btn-secondary .btn-bracket,
.btn-ghost .btn-bracket { color: var(--fg-3); }
.btn-arrow { margin: 0 -2px 0 4px; transition: transform 0.18s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn:disabled { opacity: 0.6; pointer-events: none; }
.dots-anim::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: dots 1.4s steps(4) infinite;
}
@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ═══════════════════ NOTICE ═══════════════════ */
.notice {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 32px 32px 32px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: start;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.notice::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--warn);
}
.notice-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--warn);
  font-weight: 600;
  padding-top: 4px;
  padding-left: 16px;
}
.notice-body h3 {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 8px;
}
.notice-body p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 620px;
}
.notice-body .hl {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 1px;
}
.notice-aside code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .notice { grid-template-columns: 1fr; padding-left: 24px; padding-right: 20px; }
  .notice-tag { padding-left: 0; }
  .notice-aside { display: none; }
}

/* ═══════════════════ SECTIONS ═══════════════════ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(196,255,72,0.015) 50%, transparent),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section-alt > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.section-num { color: var(--accent); font-weight: 600; }
.section-name { color: var(--fg); font-weight: 600; }
.section-rule { height: 1px; background: var(--line); }
.section-meta { color: var(--fg-3); }

.section-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 56px;
}
.section-title .muted { color: var(--fg-3); }

@media (max-width: 640px) {
  .section { padding: 60px 20px; }
  .section-alt > * { padding-left: 20px; padding-right: 20px; }
  .section-title { font-size: clamp(32px, 8vw, 48px); }
  .section-head { grid-template-columns: auto auto 1fr; }
  .section-meta { display: none; }
}

/* ═══════════════════ TARIFFS ═══════════════════ */
.tariffs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.tariff {
  position: relative;
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  transition: background 0.2s;
}
.tariff:last-child { border-right: none; }
.tariff:hover { background: var(--bg-soft); }

.tariff::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: var(--accent);
  transition: height 0.22s ease;
}
.tariff:hover::before { height: 2px; }

.tariff.featured {
  background: linear-gradient(180deg, rgba(196,255,72,0.04), transparent 60%);
}
.tariff.featured::before {
  height: 2px;
  background: var(--accent);
}

.tariff-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tariff-tag { color: var(--fg-3); font-weight: 600; }
.tariff-tag.accent { color: var(--accent); }
.tariff-id { color: var(--fg-4); }

.tariff-name {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tariff-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
}
.t-currency {
  color: var(--accent);
  font-size: 18px;
}
.t-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--fg);
}
.t-period {
  font-size: 10.5px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: auto;
}

.tariff-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
  flex-grow: 1;
}
.tariff-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.tariff-list li span {
  color: var(--fg-3);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.tariff-list li b {
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.accent-text { color: var(--accent) !important; }

.tariff-cta {
  display: block;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  border-top: 1px solid var(--line-2);
  text-align: left;
  transition: color 0.18s, padding-left 0.22s ease;
}
.tariff-cta:hover {
  color: var(--accent);
  padding-left: 6px;
}
.tariff.featured .tariff-cta {
  color: var(--accent);
  border-top-color: var(--accent);
}

@media (max-width: 1024px) {
  .tariffs { grid-template-columns: repeat(2, 1fr); }
  .tariff:nth-child(2n) { border-right: none; }
  .tariff:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .tariffs { grid-template-columns: 1fr; }
  .tariff { border-right: none !important; border-bottom: 1px solid var(--line); }
  .tariff:last-child { border-bottom: none; }
}

/* ═══════════════════ ACCESS ═══════════════════ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.access-card {
  padding: 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.access-card:last-child { border-right: none; }
.access-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.access-card:hover::before { transform: scaleY(1); }

.ac-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ac-no {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
.ac-tag { color: var(--fg-3); }

.access-card h3 {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.ac-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 460px;
}

.ac-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-form label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
  font-weight: 600;
}
.ac-form input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  background: var(--bg-alt);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: all 0.18s;
  border-radius: 0;
}
.ac-form input::placeholder { color: var(--fg-4); }
.ac-form input:focus {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}

@media (max-width: 880px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-card { border-right: none; border-bottom: 1px solid var(--line); }
  .access-card:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .access-card { padding: 24px 18px; }
}

/* ═══════════════════ ALERTS ═══════════════════ */
.alert {
  margin-top: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.alert-error {
  color: var(--danger);
  border-color: rgba(255, 107, 129, 0.25);
  background: rgba(255, 107, 129, 0.05);
}
.alert-tag {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10.5px;
  white-space: nowrap;
}

/* ═══════════════════ RESULT PREVIEW ═══════════════════ */
.result-preview {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
  flex-wrap: wrap;
}
.rp-status { color: var(--ok); font-weight: 600; }
.rp-status.warn { color: var(--warn); }
.rp-sep { color: var(--fg-4); }
.rp-title { color: var(--fg); }
.rp-spacer { flex: 1; }
.rp-time { color: var(--fg-3); font-variant-numeric: tabular-nums; }

.rp-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: -6px 0 0;
}

.rp-link label,
.rp-import .rp-l {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.rp-link-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-2);
}
.rp-link-row code {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  word-break: break-all;
  line-height: 1.4;
  min-width: 0;
}
.copy-mini {
  padding: 0 18px;
  background: var(--bg);
  border: none;
  border-left: 1px solid var(--line-2);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.copy-mini:hover { background: var(--accent); color: #000; }
.copy-mini.copied { background: var(--ok); color: #000; }

.rp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rp-stat {
  background: var(--bg-alt);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rp-l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.rp-v {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.rp-v.ok { color: var(--ok); }
.rp-v.warn { color: var(--warn); }

.rp-import {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rp-import .rp-l { margin-bottom: 0; margin-right: 4px; }

@media (max-width: 640px) {
  .rp-stats { grid-template-columns: repeat(2, 1fr); }
  .rp-link-row { flex-direction: column; }
  .copy-mini { padding: 10px; border-left: none; border-top: 1px solid var(--line-2); }
}

/* ═══════════════════ STEPS ═══════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.step {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 20px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.18s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--bg-soft); }

.step-no {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 200;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-rule {
  background: var(--line);
  align-self: stretch;
}

.step-body h3 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.step-code {
  display: block;
  padding: 8px 10px;
  border: 1px dashed var(--line-2);
  background: var(--bg-alt);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
  overflow: auto;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

/* ═══════════════════ APPS ═══════════════════ */
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.app {
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.app:last-child { border-right: none; }

.app-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.app-platform { color: var(--accent); font-weight: 600; }
.app-id { color: var(--fg-4); }

.app-row {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.app-row:last-child { border-bottom: none; padding-bottom: 0; }
.app-row:first-of-type { padding-top: 0; }

.app-row-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.app-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}
.app-rec {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 1px 6px;
  font-weight: 600;
}
.app-row p {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.app-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: all 0.18s;
}
.app-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 880px) {
  .apps { grid-template-columns: 1fr; }
  .app { border-right: none; border-bottom: 1px solid var(--line); }
  .app:last-child { border-bottom: none; }
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 56px 32px 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.f-brand .brand { font-size: 18px; }
.f-tag {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-2);
  max-width: 280px;
  line-height: 1.55;
}
.f-cta {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.f-l {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.f-col ul li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  padding: 4px 0;
  letter-spacing: 0.02em;
}
.f-col a { transition: color 0.18s; }
.f-col a:hover { color: var(--accent); }
.muted { color: var(--fg-3); }

.f-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  flex-wrap: wrap;
  gap: 12px;
}
.f-bottom span { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 880px) {
  .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .f-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 24px; }
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
