:root {
  --ink: #07131f;
  --ink-2: #0b1d2d;
  --ink-3: #10283c;
  --ice: #84bfd5;
  --ice-bright: #b7dbe8;
  --snow: #f4f1e9;
  --paper: #fbfaf6;
  --muted: #6f7e89;
  --line: rgba(7, 19, 31, 0.12);
  --gold: #d7ad55;
  --green: #56b88a;
  --orange: #d49c4c;
  --red: #c56f69;
  --shadow: 0 24px 70px rgba(7, 19, 31, 0.12);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Decorative ambient/contour shapes extend past the viewport; never let them cause sideways scroll on phones. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(132, 191, 213, 0.17), transparent 30rem),
    linear-gradient(180deg, #f8f7f2 0%, #fff 42%, #f4f6f7 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: rgba(132, 191, 213, 0.36); color: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
svg { display: block; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .7;
  z-index: -1;
}
.ambient-a { width: 22rem; height: 22rem; right: -12rem; top: 22rem; background: rgba(132,191,213,.08); }
.ambient-b { width: 18rem; height: 18rem; left: -11rem; top: 54rem; background: rgba(215,173,85,.06); }

.topbar {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(7,19,31,.16);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark path:first-child { fill: var(--snow); }
.brand-mark path:nth-child(2) { fill: var(--ice); opacity: .85; }
.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1;
}
.brand strong { font-size: 17px; letter-spacing: .18em; }
.brand em { margin-top: 4px; font-size: 9px; letter-spacing: .29em; color: var(--muted); font-weight: 760; }
.brand-small .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.brand-small .brand-mark svg { width: 24px; height: 24px; }

.topnav { display: flex; gap: 30px; align-items: center; }
.topnav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: #53636f;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right .2s ease;
}
.topnav a:hover::after, .topnav a:focus-visible::after { right: 0; }

