/* ===== Fonts ===== */

/* ===== Waytonat Theme ===== */
:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --text: #ffffff;
  --text-soft: #b0b0b0;
  --accent: #c8aa82;
  --accent-dim: rgba(200, 170, 130, 0.6);
  --accent-soft: rgba(200, 170, 130, 0.12);
  --accent-faint: rgba(200, 170, 130, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ease-quiet: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* ===== Light Theme ===== */
[data-theme="light"] {
  --bg: #f4f2ed;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-soft: #555555;
  --accent: #9e7b4a;
  --accent-dim: rgba(158, 123, 74, 0.7);
  --accent-soft: rgba(158, 123, 74, 0.08);
  --accent-faint: rgba(158, 123, 74, 0.04);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  color-scheme: light;
}

/* ===== Light Component Overrides ===== */
[data-theme="light"] .wt-nav { background: rgba(244, 242, 237, 0.8); }
[data-theme="light"] .wt-mobile-menu { background: rgba(244, 242, 237, 0.97); }
[data-theme="light"] .glyph-rain-canvas { opacity: 0.1; }
[data-theme="light"] .wt-link-cell:hover { background: rgba(158, 123, 74, 0.04); }
[data-theme="light"] .wt-tier-card:hover { border-color: rgba(158, 123, 74, 0.25); box-shadow: 0 0 40px rgba(158, 123, 74, 0.06); }

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Body Reveal (no-FOUC) ===== */
body {
  opacity: 0;
  animation: wt-fade-in 600ms var(--ease-quiet) 100ms forwards;
}
@keyframes wt-fade-in {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; animation: none; }
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  transition: top 200ms;
}
.skip-link:focus {
  top: 1rem;
}

/* ===== Custom Cursor ===== */
body.custom-cursor-active { cursor: none; }
@media (pointer: coarse) { body.custom-cursor-active { cursor: auto; } }

#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: difference;
  transition: width 250ms var(--ease-quiet), height 250ms var(--ease-quiet),
              background 200ms var(--ease-quiet);
}
#cursor-dot.is-hover {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
@media (pointer: coarse) { #cursor-dot { display: none; } }

/* ===== Glyph Rain Canvas ===== */
.glyph-rain-canvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0; opacity: 0.25;
  pointer-events: none;
}

/* ===== Navigation ===== */
.wt-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.wt-logo {
  font-weight: 700; font-size: 1rem;
  letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 0.55rem;
}
.wt-logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block; border-radius: 1px;
}
.wt-logo span { color: var(--accent); }

.wt-nav-menu {
  display: flex; gap: 2.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.wt-nav-menu a {
  color: var(--text-soft);
  transition: color 300ms var(--ease-quiet);
  position: relative;
}
.wt-nav-menu a::after {
  content: ""; position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 400ms var(--ease-quiet);
}
.wt-nav-menu a:hover { color: var(--accent); }
.wt-nav-menu a:hover::after { width: 100%; }
.wt-nav-menu a.wt-active { color: var(--accent); }
.wt-nav-menu a.wt-active::after { width: 100%; }

.wt-dashboard-btn {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.65rem 1.3rem;
  min-height: 44px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all 300ms var(--ease-quiet);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.wt-dashboard-btn:hover {
  background: var(--accent); color: var(--bg);
}

/* ===== Hamburger ===== */
.wt-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 0.75rem;
  min-width: 44px; min-height: 44px;
  justify-content: center;
  z-index: 110;
}
.wt-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-soft);
  transition: all 300ms var(--ease-quiet);
  transform-origin: center;
}
.wt-hamburger[data-open="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--accent); }
.wt-hamburger[data-open="true"] span:nth-child(2) { opacity: 0; }
.wt-hamburger[data-open="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--accent); }

.wt-mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  justify-content: center; align-items: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 400ms var(--ease-quiet);
}
.wt-mobile-menu[data-open="true"] { opacity: 1; pointer-events: auto; }
.wt-mobile-menu a {
  font-size: 1rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--text-soft);
  transition: color 300ms var(--ease-quiet);
}
.wt-mobile-menu a:hover { color: var(--accent); }

