/* Friends Casino — promo landing visual system */

:root {
  --void: #07080b;
  --coal: #0d1015;
  --slab: #14181f;
  --slab-2: #1c212b;
  --edge: rgba(255, 255, 255, 0.09);
  --edge-hi: rgba(255, 255, 255, 0.18);
  --ink: #f6f3ec;
  --ink-dim: #a09a90;
  --gold: #e0a12a;
  --gold-hi: #ffc85f;
  --jade: #14b98a;
  --jade-hi: #2ee0a8;
  --rose: #d8365a;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --lift: 0 18px 44px rgba(0, 0, 0, 0.5);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-text: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(760px 420px at 82% -6%, rgba(224, 161, 42, 0.18), transparent 62%),
    radial-gradient(680px 380px at 4% 12%, rgba(20, 185, 138, 0.12), transparent 60%),
    linear-gradient(178deg, #0b0d12 0%, var(--void) 46%, #05060a 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-hi);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  letter-spacing: -0.015em;
  font-weight: 700;
}

.shell {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

/* ---------- Age gate ---------- */
.gate,
.blocked {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 5, 9, 0.9);
  backdrop-filter: blur(9px);
}

.gate[hidden],
.blocked[hidden] {
  display: none;
}

.gate__panel,
.blocked__panel {
  width: min(430px, 100%);
  padding: 1.9rem 1.6rem;
  text-align: center;
  border: 1px solid var(--edge);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--slab-2), var(--coal));
  box-shadow: var(--lift);
}

.gate__mark {
  margin-bottom: 0.85rem;
}

.gate h2,
.blocked h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.gate p,
.blocked p {
  margin: 0 0 1.15rem;
  color: var(--ink-dim);
}

.gate__row {
  display: grid;
  gap: 0.6rem;
}

.gate__note {
  margin: 1.05rem 0 0 !important;
  font-size: 0.83rem;
}

body.is-sealed {
  overflow: hidden;
}

body.is-sealed .shell {
  filter: blur(5px) saturate(0.7);
  pointer-events: none;
  user-select: none;
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  margin-top: 0.9rem;
  padding: 0.42rem 0;
  border: 1px solid rgba(224, 161, 42, 0.28);
  border-radius: 999px;
  background: rgba(224, 161, 42, 0.07);
}

.ticker__track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: slide 30s linear infinite;
}

.ticker__track span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e6ddcd;
  white-space: nowrap;
}

.ticker__track b {
  color: var(--gold-hi);
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 1.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(13, 16, 21, 0.86);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo:hover {
  text-decoration: none;
}

.logo__tld {
  color: var(--gold);
  font-weight: 600;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.menu a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.menu a:hover,
.menu a.is-on {
  color: var(--ink);
  text-decoration: none;
}

.menu a:hover::after,
.menu a.is-on::after {
  transform: scaleX(1);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.textlink {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.textlink:hover {
  color: var(--gold-hi);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #2a1c02;
  box-shadow: 0 10px 26px rgba(224, 161, 42, 0.3);
}

.btn--gold:hover {
  box-shadow: 0 14px 32px rgba(224, 161, 42, 0.42);
}

.btn--jade {
  background: linear-gradient(180deg, var(--jade-hi), var(--jade));
  color: #032018;
  box-shadow: 0 10px 26px rgba(20, 185, 138, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--edge);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  border-color: var(--edge-hi);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.btn--sm {
  padding: 0.52rem 1rem;
  font-size: 0.85rem;
}

.btn.is-copied {
  background: linear-gradient(180deg, var(--jade-hi), var(--jade));
  color: #032018;
}

/* ---------- Shared bits ---------- */
.shot {
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--z, 1));
  transform-origin: var(--o, center);
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--gold-hi);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--edge);
}

.head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.note {
  color: var(--ink-dim);
  font-size: 0.86rem;
}

.fine {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.8rem;
}

.code-chip {
  display: inline-block;
  padding: 0.08em 0.45em;
  border: 1px solid rgba(224, 161, 42, 0.5);
  border-radius: 7px;
  background: rgba(224, 161, 42, 0.16);
  color: var(--gold-hi);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
}

section {
  margin-bottom: 2.2rem;
}

/* ---------- Lead / hero ---------- */
.lead {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 0.9rem;
}

.lead__stage {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--coal);
  box-shadow: var(--lift);
}

