:root {
  color-scheme: dark;
  --bg: #090812;
  --surface: #12101f;
  --surface-raised: #19162a;
  --surface-soft: #211c35;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(153, 133, 255, 0.42);
  --text: #f7f5ff;
  --muted: #d0ccdc;
  --subtle: #bcb6cb;
  --accent: #9483ff;
  --accent-strong: #b7abff;
  --accent-soft: rgba(148, 131, 255, 0.15);
  --success: #51d7a3;
  --warning: #f6c76a;
  --danger: #ff8f9b;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  --radius-lg: 14px;
  --radius-md: 12px;
  --max: 1120px;
  --reading-max: 860px;
  --review-font: Arial, "Helvetica Neue", Helvetica, Roboto, "Segoe UI", sans-serif;
  --review-display-font: "Bahnschrift SemiBold", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--review-font);
  background:
    linear-gradient(90deg, rgba(86, 66, 170, 0.08), transparent 24%, transparent 76%, rgba(75, 118, 168, 0.07)),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

a:hover {
  color: #d2cbff;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.page {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 24px 20px 72px;
}

.legal-page {
  width: min(100%, calc(var(--reading-max) + 40px));
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  margin-bottom: 26px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 10, 22, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  color: var(--text);
  font-family: var(--review-display-font);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand strong::after {
  content: ".Hotel";
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--review-font);
  font-weight: 400;
}

.brand small {
  color: var(--subtle);
  font-size: 0.78rem;
}

.topnav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.topnav a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px var(--accent);
}

.panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 8px;
  padding: 34px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-page .eyebrow {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--subtle);
  background: transparent;
  font-size: 0.78rem;
  text-transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--review-display-font);
  letter-spacing: 0;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.25;
}

h3 {
  font-size: 1rem;
  line-height: 1.35;
}

p,
li,
dd,
dt,
td,
th {
  font-size: 1rem;
  line-height: 1.68;
}

p,
ul,
ol,
dl {
  margin: 0;
}

.lead {
  max-width: 68ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-meta span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--subtle);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-section {
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.legal-section:last-of-type {
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 18px;
}

.legal-section h3 {
  margin: 24px 0 10px;
  color: var(--accent-strong);
}

.legal-section p {
  color: var(--muted);
}

.legal-section > p,
.legal-section > .legal-list,
.legal-section > .note,
.legal-section > .warning {
  max-width: 72ch;
}

.legal-section p + p,
.legal-section p + .table-wrap,
.legal-section p + .note,
.legal-section .table-wrap + p,
.legal-section .note + p {
  margin-top: 14px;
}

.legal-list,
.list {
  display: grid;
  gap: 9px;
  margin: 12px 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-list li::marker,
.list li::marker {
  color: var(--accent);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: var(--surface-raised);
  font-size: 0.88rem;
}

tr:last-child td {
  border-bottom: 0;
}

.note,
.warning {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--accent-soft);
  line-height: 1.65;
}

.warning {
  border-color: rgba(246, 199, 106, 0.45);
  background: rgba(246, 199, 106, 0.1);
}

/* Meta's reviewer guide remains available, but uses the same permanent Justo trust surface. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-bottom: 30px;
}

.hero-copy,
.hero-side,
.section-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-copy strong {
  color: var(--text);
  background: var(--surface);
}

.hero-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero-actions,
.footer-links,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button-link,
.ghost-link,
.pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-raised);
  font-weight: 700;
  text-decoration: none;
}

.button-link {
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.stat span {
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.section {
  margin-top: 34px;
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 16px;
}

.section-heading p,
.section-card p,
.footer p {
  color: var(--muted);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-card {
  min-width: 0;
  background: var(--surface);
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  counter-reset: review-step;
}

.step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step::before {
  counter-increment: review-step;
  content: counter(review-step);
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-weight: 800;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.facts > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.facts dt {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-links {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    align-items: flex-start;
  }

  .topnav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 12px 14px 48px;
  }

  .topbar {
    display: block;
    padding: 14px;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
    padding-bottom: 2px;
    overflow: visible;
  }

  .topnav a {
    min-height: 44px;
    padding-inline: 4px;
    font-size: 0.78rem;
    text-align: center;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }

  .legal-hero {
    padding: 26px 0 24px;
  }

  .legal-section {
    padding: 24px 0;
  }

  .grid-2,
  .facts {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-side,
  .section-card {
    padding: 20px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .topbar,
  .panel,
  .section-card,
  .table-wrap,
  .facts > div {
    border: 1px solid CanvasText;
  }
}
