:root {
  color-scheme: dark;
  --site-bg: #0a0a14;
  --site-surface: #12121f;
  --site-border: rgba(255, 255, 255, 0.1);
  --site-text: #e2e8f0;
  --site-muted: #94a3b8;
  --site-accent: #22d3ee;
  --site-accent-hover: #67e8f9;
  --site-max: 820px;
  --site-wide: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--site-bg);
  color: var(--site-text);
  line-height: 1.65;
}

a {
  color: var(--site-accent);
  text-decoration: none;
}

a:hover {
  color: var(--site-accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  flex-shrink: 0;
  margin: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 10, 20, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-border);
}

.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * env(safe-area-inset-top, 0px) - 48px);
  height: calc(env(safe-area-inset-top, 0px) + 48px);
  background: inherit;
  pointer-events: none;
}

.site-header--app {
  background: #0a0a14;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-wide);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: Bangers, Nunito, sans-serif;
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #f8fafc;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--site-accent);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--site-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: #f1f5f9;
  text-decoration: none;
}

.site-nav__cta {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #0f172a !important;
  font-weight: 700;
}

.site-nav__cta:hover {
  filter: brightness(1.08);
  color: #0f172a !important;
}

.site-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--site-border);
  color: var(--site-text);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-breadcrumbs {
  max-width: var(--site-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0;
  font-size: 0.82rem;
  color: var(--site-muted);
}

.site-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: #475569;
}

.site-main {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

.site-main--wide {
  max-width: var(--site-wide);
}

.site-main h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #f8fafc;
}

.site-main h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.65rem;
  color: #f1f5f9;
}

.site-main h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: #e2e8f0;
}

.site-main p,
.site-main li {
  color: #cbd5e1;
  font-size: 1rem;
}

.site-main ul,
.site-main ol {
  padding-left: 1.25rem;
}

.site-lead {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 65ch;
}

.site-meta {
  color: var(--site-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.site-card-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.site-card {
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
}

.site-card h3 {
  margin-top: 0;
}

.site-card img {
  border-radius: 10px;
  margin-bottom: 0.75rem;
  display: block;
}

.site-faq dt {
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 1.25rem;
}

.site-faq dd {
  margin: 0.35rem 0 0;
  color: #cbd5e1;
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.blog-list li {
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
}

.blog-list a {
  font-weight: 600;
  font-size: 1.05rem;
  color: #f1f5f9;
}

.blog-list .blog-excerpt {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--site-muted);
}

.blog-list .blog-date {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.site-footer-page {
  max-width: var(--site-wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--site-border);
  font-size: 0.85rem;
  color: var(--site-muted);
}

.site-footer-page__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .site-footer-page__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer-page h2 {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin: 0 0 0.65rem;
}

.site-footer-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-page li {
  margin-bottom: 0.35rem;
}

.site-footer-page a {
  color: var(--site-muted);
}

.site-footer-page a:hover {
  color: var(--site-accent);
}

.site-footer-page__bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--site-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.site-footer-page__disclaimer {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--site-muted);
}

.site-footer-page__link-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: inherit;
  color: var(--site-muted);
  cursor: pointer;
}

.site-footer-page__link-btn:hover {
  color: var(--site-accent);
}

.site-footer-page__bottom a {
  color: var(--site-muted);
}

@media (max-width: 720px) {
  .site-nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(10, 10, 20, 0.98);
    border-bottom: 1px solid var(--site-border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}