.lead__shot {
  position: absolute;
  inset: 0;
}

.lead__shot img {
  opacity: 0.34;
}

.lead__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(7, 8, 11, 0.96) 0%, rgba(7, 8, 11, 0.82) 46%, rgba(7, 8, 11, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 8, 11, 0.85) 0%, transparent 55%);
}

.lead__text {
  position: relative;
  z-index: 1;
  max-width: 33rem;
  padding: 2.1rem 2rem;
}

.lead__text h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  line-height: 1.06;
}

.lead__sub {
  margin: 0 0 1.1rem;
  max-width: 30rem;
  color: #d9d2c6;
  font-size: 1.02rem;
}

.lead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.lead__cards {
  display: grid;
  gap: 0.9rem;
}

/* ---------- Code box ---------- */
.codebox {
  position: relative;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(224, 161, 42, 0.4);
  border-radius: var(--r-md);
  background: rgba(7, 8, 11, 0.72);
}

.codebox--lead {
  width: min(100%, 430px);
  margin: 1.15rem 0 1.3rem;
  padding: 1.3rem 1.3rem 1.15rem;
  border: 2px solid rgba(224, 161, 42, 0.6);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(224, 161, 42, 0.2), rgba(20, 185, 138, 0.14) 70%),
    rgba(10, 12, 17, 0.94);
  box-shadow: 0 0 34px rgba(224, 161, 42, 0.2), 0 16px 38px rgba(0, 0, 0, 0.5);
  animation: glow 2.8s ease-in-out infinite;
}

.codebox--flat {
  width: min(100%, 430px);
  margin: 0 0 1.1rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(224, 161, 42, 0.42);
  background: linear-gradient(140deg, rgba(224, 161, 42, 0.12), rgba(255, 255, 255, 0.02)), #0b0e13;
}

.codebox__flag {
  position: absolute;
  top: -0.72rem;
  left: 1.1rem;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold));
  color: #2a1c02;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.codebox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.codebox__label {
  color: #cfc7b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.codebox__gain {
  color: var(--jade-hi);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.codebox__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.codebox__value {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.7rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.15;
  text-align: center;
}

.codebox .btn {
  flex-shrink: 0;
}

.codebox__note {
  margin: 0.8rem 0 0;
  color: #ece5d8;
  font-size: 0.94rem;
  font-weight: 600;
}

.codebox__fine {
  margin: 0.4rem 0 0;
  color: var(--ink-dim);
  font-size: 0.77rem;
}

/* ---------- Side offer cards ---------- */
.offer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.7rem;
  min-height: 205px;
  padding: 1.2rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}

