:root {
  color-scheme: light;
  --radius: .5rem;
  --background: oklch(98.5% .004 250);
  --foreground: oklch(20% .03 255);
  --surface: oklch(95.5% .01 250);
  --logo-tile: oklch(100% 0 0);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(20% .03 255);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(20% .03 255);
  --primary: oklch(47% .17 258);
  --primary-foreground: oklch(99% 0 0);
  --secondary: oklch(93% .02 250);
  --secondary-foreground: oklch(25% .05 258);
  --muted: oklch(94% .01 250);
  --muted-foreground: oklch(45% .03 255);
  --accent: oklch(93% .03 250);
  --accent-foreground: oklch(25% .08 258);
  --highlight: oklch(80% .15 75);
  --highlight-foreground: oklch(22% .04 60);
  --border: oklch(88% .015 250);
  --ring: oklch(47% .17 258);
  --shadow-card: 0 1px 2px oklch(20% .03 255 / .06), 0 8px 24px -12px oklch(20% .03 255 / .18);
  --sans: "Roboto", system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --max: 72rem;
}

html.dark {
  color-scheme: dark;
  --background: oklch(17% .02 255);
  --foreground: oklch(95% .01 250);
  --surface: oklch(20% .025 255);
  --logo-tile: oklch(96% .005 250);
  --card: oklch(22% .025 255);
  --card-foreground: oklch(95% .01 250);
  --popover: oklch(22% .025 255);
  --popover-foreground: oklch(95% .01 250);
  --primary: oklch(76% .12 245);
  --primary-foreground: oklch(17% .03 255);
  --secondary: oklch(28% .03 255);
  --secondary-foreground: oklch(95% .01 250);
  --muted: oklch(26% .025 255);
  --muted-foreground: oklch(76% .02 250);
  --accent: oklch(30% .04 255);
  --accent-foreground: oklch(95% .01 250);
  --highlight: oklch(82% .14 75);
  --highlight-foreground: oklch(20% .04 60);
  --border: oklch(34% .03 255);
  --ring: oklch(76% .12 245);
  --shadow-card: 0 1px 2px oklch(0% 0 0 / .3), 0 8px 24px -12px oklch(0% 0 0 / .5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--foreground);
  color: var(--background);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus { top: 1rem; }

.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;
}

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.icon { width: 1rem; height: 1rem; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-sun { display: none; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; }
.menu-icon-close { display: none; }
body.menu-open .menu-icon-open { display: none; }
body.menu-open .menu-icon-close { display: block; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  height: 4rem;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
}

.brand-tile {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.brand strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.brand small { display: block; color: var(--muted-foreground); font-size: 0.75rem; line-height: 1.25; }

.nav-desktop { display: none; }
.nav-desktop ul,
.nav-mobile ul,
.foot ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop > ul { display: flex; align-items: center; gap: 0.25rem; }

.nav-link,
.drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-link:hover,
.drop > button:hover,
.nav-mobile a:hover { background: var(--accent); }
.nav-link[aria-current="page"],
.drop-panel a[aria-current="page"],
.nav-mobile a[aria-current="page"] { color: var(--primary); }

.drop { position: relative; }
.drop-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 16rem;
  margin-top: 0.25rem;
  padding: 0.375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--popover);
  box-shadow: var(--shadow-card);
}
.drop.is-open .drop-panel { display: grid; }
.drop.is-open .chevron { transform: rotate(180deg); }
.chevron { transition: transform .15s ease; }
.drop-panel a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--popover-foreground);
  text-decoration: none;
  font-size: 0.875rem;
}
.drop-panel a:hover { background: var(--accent); }

.icon-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
.icon-button:hover,
.menu-toggle:hover { background: var(--accent); }
.bar-tools { display: flex; align-items: center; gap: 0.5rem; }