/* ===== Nav Right Group ===== */
.wt-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wt-theme-toggle {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: all 300ms var(--ease-quiet);
  font-family: inherit;
}
.wt-theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 880px) {
  .wt-nav { padding: 1rem 1.25rem; }
  .wt-nav-menu { display: none; }
  .wt-hamburger { display: flex; }
  .wt-mobile-menu { display: flex; }
  .wt-nav-right .wt-dashboard-btn { display: none; }
  .wt-nav-right { margin-left: auto; }
}

/* ===== Hero ===== */
.wt-hero {
  position: relative;
  min-height: auto;
 padding: 8rem 3rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .wt-hero {
    grid-template-columns: 1fr;
    padding: 6rem 2rem 3rem; gap: 3rem;
  }
}
@media (max-width: 640px) {
  .wt-hero { padding: 6rem 1.25rem 2.5rem; }
  .wt-hero-label { margin-bottom: 1.25rem; }
  .wt-link-grid { margin-bottom: 1.5rem; }
}

.wt-hero-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.wt-hero-label::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}

.wt-hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  overflow-wrap: break-word;
  word-break: normal;
}


.wt-hero-sub {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .wt-hero-sub { margin-bottom: 1.25rem; font-size: 0.88rem; }
}

/* ===== Link Grid ===== */
.wt-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.wt-link-cell {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 300ms var(--ease-quiet);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.wt-link-cell:nth-child(2n) { border-right: none; }
.wt-link-cell:nth-child(n+3) { border-bottom: none; }
.wt-link-cell:hover { background: rgba(200, 170, 130, 0.04); }
.wt-link-cell .k {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  opacity: 0.65;
}
.wt-link-cell .v {
  font-weight: 700; font-size: 1rem;
  letter-spacing: -0.02em;
  transition: color 300ms var(--ease-quiet);
}
.wt-link-cell:hover .v { color: var(--accent); }

@media (max-width: 480px) {
  .wt-link-grid { grid-template-columns: 1fr; }
  .wt-link-cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .wt-link-cell:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .wt-link-cell:last-child { border-bottom: none; }
  .wt-link-cell { min-height: 44px; }
}

/* ===== Tier Card ===== */
.wt-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  position: relative;
}
.wt-tier-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: opacity 400ms var(--ease-quiet);
}
.wt-tier-card {
  transition: border-color 400ms var(--ease-quiet), box-shadow 400ms var(--ease-quiet);
  will-change: transform;
}
.wt-tier-card:hover {
  border-color: rgba(200, 170, 130, 0.25);
  box-shadow: 0 0 40px rgba(200, 170, 130, 0.06);
}

@media (max-width: 1024px) {
  .wt-tier-card { margin-left: 0; max-width: 440px; }
}

.tier-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}

