:root {
  --hinge: #0f0e0c;
  --gold: #f9e795;
  --teal: #02c39a;
  --morning: #7ec8e3;
  --morning-soft: rgba(126, 200, 227, 0.14);
  --off: #f4f6fa;
  --max: 42rem;
  --hero-till-max: min(100%, 52rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", system-ui, sans-serif;
  background: var(--hinge);
  color: var(--off);
  line-height: 1.6;
}
body.vibe-v1 {
  background:
    radial-gradient(ellipse 120% 55% at 50% -8%, var(--morning-soft), transparent 55%),
    var(--hinge);
}
a { color: var(--teal); }
a:hover { color: var(--gold); }
.wrap { max-width: 52rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.hero--vibe { position: relative; max-width: 56rem; }
.hero-grid-vibe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.hero-intro {
  width: 100%;
  max-width: 38rem;
  text-align: center;
}
.hero-intro h1 { margin-bottom: 0; }
.hero-body {
  width: 100%;
  max-width: 46rem;
}
.hero-visual--till {
  display: grid;
  place-items: center;
  width: var(--hero-till-max);
  aspect-ratio: 1;
  margin: 0.25rem auto 0;
  padding: 0;
  border: 1px solid rgba(126, 200, 227, 0.28);
  background: rgba(0, 0, 0, 0.25);
}
.hero-visual--till .hero-video-el,
.hero-visual--till .hero-till-static {
  z-index: 0;
}
.hero-visual-caption {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: stretch;
  z-index: 1;
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--morning);
  background: linear-gradient(transparent, rgba(15, 14, 12, 0.85));
  pointer-events: none;
}
.hero-visual--till > * {
  grid-area: 1 / 1;
}
.hero-visual--till video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: rgba(18, 18, 22, 0.92);
  box-shadow:
    0 0 0 1px rgba(126, 200, 227, 0.35),
    0 0 48px rgba(2, 195, 154, 0.2),
    0 20px 56px rgba(0, 0, 0, 0.45);
}
.hero-till-static {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background:
    radial-gradient(circle at 35% 28%, rgba(126, 200, 227, 0.4), transparent 55%),
    radial-gradient(circle at 68% 72%, rgba(2, 195, 154, 0.25), transparent 50%),
    rgba(18, 18, 22, 0.92);
  box-shadow:
    0 0 0 1px rgba(249, 231, 149, 0.15),
    0 0 40px rgba(126, 200, 227, 0.12);
}
.hero-visual--till.is-static .hero-video-el { display: none; }
.hero-visual--till.is-static .hero-till-static { display: block; }
.hero-morning {
  pointer-events: none;
  position: absolute;
  inset: -2rem -1.25rem auto;
  height: min(55vw, 22rem);
  max-height: 360px;
  background: radial-gradient(circle at 50% 20%, rgba(126, 200, 227, 0.22), transparent 60%);
  opacity: 0.85;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  color: var(--gold);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero-lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--off);
  margin: 0 0 1.25rem;
}
.hero-detail {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}
.hero-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions .btn { margin-top: 0; }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 0.5rem;
}
.eyebrow-static { opacity: 0.65; }
#rotating-eyebrow { color: var(--morning); font-weight: 600; }
.four-tills {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1rem;
}
@media (min-width: 520px) {
  .four-tills { grid-template-columns: repeat(4, 1fr); }
}
.four-tills li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(126, 200, 227, 0.18);
  color: var(--off);
}
.four-tills-icon { color: var(--teal); margin-bottom: 0.35rem; }
.four-tills-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.four-tills-hint {
  font-size: 0.72rem;
  opacity: 0.72;
  margin-top: 0.15rem;
}
.four-tills--doc { max-width: 28rem; }
.identity-pin {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: var(--max);
}
.identity-pin-body { font-size: 0.92rem; opacity: 0.88; margin: 0; }
.site-foot {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.55;
  padding: 1.5rem 1rem 2.5rem;
}
.tagline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--teal);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(249, 231, 149, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
}
nav { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
nav a { margin-right: 1.25rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--teal);
  color: var(--hinge);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--morning);
  border: 1px solid rgba(126, 200, 227, 0.45);
}
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }
footer { margin-top: 3rem; font-size: 0.75rem; opacity: 0.55; }
.doc-page h1 { color: var(--gold); font-size: 1.75rem; }
.charter-block {
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.charter-block h2 {
  font-size: 1.15rem;
  color: var(--morning);
  margin: 0 0 0.75rem;
}
.charter-block--core {
  border: 1px solid rgba(126, 200, 227, 0.35);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  background: rgba(126, 200, 227, 0.06);
}
.charter-block--core h2 { color: var(--gold); }
.charter-list { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.charter-list li { margin-bottom: 0.45rem; }
.charter-meta { font-size: 0.85rem; opacity: 0.75; }
.affiliate-table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.affiliate-table th,
.affiliate-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.65rem;
  text-align: left;
}
.affiliate-table th { color: var(--gold); font-weight: 600; }