.system-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(7,19,31,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .05em;
  color: #51606c;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #a3adb4; box-shadow: 0 0 0 4px rgba(163,173,180,.12); }
.system-pill.ok .pulse { background: var(--green); box-shadow: 0 0 0 4px rgba(86,184,138,.13); }
.system-pill.bad .pulse { background: var(--red); box-shadow: 0 0 0 4px rgba(197,111,105,.13); }

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding-top: 64px;
  padding-bottom: 94px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #71818c;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.eyebrow-line { width: 46px; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); }
.hero h1 {
  margin: 19px 0 23px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero h1 span { color: #56798c; }
.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: #5f6e78;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .03em;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--snow); box-shadow: 0 14px 30px rgba(7,19,31,.17); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(7,19,31,.23); }
.button-secondary { background: rgba(255,255,255,.65); color: var(--ink); border: 1px solid var(--line); }
.button-ghost { color: var(--snow); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }

.hero-visual { min-height: 510px; position: relative; }
.mountain-card {
  position: absolute;
  inset: 22px 0 0 20px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(160deg, #102a3c, #07131f 70%);
  box-shadow: 0 34px 90px rgba(7,19,31,.23);
  isolation: isolate;
}
.mountain-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 85%);
}
.mountains { position: absolute; inset: 7% -5% 0; width: 110%; height: 94%; }
.m-back { fill: rgba(84,134,157,.23); }
.m-mid { fill: rgba(73,122,146,.55); }
.m-front { fill: #102131; }
.snow { fill: rgba(239,240,235,.93); }
.contour { position: absolute; z-index: 2; border: 1px solid rgba(132,191,213,.26); border-radius: 47% 53% 55% 45% / 42% 41% 59% 58%; transform: rotate(-12deg); }
.contour-one { width: 160px; height: 120px; right: -35px; top: 2px; }
.contour-two { width: 130px; height: 96px; left: -8px; bottom: 22px; opacity: .55; }
.visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  color: rgba(244,241,233,.66);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.visual-caption strong { color: var(--ice-bright); font-size: 9px; }

.metrics {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 118px;
  border: 1px solid rgba(7,19,31,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 54px rgba(7,19,31,.08);
  overflow: hidden;
}
.metric-card { min-height: 142px; padding: 25px 27px; border-right: 1px solid rgba(7,19,31,.085); }
.metric-card:last-child { border-right: 0; }
.metric-kicker { display: block; min-height: 30px; color: #83919a; font-size: 9px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; }
.metric-card strong { display: block; margin: 3px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.metric-card > span:last-child { color: #7d8a93; font-size: 11px; }
.integrity-card strong { font-family: inherit; font-size: 22px; letter-spacing: -.02em; }

.registry-section { scroll-margin-top: 30px; padding-bottom: 118px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 50px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .integrity-copy h2 { margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 53px); font-weight: 500; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: #75838c; font-size: 13px; line-height: 1.7; }

.registry-toolbar {
  display: grid;
  grid-template-columns: 1fr 180px 220px;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(7,19,31,.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 36px rgba(7,19,31,.05);
}
.search-field { position: relative; }
.search-field svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #81909a; stroke-width: 1.7; }
.search-field input, .select-field select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(7,19,31,.11);
  border-radius: 12px;
  background: #fbfbf9;
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-field input { padding: 0 16px 0 44px; }
.search-field input:focus, .select-field select:focus { border-color: rgba(84,134,157,.62); box-shadow: 0 0 0 4px rgba(132,191,213,.12); background: white; }
.search-field input::placeholder { color: #9ca7ae; }
.select-field { position: relative; }
.select-field span { position: absolute; z-index: 2; top: 8px; left: 13px; color: #9aa5ad; font-size: 8px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.select-field select { appearance: none; padding: 16px 34px 0 13px; font-size: 12px; font-weight: 650; }
.select-field::after { content: "⌄"; position: absolute; right: 14px; top: 18px; color: #71808a; pointer-events: none; }
.registry-meta { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 0 4px; color: #81909a; font-size: 11px; }
.text-button { border: 0; background: none; color: #4e7082; font-size: 11px; font-weight: 750; }
.text-button:hover { text-decoration: underline; }

.resort-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.resort-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 24px;
  border: 1px solid rgba(7,19,31,.1);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #ffffff 0%, #fbfbf7 100%);
  box-shadow: 0 12px 34px rgba(7,19,31,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.resort-card:hover { transform: translateY(-3px); border-color: rgba(84,134,157,.32); box-shadow: 0 24px 54px rgba(7,19,31,.095); }
.resort-card::before { content: ""; position: absolute; right: -55px; top: -55px; width: 150px; height: 150px; border: 1px solid rgba(132,191,213,.18); border-radius: 49% 51% 57% 43%; transform: rotate(18deg); }
.card-top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.country-code { color: #829099; font-size: 9px; font-weight: 840; letter-spacing: .17em; }
.resort-card h3 { margin: 8px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; letter-spacing: -.035em; }
.verified-line { display: flex; align-items: center; gap: 7px; color: #7a8892; font-size: 10px; }
.verified-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.verified-line.ageing .verified-dot { background: var(--orange); }

.card-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px -24px 0; border-top: 1px solid rgba(7,19,31,.07); border-bottom: 1px solid rgba(7,19,31,.07); background: rgba(7,19,31,.065); }
.card-stat { min-height: 70px; padding: 14px 24px; background: #fff; }
.card-stat span { display: block; color: #95a0a7; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card-stat strong { display: block; margin-top: 7px; font-size: 14px; font-weight: 690; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.hash-mini { min-width: 0; }
.hash-mini span { display: block; color: #9aa5ac; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hash-mini code { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; margin-top: 5px; color: #62727d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; white-space: nowrap; }
.card-open { border: 0; padding: 9px 11px; border-radius: 10px; background: #eef3f4; color: #446273; font-size: 10px; font-weight: 780; }
.card-open:hover { background: #e4edef; }

.empty-state { padding: 70px 28px; text-align: center; border: 1px dashed rgba(7,19,31,.16); border-radius: 22px; background: rgba(255,255,255,.52); }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: #edf3f4; color: #6f96a8; font-size: 24px; }
.empty-state h3 { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.empty-state p { max-width: 530px; margin: 0 auto; color: #7d8991; font-size: 12px; line-height: 1.7; }

.integrity-section { scroll-margin-top: 20px; background: var(--ink); color: var(--snow); padding: 100px 0; position: relative; overflow: hidden; }
.integrity-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -260px; border: 1px solid rgba(132,191,213,.16); border-radius: 46% 54% 61% 39%; transform: rotate(20deg); }
.integrity-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; position: relative; }
.integrity-copy .eyebrow { color: rgba(183,219,232,.65); }
.integrity-copy p { max-width: 500px; margin: 21px 0 0; color: rgba(244,241,233,.58); font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.8; }
.integrity-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 28px; }
.integrity-section .button-primary { background: var(--snow); color: var(--ink); }

.proof-panel { border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: rgba(255,255,255,.045); backdrop-filter: blur(10px); overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.proof-topline { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(244,241,233,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.status-badge { padding: 5px 8px; border-radius: 999px; font-size: 8px; letter-spacing: .11em; }
.status-badge.ok { color: #9de0bf; background: rgba(86,184,138,.1); border: 1px solid rgba(86,184,138,.2); }
.status-badge.bad { color: #e4a7a1; background: rgba(197,111,105,.1); border: 1px solid rgba(197,111,105,.2); }
.status-badge.neutral { color: #b7c1c8; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.hash-block { position: relative; padding: 22px 20px 24px; }
.hash-block > span { display: block; color: rgba(244,241,233,.32); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.hash-block code { display: block; max-width: calc(100% - 74px); margin-top: 10px; overflow: hidden; color: var(--ice-bright); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.copy-button { position: absolute; right: 20px; bottom: 20px; min-width: 55px; min-height: 31px; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; background: rgba(255,255,255,.045); color: rgba(244,241,233,.6); font-size: 9px; font-weight: 750; }
.copy-button:hover { background: rgba(255,255,255,.08); color: white; }
.copy-button.in-flow { position: static; }
.clipboard-fallback { position: fixed; inset: 0 auto auto -9999px; opacity: 0; pointer-events: none; }
.proof-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.proof-facts div { padding: 17px 20px; border-right: 1px solid rgba(255,255,255,.08); }
.proof-facts div:last-child { border-right: 0; }
.proof-facts span { display: block; color: rgba(244,241,233,.32); font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.proof-facts strong { display: block; margin-top: 7px; color: rgba(244,241,233,.9); font-size: 11px; }

.footer { display: grid; grid-template-columns: 1fr auto; gap: 28px 60px; padding-top: 54px; padding-bottom: 44px; align-items: start; }
.footer p { margin: 12px 0 0; color: #87939b; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: #5b6b76; text-decoration: none; font-size: 10px; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(7,19,31,.08); }

.detail-dialog {
  width: min(800px, calc(100vw - 28px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: #fbfaf6;
  color: var(--ink);
  box-shadow: 0 38px 120px rgba(0,0,0,.32);
  overflow: auto;
}
.detail-dialog::backdrop { background: rgba(5,13,20,.63); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; padding: clamp(24px, 5vw, 42px); }
.dialog-close { position: sticky; float: right; top: 16px; z-index: 3; width: 36px; height: 36px; border: 1px solid rgba(7,19,31,.1); border-radius: 50%; background: rgba(255,255,255,.92); color: #54636e; font-size: 22px; line-height: 1; }
.detail-kicker { color: #80909a; text-transform: uppercase; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.detail-dialog h2 { margin: 9px 52px 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; letter-spacing: -.04em; }
.detail-sub { color: #78858d; font-size: 11px; }
.detail-sub-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.share-button { flex: none; border-color: var(--line); background: white; color: var(--ink); padding: 0 12px; font-size: 10px; }
.share-button:hover { background: var(--ink); color: var(--snow); }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0; }
.detail-stat { padding: 14px; border: 1px solid rgba(7,19,31,.08); border-radius: 14px; background: white; }
.detail-stat span { display: block; color: #9aa5ac; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-stat strong { display: block; margin-top: 7px; font-size: 13px; }
.detail-proof { padding: 18px; border-radius: 15px; background: var(--ink); color: var(--snow); }
.detail-proof-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.detail-proof span { color: rgba(244,241,233,.42); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.detail-proof code { display: block; margin-top: 8px; overflow-wrap: anywhere; color: var(--ice-bright); font-size: 9px; line-height: 1.55; }
.source-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ice-bright); font-size: 10px; font-weight: 700; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.provider-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 30px 0 11px; }
.provider-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.provider-heading span { color: #89959d; font-size: 9px; }
.provider-list { display: grid; gap: 9px; }
.provider-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid rgba(7,19,31,.08); border-radius: 14px; background: white; }
.provider-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #edf3f4; color: #537a8e; font-family: Georgia, serif; font-size: 15px; }
.provider-item strong { display: block; font-size: 12px; }
.provider-item small { display: block; margin-top: 3px; color: #8b969d; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.tier-pill { padding: 5px 7px; border-radius: 999px; background: #f0f3f3; color: #6f7d86; font-size: 7px; font-weight: 840; letter-spacing: .11em; }
.tier-pill.partner { background: rgba(215,173,85,.15); color: #9a752a; }
.dialog-empty { padding: 24px; text-align: center; border: 1px dashed rgba(7,19,31,.12); border-radius: 14px; color: #87939a; font-size: 11px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 999; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 10px 14px; border-radius: 11px; background: var(--ink); color: white; box-shadow: 0 14px 34px rgba(7,19,31,.23); font-size: 10px; transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton-card { min-height: 320px; border-radius: var(--radius); background: linear-gradient(100deg, #f0f2f2 30%, #fafafa 45%, #f0f2f2 60%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position-x: -220%; } }

:focus-visible { outline: 3px solid rgba(84,134,157,.45); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 960px) {
  :root { --shell: min(100% - 30px, 820px); }
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 410px; }
  .mountain-card { inset: 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid rgba(7,19,31,.085); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .registry-toolbar { grid-template-columns: 1fr 160px; }
  .registry-toolbar .select-field:last-child { grid-column: 1 / -1; }
  .resort-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .integrity-layout { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 24px); --radius: 18px; }
  .topbar { min-height: 78px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .system-pill { padding-inline: 10px; }
  .hero { padding-top: 40px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-copy > p { font-size: 15px; }
  .hero-visual { min-height: 330px; }
  .visual-caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .metrics { grid-template-columns: 1fr 1fr; margin-bottom: 82px; }
  .metric-card { min-height: 126px; padding: 20px; }
  .metric-card strong { font-size: 28px; }
  .registry-section { padding-bottom: 82px; }
  .registry-toolbar { grid-template-columns: 1fr; }
  .registry-toolbar .select-field:last-child { grid-column: auto; }
  .resort-grid { grid-template-columns: 1fr; }
  .integrity-section { padding: 74px 0; }
  .proof-facts { grid-template-columns: 1fr; }
  .proof-facts div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .proof-facts div:last-child { border-bottom: 0; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-item { grid-template-columns: 38px 1fr; }
  .tier-pill { grid-column: 2; width: fit-content; }
}

/* Legal page (v1.4) */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.legal-kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 760; color: var(--muted); margin: 0 0 12px; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 10px; color: var(--ink); }
.legal h2 { font-size: 19px; margin: 34px 0 10px; color: var(--ink); }
.legal p, .legal li { line-height: 1.65; color: #34444f; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal-updated { color: var(--muted); font-size: 13px; }
.legal-facts { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); margin: 0; }
.legal-facts dt { color: var(--muted); font-weight: 700; font-size: 13px; }
.legal-facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.legal-unset { color: #a4501c; }
@media (max-width: 640px) { .legal-facts { grid-template-columns: 1fr; gap: 2px; } .legal-facts dd { margin-bottom: 10px; } }

/* ── Pass four (4 Dec 2026): ledger-and-snow layer. Self-hosted OFL type (fonts/*-OFL.txt), original ruled ground, rhythm and states ── */
@font-face{font-family:'Spectral';font-style:normal;font-weight:500;font-display:swap;src:url('/static/fonts/spectral-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Spectral';font-style:italic;font-weight:500;font-display:swap;src:url('/static/fonts/spectral-500-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:optional;src:url('/static/fonts/public-sans-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:optional;src:url('/static/fonts/public-sans-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Jetbrains Mono';font-style:normal;font-weight:500;font-display:optional;src:url('/static/fonts/jetbrains-mono-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root { --f-serif: 'Spectral', Georgia, serif; --f-sans: 'Public Sans', Inter, ui-sans-serif, system-ui, sans-serif; --f-mono: 'Jetbrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; }
body { font-family: var(--f-sans); background-image:
  repeating-linear-gradient(180deg, transparent 0 31px, rgba(7,19,31,.035) 31px 32px),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='520' viewBox='0 0 720 520'%3E%3Cg fill='none' stroke='%2384bfd5' stroke-opacity='.16'%3E%3Cpath d='M380 60c90-20 200 10 240 80s-10 150-110 170-210-20-240-90 20-140 110-160z'/%3E%3Cpath d='M400 100c70-14 150 8 180 60s-8 112-82 126-158-14-180-66 14-106 82-120z'/%3E%3Cpath d='M424 140c48-10 104 6 124 42s-6 76-56 86-108-10-122-46 10-72 54-82z'/%3E%3Cpath d='M450 176c26-6 56 4 66 22s-4 40-30 46-58-6-66-24 6-38 30-44z'/%3E%3C/g%3E%3C/svg%3E");
    , radial-gradient(circle at 85% -10%, rgba(132, 191, 213, 0.17), transparent 30rem),
    linear-gradient(180deg, #f8f7f2 0%, #fff 42%, #f4f6f7 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat; background-position: 0 0, right -120px top 40px, 0 0, 0 0; }
/* ticket perforation along the foot of the mountain card */
.mountain-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 54px; height: 10px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle, rgba(251,250,246,.9) 0 3px, transparent 3.5px) 0 50% / 16px 10px repeat-x; opacity: .22; }
.mountain-card { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.hero-visual:hover .mountain-card { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 44px 100px rgba(7,19,31,.28); }
.hero h1, .section-heading h2, .integrity-copy h2, .metric-card strong, .resort-card h3, .empty-state h3, .integrity-copy p, .detail-dialog h2, .provider-heading h3, .provider-avatar { font-family: var(--f-serif); }
.hero h1 { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 span { font-style: italic; color: #4f7488; }
.hash-mini code, .hash-block code, .eyebrow, .system-pill { font-family: var(--f-mono); }
.eyebrow { letter-spacing: .14em; }
.hero-copy > p { text-wrap: pretty; }
.hero-actions { gap: var(--s4); margin-top: var(--s6); }
/* receipt perforation on the metric strip: reads like a ticket stub */
.metric-card { position: relative; transition: background .2s ease; }
.metric-card:hover { background: rgba(132,191,213,.06); }
.metric-card + .metric-card::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; border-left: 1px dashed rgba(7,19,31,.18); }
/* states */
.button { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.button:focus-visible, .topnav a:focus-visible, .resort-card:focus-visible, a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px #3f7f99; border-radius: 10px; }
.button-secondary:hover { background: #fff; border-color: rgba(7,19,31,.22); }
.topnav a { position: relative; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.topnav a:hover::after { transform: scaleX(1); }
.resort-card:active { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@font-face{font-family:'Spectral';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/spectral-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.hero-copy > p, .integrity-copy p { font-family: var(--f-serif); font-weight: 400; }

/* Pass four round two: licence cards stack cleanly (layout only; prices, wording and checkout untouched) */
#licence { padding-top: clamp(56px, 8vw, 96px); }
#licence .metric-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 236px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
#licence .metric-card > span:not(.metric-kicker) { line-height: 1.55; max-width: 32ch; }
#licence .metric-card .button { margin-top: auto !important; }
#licence .metric-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(16, 32, 48, .45); }
#licence > .footer-note { font-size: 14px; line-height: 1.6; color: var(--muted, #5b6672); max-width: 72ch; margin-top: 28px; }
.button:active { transform: translateY(1px) scale(.985); }