.tier-name {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.tier-price-period {
  font-size: 0.7rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0.6;
}
.tier-price-period::before { content: "//"; opacity: 0.4; }

.tier-features {
  display: flex; flex-direction: column;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--line);
}
.tier-feature {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.tier-feature--dim {
  opacity: 0.55;
  font-size: 0.76rem;
  font-family: 'JetBrains Mono', monospace;
}
.tier-feature:last-child { border-bottom: none; }
.tier-feature .label { color: var(--text-soft); }
.tier-feature .value { font-weight: 700; }
.tier-feature .spec-note {
  font-size: 0.6rem; color: var(--accent-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-left: 0.4rem;
}

.tier-cta { display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* ===== Buttons ===== */
.wt-btn-primary {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.65rem 1.3rem;
  min-height: 44px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all 300ms var(--ease-quiet);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  position: relative; overflow: hidden;
  font-family: inherit;
}
.wt-btn-primary:hover { background: var(--accent); color: var(--bg); }

.wt-btn-ghost {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.65rem 1.3rem;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  background: transparent;
  transition: all 300ms var(--ease-quiet);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.wt-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Sections ===== */
.wt-section {
  position: relative; z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
}
@media (max-width: 640px) { .wt-section { padding: 3.5rem 1.25rem; } }

/* ===== Dual Column ===== */
.wt-section--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .wt-section--dual { grid-template-columns: 1fr; gap: 0; }
}
.wt-dual-col--right {
  padding-top: 0;
  border-left: 1px solid var(--line);
  padding-left: 3.5rem;
}
@media (max-width: 1024px) {
  .wt-dual-col--right {
    padding-top: 3rem; padding-left: 0;
    border-left: none; border-top: 1px solid var(--line);
  }
}

.wt-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.wt-section-label::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}

.wt-section-label--stance::before {
  background: var(--text-soft);
  opacity: 0.3;
}

.wt-section-title--stance {
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-soft);
  letter-spacing: 0;
  line-height: 1.5;
}

.wt-section-title {
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.wt-section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ===== Package List ===== */
.wt-package-list {
  display: flex; flex-direction: column;
}
.wt-package-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 300ms var(--ease-quiet);
}
.wt-package-item:first-child { border-top: 1px solid var(--line); }
.wt-package-item:hover { border-bottom-color: var(--line-strong); }

.package-item-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.package-number {
  font-size: 0.65rem; letter-spacing: 0.14em;
  color: var(--accent-dim);
  flex-shrink: 0; min-width: 1.5rem;
}
.package-item-header h3 {
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.package-detail {
  font-size: 0.6rem;
  color: var(--accent-dim);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.package-item-body {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.75;
  padding-left: 2.25rem;
  max-width: 100%;
}

.wt-spec-inline {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 2rem; flex-wrap: wrap;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft); opacity: 0.55;
}
.wt-spec-dot {
  width: 3px; height: 3px;
  background: var(--accent); opacity: 0.3;
  border-radius: 50%; display: inline-block;
}

/* ===== Stance List ===== */
.wt-stance-list {
  display: flex; flex-direction: column; gap: 0;
}
.wt-stance-item {
  padding: 1.5rem 1.5rem;
  margin-bottom: 0.6rem;
  border-left: 2px solid var(--line);
  transition: border-color 400ms var(--ease-quiet), background 400ms var(--ease-quiet);
  background: transparent;
}
.wt-stance-item:hover {
  border-left-color: var(--accent);
  background: var(--accent-faint);
}

.stance-item-title {
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.wt-stance-item p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.85;
}

/* ===== FAQ ===== */
.wt-section--faq {
  padding: 7rem 3rem 8rem;
  max-width: 1100px;
}
.wt-section-title--large {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.wt-faq-list {
  max-width: 100%;
  display: flex; flex-direction: column;
}
.wt-faq-item {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  transition: transform 400ms var(--ease-quiet), border-color 300ms var(--ease-quiet);
  will-change: transform;
}
.wt-faq-item:last-child { border-bottom: 1px solid var(--line); }
.wt-faq-item:hover { transform: translateX(1rem); border-top-color: var(--line-strong); }

.wt-faq-q {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  display: flex; gap: 1.2rem; align-items: baseline;
  letter-spacing: -0.01em;
}
.wt-faq-n {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  font-weight: 400;
}

.wt-faq-a p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 3rem;
  opacity: 0.88;
}

@media (max-width: 640px) {
  .wt-section--faq { padding: 4rem 1.25rem 5rem; }
  .wt-faq-a p { padding-left: 0; }
  .wt-faq-q { flex-direction: column; gap: 0.3rem; }
  .wt-faq-item:hover { transform: none; }
}

/* ===== Game Hosting Section ===== */
.wt-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) {
  .wt-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  .wt-products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.wt-product-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 2.25rem;
  position: relative;
  transition: border-color 400ms var(--ease-quiet), box-shadow 400ms var(--ease-quiet), transform 300ms var(--ease-quiet);
  will-change: transform;
}
.wt-product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
.wt-product-card:hover {
  border-color: rgba(200, 170, 130, 0.2);
  box-shadow: 0 0 30px rgba(200, 170, 130, 0.04);
  transform: translateY(-2px);
}
.wt-product-card .tier-name {
  font-size: clamp(2.2rem, 4vw, 3rem);
}
.wt-product-card .tier-features {
  margin-top: 1.75rem;
}

.wt-product-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  opacity: 0.8;
  font-weight: 400;
}

/* Centered hero variant */
.wt-hero--centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 12rem 3rem 6rem;
}
.wt-hero--centered .wt-hero-sub {
  max-width: 600px;
  margin: 0 auto;
}
.wt-hero--centered .wt-link-grid {
  justify-content: center;
}
@media (max-width: 640px) {
  .wt-hero--centered { padding: 7rem 1.25rem 3rem; }
}

