:root {
  color-scheme: light;
  --lm-body-bg: #f8fafc;
  --lm-surface-bg: rgba(255, 255, 255, 0.92);
  --lm-surface-solid: #ffffff;
  --lm-muted-bg: #e2e8f0;
  --lm-border: rgba(148, 163, 184, 0.4);
  --lm-text: #0f172a;
  --lm-text-muted: #475569;
  --lm-accent: #2563eb;
  --lm-shadow: 0 25px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
  color-scheme: dark;
  --lm-body-bg: #020617;
  --lm-surface-bg: rgba(2, 6, 23, 0.85);
  --lm-surface-solid: #0f172a;
  --lm-muted-bg: rgba(51, 65, 85, 0.6);
  --lm-border: rgba(51, 65, 85, 0.8);
  --lm-text: #f8fafc;
  --lm-text-muted: #94a3b8;
  --lm-accent: #60a5fa;
  --lm-shadow: 0 20px 45px rgba(2, 6, 23, 0.8);
}

html {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--lm-body-bg);
  color: var(--lm-text);
  transition: background 200ms ease, color 200ms ease;
}

.lm-body {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none;
}

.lm-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--lm-border);
  background: var(--lm-surface-bg);
  backdrop-filter: blur(18px);
}

.lm-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.lm-logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.lm-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lm-nav-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--lm-border);
  padding: 0 1rem 1rem;
  width: 100%;
}

.lm-nav-panel.is-open {
  display: flex;
}

.lm-header__search {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 420px;
}

.lm-button--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.25rem 0.45rem;
}

.lm-hamburger {
  border: 1px solid var(--lm-border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--lm-muted-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease;
}

.lm-hamburger:active {
  transform: scale(0.97);
}

.lm-icon {
  width: 18px;
  height: 18px;
}

.lm-nav-link {
  color: var(--lm-text-muted);
  text-decoration: none;
}

.lm-nav-link:hover {
  color: var(--lm-text);
}

.lm-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lm-footer {
  border-top: 1px solid var(--lm-border);
}

.lm-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.lm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 640px) {
  .lm-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lm-card {
  background: var(--lm-surface-solid);
  border-radius: 1.25rem;
  border: 1px solid var(--lm-border);
  box-shadow: var(--lm-shadow);
  backdrop-filter: blur(18px);
}

.lm-stack-lg {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lm-stack-md {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lm-label {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--lm-text-muted);
}

.lm-chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lm-chiplist--center {
  justify-content: center;
}

@media (min-width: 640px) {
  .lm-chiplist--center {
    justify-content: flex-start;
  }
}

.lm-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lm-grid-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 900px) {
  .lm-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lm-hero {
  padding: 2.5rem 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .lm-hero {
    text-align: left;
    padding: 3rem 3rem;
  }
}

.lm-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .lm-section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lm-section-note {
  font-size: 0.9rem;
  color: var(--lm-text-muted);
}

.lm-map {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 340px;
}

@media (min-width: 640px) {
  .lm-map {
    height: 420px;
  }
}

@media (min-width: 1024px) {
  .lm-map {
    height: 520px;
  }
}

.lm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--lm-text-muted);
}

.lm-top-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lm-top-item p {
  margin: 0.2rem 0 0;
}

.lm-footer__links .lm-link {
  font-size: 0.9rem;
}

.lm-heading-lg {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.lm-heading-md {
  font-size: 1.75rem;
  font-weight: 700;
}

.lm-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.lm-text-small {
  font-size: 0.9rem;
  color: var(--lm-text-muted);
}

.lm-search {
  width: 100%;
}

.lm-search__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--lm-border);
  border-radius: 999px;
  padding: 0.3rem 0.45rem 0.3rem 0.7rem;
  background: var(--lm-surface-solid);
  box-shadow: var(--lm-shadow);
}

.lm-search__icon {
  color: var(--lm-text-muted);
  display: inline-flex;
}

.lm-search__icon svg {
  width: 20px;
  height: 20px;
}

.lm-search__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: var(--lm-text);
  outline: none;
}

.lm-search__input::placeholder {
  color: var(--lm-text-muted);
}

.lm-search__button {
  border: none;
  background: transparent;
  color: var(--lm-accent);
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.lm-search__button svg {
  width: 18px;
  height: 18px;
}

.lm-search--hero {
  max-width: 520px;
  width: 100%;
}

.lm-search--header {
  max-width: 360px;
  width: 100%;
}

@media (max-width: 520px) {
  .lm-search--header {
    max-width: 200px;
  }
}

.lm-surface {
  background: var(--lm-surface-bg);
  backdrop-filter: blur(16px);
}

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

.lm-border-color {
  border-color: var(--lm-border);
}

.lm-button {
  background: var(--lm-muted-bg);
  border: 1px solid var(--lm-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--lm-text);
  font-weight: 600;
  transition: background 150ms ease, transform 150ms ease;
}

.lm-button:active {
  transform: scale(0.97);
}

.lm-link {
  color: var(--lm-accent);
  font-weight: 600;
  transition: opacity 150ms ease;
}

.lm-link:hover {
  opacity: 0.85;
}

.lm-section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
}

.lm-subtext {
  font-size: 0.95rem;
  line-height: 1.6;
}
