:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #162033;
  --bg-card-hover: #1c2942;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --accent-gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px -10px rgba(59, 130, 246, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3px;
  margin-left: 8px;
}

.lang-switch { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lang-switch::-webkit-scrollbar { display: none; }

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 30px;
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: rgba(36, 199, 192, .22);
  box-shadow: inset 0 0 0 1px rgba(36, 199, 192, .55);
}

.lang-btn img,
.sidebar-lang-btn img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}

.language-fallback-notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid rgba(245, 184, 46, .3);
  border-radius: 14px;
  background: rgba(245, 184, 46, .08);
  color: #d8c28d;
  font-size: .9rem;
  line-height: 1.55;
}

/* Hero Section */
.hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 30px;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* App Grid */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-glow);
}

.app-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.app-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.app-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.pill.highlight {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.app-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.app-legal-links {
  display: flex;
  gap: 12px;
}

.app-legal-links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.app-legal-links a:hover {
  color: var(--accent-blue);
}

/* Content Pages (AGB, Datenschutz, Impressum, Support) */
.page-wrapper {
  padding: 48px 0 80px;
  flex-grow: 1;
}

.page-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 18px 0 8px;
  color: #e2e8f0;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

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

.legal-card ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.legal-meta-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.legal-meta-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 32%;
  background: rgba(255, 255, 255, 0.02);
}

.legal-meta-table td:last-child {
  color: var(--text-secondary);
}

/* Quick Nav Tabs */
.tab-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-pill {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tab-pill:hover,
.tab-pill.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px;
  margin-top: auto;
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid.compact-footer-links { justify-content: flex-end; }

.footer-brand {
  max-width: 360px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

.text-link {
  color: var(--accent-blue);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.footer-domain {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-domain:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Responsive Base */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .legal-meta-table td {
    display: block;
    width: 100% !important;
  }
  .legal-meta-table td:first-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .footer-grid {
    flex-direction: column;
  }
}

/* ==========================================================================
   Modern Mobile Sidebar & Navigation
   ========================================================================== */

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7f9fc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(36, 199, 192, 0.12);
  border-color: rgba(36, 199, 192, 0.35);
  color: var(--brand-cyan, #24c7c0);
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--brand-cyan, #24c7c0);
  outline-offset: 2px;
}

.menu-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }

/* Morph hamburger into X when open */
.menu-toggle.is-active .menu-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-toggle.is-active .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-active .menu-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Sidebar Backdrop */
.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 998;
}

body.mobile-sidebar-open .mobile-sidebar-backdrop {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Drawer Container */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #090f19;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px;
}

body.mobile-sidebar-open {
  overflow: hidden !important;
  touch-action: none;
}

body.mobile-sidebar-open .mobile-sidebar {
  transform: translateX(0);
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.sidebar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.sidebar-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f8fafc;
}

.sidebar-brand-sub {
  font-size: 0.68rem;
  color: #8b99ac;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sidebar-close-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.sidebar-close-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sidebar Section Headers */
.sidebar-section-title {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 10px;
}

/* Featured App Card inside Sidebar */
.sidebar-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(36, 199, 192, 0.06);
  border: 1px solid rgba(36, 199, 192, 0.22);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 22px;
  transition: all 0.2s ease;
}

.sidebar-app-card:hover,
.sidebar-app-card.active {
  background: rgba(36, 199, 192, 0.12);
  border-color: rgba(36, 199, 192, 0.45);
}

.sidebar-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.sidebar-app-info {
  display: flex;
  flex-direction: column;
}

.sidebar-app-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f8fafc;
}