.wt-game-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 2.25rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  transition: border-color 400ms var(--ease-quiet), box-shadow 400ms var(--ease-quiet);
}
.wt-game-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
.wt-game-card:hover {
  border-color: rgba(200, 170, 130, 0.2);
  box-shadow: 0 0 30px rgba(200, 170, 130, 0.04);
}

.wt-game-section-body {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .wt-game-section-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.wt-game-section-body .wt-section-title {
  max-width: 520px;
}

/* ===== Disclaimer ===== */
.wt-disclaimer {
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* ===== Waypro Section ===== */
.wt-section--waypro {
  max-width: 1100px;
}
.wt-waypro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .wt-waypro-body { grid-template-columns: 1fr; gap: 3rem; }
}

.wt-php-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 1rem;
}
.wt-php-table thead th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dim);
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 400;
}
.wt-php-table tbody td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.wt-php-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text);
}
.wt-php-table tbody tr:last-child td { border-bottom: none; }

.wt-waypro-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  opacity: 0.7;
  margin-top: 1.5rem;
  line-height: 1.7;
  max-width: 480px;
}

/* ===== Game Hosting Page ===== */
.wt-game-page-hero {
  position: relative;
  min-height: 50vh;
  padding: 12rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}
.wt-game-page-hero .wt-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 640px) {
  .wt-game-page-hero { padding: 8rem 1.25rem 3rem; }
}

.wt-game-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 600px;
}
@media (max-width: 480px) {
  .wt-game-specs-grid { grid-template-columns: 1fr; }
}
.wt-game-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  transition: border-color 300ms var(--ease-quiet);
}
.wt-game-spec-item:hover { border-color: var(--line-strong); }
.wt-game-spec-item .spec-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dim);
}
.wt-game-spec-item .spec-value {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.wt-game-info {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 600px;
}

.wt-game-info + .wt-game-info {
  margin-top: 1.25rem;
}

/* ===== Footer ===== */
.wt-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 5rem 3rem 3rem;
}
@media (max-width: 640px) { .wt-footer { padding: 3.5rem 1.25rem 2rem; } }

.wt-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 768px) { .wt-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .wt-footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.wt-footer-brand .wt-footer-logo {
  font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1rem;
}
.wt-footer-brand .wt-logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block; border-radius: 1px;
}
.wt-footer-brand .wt-logo-period { color: var(--accent); }
.wt-footer-brand p {
  color: var(--text-soft);
  opacity: 0.65;
  font-size: 0.88rem;
  max-width: 300px;
  line-height: 1.65;
}

.wt-footer-col h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.wt-footer-col ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.wt-footer-col li a {
  font-size: 0.9rem;
  color: var(--text-soft);
  opacity: 0.8;
  transition: color 300ms var(--ease-quiet), opacity 300ms var(--ease-quiet);
}
.wt-footer-col li a:hover { color: var(--accent); opacity: 1; }

.wt-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-soft);
  opacity: 0.6;
  letter-spacing: 0.1em;
}
@media (max-width: 640px) {
  .wt-footer-bottom { flex-direction: column; gap: 0.6rem; }
}

/* ===== Legal / Doc Page ===== */
section.doc {
  position: relative; z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 10rem 3rem 6rem;
}
@media (max-width: 640px) { section.doc { padding: 7rem 1.5rem 4rem; } }

.doc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.doc-label::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}

.doc h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.doc .updated {
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.5;
  margin-bottom: 3.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.doc h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.doc p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}
.doc p strong {
  color: var(--text);
  font-weight: 700;
}

.doc ul {
  list-style: none;
  margin: 0.75rem 0 1.75rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--line);
}
.doc ul li {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}
.doc ul li::before {
  content: "// ";
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
}