.nav-mobile[hidden] { display: none; }
.nav-mobile {
  max-height: calc(100dvh - 4rem);
  overflow: auto;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 0.5rem 1rem 1.5rem;
}
.nav-mobile a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-label {
  margin: 0.75rem 0 0;
  padding: 0.25rem 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-mobile .split { margin-top: 0.75rem; border-top: 1px solid var(--border); padding-top: 0.75rem; }

.hero .grid-bg,
.page-hero .grid-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .grid-bg { opacity: .7; }
.stats, .stat dd { margin: 0; }

.grid-bg {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(at 100% 0, #000 10%, transparent 70%);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.hero-inner,
.page-hero-inner { position: relative; width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.hero-inner {
  display: grid;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0;
}
.page-hero-inner, .page-hero .wrap { position: relative; padding: 3.5rem 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--highlight-foreground);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
}

h1, h2, h3, h4 { letter-spacing: -0.025em; }

h1 {
  margin: 1.25rem 0 0;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.05;
}
.page-hero h1 {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: 1.875rem;
  line-height: 1.1;
}
h1 em, h1 .accent { font-style: normal; color: var(--primary); }

.lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
}
.page-hero .lede { margin-top: 1.25rem; max-width: 42rem; }

.kicker {
  margin: 0;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.button,
.button-quiet,
.button-on {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  font-weight: 600;
}
.button { border: 0; background: var(--primary); color: var(--primary-foreground); }
.button:hover,
.button-on:hover { opacity: 0.9; }
.button-quiet {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}
.button-quiet:hover { background: var(--accent); }
.button-on {
  border: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--mono);
  font-weight: 500;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.stat strong {
  display: block;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
}
.stat span { display: block; margin-top: 0.25rem; color: var(--muted-foreground); font-size: 0.875rem; }

.offer, .partners { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 0; }
.offer h2, .partners h2, .about h2, .prose-lpt h2, .prose h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
}
.prose-lpt h2, .prose-lpt h3, .prose h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.prose-lpt > :first-child, .prose > :first-child { margin-top: 0; }

.cards { display: grid; gap: 1.5rem; margin-top: 2rem; }
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.card h3 { margin: 1rem 0 0; font-size: 1.25rem; font-weight: 700; }
.card p { margin: 0.5rem 0 0; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.card ul { list-style: none; margin: 1rem 0 0; padding: 0.5rem 0 0; border-top: 1px solid var(--border); }
.card li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.card li a:hover { color: var(--primary); }
.card li a .icon { color: var(--muted-foreground); }
.card li a:hover .icon { color: var(--primary); }

.tile {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--accent);
  color: var(--primary);
}

.partner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.partner-row li {
  display: grid;
  place-items: center;
  height: 6rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--logo-tile);
}
.partner-row img { max-height: 3.5rem; width: auto; max-width: 100%; object-fit: contain; }

.visit { width: min(var(--max), calc(100% - 2rem)); margin: 4rem auto 0; }
.visit-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--primary);
  color: var(--primary-foreground);
}
.visit-banner h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.visit-banner p { margin: 0.5rem 0 0; opacity: 0.9; }

.foot { margin-top: 6rem; border-top: 1px solid var(--border); background: var(--surface); }
.foot-grid {
  display: grid;
  gap: 2.5rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}
