/* ==========================================================================
   PokerPEX — site.css
   Dark neon design system derived from the PokerPEX logo, the web login
   screen and the legacy account-deletion page. Self-contained: no web fonts,
   no CDN, no third-party requests.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg-0: #080f1e;
  --bg-1: #0b1426;
  --bg-2: #101830;
  --surface: rgba(22, 34, 60, 0.85);
  --surface-2: rgba(28, 44, 78, 0.62);
  --line: #274b80;
  --line-soft: rgba(39, 75, 128, 0.45);
  --cyan: #42c8ff;
  --cyan-soft: #9fe4ff;
  --blue: #0084ff;
  --magenta: #ff3d9a;
  --purple: #8b5cf6;
  --purple-deep: #7b4dff;
  --text: #e2ecff;
  --muted: #a8bcd9;
  --dim: #7d94b8;
  --warn: #ffb02e;
  --warn-soft: #ffd266;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 24px rgba(41, 120, 255, 0.18);
  --shadow-card: 0 18px 44px rgba(2, 8, 20, 0.55);
  --wrap: 1160px;
  --header-h: 74px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*
 * Fixed colour field: the neon glows stay put while the page scrolls. Kept in a
 * fixed layer instead of `background-attachment: fixed` so iOS Safari renders it
 * the same way as the desktop browsers.
 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(900px 620px at 78% -10%, rgba(38, 194, 255, 0.13), transparent 62%),
    radial-gradient(820px 680px at 4% 4%, rgba(255, 45, 149, 0.1), transparent 62%),
    radial-gradient(760px 620px at 52% 112%, rgba(123, 77, 255, 0.13), transparent 62%),
    linear-gradient(180deg, #0b1426 0%, #101830 100%);
}

/* Faint grid texture, purely decorative. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66, 200, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 200, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: var(--cyan-soft);
}

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

ul,
ol {
  list-style: none;
}

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

::selection {
  background: rgba(66, 200, 255, 0.3);
  color: #fff;
}

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 18px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--cyan);
  color: #061426;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #061426;
}

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

/* ---------- 4. Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.h-hero {
  font-size: clamp(2.7rem, 7.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.h-sec {
  font-size: clamp(1.85rem, 3.9vw, 2.85rem);
  line-height: 1.06;
}

.h-sub {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.grad {
  background: linear-gradient(100deg, #42c8ff 0%, #8b5cf6 46%, #ff3d9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--cyan);
}

.lead {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

p {
  color: var(--muted);
}

p strong,
li strong {
  color: #fff;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 15, 30, 0.78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  --brand-size: 21px;
  line-height: 1;
}

.brand__spade {
  font-size: calc(var(--brand-size) * 1.22);
  line-height: 0.9;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(66, 200, 255, 0.8);
}

.brand__word {
  font-size: var(--brand-size);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 20px rgba(66, 200, 255, 0.28);
  white-space: nowrap;
}

.brand__word b {
  font-weight: 900;
  color: var(--cyan);
  margin-right: 0.3em;
}

.brand--lg {
  --brand-size: 27px;
}

.brand--sm {
  --brand-size: 18px;
}

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

.nav a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(66, 200, 255, 0.1);
}

.nav a[aria-current="page"] {
  color: var(--cyan);
  background: rgba(66, 200, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(66, 200, 255, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 34, 60, 0.8);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- 6. Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(92deg, #0084ff, #26c2ff);
  color: #04101f;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  color: #04101f;
  filter: brightness(1.08);
  box-shadow: 0 0 30px rgba(38, 194, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--ghost {
  border-color: rgba(66, 200, 255, 0.45);
  background: rgba(66, 200, 255, 0.06);
  color: #c9ecff;
}

.btn--ghost:hover {
  background: rgba(66, 200, 255, 0.14);
  border-color: rgba(66, 200, 255, 0.7);
  color: #fff;
}

.btn--neon {
  background: linear-gradient(92deg, #7b4dff, #ff3d9a);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 61, 154, 0.3);
}

.btn--neon:hover {
  color: #fff;
  filter: brightness(1.1);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.76rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(66, 200, 255, 0.3);
  background: rgba(66, 200, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.pill--soon {
  border-color: rgba(255, 176, 46, 0.4);
  background: rgba(255, 176, 46, 0.1);
  color: var(--warn-soft);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 84px) 0 clamp(56px, 7vw, 92px);
  text-align: center;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 6%;
  width: min(760px, 92vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(66, 200, 255, 0.24), rgba(123, 77, 255, 0.12) 45%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.hero__logo {
  width: min(360px, 62vw);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 0 46px rgba(66, 200, 255, 0.4)) drop-shadow(0 18px 40px rgba(2, 8, 20, 0.7));
}

.hero__title {
  margin-bottom: 20px;
}

.hero .lead {
  margin-top: 20px;
}

.hero .btn-row {
  margin-top: 34px;
}

.hero__cards {
  position: absolute;
  top: 69%;
  width: 200px;
  height: 280px;
  pointer-events: none;
  opacity: 0.75;
  z-index: -1;
}

.hero__cards--left {
  left: max(-46px, calc(50% - 690px));
  transform: translateY(-50%) rotate(-15deg) scale(0.92);
}

.hero__cards--right {
  right: max(-46px, calc(50% - 690px));
  transform: translateY(-50%) rotate(15deg) scale(0.92);
}

.fact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 6vw, 76px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.fact {
  text-align: center;
}

.fact b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 8. Playing card art ---------- */
.pcard {
  position: absolute;
  width: 150px;
  height: 212px;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(158deg, #1a2b4d 0%, #0d1729 62%, #111d33 100%);
  border: 1px solid rgba(66, 200, 255, 0.35);
  box-shadow: 0 22px 48px rgba(2, 8, 20, 0.7), 0 0 26px rgba(41, 120, 255, 0.28);
  font-weight: 800;
  line-height: 1;
}

.pcard__corner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 1rem;
  color: var(--cyan);
}

