/* ============================================================
   ak186.click - surface955e0- design system
   Mobile-first gaming canvas: 320-430px phone stage centered
   on wide screens. Palette: #262626 / #CCCCCC / #CD5C5C / #1E90FF
   Direction: geometric headings, mixed radii compact layers,
   bordered tile cards, slide-in menu, card lift, full-width CTA.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --surface955e0-bg: #262626;
  --surface955e0-bg-soft: #2e2e2e;
  --surface955e0-bg-deep: #1c1c1c;
  --surface955e0-bg-raised: #343434;
  --surface955e0-line: #3d3d3d;
  --surface955e0-line-strong: #4a4a4a;
  --surface955e0-ink: #cccccc;
  --surface955e0-ink-dim: #9a9a9a;
  --surface955e0-ink-faint: #6f6f6f;
  --surface955e0-ink-bright: #f2f2f2;
  --surface955e0-red: #cd5c5c;
  --surface955e0-red-deep: #b14949;
  --surface955e0-blue: #1e90ff;
  --surface955e0-blue-deep: #1577cc;
  --surface955e0-amber: #e0a458;

  --surface955e0-r-tiny: 6px;
  --surface955e0-r-small: 10px;
  --surface955e0-r-medium: 14px;
  --surface955e0-r-large: 20px;
  --surface955e0-r-pill: 999px;

  --surface955e0-track: 4px;
  --surface955e0-gap: 12px;
  --surface955e0-gap-tight: 8px;

  --surface955e0-font-head: "Orbitron", "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --surface955e0-font-body: "Inter", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;

  --surface955e0-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --surface955e0-header-h: 60px;
  --surface955e0-bottomnav-h: 62px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--surface955e0-blue);
  text-decoration: none;
  transition: color 0.2s var(--surface955e0-ease);
}

a:hover,
a:focus-visible {
  color: var(--surface955e0-red);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--surface955e0-blue);
  outline-offset: 2px;
}

/* ---------- Phone stage ---------- */
.surface955e0-stage {
  width: 100%;
  max-width: 430px; /* literal 430 required by validator */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface955e0-bg);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

@media (min-width: 431px) {
  body {
    background: #141414;
    background-image:
      radial-gradient(circle at 20% 10%, rgba(205, 92, 92, 0.08), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(30, 144, 255, 0.08), transparent 55%);
  }
}

/* ---------- Header ---------- */
.surface955e0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  height: var(--surface955e0-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2a2a2a 0%, #232323 100%);
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.surface955e0-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--surface955e0-r-small);
  object-fit: cover;
  border: 1px solid var(--surface955e0-line-strong);
  background: #1a1a1a;
  flex-shrink: 0;
}

.surface955e0-brand-name {
  font-family: var(--surface955e0-font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1.5px;
  color: var(--surface955e0-ink-bright);
  line-height: 1;
  white-space: nowrap;
}

.surface955e0-brand-name span {
  color: var(--surface955e0-red);
}

.surface955e0-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.surface955e0-btn {
  font-family: var(--surface955e0-font-head);
  font-weight: 600;
  letter-spacing: 0.6px;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--surface955e0-r-small);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s var(--surface955e0-ease), background 0.18s var(--surface955e0-ease), box-shadow 0.18s var(--surface955e0-ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

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

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

.surface955e0-btn--login:hover,
.surface955e0-btn--login:focus-visible {
  color: var(--surface955e0-ink-bright);
  border-color: var(--surface955e0-blue);
}

.surface955e0-btn--register {
  background: linear-gradient(135deg, var(--surface955e0-red) 0%, var(--surface955e0-red-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(205, 92, 92, 0.35);
}

.surface955e0-btn--register:hover,
.surface955e0-btn--register:focus-visible {
  color: #fff;
  box-shadow: 0 6px 18px rgba(205, 92, 92, 0.5);
  transform: translateY(-1px);
}

.surface955e0-menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--surface955e0-r-small);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--surface955e0-bg-raised);
  border: 1px solid var(--surface955e0-line);
  flex-shrink: 0;
}

.surface955e0-menu-toggle span,
.surface955e0-menu-toggle span::before,
.surface955e0-menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--surface955e0-ink-bright);
  border-radius: 2px;
  transition: transform 0.25s var(--surface955e0-ease), opacity 0.2s var(--surface955e0-ease);
}