.foot .name { margin: 0; font-size: 1.125rem; font-weight: 700; }
.foot address { margin-top: 0.75rem; color: var(--muted-foreground); font-size: 0.875rem; font-style: normal; line-height: 1.625; }
.foot .fine { margin: 0.75rem 0 0; color: var(--muted-foreground); font-size: 0.75rem; }
.foot p { margin: 0.75rem 0 0; font-size: 0.875rem; }
.foot a { color: var(--primary); text-underline-offset: 4px; }
.foot a:hover { text-decoration: underline; }
.foot nav p {
  margin: 0;
  color: var(--muted-foreground);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.foot nav ul { margin-top: 0.75rem; }
.foot nav a { display: inline-block; padding: 0.25rem 0; color: var(--foreground); font-size: 0.875rem; text-decoration: none; }
.foot nav a:hover { color: var(--primary); text-decoration: underline; }
.legal {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 1.25rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.page-wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 0; }
.page-grid { display: grid; gap: 3rem; }
.prose-lpt, .prose { max-width: 48rem; }
.prose-lpt p, .prose p { margin: 1rem 0 0; line-height: 1.75; }
.prose-lpt ul, .prose-lpt ol, .prose ul, .prose ol { margin: 1rem 0 0; padding-left: 1.25rem; }
.prose-lpt li, .prose li { margin-top: 0.4rem; line-height: 1.6; }
.prose-lpt li::marker, .prose li::marker { color: var(--primary); }
.prose-lpt a, .prose a { color: var(--primary); }

.ref-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.ref-grid li {
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.ref-grid a, .ref-name { font-weight: 600; color: var(--primary); text-decoration: none; }
.ref-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ref-city { display: block; margin-top: 0.15rem; color: var(--muted-foreground); font-size: 0.875rem; font-weight: 400; }

.specs {
  margin: 1.25rem 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.specs div { display: grid; gap: 0.25rem; padding: 0.75rem 1rem; }
.specs div + div { border-top: 1px solid var(--border); }
.specs dt { color: var(--muted-foreground); font-size: 0.875rem; font-weight: 500; }
.specs dd { margin: 0; font-size: 0.875rem; }

.gallery {
  display: grid;
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.gallery li {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.aside { display: grid; gap: 1rem; align-content: start; }
.aside-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.aside-card h2 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -0.025em; }
.aside-card p { margin: 0.5rem 0 0; color: var(--muted-foreground); font-size: 0.875rem; }
.aside-card .button,
.aside-card .button-quiet {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.aside-card .button { margin-top: 1rem; }
.aside-card .button-quiet { font-weight: 500; }
.aside-links { padding: 0.5rem; box-shadow: none; }
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  font-size: 0.875rem;
}
.aside-links a:hover { background: var(--accent); }
.aside-links .icon { color: var(--primary); }
.external {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.external:hover { background: var(--accent); }

.price-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.price { width: 100%; min-width: 40rem; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.price thead { background: var(--surface); }
.price tbody { background: var(--card); }
.price th, .price td { padding: 0.75rem 1rem; }
.price thead th, .price tbody th { font-weight: 600; }
.price td { font-family: var(--mono); }
.price td.free { color: var(--muted-foreground); font-family: var(--sans); }
.price tbody tr + tr th, .price tbody tr + tr td { border-top: 1px solid var(--border); }
.price-note { color: var(--muted-foreground); font-size: 0.875rem; }

.about { display: grid; gap: 3rem; }
.about h2 { font-size: 1.5rem; font-weight: 700; }
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; margin: 0; padding: 0 0 2rem 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--primary);
}
.timeline .year { margin: 0; color: var(--primary); font-family: var(--mono); font-size: 0.875rem; font-weight: 500; }
.timeline p { margin: 0.25rem 0 0; line-height: 1.625; }
.perks { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.perks li {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.perks .num { color: var(--primary); font-family: var(--mono); font-size: 0.875rem; }
.perks p { margin: 0.5rem 0 0; font-weight: 600; }

.contact-grid { display: grid; gap: 1.5rem; }
.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.contact-card h2 { margin: 1rem 0 0; font-size: 1.125rem; font-weight: 700; }
.contact-card p, .contact-card address, .contact-card li { line-height: 1.625; }
.contact-card address { font-style: normal; }
.contact-card ul { margin: 0.5rem 0 0; padding: 0; list-style: none; }
.contact-card a { color: var(--primary); font-family: var(--mono); text-underline-offset: 4px; }
.contact-card a:hover { text-decoration: underline; }
.map-frame { margin-top: 2rem; overflow: hidden; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); }
.map { display: block; width: 100%; height: 20rem; border: 0; }
.map-link { margin: 0.5rem 0 0; font-size: 0.875rem; }
.map-link a { color: var(--primary); text-underline-offset: 4px; }

.missing { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 2rem 1rem; text-align: center; }
.missing h1 { margin: 0; font-size: 4.5rem; font-weight: 700; line-height: 1; }
.missing h2 { margin: 1rem 0 0; font-size: 1.25rem; font-weight: 600; }
.missing p { margin: 0.5rem 0 0; color: var(--muted-foreground); font-size: 0.875rem; }
.missing .actions { justify-content: center; }

@media (min-width: 640px) {
  .hero-inner { padding: 6rem 0; }
  .page-hero-inner, .page-hero .wrap { padding: 5rem 0; }
  h1 { font-size: 3.75rem; }
  .page-hero h1 { font-size: 3rem; }
  .stat strong { font-size: 1.875rem; }
  .partner-row, .ref-grid, .gallery, .perks { grid-template-columns: 1fr 1fr; }
  .partner-row { grid-template-columns: repeat(5, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .specs div { grid-template-columns: 200px 1fr; gap: 1rem; }
  .visit-banner { flex-direction: row; align-items: center; padding: 2.5rem; }
}

@media (min-width: 768px) {
  .cards, .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.15fr repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .menu-toggle, .nav-mobile { display: none !important; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .aside { position: sticky; top: 6rem; }
  .about { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