.pcard__corner--br {
  align-self: flex-end;
  transform: rotate(180deg);
}

.pcard__pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4.4rem;
  color: rgba(66, 200, 255, 0.22);
}

.pcard--red .pcard__corner,
.pcard--red .pcard__pip {
  color: var(--magenta);
}

.pcard--red .pcard__pip {
  opacity: 0.3;
}

/* ---------- 9. Sections ---------- */
.section {
  position: relative;
  padding: clamp(46px, 6vw, 72px) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(12, 21, 40, 0) 0%, rgba(18, 29, 54, 0.55) 50%, rgba(12, 21, 40, 0) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head p {
  margin-top: 16px;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  padding: clamp(22px, 3vw, 30px);
}

.card--flat {
  background: rgba(22, 34, 60, 0.55);
  box-shadow: none;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% -40%;
  height: 120px;
  background: radial-gradient(closest-side, rgba(66, 200, 255, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(66, 200, 255, 0.5);
  box-shadow: 0 22px 44px rgba(2, 8, 20, 0.6), 0 0 28px rgba(41, 120, 255, 0.26);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(66, 200, 255, 0.16), rgba(123, 77, 255, 0.16));
  border: 1px solid rgba(66, 200, 255, 0.3);
  color: var(--cyan);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.02rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Step list */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(26, 42, 72, 0.9), rgba(14, 24, 44, 0.9));
  box-shadow: var(--shadow-glow);
}

.step__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--cyan);
  margin-bottom: 18px;
}

.step__num::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.step h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
}

/* Bridge table visual */
.table-visual {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(66, 200, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(66, 200, 255, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(20, 33, 58, 0.95), rgba(10, 18, 34, 0.95));
  box-shadow: inset 0 0 60px rgba(41, 120, 255, 0.12), var(--shadow-card);
}

.seat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(12, 22, 42, 0.8);
  text-align: center;
}

