@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #1d1e22;
  --bg-deep: #17181b;
  --surface: #25262b;
  --surface-2: #2c2d33;
  --surface-3: #34353c;
  --chrome: #121316;
  --chrome-2: #0d0e10;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f3f1ec;
  --muted: #bab7b0;
  --dim: #8e8b85;
  --amber: #ffb627;
  --amber-2: #ffc94d;
  --orange: #ff7a1a;
  --grad: linear-gradient(135deg, #ffcf4a 0%, #ffa126 48%, #ff6f17 100%);
  --amber-soft: rgba(255, 182, 39, .12);
  --amber-line: rgba(255, 182, 39, .38);
  --ink: #1b1204;
  --shadow: 0 18px 40px rgba(0, 0, 0, .32);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, .22);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --container: 1240px;
  --header-h: 66px;
  --f-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Unbounded", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(1100px 520px at 88% -120px, rgba(255, 150, 30, .09), transparent 70%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 190, 60, .035), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--amber-2);
  text-decoration-color: rgba(255, 201, 77, .45);
  text-underline-offset: .2em;
  transition: color .18s ease, text-decoration-color .18s ease;
}

a:hover {
  color: #fff;
  text-decoration-color: var(--amber);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(255, 182, 39, .3);
  color: #fff;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
  color: var(--text);
}

p {
  text-wrap: pretty;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--grad);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.button-primary {
  color: var(--ink);
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(255, 140, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.button-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 140, 30, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-2);
}

.button-ghost:hover {
  color: var(--amber-2);
  border-color: var(--amber-line);
  background: var(--amber-soft);
}

.button-anchor {
  color: var(--amber-2);
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}

.button-anchor:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 150, 30, .18);
}

.anchor-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M5 12H3a9 9 0 0 0 18 0h-2M8 11h8'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M5 12H3a9 9 0 0 0 18 0h-2M8 11h8'/%3E%3C/svg%3E");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.button-sm {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 9px;
}

.button-lg {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 14px;
  border-radius: 12px;
}

.button-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 19, 22, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(14, 15, 17, .98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  width: 138px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-quick {
  display: none;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}

.breadcrumbs {
  padding-top: 18px;
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--dim);
  border-right: 1.5px solid var(--dim);
  transform: rotate(45deg);
  margin-right: 4px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--amber-2);
}

.breadcrumbs [aria-current] {
  color: var(--amber-2);
  font-weight: 700;
}

.breadcrumbs li:only-child span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
  background: var(--grad);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M0 6l8 5 8-11 8 11 8-5-4 18H4z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M0 6l8 5 8-11 8 11 8-5-4 18H4z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.hero {
  padding: 18px 0 40px;
}

.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 20px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid transparent;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(600px 320px at 85% 40%, rgba(255, 160, 40, .16), transparent 70%),
    linear-gradient(180deg, #26272c, #202125) padding-box,
    linear-gradient(135deg, rgba(255, 207, 74, .75), rgba(255, 255, 255, .07) 35%, rgba(255, 255, 255, .05) 65%, rgba(255, 111, 23, .7)) border-box;
  box-shadow: var(--shadow);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 182, 39, .14);
  border-radius: 18px;
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 420px;
  height: 220px;
  pointer-events: none;
  opacity: .5;
  background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 18px, rgba(255, 182, 39, .09) 19px 20px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(255, 182, 39, .18);
}

h1 {
  margin: 18px 0 16px;
  font-family: var(--f-display);
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 650;
}

.hero-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 66ch;
}

.hero-actions .button {
  min-width: 300px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.logo-medallion {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
}

.logo-medallion .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 182, 39, .22);
}

.logo-medallion .ring-1 {
  background: radial-gradient(circle at 50% 50%, rgba(255, 170, 40, .16), rgba(255, 120, 20, .04) 55%, transparent 70%);
}

.logo-medallion .ring-2 {
  inset: 6%;
  border-style: dashed;
  border-color: rgba(255, 182, 39, .3);
  animation: spin 60s linear infinite;
}

