:root {
  --site-header-height: 72px;
  --site-header-height-wide: 86px;
  --site-content-width: 1280px;
  --site-inline-padding: 24px;
  --site-font-nav: 0.94rem;
  --site-font-button: 0.94rem;
  --site-font-footer: 0.82rem;
  --site-brand-cyan: #00b5d8;
  --site-brand-pink: #ff6b9d;
  --site-brand-navy: #0f172a;
  --site-brand-slate: #334155;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  height: var(--site-header-height);
  overflow: visible;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  transition: box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.36);
}
.site-header-inner {
  display: flex;
  width: min(var(--site-content-width), calc(100% - var(--site-inline-padding) * 2));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}
.brand-link {
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}
.brand-link img { display: block; object-fit: contain; }
.brand-link .brand-mark { width: 34px; height: 34px; }
.brand-link .brand-wordmark { width: 116px; height: auto; }
.header-nav, .header-actions { display: none; align-items: center; }
.header-nav { gap: 4px; }
.header-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--site-brand-slate);
  font-size: var(--site-font-nav);
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}
.header-nav a:hover, .header-nav a:focus-visible { color: var(--site-brand-cyan); }
.header-actions { gap: 8px; }
.header-actions a, .button-primary, .button-secondary, .button-ghost, .button-outline, .button-quiet, .button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--site-font-button);
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.header-actions a { padding-inline: 16px; }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--site-brand-cyan), var(--site-brand-pink));
  box-shadow: 0 18px 44px -24px rgba(0, 181, 216, 0.52);
}
.button-secondary, .button-outline {
  border-color: rgba(0, 181, 216, 0.2);
  color: var(--site-brand-navy);
  background: rgba(255, 255, 255, 0.88);
}
.button-ghost, .button-quiet {
  border-color: rgba(0, 181, 216, 0.12);
  color: #00839b;
  background: rgba(0, 181, 216, 0.07);
}
a[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.header-actions a:hover, .button:hover:not(:disabled), .button-primary:hover, .button-secondary:hover, .button-ghost:hover, .button-outline:hover, .button-quiet:hover {
  transform: translateY(-2px);
}
.header-actions a:focus-visible, .button:focus-visible, .button-primary:focus-visible, .button-secondary:focus-visible, .button-ghost:focus-visible, .button-outline:focus-visible, .button-quiet:focus-visible {
  outline: 3px solid rgba(0, 181, 216, 0.42);
  outline-offset: 3px;
}
.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 14px;
  color: var(--site-brand-navy);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}
.menu-toggle svg { width: 21px; height: 21px; }
.menu-toggle:focus-visible { outline: 3px solid rgba(0, 181, 216, 0.42); outline-offset: 2px; }
.mobile-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  left: 16px;
  z-index: 1002;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mobile-panel nav { display: grid; gap: 5px; }
.mobile-panel a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 13px;
  color: var(--site-brand-slate);
  background: #f8fafc;
  font-size: var(--site-font-nav);
  font-weight: 700;
}
.mobile-panel a:hover, .mobile-panel a:focus-visible, .mobile-panel a[aria-current="page"] {
  color: #00839b;
  background: rgba(0, 181, 216, 0.1);
}
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.site-footer-inner {
  display: grid;
  width: min(var(--site-content-width), calc(100% - var(--site-inline-padding) * 2));
  grid-template-columns: 1fr;
  gap: 26px;
  margin: 0 auto;
  padding: 34px 0 20px;
}
.footer-brand { display: inline-flex; width: fit-content; align-items: flex-start; }
.footer-logo { display: block; width: 160px; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px 44px; }
.footer-link-group { min-width: 120px; }
.footer-link-group > span, .footer-link-group > strong {
  display: block;
  margin: 0 0 11px;
  color: #374151;
  font-size: var(--site-font-footer);
  font-weight: 800;
}
.footer-links { display: grid; gap: 8px; }
.footer-links a {
  color: #4b5563;
  font-size: var(--site-font-footer);
  font-weight: 700;
  line-height: 1.55;
}
.footer-links a:hover, .footer-links a:focus-visible { color: #00839b; }
.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
}
.footer-bottom p { margin: 0; }

@media (min-width: 768px) {
  :root { --site-inline-padding: 32px; }
  .site-header { height: var(--site-header-height-wide); }
  .brand-link .brand-mark { width: 42px; height: 42px; }
  .brand-link .brand-wordmark { width: 148px; }
  .site-footer-inner { grid-template-columns: minmax(180px, 0.7fr) 1.3fr; padding-top: 40px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 960px) {
  .header-nav, .header-actions { display: flex; }
  .menu-toggle, .mobile-panel { display: none; }
}
@media (max-width: 959px) {
  .header-actions { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header *, .site-footer *, .button, .button-primary, .button-secondary, .button-ghost, .button-outline, .button-quiet {
    transition-duration: 0.01ms !important;
  }
}