.seat b {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seat span {
  font-size: 0.72rem;
  color: var(--dim);
}

.seat--partner {
  border-color: rgba(66, 200, 255, 0.55);
  background: rgba(66, 200, 255, 0.1);
  box-shadow: 0 0 22px rgba(66, 200, 255, 0.2);
}

.seat--partner b {
  color: var(--cyan);
}

.seat--you {
  border-color: rgba(255, 61, 154, 0.55);
  background: rgba(255, 61, 154, 0.1);
  box-shadow: 0 0 22px rgba(255, 61, 154, 0.18);
}

.seat--you b {
  color: #ff8dc0;
}

.table-visual__core {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 18px 10px;
}

.table-visual__core b {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.table-visual__core em {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: normal;
  font-weight: 800;
  color: #fff;
}

.table-visual__core .suit-run {
  display: flex;
  gap: 14px;
  font-size: 1.15rem;
  color: var(--cyan);
  opacity: 0.85;
}

.table-visual__core .suit-run .red {
  color: var(--magenta);
}

/* Marquee strip */
.strip {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 15, 30, 0.5);
  padding: 14px 0;
}

.strip__track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.strip__track span {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(168, 188, 217, 0.75);
  white-space: nowrap;
}

.strip__track span::after {
  color: var(--cyan);
  opacity: 0.7;
}

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

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 22px;
  border: 1px solid rgba(66, 200, 255, 0.32);
  background:
    radial-gradient(520px 240px at 12% 0%, rgba(66, 200, 255, 0.18), transparent 70%),
    radial-gradient(520px 260px at 92% 100%, rgba(255, 61, 154, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(21, 35, 61, 0.96), rgba(11, 19, 36, 0.96));
  box-shadow: var(--shadow-card);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 26px;
}

/* Contact cards */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
}

.contact-card__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-card__mail {
  font-size: clamp(0.98rem, 1.8vw, 1.18rem);
  font-weight: 800;
  font-style: italic;
  color: var(--cyan);
  word-break: break-word;
}

.contact-card p {
  font-size: 0.93rem;
}

/* ---------- 10. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(620px 320px at 18% -20%, rgba(66, 200, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.breadcrumb a {
  color: var(--dim);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb span {
  opacity: 0.5;
}

.page-hero .h-sec {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
}

.page-hero .lead {
  margin: 18px 0 0;
  text-align: left;
  max-width: 700px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.page-hero__meta b {
  color: var(--text);
  font-weight: 700;
}

/* ---------- 11. Legal / privacy ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  padding: clamp(36px, 5vw, 60px) 0 clamp(60px, 8vw, 90px);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  max-height: calc(100vh - var(--header-h) - 52px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(66, 200, 255, 0.35) transparent;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 27, 50, 0.85);
  box-shadow: var(--shadow-glow);
}

.toc h2 {
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.toc a:hover {
  color: #fff;
  background: rgba(66, 200, 255, 0.08);
  border-left-color: var(--cyan);
}

.legal {
  max-width: 800px;
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal > .legal__title {
  margin-bottom: 4px;
}

.legal__updated {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 26px;
}

.legal section {
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  margin-top: 30px;
}

.legal section:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal h2 {
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  margin-bottom: 14px;
  color: #fff;
}

.legal h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  transform: rotate(45deg) translateY(-2px);
  box-shadow: 0 0 12px rgba(66, 200, 255, 0.55);
}

.legal h3 {
  font-size: 0.98rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  margin: 24px 0 10px;
  color: var(--cyan-soft);
}

.legal p {
  margin: 12px 0;
}

.legal ul {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.legal ul li {
  position: relative;
  padding-left: 24px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  opacity: 0.8;
}

.legal a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(66, 200, 255, 0.45);
}

.legal a:hover {
  text-decoration-color: var(--cyan);
}

.legal code {
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(66, 200, 255, 0.12);
  color: var(--cyan-soft);
}

/* Callouts */
.note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  margin: 22px 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 176, 46, 0.1);
  border-left: 4px solid var(--warn);
  box-shadow: 0 0 20px rgba(255, 176, 46, 0.08);
}

.note strong {
  color: var(--warn-soft);
}

.note p,
.note li {
  color: #f0e2c8;
  font-size: 0.94rem;
}

.note ol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
  counter-reset: n;
}

.note ol li {
  position: relative;
  padding-left: 26px;
  counter-increment: n;
}

.note ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 176, 46, 0.22);
  color: var(--warn-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.callout {
  padding: 18px 20px;
  margin: 22px 0;
  border-radius: var(--radius-sm);
  background: rgba(66, 200, 255, 0.08);
  border-left: 4px solid var(--cyan);
}

.callout p {
  color: #d3e9ff;
  font-size: 0.94rem;
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
}

/* ---------- 12. Account deletion page ---------- */
.method {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(26, 42, 72, 0.9), rgba(13, 23, 42, 0.92));
  box-shadow: var(--shadow-glow);
}

.method--accent {
  border-color: rgba(66, 200, 255, 0.45);
  box-shadow: 0 0 30px rgba(41, 120, 255, 0.2);
}