/* ===== Cookie Banner ===== */
.wt-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--line-strong);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.6;
  backdrop-filter: blur(12px);
}
.wt-cookie-banner p {
  margin: 0;
  max-width: 600px;
}
.wt-cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wt-cookie-banner a:hover {
  color: var(--text);
}
.wt-cookie-banner--hidden {
  display: none;
}
@media (max-width: 640px) {
  .wt-cookie-banner {
    padding: 1rem 1.25rem;
    gap: 1rem;
    justify-content: flex-start;
  }
}
[data-theme="light"] .wt-cookie-banner {
  background: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   PANEL — client/staff area components, in the waytonat language
   ============================================================ */

/* Page layout */
main.wrap {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 8rem 3rem 5rem; min-height: 65vh;
}
@media (max-width: 640px) { main.wrap { padding: 7rem 1.25rem 3.5rem; } }

/* Page header pattern (matches .doc-label / .wt-section-title rhythm) */
.page-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
h1.page-title, main.wrap h1 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
main.wrap h2 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.01em; text-transform: none;
  margin: 2.4rem 0 0.9rem; color: var(--text);
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--line);
}
main.wrap h2:first-child { margin-top: 0.5rem; }
.muted { color: var(--text-soft); font-size: 0.88rem; }
main.wrap a { color: var(--accent); }
main.wrap p a, .card a { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons — .btn mirrors .wt-btn-primary for panel markup */
.btn {
  font-family: inherit; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 0.65rem 1.3rem; min-height: 44px;
  border: 1px solid var(--accent); color: var(--accent); background: transparent;
  transition: all 300ms var(--ease-quiet);
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn.btn-ghost { border-color: var(--line-strong); color: var(--text-soft); }
.btn.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-sm { padding: 0.35rem 0.8rem; min-height: 32px; font-size: 0.65rem; }
.btn-danger { border-color: var(--bad); color: var(--bad); }
.btn-danger:hover { background: var(--bad); color: var(--bg); }
.btn-ok { border-color: var(--ok); color: var(--ok); }
.btn-ok:hover { background: var(--ok); color: var(--bg); }

/* Cards & grids */
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 1.75rem; margin: 1.25rem 0;
  transition: border-color 400ms var(--ease-quiet);
}
.card:hover { border-color: var(--line-strong); }
.card h2 { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.specs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; padding: 0; margin: 1.5rem 0; }
.specs li { background: var(--bg); padding: 0.9rem 1.1rem; font-size: 0.85rem; }
.specs li::before { content: "// "; color: var(--accent); font-size: 0.68rem; }

/* Forms */
form.stack label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft); margin: 1rem 0 0.35rem; }
form.stack input, form.stack select, form.stack textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font-family: inherit; font-size: 0.9rem;
  transition: border-color 300ms var(--ease-quiet);
}
form.stack input:focus, form.stack select:focus, form.stack textarea:focus { outline: none; border-color: var(--accent); }
form.stack textarea { resize: vertical; }
form.stack input[type="checkbox"] { width: auto; }
form.stack input[type="file"] { padding: 0.5rem 0; background: transparent; border: 0; color: var(--text-soft); font-size: 0.8rem; }
form.inline { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* Tables */
.table-scroll { overflow-x: auto; }
main.wrap table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--line); font-size: 0.85rem; }
main.wrap th {
  background: var(--accent-faint); font-weight: 400;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft);
  text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line);
}
main.wrap td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
main.wrap tr:last-child td { border-bottom: 0; }
main.wrap tbody tr:hover td, main.wrap tr:hover td { background: var(--accent-faint); }
code { color: var(--accent); font-size: 0.82em; word-break: break-all; }

/* Badges — status + roles */
.badge {
  display: inline-block; padding: 0.15rem 0.6rem; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--text-soft);
}
.st-pending, .st-open { border-color: var(--warn); color: var(--warn); }
.st-active { border-color: var(--ok); color: var(--ok); }
.st-suspended { border-color: var(--bad); color: var(--bad); }
.st-answered { border-color: var(--accent); color: var(--accent); }
.st-cancelled, .st-terminated, .st-closed { border-color: var(--line-strong); color: var(--text-soft); }
.badge--admin { border-color: var(--bad); color: var(--bad); }
.badge--staff { border-color: var(--warn); color: var(--warn); }
.badge--client { border-color: var(--accent); color: var(--accent); }

