:root {
  --font-heading: "Literata", Georgia, serif;
  --font-body: "Sora", "Trebuchet MS", sans-serif;
  --bg: #f7fbff;
  --bg-soft: #eef6ff;
  --surface: #ffffff;
  --ink: #12233f;
  --muted: #4b5e7c;
  --brand: #1f6fe5;
  --brand-strong: #1558ba;
  --accent: #f4b845;
  --line: #d3e2f4;
  --shadow: 0 18px 40px rgba(18, 35, 63, 0.1);
  --radius: 18px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 14%, rgba(31, 111, 229, 0.15), transparent 33%),
    radial-gradient(circle at 84% 20%, rgba(244, 184, 69, 0.15), transparent 35%),
    linear-gradient(180deg, #f9fcff 0%, #f3f8ff 45%, #f8fbff 100%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #edf5ff 100%);
}

.section-accent {
  background: linear-gradient(180deg, #e7f3ff 0%, #f2f8ff 100%);
}

.section-head {
  margin-bottom: 1.6rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -5rem;
  background: var(--brand-strong);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  z-index: 1200;
}

.skip-link:focus {
  top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  border-bottom: 1px solid rgba(21, 88, 186, 0.15);
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(21, 88, 186, 0.1);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.brand-logo.is-missing {
  display: none;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e5f0ff 0%, #fef4de 100%);
  color: var(--brand-strong);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 180ms ease;
}

.logo-fallback.is-visible {
  opacity: 1;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-strong);
  background: rgba(21, 88, 186, 0.1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  overflow: hidden;
  padding-top: clamp(5rem, 8vw, 8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-copy p {
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  box-shadow: 0 10px 18px rgba(21, 88, 186, 0.3);
}

.button.ghost {
  color: var(--brand-strong);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-panel {
  border: 1px solid rgba(31, 111, 229, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.4vw, 1.8rem);
  display: grid;
  gap: 1rem;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.fact-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 0.68rem 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.fact-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note {
  color: var(--muted);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  animation: drift 10s ease-in-out infinite;
}

.shape-a {
  width: clamp(120px, 14vw, 170px);
  height: clamp(120px, 14vw, 170px);
  right: 8%;
  top: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(31, 111, 229, 0.25), rgba(31, 111, 229, 0));
}

.shape-b {
  width: clamp(90px, 11vw, 130px);
  height: clamp(90px, 11vw, 130px);
  left: 12%;
  bottom: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(244, 184, 69, 0.28), rgba(244, 184, 69, 0));
  animation-delay: -2.8s;
}

.shape-c {
  width: clamp(70px, 8vw, 100px);
  height: clamp(70px, 8vw, 100px);
  right: 38%;
  bottom: 18%;
  background: radial-gradient(circle at 30% 30%, rgba(38, 160, 218, 0.24), rgba(38, 160, 218, 0));
  animation-delay: -5.6s;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.split {
  grid-template-columns: 1fr 1fr;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.3vw, 1.6rem);
  display: grid;
  gap: 0.85rem;
}

.card p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0.54em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
}

.board {
  margin-top: 1rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.board-grid div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbff;
  padding: 0.7rem;
}

.label {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.value {
  font-weight: 600;
}

.text-link {
  color: var(--brand-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.coords {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.95rem;
}

.map-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: clamp(280px, 40vw, 400px);
  display: block;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  display: grid;
  gap: 0.2rem;
}

.contact-list span {
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-list strong {
  font-weight: 600;
}

.legal-grid {
  align-items: start;
}

.legal-card {
  height: 100%;
}

.legal-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.legal-list div {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.5rem;
}

.legal-list dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-list dd {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

.small-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(21, 88, 186, 0.15);
  background: #f2f7ff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-8px) translateX(4px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid.two-up,
  .grid.split {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    right: 4vw;
    top: calc(100% + 0.55rem);
    width: min(270px, 84vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    background: #fff;
    padding: 0.45rem;
    display: grid;
    gap: 0.2rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 0.96rem;
    padding: 0.62rem 0.7rem;
  }

  .brand-subtitle {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .shape {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
