@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --text-primary: #333;
  --text-secondary: #666;
  --text-tertiary: #999;
  --heading-color: #333;
  --heading-strong: #101214;
  --link-color: #007acc;
  --page-bg: #ffffff;
  --panel-bg: #fafafa;
  --highlight-bg: #f8f8f8;
  --cta-bg: #e7e7e7;
  --cta-text: #000000;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--page-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

h3 {
  font-weight: 500;
}

a {
  color: var(--link-color);
}

  p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
  }

  .text-lead {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  .heading-gateway {
    font-size: 24px;
    font-weight: 600;
  }

  .heading-qr {
    font-size: 2rem;
    font-weight: 100;
  }

  .text-qr {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
  }

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

  .text-soft {
    color: var(--text-tertiary);
  }

  .text-strong {
    color: var(--heading-strong);
    font-weight: 500;
  }

  .text-caption {
    font-size: 0.85rem;
    color: var(--text-tertiary);
  }

  .text-center {
    text-align: center;
  }

  .text-no-margin {
    margin: 0;
  }

  .text-no-margin-bottom {
    margin-bottom: 0;
  }

.text-tight {
  margin-bottom: 0.5rem;
}

.highlight {
  background-color: var(--highlight-bg);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid #007acc;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .highlight {
    text-align: left;
  }

  .about-content h3 {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
  }

  .hide-mobile {
    display: none !important;
  }
}

html[data-color-scheme="dark"] {
  color-scheme: dark;
  --text-primary: #e6e6e6;
  --text-secondary: #777;
  --text-tertiary: #9a9a9a;
  --heading-color: #f2f2f2;
  --heading-strong: #ffffff;
  --link-color: #7cc7ff;
  --page-bg: #0c0c0c;
  --panel-bg: #121212;
  --highlight-bg: #141414;
  --cta-bg: #b2aa97;
  --cta-text: #ffffff;
}

@media (prefers-color-scheme: dark) and (max-width: 768px) {
  :root {
    color-scheme: dark;
    --text-primary: #e6e6e6;
    --text-secondary: #777;
    --text-tertiary: #9a9a9a;
    --heading-color: #f2f2f2;
    --heading-strong: #ffffff;
    --link-color: #7cc7ff;
    --page-bg: #0c0c0c;
    --panel-bg: #121212;
    --highlight-bg: #141414;
    --cta-bg: #b2aa97;
    --cta-text: #ffffff;
  }
}

@media (min-width: 769px) {
  :root {
    color-scheme: light;
    --text-primary: #333;
    --text-secondary: #666;
    --text-tertiary: #999;
    --heading-color: #333;
    --heading-strong: #101214;
    --link-color: #007acc;
    --page-bg: #ffffff;
    --panel-bg: #fafafa;
    --highlight-bg: #f8f8f8;
    --cta-bg: #e7e7e7;
    --cta-text: #000000;
  }
}
