/* ── Language Dropdown ───────────────────────────────────────── */

.language-selector {
  position: relative;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
}

.lang-dropdown.lang-dropdown--open {
  display: block;
  animation: langFadeIn 0.15s ease;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

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

.lang-option--active {
  color: #fff;
  font-weight: 600;
}

.lang-option--active::after {
  content: '✓';
  margin-left: auto;
  font-size: 12px;
  color: #3b82f6;
}

.lang-opt-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-button .chevron-icon {
  transition: transform 0.2s;
}

.lang-button[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* ── Shared page layout ─────────────────────────────────────── */

.pg-layout {
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.pg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
  background-color: hsl(var(--background) / 0.9);
  backdrop-filter: blur(24px);
}

.pg-header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.pg-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.pg-logo-img {
  height: 2.4rem;
  width: auto;
}

@media (min-width: 768px) {
  .pg-logo-img { height: 2.7rem; }
}

.pg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.pg-back-link:hover {
  color: hsl(var(--foreground));
}

.pg-footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.pg-footer-inner {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ── AML page ───────────────────────────────────────────────── */

.aml-main {
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 56rem;
  margin-inline: auto;
}

.aml-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .aml-title { font-size: 3rem; }
}

.aml-updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.aml-content {
  margin-top: 3rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.aml-content section + section {
  margin-top: 2rem;
}

.aml-content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.aml-content h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.aml-content p {
  margin-top: 1rem;
}

.aml-content ul {
  margin-top: 1rem;
}

.aml-content ul > li + li {
  margin-top: 0.5rem;
}

.aml-content li {
  margin-left: 1.5rem;
  list-style-type: disc;
}

/* ── Contact page ───────────────────────────────────────────── */

.contact-main {
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 56rem;
  margin-inline: auto;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .contact-title { font-size: 3rem; }
}

.contact-updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-intro {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.contact-section-title {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.contact-channels-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-offices-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-offices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1.5rem;
}

.contact-card-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.contact-card-title {
  margin-top: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.contact-card-desc {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
}

.contact-card-value {
  margin-top: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.contact-card-note {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--primary));
}

.contact-office-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-office-icon {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.contact-office-title {
  margin: 0;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.contact-office-address {
  margin-top: 0.5rem;
  white-space: pre-line;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-security p {
  margin-top: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ── Status page ────────────────────────────────────────────── */

.status-main {
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 56rem;
  margin-inline: auto;
}

.status-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .status-title { font-size: 3rem; }
}

.status-updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.status-section-title {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.status-banner {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background-color: rgba(34, 197, 94, 0.05);
  padding: 1.5rem;
  text-align: center;
}

.status-banner-icon {
  display: block;
  margin-inline: auto;
  color: #22c55e;
}

.status-banner-title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #16a34a;
}

.status-banner-time {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.status-services {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  overflow: hidden;
}

.status-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}

.status-service-row:last-child {
  border-bottom: none;
}

.status-service-name {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.status-service-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.status-dot--green { background-color: #22c55e; }
.status-dot--yellow { background-color: #eab308; }
.status-dot--red { background-color: #ef4444; }

.status-label--green { font-size: 0.875rem; color: #16a34a; }
.status-label--yellow { font-size: 0.875rem; color: #ca8a04; }
.status-label--red { font-size: 0.875rem; color: #dc2626; }

.status-incident-card {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1.5rem;
}

.status-incident-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.status-incident-icon {
  color: #f59e0b;
  flex-shrink: 0;
}

.status-incident-title {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.status-incident-desc {
  margin-top: 0.5rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.status-uptime-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .status-uptime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.status-uptime-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1.5rem;
  text-align: center;
}

.status-uptime-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: hsl(var(--primary));
}

.status-uptime-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ── Security page ──────────────────────────────────────────── */

.security-main {
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 56rem;
  margin-inline: auto;
}

.security-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .security-title { font-size: 3rem; }
}

.security-updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.security-intro {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.security-section-title {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.security-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.security-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1.5rem;
}

.security-card-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.security-card-title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.security-card-desc {
  margin-top: 0.5rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.security-cert-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-cert-icon {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.security-cert-title {
  margin: 0;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.security-prose {
  margin-top: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.security-bounty-card {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  background-color: hsl(var(--primary) / 0.05);
  padding: 1.5rem;
}

.security-bounty-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-bounty-icon {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.security-bounty-title {
  margin: 0;
  font-weight: 700;
  color: hsl(var(--primary));
}

.security-bounty-desc {
  margin-top: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ── FAQ page ───────────────────────────────────────────────── */

.faq-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
  background-color: hsl(var(--background) / 0.9);
  backdrop-filter: blur(24px);
}

.faq-header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.faq-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-logo-img {
  height: 2.25rem;
  width: auto;
}

.faq-get-started {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--foreground));
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--background));
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.faq-get-started:hover {
  transform: translateY(-2px);
}

.faq-hero {
  position: relative;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  padding: 5rem 0;
}

.faq-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, hsl(var(--primary) / 0.07) 0, transparent 58%);
  pointer-events: none;
}

.faq-hero-inner {
  position: relative;
  text-align: center;
}

.faq-hero-title {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) { .faq-hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-hero-title { font-size: 3.75rem; } }

.faq-hero-desc {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.faq-search-wrap {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 32rem;
}

.faq-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1rem 1.5rem 1rem 3rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  outline: none;
  box-sizing: border-box;
}

.faq-search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.faq-search-input:focus {
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.faq-cats {
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--card) / 0.3);
}

.faq-cats-inner {
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.faq-cat-btn {
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, background-color 0.2s;
}

.faq-cat-btn:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

.faq-cat-btn--active {
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.faq-section {
  padding: 4rem 0;
}

.faq-section-inner {
  margin-inline: auto;
  max-width: 48rem;
}

.faq-group-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  overflow: hidden;
}

.faq-item-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item-question {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  padding-right: 1rem;
}

.faq-item-chevron {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s;
}

.faq-item--open .faq-item-chevron {
  transform: rotate(180deg);
}

.faq-item-answer {
  display: none;
  border-top: 1px solid hsl(var(--border) / 0.4);
  padding: 1rem 1.5rem 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.faq-item--open .faq-item-answer {
  display: block;
}

.faq-item-answer p { margin: 0 0 0.75rem; }
.faq-item-answer p:last-child { margin-bottom: 0; }
.faq-item-answer ol,
.faq-item-answer ul { margin: 0.25rem 0 0.75rem; padding-left: 1.5rem; }
.faq-item-answer li { margin-bottom: 0.25rem; }
.faq-item-answer li:last-child { margin-bottom: 0; }

.faq-cta {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--card) / 0.5);
  padding: 5rem 0;
  text-align: center;
}

.faq-cta-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.faq-cta-desc {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.faq-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.faq-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--primary));
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform 0.2s;
}

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

.faq-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background-color 0.2s;
}

.faq-cta-btn-outline:hover { background-color: hsl(var(--secondary)); }

.faq-footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--background));
}

.faq-footer-main {
  padding: 4rem 0;
}

.faq-footer-grid {
  display: grid;
  gap: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .faq-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    text-align: left;
  }
}

.faq-footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .faq-footer-logo-wrap { justify-content: flex-start; }
}

.faq-footer-logo {
  height: 2.4rem;
  width: auto;
}

@media (min-width: 768px) {
  .faq-footer-logo { height: 2.7rem; }
}

.faq-footer-tagline {
  margin: 1.25rem auto 0;
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .faq-footer-tagline { margin-left: 0; margin-right: 0; }
}

.faq-footer-col-title {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.faq-footer-nav {
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-footer-nav-link {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.faq-footer-nav-link:hover { color: hsl(var(--foreground)); }

.faq-licenses {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding: 3.5rem 0;
}

.faq-licenses-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.faq-licenses-icon {
  color: hsl(var(--primary));
}

.faq-licenses-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.faq-license-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .faq-license-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .faq-license-grid { grid-template-columns: repeat(4, 1fr); } }

.faq-license-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.faq-license-card:hover {
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.05);
}

.faq-license-flag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-license-flag {
  font-size: 1.875rem;
}

.faq-license-country {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.faq-license-badge {
  display: inline-block;
  margin-top: 0.75rem;
  border-radius: 0.375rem;
  background-color: hsl(var(--primary) / 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.faq-license-number {
  margin-top: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.faq-license-address {
  margin-top: 0.5rem;
  white-space: pre-line;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.faq-compliance {
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.faq-compliance-inner {
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.faq-compliance-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.6);
  background-color: hsl(var(--card) / 0.8);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.faq-legal {
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.faq-legal-inner {
  padding: 2rem 0;
  text-align: center;
}

.faq-legal-copy {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.faq-legal-disclaimer {
  margin: 1rem auto 0;
  max-width: 56rem;
  font-size: 0.75rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* =====================
   Modal — Issue Card
   ===================== */

/*
  Scoped variable reset so the modal renders correctly on pages that define
  CSS variables as full color values (e.g. index.html) rather than as raw
  HSL components (e.g. faq.html with the Tailwind bundle).
  On faq.html these just re-declare the same values — no conflict.
*/
.modal-dialog {
  --primary: 241 100% 50%;
  --primary-foreground: 0 0% 100%;
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;
  --muted-foreground: 0 0% 40%;
  --border: 0 0% 88%;
  --muted: 0 0% 96%;
  --secondary: 0 0% 96%;
  --gradient-card: linear-gradient(135deg, hsl(241 100% 50%) 0%, hsl(241 100% 40%) 100%);
  --gradient-card-silver: linear-gradient(135deg, hsl(240 100% 95%) 0%, hsl(240 100% 90%) 50%, hsl(240 100% 85%) 100%);
  --gradient-card-metal: linear-gradient(160deg, hsl(240 5% 22%) 0%, hsl(240 5% 18%) 50%, hsl(240 5% 15%) 100%);
  --shadow-button: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop--open { display: block; }

.modal-dialog {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  width: calc(100% - 2rem);
  max-width: 480px;
  max-height: 88vh;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.modal-dialog--open { display: block; }

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 88vh;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-header-spacer {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.modal-title {
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: hsl(var(--foreground));
  margin: 0;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 0;
  transition: background-color 0.15s;
}
.modal-close:hover { background-color: hsl(var(--secondary)); }

.modal-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin: -0.5rem 0 0;
}

.modal-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.modal-card-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  padding: 0.75rem 1rem;
  text-align: left;
  background: hsl(var(--muted) / 0.3);
  cursor: pointer;
  transition: background-color 0.15s;
}
.modal-card-opt:hover { background: hsl(var(--muted) / 0.5); }
.modal-card-opt--selected {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.04);
}

.modal-card-preview {
  width: 88px;
  flex-shrink: 0;
  aspect-ratio: 1.586 / 1;
  border-radius: 10px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.modal-card-preview--silver { background: var(--gradient-card-silver); }
.modal-card-preview--blue { background: var(--gradient-card); }
.modal-card-preview--metal { background: var(--gradient-card-metal); }

.modal-card-preview-top,
.modal-card-preview-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.modal-card-preview-bottom { align-items: flex-end; }

.modal-card-preview-brand {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.modal-card-preview-brand--dark { color: #020099; }
.modal-card-preview-brand--light { color: #ffffff; }

.modal-card-preview-type {
  font-size: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.modal-card-preview-type--dark { color: rgba(4, 0, 204, 0.6); }
.modal-card-preview-type--light { color: rgba(255, 255, 255, 0.6); }

.modal-card-chip {
  width: 14px;
  height: 10px;
  border-radius: 2px;
}
.modal-card-chip--dark { background: rgba(2, 0, 153, 0.3); }
.modal-card-chip--light { background: rgba(255, 255, 255, 0.4); }

.modal-card-number {
  font-size: 7px;
  font-family: monospace;
  letter-spacing: 0.1em;
}
.modal-card-number--dark { color: #020099; }
.modal-card-number--light { color: #ffffff; }

.modal-card-info {
  min-width: 0;
  flex: 1;
}

.modal-card-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.modal-card-name {
  font-weight: 700;
  color: hsl(var(--foreground));
}

.modal-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: hsl(var(--primary));
}

.modal-card-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
  margin: 0;
}

.modal-radio {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}
.modal-radio--checked {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.modal-continue {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.15s;
  box-shadow: var(--shadow-button, 0 4px 12px rgba(0, 0, 0, 0.2));
}
.modal-continue:hover { transform: translateY(-2px); }

.modal-step--hidden { display: none; }

.modal-back {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 0;
  transition: background-color 0.15s;
}
.modal-back:hover { background-color: hsl(var(--secondary)); }

.modal-review-ready {
  text-align: center;
  margin-bottom: 1.25rem;
}
.modal-review-ready-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}
.modal-review-ready-icon { color: #22c55e; }
.modal-review-ready-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}
.modal-review-ready-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.modal-review-summary {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.modal-review-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.modal-review-row-label { color: hsl(var(--muted-foreground)); }
.modal-review-row-value { font-weight: 600; color: hsl(var(--foreground)); }
.modal-review-row-free { font-weight: 600; color: #22c55e; }

.modal-perks-label {
  font-size: 11px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.15em;
  text-align: center;
  margin: 0 0 0.75rem;
}
.modal-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.modal-perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
  padding: 0.625rem 0.75rem;
}
.modal-perk-icon-orange { color: #f97316; flex-shrink: 0; }
.modal-perk-icon-primary { color: hsl(var(--primary)); flex-shrink: 0; }
.modal-perk-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-activate {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  box-shadow: var(--shadow-button, 0 4px 12px rgba(0, 0, 0, 0.2));
}
.modal-activate:hover { transform: translateY(-2px); }