.method__tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #061426;
  background: linear-gradient(92deg, #42c8ff, #8be1ff);
}

.method__tag--alt {
  color: var(--cyan);
  background: rgba(66, 200, 255, 0.12);
  border: 1px solid rgba(66, 200, 255, 0.4);
}

.method h2 {
  font-size: 1.16rem;
}

.method p,
.method li {
  font-size: 0.94rem;
}

.method ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  counter-reset: m;
}

.method ol li {
  position: relative;
  padding-left: 28px;
  counter-increment: m;
  color: var(--muted);
}

.method ol li::before {
  content: counter(m);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(66, 200, 255, 0.16);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
}

.method .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Email address shown as copyable guidance (no one-click submission). */
.mail-to {
  display: block;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px dashed rgba(66, 200, 255, 0.42);
  background: rgba(66, 200, 255, 0.06);
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  color: var(--cyan);
  word-break: break-word;
  user-select: all;
  -webkit-user-select: all;
}

.mail-to__hint {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- 13. Support page ---------- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 32, 56, 0.7);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.faq details {
  border-top: 1px solid var(--line-soft);
}

.faq details:first-child {
  border-top: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  color: #dfeaff;
  transition: background 0.16s ease, color 0.16s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: rgba(66, 200, 255, 0.07);
  color: #fff;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(66, 200, 255, 0.4);
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

.faq details[open] summary {
  color: #fff;
  background: rgba(66, 200, 255, 0.06);
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq__body {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq__body p {
  margin: 0 0 10px;
}

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

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checklist li {
  position: relative;
  padding-left: 23px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(66, 200, 255, 0.6);
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(30px, 5vw, 50px);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.6), rgba(6, 11, 22, 0.95));
  padding: clamp(40px, 6vw, 64px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand__spade {
  text-shadow: 0 0 22px rgba(66, 200, 255, 0.9);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h2 {
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--dim);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--dim);
}

.footer-bottom .soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warn-soft);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Back-to-top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(66, 200, 255, 0.4);
  background: rgba(12, 22, 42, 0.9);
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(41, 120, 255, 0.25);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

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

.to-top:hover {
  background: rgba(66, 200, 255, 0.16);
  color: #fff;
}

/* ---------- 14b. Utilities ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.split--text-heavy {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.table-visual .seat--n {
  grid-area: 1 / 2;
}

.table-visual .seat--w {
  grid-area: 2 / 1;
}

.table-visual .seat--e {
  grid-area: 2 / 3;
}

.table-visual .seat--s {
  grid-area: 3 / 2;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stack--sm {
  gap: 12px;
}

.stack--lg {
  gap: 26px;
}

.maxw-720 {
  max-width: 720px;
}

.maxw-820 {
  max-width: 820px;
}

.mx-auto {
  margin-inline: auto;
}

/* Legal ordered lists (numbered steps inside a policy section). */
.legal ol {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
  counter-reset: legal-ol;
}

.legal ol li {
  position: relative;
  padding-left: 30px;
  counter-increment: legal-ol;
}

.legal ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.mt-sm {
  margin-top: 12px;
}

.mt-md {
  margin-top: 20px;
}

.mt-lg {
  margin-top: 32px;
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 980px) {
  .hero__cards {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: #0a1222;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(2, 8, 20, 0.6);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    max-height: 260px;
    overflow-y: auto;
  }

  .toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid--3,
  .steps {
    grid-template-columns: 1fr;
  }

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

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

  .table-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .table-visual__core {
    flex: 1 1 100%;
    order: -1;
  }

  .table-visual .seat {
    flex: 1 1 calc(50% - 6px);
    grid-area: auto;
  }

  .table-visual .seat--n,
  .table-visual .seat--s {
    flex-basis: 100%;
  }

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

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-inline: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

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

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

  .fact-bar {
    gap: 26px 34px;
  }

  .hero__logo {
    width: min(280px, 66vw);
  }

  .btn {
    padding: 14px 20px;
    font-size: 0.8rem;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .legal {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 16. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .site-header,
  .site-footer,
  .toc,
  .to-top,
  .strip {
    display: none !important;
  }

  .legal,
  .legal p,
  .legal li {
    color: #111;
    max-width: none;
  }

  .legal h2,
  .legal h3 {
    color: #000;
  }

  .legal a {
    color: #000;
  }

  .legal section {
    page-break-inside: avoid;
  }
}
