:root {
  color-scheme: dark;
  --ink: #07110d;
  --surface: #0d1b15;
  --accent: #7cff57;
  --text: #f4f8f5;
  --muted: #a9b8ae;
  --line: rgba(255, 255, 255, 0.12);
  --content: 72rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 88% 4%, rgba(124, 255, 87, 0.1), transparent 28rem),
    var(--ink);
  color: var(--text);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(124, 255, 87, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--text);
}

.hero {
  min-height: 34rem;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vw, 8rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.legal-heading h1,
.not-found h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3.35rem, 7.5vw, 6.8rem);
  font-weight: 950;
}

.hero-lead {
  max-width: 41rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.status,
.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.status {
  width: fit-content;
  margin: 2.25rem 0 0;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(124, 255, 87, 0.4);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(124, 255, 87, 0.08);
  font-weight: 700;
}

.status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1rem var(--accent);
}

.section {
  padding-block: 6rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.legal-heading h1,
.not-found h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 900;
}

.legal-heading > p,
.not-found > p {
  color: var(--muted);
  line-height: 1.8;
}

.about-copy {
  max-width: 48rem;
  margin: 0;
  color: #d6dfd9;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.location-list,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.location-row,
.contact-grid a {
  min-width: 0;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

.location-row span,
.contact-grid span,
.operator-line span {
  color: var(--muted);
  font-size: 0.85rem;
}

.location-row address {
  margin-top: 0.7rem;
  color: var(--text);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
}

.contact-grid a:hover {
  border-color: rgba(124, 255, 87, 0.55);
}

.contact-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
}

.operator-line {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.operator-line strong {
  overflow-wrap: anywhere;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.legal-document {
  max-width: 54rem;
  margin: 0 auto;
  padding-block: 6rem 8rem;
}

.legal-heading {
  margin-bottom: 5rem;
}

.legal-heading > p {
  max-width: 42rem;
}

.legal-heading dl {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
}

.legal-heading dl div {
  display: flex;
  gap: 0.75rem;
}

.legal-section {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.legal-section p {
  margin: 0;
  color: #d6dfd9;
  font-size: 1rem;
  line-height: 1.95;
}

.not-found {
  min-height: 65vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.button {
  justify-content: center;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 0.35rem;
}

.site-footer span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer .icp-link {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-footer .icp-link:hover {
  color: var(--text);
}

@media (max-width: 52rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.25rem;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem 1.15rem;
  }

  .hero {
    min-height: auto;
    padding-block: 4.5rem;
  }
}

@media (max-width: 36rem) {
  .site-header,
  .site-footer,
  main {
    width: min(calc(100% - 2rem), var(--content));
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .section {
    padding-block: 5rem;
  }

  .location-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 2rem;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