.logo-medallion .ring-3 {
  inset: 13%;
  background: radial-gradient(circle, #2e2f35, #1a1b1f 70%);
  border: 1px solid rgba(255, 182, 39, .45);
  box-shadow: 0 0 60px rgba(255, 150, 30, .22), inset 0 0 40px rgba(0, 0, 0, .5);
}

.logo-medallion img {
  position: relative;
  width: 62%;
  max-width: 280px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55));
}

.logo-caption {
  position: absolute;
  bottom: 9%;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(18, 19, 22, .85);
  border: 1px solid var(--amber-line);
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 19, 22, .55);
}

.hero-stats strong {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 650;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 24px;
}

.article {
  min-width: 0;
}

.rail {
  display: none;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  max-height: calc(100vh - var(--header-h) - 36px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

.toc-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), #222328);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: default;
}

.toc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.toc-ico {
  width: 18px;
  height: 14px;
  background: linear-gradient(var(--amber) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--amber) 0 0) 0 6px / 70% 2px no-repeat, linear-gradient(var(--amber) 0 0) 0 12px / 85% 2px no-repeat;
}

.toc-count {
  margin-left: auto;
  white-space: nowrap;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}

.toc-chev {
  display: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}

.toc-list {
  margin: 0;
  padding: 10px 10px 12px;
  list-style: none;
  counter-reset: none;
}

.toc-list > li > a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.toc-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.toc-list a.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(255, 182, 39, .16), rgba(255, 182, 39, .02));
  box-shadow: inset 2px 0 0 var(--amber);
}

.toc-sub {
  margin: 2px 0 6px 20px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 1px solid var(--line-2);
}

.toc-sub a {
  display: block;
  padding: 4px 6px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 6px;
}

.toc-sub a.is-active {
  color: var(--amber-2);
  box-shadow: none;
  background: none;
}

.toc-progress {
  height: 3px;
  margin: 0 18px 16px;
  border-radius: 3px;
  background: var(--surface-3);
  overflow: hidden;
}

.toc-progress span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}

.rail-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: radial-gradient(260px 180px at 80% 0%, rgba(255, 160, 40, .2), transparent 70%), linear-gradient(180deg, #2a2b30, #212226) padding-box, linear-gradient(160deg, rgba(255, 207, 74, .7), rgba(255, 255, 255, .06) 45%, rgba(255, 111, 23, .55)) border-box;
  box-shadow: var(--shadow-sm);
}

.rail-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rail-big {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rail-sub {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rail-facts {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rail-facts li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.rail-facts strong {
  color: var(--text);
}

.rail-card .button + .button {
  margin-top: 10px;
}

.content-section {
  position: relative;
  margin: 0 0 56px;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2,
.service-sec h2 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 600;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.content-section h3 {
  position: relative;
  margin: 30px 0 10px;
  padding-left: 16px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.content-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  bottom: .3em;
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
}

.content-section p,
.service-sec p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.content-section p strong,
.content-section li strong {
  color: var(--text);
}

.content-section > p:last-child {
  margin-bottom: 0;
}

.panel {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), #222327);
  box-shadow: var(--shadow-sm);
}

.panel--glow {
  background: radial-gradient(700px 300px at 100% 0%, rgba(255, 150, 30, .11), transparent 70%), linear-gradient(180deg, var(--surface), #222327);
  border-color: rgba(255, 182, 39, .2);
}

.panel--shield {
  background: radial-gradient(500px 260px at 0% 0%, rgba(255, 182, 39, .07), transparent 70%), linear-gradient(180deg, var(--surface), #222327);
}

.panel--rg {
  border-left: 4px solid var(--orange);
}

.panel--support {
  background: linear-gradient(120deg, #26272c, #2a2620);
}

.panel--register {
  background: radial-gradient(600px 300px at 0% 100%, rgba(255, 130, 30, .1), transparent 70%), linear-gradient(180deg, #27282d, #222327);
  border-color: rgba(255, 182, 39, .24);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 36px;
  align-items: center;
}

.split--rev {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.split--rev .split-media {
  order: -1;
}

.split-text > :last-child {
  margin-bottom: 0;
}

.split-media {
  min-width: 0;
}

.split + * {
  margin-top: 20px;
}

.media {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-deep);
  box-shadow: var(--shadow-sm);
}

.media img {
  width: 100%;
  height: auto;
  transition: transform .6s ease;
}

.media:hover img {
  transform: scale(1.025);
}

.media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  background: var(--surface);
}

.media figcaption::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.media--wide {
  margin: 20px 0;
}

.media--portrait {
  max-width: 380px;
  margin-inline: auto;
}

.media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.slot-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.slot-grid--7x2 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.slot-grid--row5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 26px;
}

.slot-card {
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-line);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
}

.slot-media {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-deep);
}

.slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.slot-card:hover .slot-media img {
  transform: scale(1.06);
}

.slot-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(18, 19, 22, .86);
  border: 1px solid var(--amber-line);
  color: var(--amber-2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.slot-card .slot-name {
  margin: 0;
  padding: 8px 4px 2px;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.check-list {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--grad);
}

.card-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .022);
  color: var(--muted);
  line-height: 1.65;
  transition: border-color .2s ease, background .2s ease;
}

.card-list li:hover {
  border-color: var(--amber-line);
  background: rgba(255, 182, 39, .04);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffb627' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--amber-line);
}

.card-list li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 800;
}

.card-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 16px;
  color: var(--muted);
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(var(--amber-line), rgba(255, 182, 39, .05));
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 140, 30, .25);
}