/* Flash + ticket threads */
.flash { padding: 0.8rem 1.1rem; margin: 1rem 0; font-size: 0.85rem; border: 1px solid var(--line-strong); }
.flash.ok { border-color: var(--ok); color: var(--ok); background: rgba(127, 174, 127, 0.06); }
.flash.err { border-color: var(--bad); color: var(--bad); background: rgba(194, 91, 91, 0.06); }
.msg { border: 1px solid var(--line); border-left: 2px solid var(--accent); padding: 1rem 1.1rem; margin: 0.75rem 0; background: var(--bg-card); }
.msg.staff { border-left-color: var(--ok); }
.msg .meta { font-size: 0.72rem; color: var(--text-soft); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Tabs */
.pill-tabs { display: flex; gap: 0.75rem; margin: 1.5rem 0; flex-wrap: wrap; }
.pill-tabs a {
  padding: 0.45rem 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text-soft);
  transition: all 300ms var(--ease-quiet);
}
.pill-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.pill-tabs a.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Usage meters */
.meter { height: 4px; background: var(--line); margin: 0.4rem 0 1rem; position: relative; }
.meter-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); transition: width 600ms var(--ease-quiet); }
.meter-fill.hot { background: var(--bad); }
.meter-row { margin-bottom: 1rem; font-size: 0.85rem; }

/* Auth pages (login/register) */
.auth-wrap { max-width: 460px; margin: 0 auto; }

/* File manager */
.fm-breadcrumb { font-size: 0.85rem; margin: 1rem 0; color: var(--text-soft); word-break: break-all; }
.fm-breadcrumb a { color: var(--accent); }
.fm-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.fm-actions form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.fm-actions input[type="text"] {
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  padding: 0.45rem 0.7rem; font-family: inherit; font-size: 0.8rem;
}
.fm-perms { color: var(--text-soft); font-size: 0.75rem; }

/* File manager icons — text markers in the mono aesthetic */
.fm-ic { color: var(--accent); font-size: 0.68rem; margin-right: 0.45rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   PANEL SHELL — sidebar layout (management area)
   ============================================================ */
.panel-shell { display: flex; min-height: 100vh; }
.panel-side {
  position: fixed; top: 0; bottom: 0; left: 0; width: 250px;
  background: var(--bg-card); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 1.75rem 1rem 1.25rem;
  z-index: 120;
  transition: transform 350ms var(--ease-quiet);
}
.side-logo { margin: 0 0.75rem 2.25rem; font-size: 1rem; }
.side-nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.side-label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent-dim); margin: 1.5rem 0.75rem 0.5rem;
}
.side-label:first-child { margin-top: 0; }
.side-link {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.9rem; font-size: 0.82rem; color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: all 250ms var(--ease-quiet);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-link:hover { color: var(--text); background: var(--accent-faint); }
.side-link.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
.side-glyph { color: var(--accent-dim); font-size: 0.7rem; width: 0.9rem; text-align: center; flex-shrink: 0; }
.side-link.active .side-glyph { color: var(--accent); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.side-user { font-size: 0.68rem; color: var(--text-soft); opacity: 0.6; padding: 0 0.9rem; word-break: break-all; margin: 0; }
.side-theme { align-self: flex-start; }

.panel-main { flex: 1; min-width: 0; margin-left: 250px; padding: 2.75rem 3rem 3rem; max-width: calc(1100px + 250px); }
.panel-main h1.page-title, .panel-main h1 { margin-top: 0.25rem; }
.panel-foot {
  margin-left: 250px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 3rem; font-size: 0.68rem; color: var(--text-soft);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.panel-foot a { color: var(--accent); }
.panel-burger {
  display: none; position: fixed; top: 0.9rem; left: 0.9rem; z-index: 160;
  background: var(--bg-card); border: 1px solid var(--line-strong);
  cursor: pointer; flex-direction: column; gap: 4px; padding: 9px 10px;
}
.panel-burger span { width: 18px; height: 1.5px; background: var(--text); display: block; }
.panel-overlay { display: none; }

@media (max-width: 900px) {
  .panel-side { transform: translateX(-100%); box-shadow: none; }
  body.side-open .panel-side { transform: none; box-shadow: 0 0 60px rgba(0,0,0,0.5); }
  body.side-open .panel-overlay {
    display: block; position: fixed; inset: 0; z-index: 110;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  }
  .panel-burger { display: flex; }
  .panel-main { margin-left: 0; padding: 4.5rem 1.25rem 2.5rem; }
  .panel-foot { margin-left: 0; padding: 1rem 1.25rem; }
}

/* Stat chips on the dashboard */
.stat-row { display: flex; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.25rem 0 2rem; flex-wrap: wrap; }
.stat-chip { background: var(--bg-card); padding: 1rem 1.5rem; min-width: 140px; flex: 1; }
.stat-chip .k { display: block; margin-bottom: 0.35rem; }
.stat-chip .v { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }

/* ===== Service workspace ===== */
.micro-back {
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-soft); margin-bottom: 1.25rem;
}
.micro-back:hover { color: var(--accent); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.svc-head .page-title { margin-bottom: 0.25rem; }
.svc-head-right { display: flex; gap: 0.6rem; align-items: center; padding-top: 2.6rem; flex-wrap: wrap; }
@media (max-width: 700px) { .svc-head-right { padding-top: 0; } }
.mono, .svc-head .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.78rem; }
.svc-tabs { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--line); margin: 2rem 0 1.75rem; flex-wrap: wrap; }
.svc-tab {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-soft); padding: 0.7rem 0.1rem;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 250ms var(--ease-quiet);
}
.svc-tab:hover { color: var(--text); }
.svc-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* banners (workspace-wide alerts) */
.banner { padding: 0.9rem 1.25rem; margin: 0 0 1.25rem; font-size: 0.85rem; border: 1px solid; }
.banner-rose { border-color: var(--bad); color: var(--bad); background: rgba(194, 91, 91, 0.07); }
.banner-amber { border-color: var(--warn); color: var(--warn); background: rgba(200, 170, 130, 0.07); }

