:root {
  --background: #eef1f6;
  --foreground: #1e293b;
  --sidebar: #0c2340;
  --sidebar-hover: #163456;
  --sidebar-active: #1e4976;
  --sidebar-text: #94b8d9;
  --sidebar-heading: #5a8ab5;
  --primary: #0096eb;
  --primary-dark: #0082cc;
  --accent: #83b81a;
  --accent-light: #e8f5d6;
  --card: #ffffff;
  --border: #dde3ec;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #fff;
  background: var(--sidebar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(0, 150, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(131, 184, 26, 0.12), transparent 50%),
    linear-gradient(160deg, #0c2340 0%, #0a1c33 48%, #0c2340 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 184, 217, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 184, 217, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  display: block;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 184, 217, 0.35);
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-btn span::before {
  top: -6px;
}

.nav-toggle-btn span::after {
  top: 6px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sidebar-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  color: #fff;
  background: var(--sidebar-hover);
}

.nav a.is-active {
  color: #fff;
  background: var(--sidebar-active);
}

.main {
  flex: 1;
  padding: 3rem 0 2.5rem;
}

.hero h1,
.main h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero h1 strong,
.main h1 strong {
  display: block;
  font-weight: 600;
}

.lead {
  margin-top: 1.25rem;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--sidebar-text);
}

.copy {
  margin-top: 1.25rem;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sidebar-text);
}

.copy + .copy {
  margin-top: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--sidebar-text);
  border-color: rgba(148, 184, 217, 0.35);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(148, 184, 217, 0.7);
  background: var(--sidebar-hover);
}

.btn-accent {
  background: var(--accent);
  color: #0c2340;
}

.btn-accent:hover {
  filter: brightness(1.05);
}

.contact-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  max-width: 36rem;
}

.contact-list li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sidebar-heading);
}

.contact-list address {
  font-style: normal;
  line-height: 1.65;
  color: var(--sidebar-text);
}

.contact-list a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 150, 235, 0.45);
}

.contact-list a:hover {
  color: var(--primary);
}

.store-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--sidebar-heading);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 32rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 7.5rem;
  padding: 1.1rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 184, 217, 0.28);
  background: rgba(22, 52, 86, 0.45);
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.store-card:hover {
  background: var(--sidebar-hover);
  border-color: rgba(0, 150, 235, 0.55);
  transform: translateY(-2px);
}

.store-card svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.store-card span {
  font-size: 0.875rem;
  font-weight: 500;
}

.help-note {
  margin-top: 1.75rem;
  max-width: 42ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sidebar-text);
}

.help-note a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 150, 235, 0.55);
}

.help-note a:hover {
  color: var(--primary);
}

.legal {
  max-width: 48rem;
}

.legal h1 {
  max-width: none;
}

.legal .meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--sidebar-heading);
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--sidebar-text);
}

.legal a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 150, 235, 0.55);
}

.legal a:hover {
  color: var(--primary);
}

.legal ul {
  margin: 0.5rem 0 0 1.15rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--sidebar-heading);
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

footer a {
  color: var(--sidebar-text);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .inner {
    width: min(100%, calc(100% - 2rem));
  }

  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 0 0.25rem;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-btn span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-btn span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .main {
    padding: 2.25rem 0 2rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-grid {
    grid-template-columns: 1fr;
    max-width: 16rem;
  }
}