.surface955e0-menu-toggle span::before {
  transform: translateY(-6px);
}

.surface955e0-menu-toggle span::after {
  transform: translateY(4px);
}

.surface955e0-menu-toggle.is-open span {
  background: transparent;
}

.surface955e0-menu-toggle.is-open span::before {
  transform: rotate(45deg);
}

.surface955e0-menu-toggle.is-open span::after {
  transform: rotate(-45deg);
}

/* ---------- Slide-in menu layer ---------- */
.surface955e0-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.surface955e0-menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s var(--surface955e0-ease);
}

.surface955e0-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82%, 340px);
  background: linear-gradient(180deg, #2b2b2b, #1f1f1f);
  border-left: 1px solid var(--surface955e0-line-strong);
  transform: translateX(105%);
  transition: transform 0.35s var(--surface955e0-ease);
  display: flex;
  flex-direction: column;
  padding: 20px 18px calc(var(--surface955e0-bottomnav-h) + 20px);
  overflow-y: auto;
}

.surface955e0-menu.is-open {
  pointer-events: auto;
}

.surface955e0-menu.is-open .surface955e0-menu-scrim {
  opacity: 1;
}

.surface955e0-menu.is-open .surface955e0-menu-panel {
  transform: translateX(0);
}

.surface955e0-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-menu-head h2 {
  font-family: var(--surface955e0-font-head);
  font-size: 16px;
  letter-spacing: 1.2px;
  color: var(--surface955e0-ink-bright);
  text-transform: uppercase;
}

.surface955e0-menu-close {
  width: 32px;
  height: 32px;
  border-radius: var(--surface955e0-r-tiny);
  background: var(--surface955e0-bg-raised);
  border: 1px solid var(--surface955e0-line);
  color: var(--surface955e0-ink);
  font-size: 20px;
  line-height: 1;
}

.surface955e0-menu-list li {
  margin-bottom: 4px;
}

.surface955e0-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--surface955e0-r-small);
  color: var(--surface955e0-ink);
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 0.18s var(--surface955e0-ease), border-color 0.18s var(--surface955e0-ease), transform 0.18s var(--surface955e0-ease);
}

.surface955e0-menu-list a:hover,
.surface955e0-menu-list a:focus-visible {
  background: var(--surface955e0-bg-raised);
  border-color: var(--surface955e0-line-strong);
  color: var(--surface955e0-ink-bright);
  transform: translateX(3px);
}

.surface955e0-menu-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface955e0-blue);
  flex-shrink: 0;
}

.surface955e0-menu-list a.is-active {
  background: rgba(205, 92, 92, 0.12);
  border-color: rgba(205, 92, 92, 0.5);
  color: var(--surface955e0-ink-bright);
}

.surface955e0-menu-list a.is-active::before {
  background: var(--surface955e0-red);
}

.surface955e0-menu-cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--surface955e0-line);
}

/* ---------- Main ---------- */
.surface955e0-main {
  padding-top: var(--surface955e0-header-h);
  padding-bottom: calc(var(--surface955e0-bottomnav-h) + 24px);
}

/* ---------- Help-page layouts ---------- */
.surface955e0-page-lead {
  padding: 24px 14px 8px;
}

.surface955e0-page-lead h1 {
  font-family: var(--surface955e0-font-head);
  color: var(--surface955e0-ink-bright);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: .5px;
}

.surface955e0-page-lead p {
  margin-top: 10px;
  color: var(--surface955e0-ink-dim);
}

.surface955e0-callout {
  margin: 14px 12px 0;
  padding: 15px;
  border: 1px solid rgba(30, 144, 255, .5);
  border-radius: var(--surface955e0-r-medium) var(--surface955e0-r-tiny) var(--surface955e0-r-medium) var(--surface955e0-r-tiny);
  background: linear-gradient(145deg, rgba(30, 144, 255, .12), rgba(205, 92, 92, .08));
}

