:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #59687a;
  --line: #d9e1ea;
  --soft: #eef5f8;
  --paper: #ffffff;
  --navy: #081224;
  --teal: #137c82;
  --gold: #d2a84a;
  --rose: #b75a53;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: #0d6972;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #084f56;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 72px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  height: 40px;
  width: 40px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  background:
    linear-gradient(120deg, rgba(8, 18, 36, 0.92), rgba(19, 124, 130, 0.74)),
    url("assets/app-icon.png") right 9% center / min(42vw, 430px) no-repeat,
    var(--navy);
  color: #ffffff;
}

.hero-inner {
  margin: 0 auto;
  max-width: 1120px;
  min-height: min(720px, calc(100vh - 72px));
  padding: 92px 24px 88px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: #bfe5e5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 9vw, 92px);
}

h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero p {
  color: #e4eef3;
  font-size: 22px;
  margin: 24px 0 0;
  max-width: 610px;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: #ffffff;
  color: var(--navy);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.button.dark {
  background: var(--navy);
  color: #ffffff;
}

.band,
.legal-page {
  margin: 0 auto;
  max-width: 1120px;
  padding: 72px 24px;
}

.band.alt {
  background: var(--soft);
  max-width: none;
}

.band.alt > .inner {
  margin: 0 auto;
  max-width: 1120px;
}

.museum-page {
  --museum-bg: #f5f2ed;
  --museum-card: #fffefb;
  --museum-card-border: rgba(0, 0, 0, 0.07);
  --museum-divider: rgba(0, 0, 0, 0.07);
  --museum-muted: #5e6467;
  --museum-row-bg: rgba(15, 90, 92, 0.06);
  --museum-shadow: rgba(0, 0, 0, 0.04);
  --museum-text: #171715;
  --museum-header: #0f5a5c;
  --museum-header-muted: #b8dfdd;
  --museum-nav-pill: rgba(255, 254, 251, 0.94);
  --museum-accent: #0f5a5c;
  --museum-brick: #943829;
  background: var(--museum-bg);
  color: var(--museum-text);
  color-scheme: light dark;
  font-size: 16px;
  line-height: 1.42;
}

.museum-page a {
  color: inherit;
  text-decoration: none;
}

.museum-app-header {
  background: var(--museum-header);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.museum-app-header-inner {
  margin: 0 auto;
  max-width: 460px;
  min-height: 154px;
  padding: 22px 12px 14px;
  position: relative;
}

.museum-header-watermark {
  height: 148px;
  opacity: 0.10;
  position: absolute;
  right: -26px;
  top: 30px;
  transform: rotate(-4deg);
  width: 148px;
}

.museum-title-pill {
  align-items: center;
  background: var(--museum-nav-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  color: var(--museum-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 56px;
  padding: 8px 10px;
  position: relative;
  z-index: 1;
}

.museum-pill-logo {
  align-items: center;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.museum-pill-logo img {
  border-radius: 7px;
  height: 28px;
  width: 28px;
}

.museum-title-pill h1 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}

.museum-pill-action {
  background: rgba(15, 90, 92, 0.12);
  border-radius: 999px;
  color: var(--museum-accent);
  font-size: 13px;
  font-weight: 750;
  padding: 7px 10px;
  white-space: nowrap;
}

.museum-header-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.museum-locality {
  color: var(--museum-header-muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.program-badge {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 10px;
}

.museum-detail-shell {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 460px;
  padding: 24px 14px 34px;
}

.museum-detail-section h2 {
  color: var(--museum-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

.museum-detail-card {
  background: var(--museum-card);
  border: 1px solid var(--museum-card-border);
  border-radius: 20px;
  box-shadow: 0 8px 20px var(--museum-shadow);
  overflow: hidden;
  padding: 18px;
}

.museum-about-copy {
  font-size: 17px;
  margin: 0;
}

.museum-detail-list {
  padding: 0;
}

.museum-card-row {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 16px;
}

.museum-card-row + .museum-card-row {
  border-top: 1px solid var(--museum-divider);
}

a.museum-card-row:hover {
  background: var(--museum-row-bg);
}

.museum-card-row-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.museum-card-row-label {
  color: var(--museum-muted);
  font-size: 13px;
  font-weight: 700;
}

.museum-card-row-value {
  color: var(--museum-text);
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.museum-card-row-action {
  color: var(--museum-accent);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 750;
}

.museum-detail-card .program-badge {
  background: rgba(15, 90, 92, 0.12);
  border-color: rgba(15, 90, 92, 0.18);
  color: var(--museum-accent);
}

.hours-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  background: var(--museum-row-bg);
  border-radius: 12px;
  color: var(--museum-text);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 10px;
}

.museum-actions {
  display: grid;
  gap: 10px;
}

.museum-page .button {
  border-radius: 16px;
  font-size: 16px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
}

.museum-page .button.primary {
  background: var(--museum-accent);
  color: #ffffff;
}

.museum-page .button.secondary {
  background: var(--museum-card);
  border: 1px solid var(--museum-card-border);
  color: var(--museum-text);
}

.museum-footer {
  color: var(--museum-muted);
}

.museum-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
  max-width: 460px;
  padding: 0 14px 28px;
}

@media (prefers-color-scheme: dark) {
  .museum-page {
    --museum-bg: #171714;
    --museum-card: #242321;
    --museum-card-border: rgba(255, 255, 255, 0.07);
    --museum-divider: rgba(255, 255, 255, 0.07);
    --museum-muted: #96948e;
    --museum-row-bg: rgba(255, 255, 255, 0.04);
    --museum-shadow: rgba(0, 0, 0, 0.18);
    --museum-text: #f4f1eb;
    --museum-nav-pill: rgba(30, 31, 29, 0.95);
    --museum-accent: #6fd9d3;
    --museum-brick: #ff7866;
  }

  .museum-title-pill {
    border-color: rgba(255, 255, 255, 0.07);
  }

  .museum-pill-action,
  .museum-detail-card .program-badge {
    background: rgba(111, 217, 211, 0.13);
  }
}

.feature-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  border-top: 4px solid var(--teal);
  padding-top: 18px;
}

.feature:nth-child(2) {
  border-top-color: var(--gold);
}

.feature:nth-child(3) {
  border-top-color: var(--rose);
}

.feature p,
.legal-page p,
.legal-page li,
.support-list p {
  color: var(--muted);
}

.legal-page {
  max-width: 820px;
}

.legal-page header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
  padding-bottom: 28px;
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 68px);
}

.legal-page h2 {
  font-size: 26px;
  margin-top: 42px;
}

.legal-page ul {
  padding-left: 24px;
}

.updated {
  color: var(--muted);
  margin-top: 14px;
}

.notice {
  background: var(--soft);
  border-left: 4px solid var(--teal);
  margin: 34px 0;
  padding: 18px 20px;
}

.support-list {
  display: grid;
  gap: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    background:
      linear-gradient(120deg, rgba(8, 18, 36, 0.95), rgba(19, 124, 130, 0.82)),
      url("assets/app-icon.png") right 18px bottom 22px / 168px no-repeat,
      var(--navy);
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 24px 132px;
  }

  .hero p {
    font-size: 19px;
  }

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

  .museum-header-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .band,
  .legal-page {
    padding-bottom: 52px;
    padding-top: 52px;
  }
}