/* segmented usage bar */
.seg-bar { display: flex; height: 12px; background: rgba(255,255,255,0.08); margin: 1rem 0; overflow: hidden; }
.seg { height: 100%; }
.seg-files { background: linear-gradient(90deg, var(--accent), #7fd4e8); }
.seg-mail { background: #d8b25e; }
.seg-db { background: #7fd4e8; }
.seg-legend { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 0; font-size: 0.78rem; color: var(--text-soft); }
.seg-legend .mono { color: var(--text); margin-left: 0.4rem; }
.seg-dot { display: inline-block; width: 8px; height: 8px; margin-right: 0.45rem; }
.seg-dot.seg-files { background: var(--accent); }
.seg-dot.seg-mail { background: #d8b25e; }
.seg-dot.seg-db { background: #7fd4e8; }

/* danger zone */
.danger-zone { border-color: rgba(194, 91, 91, 0.4); }
.danger-zone h2 { color: var(--bad); }

/* ===== UX pass fixes ===== */
/* cookie banner: honor the .show toggle used by site.js */
.wt-cookie-banner { display: none !important; }
.wt-cookie-banner.show { display: flex !important; }

/* workspace tabs: readable */
.svc-tab { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--text); opacity: 0.6; font-weight: 500; }
.svc-tab:hover { opacity: 0.95; }
.svc-tab.active { opacity: 1; color: var(--accent); font-weight: 700; }

/* staff section tabs (replaces pill-tabs on staff pages) */
.section-tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--line); margin: 1.75rem 0; flex-wrap: wrap; }
.section-tabs a {
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text); opacity: 0.6; font-weight: 500;
  padding: 0.65rem 0.05rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.section-tabs a:hover { opacity: 0.95; }
.section-tabs a.active { opacity: 1; color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }

/* filter chips (order status filters) */
.filter-chips { display: flex; gap: 0.6rem; margin: 1.1rem 0; flex-wrap: wrap; }
.filter-chips a { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.8rem; border: 1px solid var(--line-strong); color: var(--text-soft); }
.filter-chips a:hover { border-color: var(--accent); color: var(--accent); }
.filter-chips a.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* search inputs */
.search-input {
  width: 260px; max-width: 100%; padding: 0.5rem 0.8rem;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font-family: inherit; font-size: 0.8rem;
}
.search-input:focus { outline: none; border-color: var(--accent); }

/* sidebar footer: icon buttons row */
.side-icons { display: flex; gap: 0.5rem; align-items: center; }
.side-icon-btn {
  background: transparent; border: 1px solid var(--line-strong); color: var(--text-soft);
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; cursor: pointer; transition: all 300ms var(--ease-quiet); text-decoration: none;
}
.side-icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* logged-in user popup */
.side-user-wrap { position: relative; }
.side-user-btn {
  width: 100%; text-align: left; background: transparent; border: 1px solid transparent;
  color: var(--text-soft); font-family: inherit; font-size: 0.68rem;
  padding: 0.55rem 0.9rem; cursor: pointer; word-break: break-all; line-height: 1.4;
}
.side-user-btn:hover { color: var(--text); border-color: var(--line-strong); }
.side-user-btn::before { content: "▸ "; color: var(--accent); }
.user-pop {
  display: none; position: absolute; bottom: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--line-strong); z-index: 150;
}
.user-pop.open { display: block; }
.user-pop a { display: block; padding: 0.65rem 0.95rem; font-size: 0.78rem; color: var(--text-soft); }
.user-pop a:hover { background: var(--accent-faint); color: var(--accent); }
.user-pop .pop-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-dim); padding: 0.6rem 0.95rem 0.25rem; border-bottom: 1px solid var(--line); }
.user-pop a.pop-logout { color: var(--bad); border-top: 1px solid var(--line); }
.user-pop a.pop-logout:hover { background: rgba(194, 91, 91, 0.08); color: var(--bad); }