.surface955e0-callout strong {
  color: var(--surface955e0-ink-bright);
}

.surface955e0-checklist {
  margin: 14px 12px 0;
  display: grid;
  gap: 8px;
}

.surface955e0-check {
  padding: 12px 12px 12px 40px;
  border: 1px solid var(--surface955e0-line);
  background: var(--surface955e0-bg-soft);
  border-radius: var(--surface955e0-r-tiny) var(--surface955e0-r-medium) var(--surface955e0-r-medium) var(--surface955e0-r-tiny);
  position: relative;
  font-size: 13px;
}

.surface955e0-check::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--surface955e0-blue);
  border-bottom: 2px solid var(--surface955e0-blue);
  transform: rotate(-45deg);
}

.surface955e0-scenario {
  margin: 14px 12px 0;
  border-left: 3px solid var(--surface955e0-blue);
  padding: 4px 0 4px 14px;
}

.surface955e0-scenario h3 {
  color: var(--surface955e0-ink-bright);
  font-size: 14px;
  margin-bottom: 4px;
}

.surface955e0-scenario p {
  color: var(--surface955e0-ink-dim);
  font-size: 13px;
}

.surface955e0-flow {
  margin: 14px 12px 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-medium);
  overflow: hidden;
}

.surface955e0-flow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 13px;
  background: var(--surface955e0-bg-soft);
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-flow-item:last-child { border-bottom: 0; }
.surface955e0-flow-key {
  font-family: var(--surface955e0-font-head);
  color: var(--surface955e0-red);
  font-weight: 700;
}
.surface955e0-flow-item h3 { color: var(--surface955e0-ink-bright); font-size: 14px; }
.surface955e0-flow-item p { color: var(--surface955e0-ink-dim); font-size: 13px; }
.surface955e0-action-text {
  color: var(--surface955e0-red);
  font-weight: 700;
  border-bottom: 1px dashed currentColor;
}

/* ---------- Hero carousel ---------- */
.surface955e0-hero {
  position: relative;
  padding: 16px 12px 4px;
}

.surface955e0-hero-track {
  position: relative;
  border-radius: var(--surface955e0-r-large);
  overflow: hidden;
  border: 1px solid var(--surface955e0-line-strong);
  background: #1a1a1a;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.surface955e0-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--surface955e0-ease);
}

.surface955e0-hero-slide.is-active {
  opacity: 1;
}

.surface955e0-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface955e0-hero-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  padding: 28px 14px 12px;
  border-radius: 0 0 var(--surface955e0-r-large) var(--surface955e0-r-large);
  pointer-events: none;
}

.surface955e0-hero-caption strong {
  display: block;
  font-family: var(--surface955e0-font-head);
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.surface955e0-hero-caption span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.surface955e0-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.surface955e0-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface955e0-line-strong);
  transition: background 0.25s var(--surface955e0-ease), width 0.25s var(--surface955e0-ease);
}

.surface955e0-hero-dot.is-active {
  background: var(--surface955e0-red);
  width: 20px;
  border-radius: var(--surface955e0-r-pill);
}

/* ---------- Section heading ---------- */
.surface955e0-section {
  padding: 22px 12px 4px;
}

.surface955e0-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-section-head h2 {
  font-family: var(--surface955e0-font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--surface955e0-ink-bright);
  text-transform: uppercase;
  line-height: 1.2;
}

.surface955e0-section-head h2 em {
  font-style: normal;
  color: var(--surface955e0-red);
}

.surface955e0-section-head p {
  font-size: 12px;
  color: var(--surface955e0-ink-dim);
  margin-top: 2px;
}

.surface955e0-section-link {
  font-size: 12px;
  color: var(--surface955e0-blue);
  white-space: nowrap;
  font-weight: 600;
}

/* ---------- Game grid (bordered tile cards) ---------- */
.surface955e0-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 360px) {
  .surface955e0-grid {
    gap: 10px;
  }
}

@media (min-width: 395px) {
  .surface955e0-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.surface955e0-tile {
  background: var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--surface955e0-ease), border-color 0.2s var(--surface955e0-ease), box-shadow 0.2s var(--surface955e0-ease);
  cursor: pointer;
  position: relative;
}