.steps li > div {
  padding-top: 6px;
}

.table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--amber) transparent;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.data-table thead th {
  padding: 13px 16px;
  background: linear-gradient(180deg, #34353c, #2e2f35);
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--amber-line);
}

.data-table tbody th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table tbody th {
  color: var(--text);
  font-weight: 800;
}

.data-table td {
  color: var(--muted);
  min-width: 118px;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .02);
}

.data-table tbody tr:hover {
  background: rgba(255, 182, 39, .05);
}

.data-table tbody tr:last-child > * {
  border-bottom: 0;
}

.kv-table tbody th {
  width: 40%;
}

.vip .data-table tbody tr:nth-child(1) th {
  color: #e3a26a;
}

.vip .data-table tbody tr:nth-child(2) th {
  color: #d5d9df;
}

.vip .data-table tbody tr:nth-child(3) th {
  color: #ffcf4a;
}

.vip .data-table tbody tr:nth-child(4) th {
  color: #cfe6ff;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  position: relative;
  padding: 14px 14px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 19, 22, .45);
}

.trust-badges li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 22px;
  background: var(--grad);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 0l10 4v6c0 6-4.3 10.3-10 12C4.3 20.3 0 16 0 10V4z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 0l10 4v6c0 6-4.3 10.3-10 12C4.3 20.3 0 16 0 10V4z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.trust-badges strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.trust-badges span {
  color: var(--dim);
  font-size: 12px;
  line-height: 1.3;
}

.pay-logos li {
  display: grid;
  place-items: center;
  height: 40px;
}

.pay-logos img {
  width: auto;
  max-width: 96px;
  height: 26px;
  object-fit: contain;
  transition: transform .2s ease;
}

.pay-logos li:hover img {
  transform: translateY(-2px);
}

.pay-logos img[src*="apple-pay"] {
  height: 44px;
  max-width: 60px;
}

.pay-logos img[src*="bitcoin"] {
  height: 30px;
}

.pay-logos img[src*="mastercard"] {
  height: 30px;
}

.callout {
  display: flex;
  gap: 14px;
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--amber-line);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 182, 39, .12), rgba(255, 182, 39, .03));
}

.callout p {
  margin: 0 !important;
  color: #e4dfd4 !important;
}

.callout-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 800;
}

.stat-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 34px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  overflow: hidden;
  border: 1px solid transparent;
  background: radial-gradient(circle at 50% 0%, rgba(255, 170, 40, .25), transparent 65%), linear-gradient(180deg, #2b2c31, #1f2024) padding-box, var(--grad) border-box;
}

.stat-big {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
}

