:root {
  --night: #140e0a;
  --clay: #221610;
  --clay-2: #2c1c14;
  --clay-3: #382418;
  --rule: #5a3a22;
  --rule-hi: #8a5a30;
  --bone: #f4ead4;
  --dim: #c4a882;
  --amber: #e8a040;
  --amber-lift: #f4bc5c;
  --chilli: #c44a28;
  --coal: #1a1008;
  --amber-flow: linear-gradient(135deg, #f0b44c 0%, #c87828 100%);
  --bevel: 14px;
  --span: 1060px;
  --pad: 40px;
  --body-font: Verdana, Tahoma, Geneva, sans-serif;
  --head-font: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  font: 16px/1.6 var(--body-font);
  color: var(--bone);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, span[role="link"]:focus-visible, button:focus-visible, label:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-family: var(--head-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bone);
  overflow-wrap: break-word;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px; overflow-wrap: break-word; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 700; }
.sheet { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 28px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--bevel); }
th, td { padding: 13px 14px; border: 1px solid var(--rule); text-align: center; vertical-align: middle; font-size: 14px; }
th { background: var(--clay-3); font-weight: 700; }
td { background: var(--clay); }
tr:nth-child(even) td { background: var(--clay-2); }
td:first-child { font-weight: 700; }
table tr:first-child th:first-child { border-top-left-radius: var(--bevel); }
table tr:first-child th:last-child { border-top-right-radius: var(--bevel); }

.frame { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.pagecol {
  width: 100%;
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 0 40px;
  min-width: 0;
}
.pagecol > * { min-width: 0; }
.prose { min-width: 0; }
.prose p, .prose li { font-size: 17px; width: 100%; }

.jump { cursor: pointer; -webkit-user-select: none; user-select: none; }

@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(232, 160, 64, 0); }
  50% { transform: scale(1.035); box-shadow: 0 0 26px rgba(232, 160, 64, .45); }
}
.action--beat, .signup-btn, .chorus__cta {
  animation: breathe 2.8s ease-in-out infinite;
  will-change: transform;
}
.action--beat:hover, .signup-btn:hover, .chorus__cta:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .action--beat, .signup-btn, .chorus__cta { animation: none; }
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 360px;
  width: 100%;
  min-height: 58px;
  margin: 8px auto 0;
  padding: 12px 24px;
  border-radius: var(--bevel);
  background: var(--amber-flow);
  color: var(--coal);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--body-font);
}
.action:hover { filter: brightness(1.06); }
.action:active { transform: scale(.98); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: var(--clay);
  border-bottom: 1px solid var(--rule);
}
.masthead__row {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.crest img { height: 50px; width: auto; }
.masthead .crest { margin-right: auto; }
.sitenav__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sitenav__list li { margin: 0; }
.navitem {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bone);
  background: var(--clay-2);
  border: 1px solid var(--rule);
}
.navitem:hover { background: var(--clay-3); border-color: var(--rule-hi); }
.sitenav__acts { display: none; }
.masthead__acts { display: flex; gap: 10px; margin-left: auto; }
.enter-btn, .signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--body-font);
}
.enter-btn { background: var(--clay-2); color: var(--amber); border: 1px solid var(--amber); }
.enter-btn:hover { background: var(--clay-3); }
.signup-btn { background: var(--amber-flow); color: var(--coal); border: 0; }
.navtab { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 10px;
  background: var(--clay-2);
  border: 1px solid var(--rule);
}
.burger span { display: block; height: 3px; border-radius: 2px; background: var(--bone); }

.intro { padding: 28px 0 36px; text-align: center; }
.intro__title { margin-bottom: 18px; }
.intro__brief { text-align: left; font-size: 17px; width: 100%; }
.intro__brief p:last-child { margin-bottom: 0; }
.intro__hoard { display: block; margin: 0 auto 22px; border-radius: var(--bevel); overflow: hidden; }
.intro__hoard img { width: 100%; height: auto; }
.card__strip { margin: 8px 0 36px; }
.card__strip .jump { display: block; }
.card__strip img { width: 100%; border-radius: var(--bevel); max-height: 360px; object-fit: contain; object-position: center; background: var(--clay); }