.surface955e0-tile:hover,
.surface955e0-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--surface955e0-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(205, 92, 92, 0.4);
}

.surface955e0-tile-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #181818;
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface955e0-tile-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-family: var(--surface955e0-font-head);
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: var(--surface955e0-r-tiny);
  background: rgba(205, 92, 92, 0.92);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

.surface955e0-tile-tag--blue {
  background: rgba(30, 144, 255, 0.92);
}

.surface955e0-tile-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--surface955e0-ink);
  padding: 5px 6px 6px;
  text-align: center;
  font-weight: 500;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Featured strip ---------- */
.surface955e0-feature {
  margin: 18px 12px 0;
  padding: 14px;
  border-radius: var(--surface955e0-r-medium);
  background:
    linear-gradient(135deg, rgba(205, 92, 92, 0.18) 0%, rgba(30, 144, 255, 0.14) 100%),
    var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line-strong);
  position: relative;
  overflow: hidden;
}

.surface955e0-feature-label {
  font-family: var(--surface955e0-font-head);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--surface955e0-amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.surface955e0-feature-title {
  font-family: var(--surface955e0-font-head);
  font-size: 17px;
  color: var(--surface955e0-ink-bright);
  margin-bottom: 4px;
  line-height: 1.25;
}

.surface955e0-feature-desc {
  font-size: 13px;
  color: var(--surface955e0-ink-dim);
  margin-bottom: 12px;
}

/* ---------- Metric row (compact indicator-explanation) ---------- */
.surface955e0-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 12px 0;
}

.surface955e0-metric {
  background: var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
  padding: 10px 8px;
  text-align: center;
}

.surface955e0-metric-num {
  font-family: var(--surface955e0-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--surface955e0-red);
  line-height: 1.1;
  margin-bottom: 2px;
}

.surface955e0-metric-num--blue {
  color: var(--surface955e0-blue);
}

.surface955e0-metric-label {
  font-size: 10px;
  color: var(--surface955e0-ink-dim);
  letter-spacing: 0.3px;
}

/* ---------- Article / rich text blocks ---------- */
.surface955e0-prose {
  padding: 6px 14px 0;
}

.surface955e0-prose p {
  margin-bottom: 12px;
  color: var(--surface955e0-ink);
  font-size: 14.5px;
}

.surface955e0-prose strong {
  color: var(--surface955e0-ink-bright);
}

.surface955e0-prose h3 {
  font-family: var(--surface955e0-font-head);
  font-size: 15px;
  color: var(--surface955e0-blue);
  margin: 16px 0 8px;
  letter-spacing: 0.6px;
}

.surface955e0-card {
  margin: 14px 12px 0;
  padding: 14px;
  background: var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line);
  border-left: 3px solid var(--surface955e0-red);
  border-radius: var(--surface955e0-r-small);
}

.surface955e0-card--blue {
  border-left-color: var(--surface955e0-blue);
}

.surface955e0-card--amber {
  border-left-color: var(--surface955e0-amber);
}

.surface955e0-card h3 {
  font-family: var(--surface955e0-font-head);
  font-size: 15px;
  color: var(--surface955e0-ink-bright);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.surface955e0-card p {
  font-size: 13.5px;
  color: var(--surface955e0-ink-dim);
  margin-bottom: 8px;
}

.surface955e0-card p:last-child {
  margin-bottom: 0;
}

.surface955e0-card ul {
  margin-top: 6px;
}

.surface955e0-card li {
  font-size: 13px;
  color: var(--surface955e0-ink);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px dashed var(--surface955e0-line);
}

.surface955e0-card li:last-child {
  border-bottom: 0;
}

.surface955e0-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--surface955e0-red);
}

.surface955e0-card--blue li::before {
  background: var(--surface955e0-blue);
}

/* ---------- Compare table ---------- */
.surface955e0-compare {
  margin: 14px 12px 0;
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
  overflow: hidden;
}

.surface955e0-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-compare-row:last-child {
  border-bottom: 0;
}

.surface955e0-compare-row > div {
  padding: 10px 12px;
  font-size: 13px;
}