.offer-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.offer-card p {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.offer-card--gift {
  background: linear-gradient(150deg, #7a4b06, #a86a10 48%, #4d2c02);
  border-color: rgba(255, 200, 95, 0.35);
}

.offer-card--pay {
  grid-template-columns: 1fr;
  background: linear-gradient(155deg, var(--slab-2), var(--coal));
}

.offer-card__art {
  font-size: 2.7rem;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
  animation: bob 4s ease-in-out infinite;
}

.pill {
  display: inline-flex;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pill:hover {
  text-decoration: none;
}

.paylist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.paylist span {
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ded7c9;
}

/* ---------- Metrics strip ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.metric {
  padding: 1.15rem 1.2rem;
  text-align: center;
  border-left: 1px solid var(--edge);
}

.metric:first-child {
  border-left: 0;
}

.metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--gold-hi);
}

.metric span {
  color: var(--ink-dim);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.step {
  position: relative;
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--slab);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.7rem;
  border-radius: 10px;
  background: rgba(224, 161, 42, 0.16);
  border: 1px solid rgba(224, 161, 42, 0.45);
  color: var(--gold-hi);
  font-family: var(--font-head);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--slab);
  box-shadow: var(--lift);
}

.pillar__shot {
  height: 210px;
}

.pillar__shot img {
  transition: transform 0.6s ease;
}

.pillar:hover .pillar__shot img {
  transform: scale(calc(var(--z, 1) * 1.06));
}

.pillar__body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.pillar__body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
}

.pillar__body p {
  margin: 0 0 1rem;
  color: var(--ink-dim);
}

/* ---------- Catalog ---------- */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  padding: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 80% 8%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(165deg, var(--tint, #2a2f3a), rgba(7, 8, 11, 0.92));
  color: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 161, 42, 0.55);
  text-decoration: none;
}

.tile__rank {
  position: absolute;
  top: 0.6rem;
  left: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.tile__name {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.tile__studio {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.78;
}

/* ---------- Bonus panel ---------- */
.bonus-panel {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--edge);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  background: var(--slab);
  box-shadow: var(--lift);
}

.bonus-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.bonus-panel p {
  margin: 0 0 1rem;
  color: var(--ink-dim);
}

.amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(20, 185, 138, 0.3);
  border-radius: var(--r-sm);
  background: rgba(20, 185, 138, 0.08);
  color: var(--jade-hi);
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
}

.credited {
  margin: 0;
  color: var(--jade-hi);
  font-size: 0.9rem;
  font-weight: 700;
}

.bonus-panel__side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Help ---------- */
.help {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.9rem;
}

.help__text {
  padding: 1.5rem;
  border: 1px solid rgba(20, 185, 138, 0.28);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, #0d3b2f, #0a2119);
}

.help__text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.help__text p {
  margin: 0 0 1.1rem;
  color: #cfe4dc;
}

.help__shot {
  min-height: 250px;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
}

/* ---------- Ambassadors ---------- */
.ambassadors {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
}

.ambassadors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.ambassadors__list span {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e6ded0;
}

/* ---------- FAQ ---------- */
.faq__list {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--slab);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(224, 161, 42, 0.42);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 1.1rem 1.05rem;
  color: var(--ink-dim);
  font-size: 0.94rem;
}

/* ---------- Care ---------- */
.care__inner {
  padding: 1.6rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
}

.care__inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.care__inner p {
  margin: 0 0 0.9rem;
  max-width: 70ch;
  color: var(--ink-dim);
}

.care__inner ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: #ddd6c8;
}

.care__inner li {
  margin-bottom: 0.22rem;
}

/* ---------- Closing ---------- */
.closing__panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--slab);
  box-shadow: var(--lift);
}

.closing__shot {
  min-height: 330px;
}

.closing__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.8rem;
}

.closing__text h2 {
  margin: 0;
  font-size: 1.65rem;
}

.closing__text p {
  margin: 0;
  color: var(--ink-dim);
}

.closing__text .btn {
  align-self: flex-start;
}

/* ---------- Footer ---------- */
.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--edge);
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
}

.footer__brand p {
  margin: 0.25rem 0 0;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.footer__nav {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.footer__nav a {
  color: #ded7c9;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer__fine {
  grid-column: 1 / -1;
  margin: 0;
  color: #7b7469;
  font-size: 0.79rem;
  max-width: 95ch;
}

/* ---------- Legal pages ---------- */
.legal {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 3.5rem;
}

.legal__back {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--gold-hi);
  font-weight: 700;
  font-size: 0.9rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
}

.legal h2 {
  margin: 1.7rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--gold-hi);
}

.legal p,
.legal li {
  color: var(--ink-dim);
}

.legal ul {
  padding-left: 1.15rem;
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 26px rgba(224, 161, 42, 0.16), 0 16px 38px rgba(0, 0, 0, 0.5);
    border-color: rgba(224, 161, 42, 0.5);
  }
  50% {
    box-shadow: 0 0 46px rgba(224, 161, 42, 0.38), 0 16px 38px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 200, 95, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .offer-card__art,
  .codebox--lead {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lead,
  .pillars,
  .bonus-panel,
  .help,
  .closing__panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .metrics,
  .steps {
    grid-template-columns: 1fr;
  }

  .metric {
    border-left: 0;
    border-top: 1px solid var(--edge);
    text-align: left;
  }

  .metric:first-child {
    border-top: 0;
  }

  .menu {
    display: none;
  }

  .catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead__stage {
    min-height: 400px;
  }

  .closing__shot {
    min-height: 240px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 1rem, 1140px);
  }

  .topbar {
    padding: 0.6rem 0.7rem;
  }

  .logo {
    font-size: 0.98rem;
  }

  .topbar__actions .textlink {
    display: none;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead__text {
    padding: 1.4rem 1.25rem;
  }

  .codebox__row {
    flex-direction: column;
    align-items: stretch;
  }

  .codebox__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .codebox--lead,
  .codebox--flat {
    width: 100%;
  }

  .offer-card {
    min-height: auto;
  }

  .closing__text {
    padding: 1.35rem;
  }
}