.glance { margin: 0 0 44px; }
.glance__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  margin: 0 0 22px;
  padding: 12px 20px;
  border-radius: var(--bevel);
  background: var(--amber-flow);
  text-align: center;
  font-size: 24px;
  color: var(--coal);
  font-family: var(--head-font);
}

.card, .hall, .weigh, .chorus, .asks, .datemark {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}
.card {
  margin: 0 0 44px;
  padding: 28px 28px 8px;
  background: var(--clay);
  border: 1px solid var(--rule);
  border-radius: var(--bevel);
}
.card h2 { margin-top: 4px; }
.card h3 { margin-top: 26px; }
.card h4 { margin-top: 16px; }

.weigh { margin: 0 0 44px; padding: 28px; background: var(--clay); border: 1px solid var(--rule); border-radius: var(--bevel); }
.weigh__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.weigh__col { padding: 20px; border-radius: var(--bevel); background: var(--clay-2); border: 1px solid var(--rule); }
.weigh__col h3 { margin-bottom: 12px; }
.weigh__col ul { margin: 0; padding: 0; list-style: none; }
.weigh__col li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.weigh__col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; }
.weigh__col--plus li::before { background: #4cc98a; }
.weigh__col--minus li::before { background: #d9534f; }

.hall { margin: 0 0 44px; padding: 28px 28px 16px; background: var(--clay); border: 1px solid var(--rule); border-radius: var(--bevel); }
.hall h2 { text-align: center; }
.hall__switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 0 0 22px; padding: 0; }
.hall__switch li { margin: 0; }
.switchtab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 10px;
  background: var(--clay-2);
  border: 1px solid var(--rule);
  color: var(--bone);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.switchtab svg { fill: currentColor; flex: none; }
.switchtab:hover, .switchtab.is-on { background: var(--clay-3); border-color: var(--amber); }
.pane { display: none; }
.pane.is-on { display: block; }
.tilerow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 12px; }
.tile { display: block; color: var(--bone); min-width: 0; }
.tile__shot {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--clay-2);
  aspect-ratio: 360 / 472;
}
.tile__shot img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__shot img { transform: scale(1.03); }
.tile__shot img { transition: transform .25s; }
.tile__label { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.tile small { display: block; font-size: 12px; color: var(--dim); }
.tile--mark .tile__label { text-align: center; }
.tile--mark .tile__shot { background: var(--clay-3); aspect-ratio: 220 / 60; display: flex; align-items: center; justify-content: center; }
.tile--mark .tile__shot img { width: auto; height: 70%; max-width: 88%; object-fit: contain; }
.tilerow--marks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile--pay .tile__shot { aspect-ratio: 200 / 80; }

.chorus { margin: 0 0 44px; padding: 28px; background: var(--clay); border: 1px solid var(--rule); border-radius: var(--bevel); }
.chorus__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: var(--bevel);
  background: var(--clay-2);
  border: 1px solid var(--rule);
}
.chorus__kicker { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.chorus__score { display: flex; align-items: center; gap: 10px; }
.chorus__score > span { font-size: 26px; font-weight: 700; }
.chorus__score small { color: var(--dim); font-size: 13px; }
.rating { display: inline-flex; gap: 2px; }
.rating svg { width: 18px; height: 18px; fill: var(--amber); }
.chorus__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--amber-flow);
  color: var(--coal);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.chorus__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.note { padding: 18px; border-radius: var(--bevel); background: var(--clay-2); border: 1px solid var(--rule); }
.note__who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.note__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-flow);
  font-weight: 700;
  font-size: 18px;
  color: var(--coal);
}
.note__who span { display: block; font-weight: 700; }
.note__who small { color: var(--dim); font-size: 12px; }
.note__copy p { margin: 0; font-size: 15px; }

.asks { margin: 0 0 36px; padding: 28px; background: var(--clay); border: 1px solid var(--rule); border-radius: var(--bevel); }
.asks__item { padding: 18px 20px; margin-bottom: 10px; border-radius: 10px; background: var(--clay-2); border: 1px solid var(--rule); }
.asks__item:last-child { margin-bottom: 0; }
.asks__item h3 { font-size: 18px; margin-bottom: 8px; }
.asks__item p { margin: 0; font-size: 16px; }