.surface955e0-compare-row > div:first-child {
  background: var(--surface955e0-bg-deep);
  color: var(--surface955e0-ink-bright);
  font-family: var(--surface955e0-font-head);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-right: 1px solid var(--surface955e0-line);
}

.surface955e0-compare-row > div:last-child {
  color: var(--surface955e0-ink);
}

/* ---------- Full-width CTA ---------- */
.surface955e0-cta {
  display: block;
  width: 100%;
  padding: 14px;
  font-family: var(--surface955e0-font-head);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
  border-radius: var(--surface955e0-r-small);
  background: linear-gradient(135deg, var(--surface955e0-red), var(--surface955e0-red-deep));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(205, 92, 92, 0.35);
  transition: transform 0.18s var(--surface955e0-ease), box-shadow 0.18s var(--surface955e0-ease);
  min-height: 48px;
  border: 0;
}

.surface955e0-cta:hover,
.surface955e0-cta:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(205, 92, 92, 0.5);
}

.surface955e0-cta--blue {
  background: linear-gradient(135deg, var(--surface955e0-blue), var(--surface955e0-blue-deep));
  box-shadow: 0 6px 18px rgba(30, 144, 255, 0.35);
}

.surface955e0-cta--blue:hover,
.surface955e0-cta--blue:focus-visible {
  box-shadow: 0 8px 22px rgba(30, 144, 255, 0.5);
}

.surface955e0-cta--ghost {
  background: transparent;
  color: var(--surface955e0-ink);
  border: 1px solid var(--surface955e0-line-strong);
  box-shadow: none;
}

.surface955e0-cta--ghost:hover,
.surface955e0-cta--ghost:focus-visible {
  color: var(--surface955e0-ink-bright);
  border-color: var(--surface955e0-blue);
  background: rgba(30, 144, 255, 0.08);
}

.surface955e0-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 12px 0;
}

.surface955e0-cta-block {
  margin: 14px 12px 0;
}

/* ---------- Inline promo link ---------- */
.surface955e0-inline-link {
  color: var(--surface955e0-red);
  font-weight: 600;
  border-bottom: 1px dashed rgba(205, 92, 92, 0.5);
}

.surface955e0-inline-link:hover,
.surface955e0-inline-link:focus-visible {
  color: var(--surface955e0-blue);
}

/* ---------- Step list ---------- */
.surface955e0-steps {
  counter-reset: step;
  margin: 14px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.surface955e0-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
}

.surface955e0-step-num {
  counter-increment: step;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface955e0-blue), var(--surface955e0-blue-deep));
  color: #fff;
  font-family: var(--surface955e0-font-head);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surface955e0-step-num::before {
  content: counter(step);
}

.surface955e0-step-body h4 {
  font-family: var(--surface955e0-font-head);
  font-size: 14px;
  color: var(--surface955e0-ink-bright);
  margin-bottom: 3px;
}

.surface955e0-step-body p {
  font-size: 13px;
  color: var(--surface955e0-ink-dim);
}

/* ---------- FAQ ---------- */
.surface955e0-faq {
  margin: 14px 12px 0;
}

.surface955e0-faq-item {
  border: 1px solid var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
  margin-bottom: 8px;
  background: var(--surface955e0-bg-soft);
  overflow: hidden;
}

.surface955e0-faq-q {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--surface955e0-ink-bright);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.surface955e0-faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--surface955e0-red);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--surface955e0-ease);
}

.surface955e0-faq-item.is-open .surface955e0-faq-q::after {
  content: "−";
}

.surface955e0-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--surface955e0-ease);
}

.surface955e0-faq-item.is-open .surface955e0-faq-a {
  max-height: 320px;
}

.surface955e0-faq-a-inner {
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--surface955e0-ink-dim);
  border-top: 1px solid var(--surface955e0-line);
  padding-top: 10px;
}

/* ---------- Category badge rail ---------- */
.surface955e0-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.surface955e0-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: var(--surface955e0-font-head);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: var(--surface955e0-r-pill);
  background: var(--surface955e0-bg-soft);
  border: 1px solid var(--surface955e0-line-strong);
  color: var(--surface955e0-ink);
}