.stat-note {
  max-width: 30ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.phone {
  position: relative;
  width: 210px;
  margin: 0 auto;
  padding: 12px;
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  background: linear-gradient(145deg, #3a3b42, #16171a);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px rgba(255, 150, 30, .15);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 60px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #0c0c0e;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 42px 12px 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, #1c1d21, #121316);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.ph-logo {
  height: 16px;
  width: 70%;
  margin: 0 auto;
  border-radius: 4px;
  background: url("../img/icons/royal-sea-casino-logo.webp") center / contain no-repeat;
}

.ph-banner {
  padding: 12px;
  border-radius: 12px;
  background: var(--grad);
  color: var(--ink);
  line-height: 1.2;
  display: grid;
}

.ph-banner span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ph-banner strong {
  font-family: var(--f-display);
  font-size: 17px;
}

.ph-banner em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ph-grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #3a3b42, #26272c);
}

.ph-grid i:nth-child(2n) {
  background: linear-gradient(135deg, #4a3a22, #2a2419);
}

.ph-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 8px;
  border-radius: 10px;
  background: #26272c;
}

.ph-bar b {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #45464d;
}

.ph-bar b:first-child {
  background: var(--amber);
}

.phone-cap {
  margin: 16px 0 0 !important;
  text-align: center;
  color: var(--dim) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.login-card {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px dashed var(--amber-line);
  border-radius: 16px;
  background: rgba(18, 19, 22, .45);
}

.login-card h3 {
  margin-top: 0;
}

.login-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.login-tips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.reviews p {
  position: relative;
  margin: 14px 0;
  padding: 18px 20px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.reviews p::before {
  content: "\201D";
  position: absolute;
  left: 18px;
  top: 8px;
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews p:nth-of-type(2) {
  margin-left: clamp(0px, 5%, 48px);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: radial-gradient(400px 160px at 100% 50%, rgba(255, 150, 30, .18), transparent 70%), linear-gradient(90deg, #2c2d33, #26272c) padding-box, linear-gradient(90deg, rgba(255, 207, 74, .6), rgba(255, 111, 23, .6)) border-box;
}

.cta-copy strong {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.cta-copy p {
  margin: 4px 0 0 !important;
  font-size: 14px;
}

.cta-btns {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-more {
  margin-top: 18px !important;
}

.text-link {
  font-weight: 800;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item.is-open {
  border-color: var(--amber-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.content-section .faq-q {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.content-section .faq-q::before {
  display: none;
}

.faq-q button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.faq-q button:hover {
  color: var(--amber-2);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--amber-line);
  background: var(--amber-soft);
  transition: transform .25s ease, background .25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--amber);
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform .25s ease;
}

.faq-q button[aria-expanded="true"] .faq-icon {
  background: var(--grad);
}

.faq-q button[aria-expanded="true"] .faq-icon::before,
.faq-q button[aria-expanded="true"] .faq-icon::after {
  background: var(--ink);
}

.faq-q button[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-a {
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
}

.faq-a-inner {
  padding: 0 18px 16px;
}

.faq-a-inner p {
  margin: 0;
}

.service-hero {
  padding: 18px 0 28px;
}

.service-head {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 24px;
  border: 1px solid transparent;
  background: radial-gradient(500px 220px at 100% 0%, rgba(255, 150, 30, .14), transparent 70%), linear-gradient(180deg, #26272c, #202125) padding-box, linear-gradient(135deg, rgba(255, 207, 74, .6), rgba(255, 255, 255, .06) 40%, rgba(255, 111, 23, .5)) border-box;
}

.service-head h1 {
  margin-bottom: 10px;
}

.service-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.service-head .service-date {
  margin-top: 12px;
  color: var(--dim);
  font-size: 13px;
}

.service-wrap {
  max-width: 900px;
  padding-bottom: 20px;
}

.service-sec {
  margin: 0 0 16px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.service-sec h2 {
  font-size: 18px;
}

.service-sec .check-list li,
.service-sec .card-list li {
  color: var(--muted);
}

.service-sec li strong {
  color: var(--text);
}

.help-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.help-list li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 19, 22, .45);
}

.help-list a {
  font-weight: 800;
}

.help-list span {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  background: var(--chrome-2);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--grad);
  opacity: .85;
}

.footer-shell {
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, .8fr)) minmax(220px, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  width: 170px;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0 0 12px;
  max-width: 42ch;
  color: #9a978f;
  font-size: 14px;
  line-height: 1.7;
}

.footer-age {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9c5bc !important;
  font-weight: 600;
}

.footer-age span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--amber-2);
  font-weight: 800;
  font-size: 13px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col a {
  color: #a19e96;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--amber-2);
}

.social-list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8a877f;
}

.footer-band {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
}

.footer-band h2 {
  margin-bottom: 18px;
  color: #8f8c85;
}

.pay-logos,
.rg-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-logos {
  gap: 18px 34px;
}

.rg-logos {
  gap: 16px 34px;
  flex-wrap: nowrap;
}

.rg-logos a,
.rg-18 {
  display: inline-flex;
  align-items: center;
  opacity: .82;
  transition: opacity .2s ease;
}

.rg-logos a:hover {
  opacity: 1;
}

.rg-logos img {
  width: auto;
  height: 36px;
  max-width: 170px;
  object-fit: contain;
}

.rg-18 img {
  height: 40px;
  width: 40px;
}

.rg-logos img[src*="sza-logo"] {
  height: 44px;
  max-width: 240px;
}

.footer-disclaimer {
  max-width: 820px;
  margin: 22px auto 0;
  color: #8a877f;
  font-size: 13px;
  line-height: 1.7;
}

.footer-disclaimer strong {
  color: #c9c5bc;
}

.footer-bottom {
  background: #09090b;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0;
}

.footer-bottom p {
  margin: 0;
  color: #77746d;
  font-size: 13px;
}

.footer-bottom a {
  margin-left: 18px;
  color: #8f8c85;
  text-decoration: none;
}

.footer-bottom a:first-child {
  margin-left: 0;
}

.footer-bottom a:hover {
  color: var(--amber-2);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(255, 130, 30, .35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 5px auto 0;
  border-left: 2.5px solid var(--ink);
  border-top: 2.5px solid var(--ink);
  transform: rotate(45deg);
}

@media (min-width: 1500px) {
  :root {
    --container: 1440px;
  }

  .layout {
    grid-template-columns: 270px minmax(0, 1fr) 280px;
    gap: 44px;
  }

  .rail {
    display: block;
    align-self: stretch;
  }
}

@media (min-width: 1880px) {
  :root {
    --container: 1600px;
  }

  .layout {
    grid-template-columns: 290px minmax(0, 1fr) 300px;
    gap: 56px;
  }

  .hero-frame {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  }
}

@media (min-width: 2400px) {
  :root {
    --container: 1760px;
  }
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-social {
    grid-column: 1 / -1;
  }

  .rg-logos {
    flex-wrap: wrap;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
  }

  .nav-links a {
    padding: 10px 10px;
  }
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }

  .header-quick {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: rgba(20, 21, 24, .99);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-links {
    display: grid;
    gap: 2px;
    margin: 0;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a[aria-current="page"] {
    background: var(--amber-soft);
    color: var(--amber-2);
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .toc {
    position: relative;
    top: 0;
    max-height: none;
    overflow: visible;
    margin-bottom: 36px;
  }

  .toc-toggle {
    cursor: pointer;
  }

  .toc-chev {
    display: block;
  }

  .toc-card.is-collapsed .toc-chev {
    transform: rotate(-135deg) translate(-2px, -2px);
  }

  .toc-body {
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .toc-card.is-collapsed .toc-body {
    max-height: 0 !important;
  }

  .toc-card.is-collapsed .toc-toggle {
    border-bottom-color: transparent;
  }

  .toc-list {
    columns: 2;
    column-gap: 12px;
  }

  .toc-list > li {
    break-inside: avoid;
  }

  .toc-progress {
    display: none;
  }

  .hero-frame {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px 28px;
  }

  .slot-grid--7x2 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 820px) {
  .hero-frame {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    order: -1;
  }

  .logo-medallion {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: 150px;
  }

  .logo-medallion .ring {
    border-radius: 18px;
  }

  .logo-medallion .ring-2 {
    animation: none;
    inset: 8px;
    border-radius: 14px;
  }

  .logo-medallion .ring-3 {
    inset: 18px 12%;
    border-radius: 14px;
  }

  .logo-medallion img {
    width: auto;
    max-width: 62%;
    max-height: 64px;
  }

  .logo-caption {
    bottom: -2px;
    font-size: 11px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split--rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .split--rev .split-media {
    order: 0;
  }

  .trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    width: 108px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-quick .button-sm {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12.5px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero-frame {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .hero-frame::before {
    inset: 6px;
    border-radius: 15px;
  }

  h1 {
    font-size: clamp(22px, 6.6vw, 28px);
    margin-top: 14px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    min-width: 0;
  }

  .hero-stats li {
    padding: 12px;
  }

  .toc-list {
    columns: 1;
  }

  .content-section {
    margin-bottom: 40px;
  }

  .panel {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .content-section h2 {
    font-size: 20px;
  }

  .content-section h3 {
    font-size: 16.5px;
  }

  .slot-grid--7x2 {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 38%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-right: -14px;
    padding-right: 14px;
    scrollbar-width: none;
  }

  .slot-grid--row5 {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-right: -14px;
    padding-right: 14px;
    scrollbar-width: none;
  }

  .slot-grid::-webkit-scrollbar {
    display: none;
  }

  .slot-card {
    scroll-snap-align: start;
  }

  .media-pair {
    grid-template-columns: 1fr;
  }

  .card-list--grid,
  .help-list {
    grid-template-columns: 1fr;
  }

  .card-list li {
    padding: 12px 14px 12px 44px;
  }

  .card-list li::before {
    left: 14px;
    top: 15px;
  }

  .stack-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .stack-table,
  .stack-table tbody,
  .stack-table tr,
  .stack-table th,
  .stack-table td {
    display: block;
    width: 100%;
  }

  .table-wrap:has(.stack-table) {
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .stack-table tbody {
    display: grid;
    gap: 10px;
  }

  .stack-table tr {
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: var(--surface) !important;
    overflow: hidden;
  }

  .stack-table tbody th {
    padding: 11px 14px;
    background: linear-gradient(90deg, rgba(255, 182, 39, .16), rgba(255, 182, 39, .03));
    border-bottom: 1px solid var(--amber-line);
    font-size: 14.5px;
  }

  .stack-table tbody th::before {
    content: attr(data-label) ": ";
    color: var(--dim);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .stack-table td {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 12px;
    padding: 9px 14px;
  }

  .stack-table td::before {
    content: attr(data-label);
    color: var(--dim);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
  }

  .kv-table tbody th,
  .kv-table td {
    padding: 10px 12px;
  }

  .data-table thead th {
    white-space: normal;
  }

  .trust-badges li {
    padding-left: 40px;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
  }

  .cta-btns .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .reviews p {
    padding: 16px 16px 16px 48px;
  }

  .reviews p::before {
    left: 12px;
    font-size: 44px;
  }

  .reviews p:nth-of-type(2) {
    margin-left: 0;
  }

  .login-card {
    padding: 18px 16px;
  }

  .footer-shell {
    padding-top: 40px;
  }

  .footer-grid {
    gap: 28px 20px;
  }

  .rg-logos {
    gap: 14px 22px;
  }

  .rg-logos img {
    height: 30px;
    max-width: 140px;
  }

  .pay-logos {
    gap: 14px 24px;
  }

  .pay-logos img {
    max-width: 76px;
    height: 22px;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }

  .service-sec {
    padding: 20px 16px;
  }

  .to-top {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .header-quick .button-ghost {
    display: none;
  }

  .hero-stats strong {
    font-size: 16px;
  }
}

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

@media print {
  .site-header,
  .toc,
  .rail,
  .site-footer,
  .to-top {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

.service-hero.container,
.service-wrap.container {
  width: min(calc(100% - 32px), 900px);
}