.datemark { margin: 0 0 16px; }
.datemark__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--bevel);
  background: var(--clay);
  border: 1px solid var(--rule);
  font-size: 15px;
  color: var(--dim);
}
.datemark__box svg { flex: none; fill: var(--amber); width: 22px; height: 22px; }

.base { background: var(--clay); border-top: 1px solid var(--rule); content-visibility: auto; contain-intrinsic-size: auto 700px; }
.base__wrap {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding: 40px var(--pad) 24px;
}
.base__top { display: flex; justify-content: space-between; gap: 36px; }
.base__about { max-width: 420px; }
.base__about .crest img { height: 56px; width: auto; margin-bottom: 14px; }
.base__about p { font-size: 14px; color: var(--dim); }
.base__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; }
.base__soc {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--clay-2);
  border: 1px solid var(--rule);
}
.base__soc img { width: 22px; height: 22px; }
.base__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.base__app { display: block; background: var(--clay-2); border: 1px solid var(--rule); border-radius: 10px; padding: 4px 8px; }
.base__app img { height: 40px; width: auto; }
.base__cols { display: flex; gap: 48px; }
.base-col__head { display: block; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.base-col__list { list-style: none; margin: 0; padding: 0; }
.base-col__list li { margin-bottom: 8px; }
.base-link { font-size: 14px; }
.base-link:hover { text-decoration: underline; }
.base__pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0 16px;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}
.base__pay img { height: 28px; width: auto; }
.base__seals {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--rule);
}
.base__seals img { height: 40px; width: auto; margin-inline: auto; }
.mark-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  border-radius: 50%;
  border: 3px solid #e84848;
  color: #e84848;
  font-weight: 700;
  font-size: 15px;
}
.base__floor { border-top: 1px solid var(--rule); }
.base__legal {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding: 18px var(--pad) 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.65;
  color: var(--dim);
}
.base__legal p { margin: 0 0 8px; }

.totop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--amber-flow);
  color: var(--coal);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}
.totop.is-shown { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .tilerow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tilerow--marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .base__seals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .masthead__row { gap: 10px; }
  .navitem { padding: 8px 8px; font-size: 13px; }
  .tilerow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .burger { display: flex; order: 3; }
  .masthead__acts { order: 2; margin-left: auto; }
  .masthead .crest { margin-right: 0; }
  .sitenav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 12px var(--pad) 20px;
    background: var(--clay);
    border-bottom: 1px solid var(--rule);
  }
  .navtab:checked ~ .sitenav { display: block; }
  .navtab:checked ~ .burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .navtab:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .navtab:checked ~ .burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
  .sitenav__list { flex-direction: column; gap: 8px; }
  .sitenav__acts { display: flex; gap: 10px; margin-top: 14px; }
  .sitenav__acts .enter-btn, .sitenav__acts .signup-btn { flex: 1; }
  .chorus__list { grid-template-columns: 1fr; }
  .base__top { flex-direction: column; gap: 28px; }
  .base__cols { gap: 32px; }
  .weigh__grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .prose p, .prose li, .intro__brief { font-size: 16px; }
  th, td { padding: 10px 8px; font-size: 13px; }
  .glance__head { font-size: 18px; min-height: 54px; }
  .hall__switch { grid-template-columns: repeat(2, 1fr); }
  .tilerow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .tilerow--marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chorus__sum { flex-direction: column; align-items: flex-start; }
  .chorus__cta { width: 100%; }
  .card, .hall, .weigh, .chorus { margin-bottom: 32px; padding: 20px; }
  .base__seals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  :root { --pad: 18px; }
  .tilerow--marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base__cols { flex-direction: column; gap: 20px; }
  .base__seals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  :root { --pad: 14px; }
  .masthead__acts { gap: 6px; }
  .enter-btn, .signup-btn { height: 36px; padding: 0 10px; font-size: 12px; }
  .crest img { height: 36px; }
  .hall__switch { grid-template-columns: 1fr 1fr; }
}