/* ===== Workspace tab bar (chips) — prominent, directly under the header ===== */
.svc-tabbar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 0.6rem; margin: 1.5rem 0 1.9rem;
}
.svc-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.05rem; font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--text); border: 1px solid var(--line-strong); background: var(--bg);
  transition: all 250ms var(--ease-quiet); flex: 1; justify-content: center; min-width: 110px;
}
.svc-chip:hover { border-color: var(--accent); color: var(--accent); }
.svc-chip.active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; }
.svc-glyph { font-size: 0.9rem; }
.svc-chip.active .svc-glyph { color: var(--bg); }

/* ===== Sidebar footer — one clean row ===== */
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.side-user-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--text-soft); font-family: inherit; font-size: 0.72rem;
  padding: 0.55rem 0.7rem; cursor: pointer; transition: all 250ms var(--ease-quiet);
}
.side-user-btn:hover { border-color: var(--accent); color: var(--text); }
.side-user-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.side-caret { color: var(--accent-dim); font-size: 0.6rem; flex-shrink: 0; transition: transform 250ms var(--ease-quiet); }
.side-user-btn:hover .side-caret { transform: translateY(1px); }
.side-icons { display: flex; justify-content: flex-end; }
.user-pop a.pop-website { color: var(--text-soft); }
.user-pop a.pop-website:hover { color: var(--accent); }

/* ===== Order form: option cards ===== */
.opt-radio { position: absolute; opacity: 0; pointer-events: none; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 640px) { .opt-grid { grid-template-columns: 1fr; } }
.opt-card {
  display: flex; flex-direction: column; gap: 0.35rem; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--bg);
  padding: 0.9rem 1rem; transition: all 250ms var(--ease-quiet);
}
.opt-card:hover { border-color: var(--accent); }
.opt-title { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.opt-sub { font-size: 0.72rem; color: var(--text-soft); font-family: 'JetBrains Mono', monospace; }
#optA:checked ~ .opt-grid label[for="optA"],
#optB:checked ~ .opt-grid label[for="optB"] {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.opt-panel { border-left: 2px solid var(--accent); padding: 0.25rem 0 0.25rem 1rem; margin-top: 1rem; }
.opt-panel[hidden] { display: none; }

/* popup theme button */
.user-pop button.pop-theme {
  display: block; width: 100%; text-align: left; padding: 0.65rem 0.95rem;
  background: transparent; border: 0; color: var(--text-soft); font-family: inherit; font-size: 0.78rem; cursor: pointer;
}
.user-pop button.pop-theme:hover { background: var(--accent-faint); color: var(--accent); }

/* TLS status in domains tab */
.tls-ok { color: var(--ok); font-size: 0.75rem; }
.tls-none { color: var(--text-soft); font-size: 0.75rem; }
.tls-failed { color: var(--bad); font-size: 0.75rem; }

/* severity: info banner */
.banner-info { border-color: var(--accent); color: var(--text); background: var(--accent-faint); }
.banner-info .badge { margin-right: .5rem; }
.banner-rose strong, .banner-amber strong { letter-spacing: .05em; }
