/* Fast Reaction Test — marketing site */
:root {
  --site-bg: #030508;
  --site-surface: #0c1018;
  --site-card: #121a28;
  --site-text: #f1f5f9;
  --site-muted: #94a3b8;
  --site-accent: #38bdf8;
  --site-accent2: #c084fc;
  --site-max: 1360px;
  --site-gutter: clamp(1rem, 4vw, 1.75rem);
  --site-width: min(var(--site-max), 100%);
  --site-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --glass-bg: rgba(12, 16, 26, 0.52);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shine: rgba(255, 255, 255, 0.22);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--site-font);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(56, 189, 248, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(192, 132, 252, 0.05), transparent),
    var(--site-bg);
  color: var(--site-text);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--site-accent);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header — mirror glass */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem var(--site-gutter) 0;
}

.site-header {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.site-header-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: visible;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(28px) saturate(1.65);
  -webkit-backdrop-filter: blur(28px) saturate(1.65);
}

.site-header-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 28%,
    transparent 52%,
    rgba(56, 189, 248, 0.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.site-header-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

.site-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 0.65rem 0.85rem;
  max-width: 100%;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--site-text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #e0f7ff;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.35), rgba(192, 132, 252, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(56, 189, 248, 0.2);
}

.site-logo-text {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-logo-name {
  color: var(--site-text);
}

.site-logo-accent {
  background: linear-gradient(90deg, #7dd3fc, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-nav-toggle:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.site-nav-toggle-icon,
.site-nav-toggle-icon::before,
.site-nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--site-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav-toggle-icon {
  position: relative;
}

.site-nav-toggle-icon::before,
.site-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle-icon::before {
  top: -6px;
}

.site-nav-toggle-icon::after {
  top: 6px;
}

.site-header.is-nav-open .site-nav-toggle-icon {
  background: transparent;
}

.site-header.is-nav-open .site-nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header-panel {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.5rem 1rem;
  min-width: 0;
  overflow: visible;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.site-nav-link {
  color: var(--site-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.site-nav-link:hover {
  color: var(--site-text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-nav-link.is-active {
  color: var(--site-text);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-header-toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* CTA is first in DOM so the lang menu paints above it; flex order keeps CTA on the right */
.site-header-cta--bar {
  order: 2;
}

.site-header-actions {
  order: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.site-header-cta--drawer {
  display: none;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.1rem;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #e8f6ff;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 20px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(10px);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.site-header-cta:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: rgba(125, 211, 252, 0.65);
  transform: translateY(-1px);
}

.site-header-cta:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.site-header-promo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  padding: 0.45rem 1rem 0.55rem;
  font-size: 0.78rem;
  color: var(--site-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.site-announce-badge {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0a1520;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(125, 211, 252, 0.9));
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.site-announce-link {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
}

.site-announce-link:hover {
  color: var(--site-text);
}

.lang-switch {
  position: relative;
}

.lang-switch.is-open {
  z-index: 500;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--site-text);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.lang-switch.is-open .lang-btn {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(125, 211, 252, 0.45);
  pointer-events: none;
}

.lang-switch.is-open .lang-btn-chevron {
  transform: rotate(180deg);
  color: #7dd3fc;
  opacity: 1;
}

.lang-btn-globe {
  font-size: 0.9rem;
  line-height: 1;
}

.lang-btn-chevron {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.75);
  z-index: 120;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .site-header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .site-logo {
    flex: 1;
    min-width: 0;
  }

  .site-header-panel {
    flex: none;
  }

  .site-nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-header-toolbar {
    margin-left: 0;
    flex-shrink: 0;
  }

  .site-header-cta--bar {
    display: none;
  }

  .site-header.is-nav-open .site-header-promo {
    display: none;
  }

  .site-header-panel {
    display: none;
    position: fixed;
    left: var(--site-gutter);
    right: var(--site-gutter);
    top: var(--mobile-nav-top, 5.5rem);
    width: auto;
    max-height: min(70dvh, calc(100dvh - var(--mobile-nav-top, 5.5rem) - 1rem));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(10, 14, 22, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow:
      inset 0 1px 0 var(--glass-shine),
      0 24px 60px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px) saturate(1.5);
    z-index: 130;
    animation: nav-panel-in 0.2s ease;
    -webkit-overflow-scrolling: touch;
  }

  @keyframes nav-panel-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-header.is-nav-open .site-header-panel {
    display: flex;
  }

  .site-header-shell {
    position: relative;
    z-index: 125;
  }

  .site-header-wrap {
    z-index: 125;
  }

  .site-header-toolbar {
    position: relative;
    z-index: 132;
  }

  .site-header-cta--drawer {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    order: -1;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.15rem;
  }

  .site-nav-link {
    display: block;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav-link:hover,
  .site-nav-link:focus-visible {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(125, 211, 252, 0.35);
  }

  .lang-menu.lang-menu--floating {
    border-radius: 14px;
    padding: 0.4rem;
  }

  .lang-opt {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    touch-action: manipulation;
  }

  .lang-btn-label {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .lang-btn-label {
    display: none;
  }

  .lang-btn {
    padding: 0.45rem 0.55rem;
  }

  .site-logo-text {
    font-size: 0.82rem;
    letter-spacing: -0.04em;
  }

  .site-logo-accent {
    display: block;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .site-logo-name {
    display: block;
    line-height: 1.1;
  }
}

@media (min-width: 1101px) {
  .site-nav-toggle {
    display: none;
  }

  .lang-btn-label {
    max-width: 6.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
  }
}

.site-header-shell:has(.lang-switch.is-open) {
  overflow: visible;
}

.site-header-toolbar:has(.lang-switch.is-open) .site-header-cta--bar {
  pointer-events: none;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  bottom: auto;
  min-width: 220px;
  max-height: min(320px, 70vh);
  overflow-y: auto;
  z-index: 501;
  background: rgba(14, 20, 32, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 16px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  padding: 0.35rem;
  pointer-events: auto;
}

.lang-switch.is-open .lang-menu,
.lang-menu.lang-menu--floating {
  display: grid;
}

.lang-menu.lang-menu--floating {
  position: fixed;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding: 0.5rem 0.7rem;
  color: var(--site-muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-opt .lang-flag {
  pointer-events: none;
  flex-shrink: 0;
}

.lang-opt:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--site-text);
}

.lang-opt.is-active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--site-accent);
  font-weight: 600;
}

.lang-flag {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.7;
}

/* Hero */
.hero {
  padding: 2.5rem var(--site-gutter) 1.75rem;
  text-align: center;
}

.hero-inner {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a5d8f7;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.hero-sub {
  color: var(--site-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.35rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.65rem;
  color: #e8f6ff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 24px rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(10px);
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}

.hero-cta:hover {
  background: rgba(56, 189, 248, 0.32);
  border-color: rgba(125, 211, 252, 0.7);
  transform: translateY(-1px);
}

.hero-cta-secondary {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--site-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.hero-cta-secondary:hover {
  color: var(--site-text);
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.trust-strip li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--site-muted);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cta-sub,
.hero-trust {
  font-size: 0.8rem;
  color: var(--site-dim, var(--site-muted));
  margin: 0.5rem 0 0;
}

.hero-trust {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Test embed */
.test-section {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto 3rem;
  padding: 0 var(--site-gutter) 0.5rem;
  box-sizing: border-box;
}

.test-section--benchmark {
  scroll-margin-top: 5.5rem;
}

.test-section .rtt-root {
  margin: 0;
  max-width: none;
}

/* Sections */
.section {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 2.75rem var(--site-gutter);
  box-sizing: border-box;
}

.section--divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 120px);
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--site-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-seo-section .section-head {
  margin-bottom: 1.25rem;
}

.home-seo-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.home-seo-prose p {
  margin: 0 0 1rem;
  color: var(--site-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-seo-prose p:last-child {
  margin-bottom: 0;
}

.section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.how-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.how-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #bae6fd;
  font-weight: 800;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.how-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.how-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--site-muted);
}

.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-grid article {
  background: var(--glass-bg);
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.why-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--site-accent);
}

.why-grid p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--site-muted);
}

.bench-section p {
  text-align: center;
  color: var(--site-muted);
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
}

.bench-table th,
.bench-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bench-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--site-muted);
}

/* FAQ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--site-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  text-align: center;
  padding: 2.5rem var(--site-gutter) 3rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.02), transparent);
  color: var(--site-muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-brand {
  font-size: 1rem;
  color: var(--site-text);
}

.footer-publisher {
  font-size: 0.82rem;
}

.footer-publisher a {
  color: #7dd3fc;
  text-decoration: none;
}

.footer-publisher a:hover {
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.75rem;
  opacity: 0.75;
}

.footer-lang {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.9;
}

.footer-lang a {
  display: inline-block;
  margin: 0.15rem 0.2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.footer-lang a:hover {
  color: #f0f9ff;
  background: rgba(56, 189, 248, 0.15);
}

.footer-tagline {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 1rem 0;
}

.footer-legal a {
  color: var(--site-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-legal a:first-child {
  color: #7dd3fc;
}

.footer-legal a:hover {
  color: var(--site-accent);
}

.legal-page {
  width: 100%;
  max-width: var(--site-max);
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem var(--site-gutter) 3rem;
}

.legal-page .legal-article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: inset 0 1px 0 var(--glass-shine);
  backdrop-filter: blur(16px);
}

.legal-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0.5rem 0 0.75rem;
}

.legal-updated {
  color: var(--site-muted);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
}

.legal-block {
  margin-bottom: 1.35rem;
}

.legal-block h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.legal-block p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Guides & articles */
.guides-page,
.article-page {
  width: 100%;
  max-width: var(--site-max);
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 1.5rem var(--site-gutter) 3rem;
}

.guides-page-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.guides-page-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0.35rem 0 0.75rem;
}

.guides-page-head p {
  color: var(--site-muted);
  line-height: 1.65;
  margin: 0;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.guide-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--glass-shine);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.guide-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card-date {
  font-size: 0.8rem;
  color: var(--site-muted);
}

.guide-card-body h2 {
  font-size: 1.15rem;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.35;
}

.guide-card-body h2 a {
  color: var(--site-text);
  text-decoration: none;
}

.guide-card-body h2 a:hover {
  color: var(--site-accent);
}

.guide-card-body p {
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  flex: 1;
}

.guide-card-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: #7dd3fc;
  text-decoration: none;
}

.guide-card-cta:hover {
  color: var(--site-accent);
}

.article-page {
  max-width: 48rem;
}

.article-header {
  margin-bottom: 1.25rem;
}

.article-date {
  font-size: 0.85rem;
  color: var(--site-muted);
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0.35rem 0 0.5rem;
  line-height: 1.2;
}

.article-deck {
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.article-featured-wrap {
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.article-featured {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: inset 0 1px 0 var(--glass-shine);
  backdrop-filter: blur(16px);
}

.article-body h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
}

.article-body p,
.article-body li {
  color: var(--site-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.article-footer {
  margin-top: 2rem;
  text-align: center;
}

.article-footer p {
  color: var(--site-muted);
  margin: 0 0 1rem;
}

/* Share modal */
body.share-open {
  overflow: hidden;
}

.share-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.share-overlay[hidden] {
  display: none;
}

.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.share-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 30, 48, 0.98), rgba(10, 14, 24, 0.98));
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

.share-header {
  position: relative;
  padding-right: 2rem;
  margin-bottom: 0.85rem;
}

.share-title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.share-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--site-muted);
}

.share-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--site-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.share-preview {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--site-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.share-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--site-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.share-network:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
}

.share-network-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.share-network-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--site-muted);
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.share-btn-primary {
  color: #061018;
  background: linear-gradient(135deg, #38bdf8, #7dd3fc);
}

.share-btn-secondary {
  color: var(--site-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.share-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: rgba(14, 20, 32, 0.95);
  border: 1px solid var(--glass-border);
  color: var(--site-text);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1100;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* RTL */
html[dir="rtl"] .site-header-inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .site-header-toolbar {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .site-header-panel {
  flex-direction: row-reverse;
}

html[dir="rtl"] .site-nav-toggle {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .site-header-promo {
  flex-direction: row-reverse;
}