.sidebar-app-badge {
  font-size: 0.72rem;
  color: var(--brand-cyan, #24c7c0);
}

/* Sidebar Nav List */
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sidebar-nav-link:hover {
  background: rgba(36, 199, 192, 0.08);
  border-color: rgba(36, 199, 192, 0.25);
  color: #fff;
}

.sidebar-nav-link.active {
  background: linear-gradient(90deg, rgba(36, 199, 192, 0.14), rgba(36, 199, 192, 0.04));
  border-color: rgba(36, 199, 192, 0.4);
  color: var(--brand-cyan, #24c7c0);
  font-weight: 600;
}

.sidebar-nav-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.sidebar-nav-link:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

/* Language Selection Grid in Sidebar */
.sidebar-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.sidebar-lang-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 9px 14px;
}

.sidebar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-lang-btn.active {
  background: rgba(36, 199, 192, .16);
  border-color: var(--brand-cyan, #24c7c0);
  color: #fff;
  font-weight: 700;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  line-height: 1.5;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* A-HUB Apps home */
.home-page {
  --brand-ink: #070b12;
  --brand-night: #0b111b;
  --brand-cyan: #24c7c0;
  --brand-gold: #f5b82e;
  --brand-line: rgba(255, 255, 255, 0.11);
  background: radial-gradient(circle at 77% 12%, rgba(38, 119, 232, 0.11), transparent 30rem), var(--brand-ink);
  overflow-x: hidden;
}

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: #fff; color: #07111d; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.home-page .container { max-width: 1200px; }
.home-page .site-header { background: rgba(7, 11, 18, 0.78); border-color: var(--brand-line); }
.home-page .nav-wrap { height: 84px; }
.home-page .brand-title { font-size: 1.1rem; font-weight: 300; letter-spacing: 0.28em; }
.home-page .brand-sub { color: #8f9bac; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; }
.home-page .brand-logo { border-radius: 11px; }
.home-page nav { gap: 8px; }
.home-page .nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; color: #aab4c2; font-size: 0.84rem; letter-spacing: 0.04em; }
.home-page .nav-link:hover, .home-page .nav-link.active { color: #fff; background: rgba(255,255,255,.055); }
.home-page .lang-switch { margin-left: 10px; }
.home-page .lang-btn { width: 30px; min-width: 30px; height: 30px; min-height: 30px; padding: 5px; }
.home-page .lang-btn.active { background: rgba(36, 199, 192, .22); color: #fff; }
.home-page :where(a, button):focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 4px; }

.home-hero { position: relative; padding: 32px 0 46px; overflow: hidden; border-bottom: 1px solid var(--brand-line); }
.portal-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: end; gap: 32px; max-width: none; margin-bottom: 22px; }
.portal-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -14px; }
.portal-title { margin: 14px 0 0; color: #f7f9fc; font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.04; }
.portal-title em { color: var(--brand-cyan); font-style: normal; font-weight: 600; }
.portal-intro > p:last-child { max-width: 500px; padding-bottom: 2px; color: #9da8b7; font-size: .94rem; line-height: 1.6; }
.app-slider { position: relative; }
.slider-tabs { display: flex; gap: 10px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--brand-line); overflow-x: auto; scrollbar-width: none; }
.slider-tabs::-webkit-scrollbar { display: none; }
.slider-tab { min-height: 48px; display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: #8793a3; font: inherit; font-size: .82rem; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.slider-tab img, .tab-placeholder { width: 34px; height: 34px; border-radius: 9px; }
.slider-tab img { object-fit: cover; }
.tab-placeholder { display: grid; place-items: center; border: 1px dashed #526071; color: #7f8b9b; }
.tab-placeholder svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tab-number { color: #647082; font-size: .66rem; letter-spacing: .08em; }
.slider-tab:hover { color: #dce2e9; background: rgba(255,255,255,.035); }
.slider-tab.active { border-color: rgba(36,199,192,.27); background: rgba(36,199,192,.085); color: #f4f7fa; }
.slider-tab.active .tab-number { color: var(--brand-cyan); }
.app-slider-track { min-height: 370px; }
.app-slide { width: 100%; }
.app-slide.active { animation: app-slide-in .34s ease-out both; }
.app-slide[hidden] { display: none; }
@keyframes app-slide-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.home-hero-copy { position: relative; z-index: 2; }
.slide-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: #c3cbd5; font-size: .78rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.slide-index { color: var(--brand-gold); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: #aeb8c6; font-size: .72rem; font-weight: 600; letter-spacing: .24em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { width: 42px; height: 1px; flex: 0 0 auto; background: var(--brand-cyan); box-shadow: 0 0 14px rgba(36, 199, 192, .55); }
.home-title { margin: 14px 0 16px; max-width: 700px; color: #f7f9fc; font-size: clamp(2.75rem, 4.6vw, 4.35rem); font-weight: 300; letter-spacing: -.055em; line-height: .96; text-wrap: balance; }
.home-title em { color: transparent; background: linear-gradient(100deg, var(--brand-cyan), #79b9fa 48%, var(--brand-gold)); -webkit-background-clip: text; background-clip: text; font-style: normal; font-weight: 600; }
.home-lead { max-width: 610px; color: #aeb8c6; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--brand-line); border-radius: 999px; color: #f8fafc; font-size: .9rem; font-weight: 650; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.button svg, .legal-link-grid svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.button-primary { border-color: var(--brand-cyan); background: var(--brand-cyan); color: #061615; box-shadow: 0 12px 34px rgba(36, 199, 192, .17); }
.button-primary:hover { background: #66ddd7; border-color: #66ddd7; transform: translateY(-2px); }
.button-quiet:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.055); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 17px; padding: 0; color: #8793a3; font-size: .81rem; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gold); }
.slider-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--brand-line); }
.slider-controls { display: flex; align-items: center; gap: 14px; }
.slider-button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--brand-line); border-radius: 50%; background: rgba(255,255,255,.025); color: #f4f7fa; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.slider-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.slider-button:hover:not(:disabled) { border-color: var(--brand-cyan); color: var(--brand-cyan); }
.slider-button:disabled { color: #566171; cursor: default; opacity: .5; }
.slider-count { min-width: 90px; display: flex; align-items: center; justify-content: center; gap: 10px; font-variant-numeric: tabular-nums; }
.slider-count strong { color: #f7f9fc; font-size: 1rem; font-weight: 600; }
.slider-count span { width: 24px; height: 1px; background: #4e5968; }
.slider-count small { color: #778292; font-size: .75rem; }
.apps-coming { display: flex; align-items: center; gap: 10px; color: #8e99a8; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 5px rgba(36,199,192,.1); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 350px; }
.app-icon-stage { position: relative; z-index: 2; width: min(100%, 300px); padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(145deg, rgba(22,34,52,.9), rgba(9,15,25,.74)); box-shadow: 0 36px 84px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.08); transform: rotate(1.2deg); }
.stage-label { display: block; margin-bottom: 20px; color: #8591a0; font-size: .63rem; letter-spacing: .24em; }
.hero-app-icon { display: block; width: 100%; height: auto; border-radius: 27%; box-shadow: 0 24px 55px rgba(0,0,0,.5); }
.stage-meta { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.stage-meta span { color: var(--brand-gold); font-size: 1.8rem; font-weight: 650; }
.stage-meta small { color: #9aa6b5; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.orbit { position: absolute; border: 1px solid rgba(36, 199, 192, .18); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; transform: rotate(-18deg) skewX(10deg); }
.orbit-two { width: 450px; height: 270px; border-color: rgba(245, 184, 46, .13); transform: rotate(18deg); }
.coming-slide-inner { min-height: 440px; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(48px, 8vw, 112px); padding: 18px 4vw; }
.coming-visual { position: relative; width: min(36vw, 330px); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; border: 1px solid var(--brand-line); border-radius: 32%; background: linear-gradient(145deg, rgba(36,199,192,.09), rgba(38,119,232,.06)); transform: rotate(-3deg); }
.coming-visual > span { position: absolute; width: 68%; height: 68%; border: 1px solid rgba(36,199,192,.16); border-radius: 30%; }
.coming-visual > span:nth-child(1) { transform: rotate(18deg); }
.coming-visual > span:nth-child(2) { transform: rotate(36deg); border-color: rgba(245,184,46,.13); }
.coming-visual > span:nth-child(3) { width: 42%; height: 42%; transform: rotate(54deg); }
.coming-visual svg { position: relative; z-index: 2; width: 56px; height: 56px; fill: none; stroke: var(--brand-cyan); stroke-width: 1; stroke-linecap: round; }
.coming-copy h2 { max-width: 620px; margin: 18px 0; color: #f6f8fb; font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.02; }
.coming-copy > p:last-child { max-width: 570px; color: #9da8b7; font-size: 1.08rem; line-height: 1.75; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-cyan { right: -180px; top: 5%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(36,199,192,.12), transparent 68%); }
.hero-glow-gold { left: 38%; bottom: -320px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(245,184,46,.08), transparent 68%); }

.feature-section { padding: 104px 0; scroll-margin-top: 96px; background: var(--brand-night); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; align-items: end; gap: 48px; margin-bottom: 52px; }
.section-heading h2, .legal-strip h2 { margin: 0; color: #f5f7fa; font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.2vw, 36px); border: 1px solid var(--brand-line); border-radius: 24px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background-color .2s ease; }
.feature-card:hover { border-color: rgba(36,199,192,.4); background: rgba(255,255,255,.035); }
.feature-card-accent { background: rgba(255,255,255,.018); }
.feature-number { color: #657183; font-size: .68rem; letter-spacing: .15em; }
.feature-icon { width: 34px; height: 34px; margin: auto 0 22px; fill: none; stroke: var(--brand-cyan); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-card-accent .feature-icon { stroke: var(--brand-cyan); }
.feature-card h3 { margin-bottom: 12px; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.025em; }
.feature-card p { max-width: 480px; color: #aab4c2; font-size: .98rem; line-height: 1.65; }

.legal-strip { padding: 112px 0; border-top: 1px solid var(--brand-line); background: #080d15; }
.legal-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(54px, 9vw, 120px); align-items: end; }
.legal-strip h2 { margin-top: 22px; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.legal-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.legal-link-grid a { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--brand-line); color: #b7c0cc; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.legal-link-grid a:nth-child(odd) { margin-right: 18px; }
.legal-link-grid a:hover { color: var(--brand-cyan); border-color: var(--brand-cyan); }

.home-footer { padding: 42px 0; background: #05080d; }
.home-footer .footer-grid { align-items: flex-end; justify-content: flex-end; padding: 0; border: 0; }
.home-footer .footer-logo-link { margin-bottom: 18px; }
.home-footer .footer-brand p { color: #687383; font-size: .78rem; }
.home-footer .footer-bottom { display: flex; gap: 24px; padding: 0; }
.home-footer .footer-bottom a { color: #8f9aa8; text-decoration: none; }
.home-footer .footer-bottom a:hover { color: var(--brand-cyan); }

@media (max-width: 900px) {
  .home-hero { padding: 36px 0 50px; }
  .portal-intro { display: block; margin-bottom: 28px; text-align: center; }
  .portal-intro .eyebrow { justify-content: center; }
  .portal-intro > p:last-child { margin: 14px auto 0; }
  .app-slider-track { min-height: 0; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-copy { text-align: center; }
  .home-hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .home-lead { margin-inline: auto; }
  .hero-art { min-height: 380px; }
  .app-icon-stage { width: min(72vw, 320px); }
  .coming-slide-inner { grid-template-columns: 1fr; text-align: center; }
  .coming-visual { width: min(64vw, 300px); }
  .coming-copy .slide-kicker { justify-content: center; }
  .coming-copy > p:last-child { margin-inline: auto; }
  .section-heading, .legal-strip-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex !important; }
  .site-header nav .nav-link,
  .home-page nav .nav-link,
  .legal-page nav .nav-link { display: none !important; }
  .home-page .nav-wrap,
  .legal-page .nav-wrap,
  .nav-wrap { height: 72px; padding: 0 20px; flex-wrap: nowrap; align-items: center; justify-content: space-between; }
  .brand-sub { display: none; }
  .brand-title { font-size: .95rem; }
  .brand-logo { width: 38px; height: 38px; }
  .site-header nav { margin-left: auto; gap: 10px; }
}

@media (max-width: 680px) {
  .home-page .container { padding-inline: 20px; }
  .home-page .nav-wrap { height: 68px; padding: 0 16px; flex-wrap: nowrap; }
  .home-page .brand-logo { width: 36px; height: 36px; }
  .home-page .brand-title { font-size: .9rem; }
  .home-page .lang-switch { margin-left: 0; }
  .home-page .lang-btn { width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 4px; }
  .home-hero { min-height: auto; padding: 24px 0 36px; }
  .portal-intro { margin-bottom: 22px; }
  .portal-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .home-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .home-lead { font-size: 0.98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .button { width: 100%; min-height: 48px; }
  .trust-row { gap: 10px 16px; justify-content: center; }
  .slider-footer { align-items: center; justify-content: space-between; flex-direction: row; gap: 16px; }
  .slider-tabs { margin-inline: -16px; padding-inline: 16px; }
  .hero-art { min-height: 300px; }
  .app-icon-stage { width: min(76vw, 270px); padding: 18px; border-radius: 24px; }
  .orbit-one { width: min(80vw, 300px); height: min(80vw, 300px); }
  .orbit-two { width: min(92vw, 340px); height: min(55vw, 210px); }
  .coming-slide-inner { min-height: 460px; padding-inline: 0; }
  .feature-section { padding: 72px 0; }
  .section-heading { gap: 20px; margin-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; padding: 26px 24px; }
  .legal-strip { padding: 72px 0; }
  .legal-strip-inner { gap: 36px; }
  .legal-link-grid { grid-template-columns: 1fr; }
  .legal-link-grid a:nth-child(odd) { margin-right: 0; }
  .home-footer .footer-grid { align-items: flex-start; }
  .home-footer .footer-bottom { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
  .brand-logo { width: 34px; height: 34px; }
  .brand-title { font-size: .88rem; }
  .lang-btn { width: 27px; min-width: 27px; height: 27px; min-height: 27px; padding: 4px; }
  .orbit-one { width: 250px; height: 250px; }
  .orbit-two { width: 280px; height: 170px; }
  .hero-art { min-height: 270px; }
}

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

/* Individual app pages */
.detail-hero { position: relative; padding: 72px 0 96px; overflow: hidden; border-bottom: 1px solid var(--brand-line); }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: clamp(56px, 9vw, 128px); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 48px; color: #8f9aa9; font-size: .82rem; text-decoration: none; }
.back-link:hover { color: var(--brand-cyan); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-copy h1 { margin: 22px 0 28px; color: #f7f9fc; font-size: clamp(4rem, 7.5vw, 7.2rem); font-weight: 300; letter-spacing: -.065em; line-height: .88; }
.detail-copy h1 em { color: transparent; background: linear-gradient(100deg, var(--brand-cyan), #79b9fa 54%, var(--brand-gold)); -webkit-background-clip: text; background-clip: text; font-style: normal; font-weight: 600; }
.detail-lead { max-width: 620px; color: #aab4c1; font-size: 1.1rem; line-height: 1.75; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.detail-meta span { padding: 7px 12px; border: 1px solid var(--brand-line); border-radius: 999px; color: #8e99a8; font-size: .76rem; }
.detail-art { position: relative; display: grid; place-items: center; }
.detail-art img { position: relative; z-index: 2; width: min(38vw, 430px); height: auto; border-radius: 27%; box-shadow: 0 42px 100px rgba(0,0,0,.48); }
.detail-icon-backdrop { position: absolute; width: 125%; aspect-ratio: 1; border: 1px solid rgba(36,199,192,.16); border-radius: 42%; transform: rotate(18deg); }
.detail-facts { padding: 112px 0; background: var(--brand-night); }
.detail-fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-fact-grid article { min-height: 300px; padding: 38px; border: 1px solid var(--brand-line); border-radius: 24px; background: rgba(255,255,255,.018); }
.detail-fact-grid strong { display: block; margin-bottom: 62px; color: var(--brand-cyan); font-size: 3.5rem; font-weight: 300; letter-spacing: -.05em; }
.detail-fact-grid article:nth-child(2) strong { color: #79b9fa; }
.detail-fact-grid article:nth-child(3) strong { color: var(--brand-gold); }
.detail-fact-grid h3 { margin-bottom: 12px; font-size: 1.3rem; font-weight: 550; }
.detail-fact-grid p { color: #909cab; line-height: 1.65; }

@media (max-width: 900px) {
  .detail-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .detail-copy .eyebrow, .detail-meta, .detail-copy .hero-actions { justify-content: center; }
  .detail-lead { margin-inline: auto; }
  .detail-art img { width: min(68vw, 390px); }
  .detail-fact-grid { grid-template-columns: 1fr; }
  .detail-fact-grid article { min-height: 240px; }
  .detail-fact-grid strong { margin-bottom: 40px; }
}

@media (max-width: 680px) {
  .detail-hero { padding: 46px 0 72px; }
  .back-link { margin-bottom: 30px; }
  .detail-copy h1 { font-size: clamp(3.8rem, 18vw, 5.3rem); }
  .detail-art img { width: min(78vw, 340px); }
  .detail-facts { padding: 84px 0; }
  .detail-fact-grid article { padding: 28px; }
}

/* Branded legal and support pages */
.legal-page {
  --brand-ink: #070b12;
  --brand-night: #0b111b;
  --brand-surface: #101927;
  --brand-cyan: #24c7c0;
  --brand-gold: #f5b82e;
  --brand-line: rgba(255, 255, 255, 0.11);
  background: radial-gradient(circle at 82% 3%, rgba(36, 199, 192, .09), transparent 28rem), var(--brand-ink);
  overflow-x: hidden;
}

.legal-page .container { max-width: 1120px; }
.legal-page .site-header { background: rgba(7, 11, 18, .82); border-color: var(--brand-line); }
.legal-page .nav-wrap { height: 84px; }
.legal-page .brand-title { font-size: 1.1rem; font-weight: 300; letter-spacing: .28em; }
.legal-page .brand-sub { color: #8f9bac; font-size: .65rem; font-weight: 500; letter-spacing: .2em; }
.legal-page .brand-logo { border-radius: 11px; }
.legal-page nav { gap: 8px; }
.legal-page .nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: #aab4c2; font-size: .84rem; letter-spacing: .03em; }
.legal-page .nav-link:hover, .legal-page .nav-link.active { color: #fff; background: rgba(255,255,255,.055); }
.legal-page .lang-switch { margin-left: 8px; }
.legal-page .lang-btn { width: 30px; min-width: 30px; height: 30px; min-height: 30px; padding: 5px; }
.legal-page .lang-btn.active { background: rgba(36, 199, 192, .22); color: #fff; }
.legal-page :where(a, button):focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 4px; }

.legal-page .page-wrapper { padding: 48px 0 104px; }
.legal-page .tab-pills { margin-bottom: 72px; padding-bottom: 18px; border-bottom: 1px solid var(--brand-line); }
.legal-page .tab-pill { min-height: 42px; display: inline-flex; align-items: center; border-color: transparent; background: transparent; color: #8f9aa8; }
.legal-page .tab-pill:hover { border-color: var(--brand-line); background: rgba(255,255,255,.035); color: #fff; }
.legal-page .tab-pill.active { border-color: rgba(36,199,192,.34); background: rgba(36,199,192,.1); color: #70ded9; }
.document-directory { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: -30px 0 58px; padding: 20px; border: 1px solid rgba(36,199,192,.22); border-radius: 20px; background: linear-gradient(135deg, rgba(36,199,192,.07), rgba(38,119,232,.04)); }
.document-directory > img { border-radius: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.document-label { margin: 0 0 3px; color: var(--brand-cyan); font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.document-directory h2 { margin: 0 0 3px; color: #f3f6f9; font-size: 1.15rem; font-weight: 600; }
.document-directory div > p:last-child { margin: 0; color: #8f9baa; font-size: .86rem; }
.directory-link { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid var(--brand-line); border-radius: 999px; color: #dce3ea; font-size: .82rem; font-weight: 650; text-decoration: none; }
.directory-link:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }
.directory-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.legal-page .page-header { position: relative; max-width: 850px; margin-bottom: 58px; padding: 0 0 42px; border-color: var(--brand-line); }
.legal-page .page-header::before { content: ""; display: block; width: 44px; height: 1px; margin-bottom: 24px; background: var(--brand-cyan); box-shadow: 0 0 14px rgba(36,199,192,.5); }
.legal-page .badge { margin-bottom: 22px; border-color: rgba(36,199,192,.24); background: rgba(36,199,192,.08); color: #70ded9; letter-spacing: .15em; }
.legal-page .page-title { max-width: 800px; margin-bottom: 16px; color: #f6f8fb; font-size: clamp(2.65rem, 5.5vw, 5rem); font-weight: 300; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.legal-page .page-meta { color: #8995a5; font-size: .94rem; letter-spacing: .025em; }

.legal-page .legal-card { margin-bottom: 18px; padding: clamp(26px, 4vw, 44px); border-color: var(--brand-line); border-radius: 22px; background: linear-gradient(145deg, rgba(20,31,47,.88), rgba(12,19,30,.88)); box-shadow: 0 18px 55px rgba(0,0,0,.15); }
.legal-page .legal-card h2 { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; color: #f5f7fa; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.legal-page .legal-card h2::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-top: .56em; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 5px rgba(36,199,192,.08); }
.legal-page .legal-card h3 { margin-top: 30px; color: #dde3ea; font-weight: 550; }
.legal-page .legal-card p, .legal-page .legal-card ul { color: #a5afbc; font-size: 1rem; line-height: 1.75; }
.legal-page .legal-card li { margin-bottom: 9px; }
.legal-page .legal-card a { color: #62d6d1 !important; overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal-page .legal-meta-table { overflow: hidden; border: 1px solid var(--brand-line); border-radius: 14px; }
.legal-page .legal-meta-table td { border-color: rgba(255,255,255,.065); color: #a5afbc; }
.legal-page .legal-meta-table td:first-child { background: rgba(255,255,255,.025); color: #eef2f6; }

.support-contact-card { position: relative; overflow: hidden; border-color: rgba(36,199,192,.34) !important; }
.support-contact-card::after { content: ""; position: absolute; right: -100px; bottom: -130px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(36,199,192,.11), transparent 68%); pointer-events: none; }
.support-contact-row { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px 0 4px; }
.legal-page .legal-card .support-email-button { min-height: 52px; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; border-radius: 999px; background: var(--brand-cyan); color: #061615 !important; font-weight: 700; text-decoration: none; }
.legal-page .legal-card .support-email-button:hover { background: #66ddd7; color: #03100f !important; }
.legal-page .legal-card .support-email-button:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.support-email-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.response-time { color: #7f8b9a; font-size: .86rem; }

.legal-page footer { background: #05080d; border-color: var(--brand-line); }
.legal-page footer .footer-grid { justify-content: flex-end; padding-bottom: 24px; }
.legal-page .footer-link { min-height: 44px; display: inline-flex; align-items: center; }
.legal-page .footer-link:hover { color: var(--brand-cyan); }

@media (max-width: 900px) {
  .legal-page .page-wrapper { padding-top: 36px; }
  .legal-page .tab-pills { margin-bottom: 56px; }
}

@media (max-width: 680px) {
  .legal-page .container { padding-inline: 20px; }
  .legal-page .nav-wrap { height: 68px; padding: 0 16px; flex-wrap: nowrap; }
  .legal-page .brand-logo { width: 36px; height: 36px; }
  .legal-page .brand-sub { display: none; }
  .legal-page .brand-title { font-size: .9rem; }
  .legal-page nav { margin-left: auto; gap: 10px; }
  .legal-page .lang-switch { margin-left: 0; }
  .legal-page .lang-btn { width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 4px; }
  .legal-page .page-wrapper { padding-bottom: 76px; }
  .legal-page .tab-pills { flex-wrap: nowrap; margin-inline: -20px; padding: 0 20px 16px; overflow-x: auto; scrollbar-width: none; }
  .legal-page .tab-pills::-webkit-scrollbar { display: none; }
  .legal-page .tab-pill { flex: 0 0 auto; }
  .document-directory { grid-template-columns: auto minmax(0, 1fr); margin-top: -20px; }
  .directory-link { grid-column: 1 / -1; justify-content: center; }
  .legal-page .page-header { margin-bottom: 40px; }
  .legal-page .page-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .legal-page .legal-card { margin-inline: -4px; padding: 26px 20px; border-radius: 18px; }
  .support-contact-row { align-items: flex-start; flex-direction: column; }
  .support-email-button { width: 100%; justify-content: center; }
}