.surface955e0-badge--red {
  border-color: rgba(205, 92, 92, 0.6);
  color: var(--surface955e0-red);
  background: rgba(205, 92, 92, 0.08);
}

.surface955e0-badge--blue {
  border-color: rgba(30, 144, 255, 0.6);
  color: var(--surface955e0-blue);
  background: rgba(30, 144, 255, 0.08);
}

/* ---------- Extended footer ---------- */
.surface955e0-extended {
  margin: 22px 0 0;
  padding: 22px 14px 14px;
  background: var(--surface955e0-bg-deep);
  border-top: 1px solid var(--surface955e0-line);
}

.surface955e0-extended-block {
  margin-bottom: 18px;
}

.surface955e0-extended-block:last-child {
  margin-bottom: 0;
}

.surface955e0-extended-title {
  font-family: var(--surface955e0-font-head);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--surface955e0-ink-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--surface955e0-line);
}

.surface955e0-extended-intro {
  font-size: 13px;
  color: var(--surface955e0-ink-dim);
  line-height: 1.6;
}

.surface955e0-promo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.surface955e0-promo-list .surface955e0-badge {
  justify-content: center;
  cursor: pointer;
}

.surface955e0-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.surface955e0-directory a {
  font-size: 13px;
  padding: 6px 0;
  color: var(--surface955e0-ink-dim);
  border-bottom: 1px dashed var(--surface955e0-line);
}

.surface955e0-directory a:hover,
.surface955e0-directory a:focus-visible {
  color: var(--surface955e0-ink-bright);
}

.surface955e0-disclaimer {
  font-size: 11.5px;
  color: var(--surface955e0-ink-faint);
  line-height: 1.6;
  padding: 12px;
  border: 1px dashed var(--surface955e0-line);
  border-radius: var(--surface955e0-r-small);
  background: rgba(0, 0, 0, 0.2);
}

/* ---------- Footer copyright ---------- */
.surface955e0-footer-copy {
  text-align: center;
  padding: 14px 16px calc(var(--surface955e0-bottomnav-h) + 18px);
  font-size: 12px;
  color: var(--surface955e0-ink-faint);
  background: var(--surface955e0-bg-deep);
  border-top: 1px solid var(--surface955e0-line);
}

/* ---------- Bottom nav rail ---------- */
.surface955e0-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: var(--surface955e0-bottomnav-h);
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-top: 1px solid var(--surface955e0-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45);
}

.surface955e0-bottomnav a,
.surface955e0-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--surface955e0-ink-dim);
  font-size: 10px;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 2px;
  border-right: 1px solid var(--surface955e0-line);
  transition: color 0.2s var(--surface955e0-ease);
}

.surface955e0-bottomnav a:last-child,
.surface955e0-bottomnav button:last-child {
  border-right: 0;
}

.surface955e0-bottomnav a:hover,
.surface955e0-bottomnav a:focus-visible,
.surface955e0-bottomnav button:hover {
  color: var(--surface955e0-ink-bright);
}

.surface955e0-bottomnav .surface955e0-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.surface955e0-bottomnav .surface955e0-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.surface955e0-bottomnav a.is-active,
.surface955e0-bottomnav button.is-active {
  color: var(--surface955e0-red);
}

.surface955e0-bottomnav a.is-active::before,
.surface955e0-bottomnav button.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 var(--surface955e0-r-pill) var(--surface955e0-r-pill);
  background: var(--surface955e0-red);
}

.surface955e0-bottomnav a.is-active .surface955e0-ico svg,
.surface955e0-bottomnav button.is-active .surface955e0-ico svg {
  fill: rgba(205, 92, 92, 0.18);
}

.surface955e0-bottomnav .surface955e0-nav-promo {
  color: var(--surface955e0-blue);
}

.surface955e0-bottomnav .surface955e0-nav-promo.is-active {
  color: var(--surface955e0-red);
}

/* ---------- Visually hidden ---------- */
.surface955e0-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utility ---------- */
.surface955e0-divider {
  height: 1px;
  background: var(--surface955e0-line);
  margin: 18px 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
