:root {
  --bg: #08090c;
  --bg-2: #10131a;
  --bg-3: #171b24;
  --ink: #f3f5f8;
  --muted: #b7c0cc;
  --soft: #8e97a6;
  --line: rgba(232, 236, 242, 0.14);
  --silver: #d7dde6;
  --gold: #e0c48a;
  --gold-deep: #b8925a;
  --ink-on-gold: #1c150c;
  --ok: #b7d7c6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --nav: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(215, 221, 230, 0.16), transparent 55%),
    radial-gradient(700px 420px at -10% 30%, rgba(224, 196, 138, 0.09), transparent 50%),
    var(--bg);
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink-on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 8px 12px;
  z-index: 200;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 0.95; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav);
  padding: 0 22px;
  background: rgba(8, 9, 12, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(160deg, #fff 0%, #c5ccd6 40%, #8d97a6 52%, #f4f6f8 100%);
  color: #1a1d24;
  font-family: var(--serif);
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 #fff, 0 8px 16px rgba(0,0,0,.25);
}
.brand strong { display: block; font-weight: 560; letter-spacing: 0.14em; font-size: 0.92rem; }
.brand small { display: block; color: var(--soft); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.68rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  content: "";
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #f3e2bf, #d7b57a 48%, #a48349);
  color: var(--ink-on-gold);
  font-weight: 600;
}
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: var(--ink); }
.btn-tiny { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }

.hero { padding: 42px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100svh - var(--nav) - 120px);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.5rem, 7.4vw, 7.1rem);
  line-height: 0.88;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(180deg, #f8e7c4, #d7b57a 55%, #8d6a38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.deck { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.scene {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
}
.ingot-stack { position: relative; width: 320px; height: 250px; transform: rotate(-8deg); }
.ingot {
  position: absolute;
  width: 280px;
  height: 112px;
  border-radius: 16px;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.75) 42%, transparent 58%),
    linear-gradient(160deg, #fbfcfe 0%, #d5dbe4 32%, #8f98a6 50%, #f3f5f8 68%, #a8b1bf 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -14px 20px rgba(40, 46, 58, .25), 0 18px 30px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 22px;
  color: #2a303a;
}
.ingot span { font-family: var(--serif); letter-spacing: 0.18em; font-size: 0.95rem; }
.ingot small { letter-spacing: 0.28em; font-size: 0.68rem; color: #4d5664; }
.ingot-a { top: 18px; left: 18px; animation: float 7s ease-in-out infinite; }
.ingot-b { top: 78px; left: 0; filter: saturate(.9); }
.ingot-c { top: 138px; left: 28px; }
.coin {
  position: absolute;
  right: 18px;
  bottom: 36px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.95), transparent 36%),
    conic-gradient(from 30deg, #8e97a4, #f7f8fb, #6f7886, #e7ebf0, #aeb6c2, #7e8794, #fbfcfe, #8e97a4);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.35), inset 0 0 0 9px rgba(55, 62, 74, .45), 0 20px 35px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite reverse;
}
.coin b { font-family: var(--serif); font-size: 1.7rem; color: #2c3340; font-weight: 600; }
.coin i { position: absolute; bottom: 34px; font-style: normal; letter-spacing: 0.16em; font-size: 0.62rem; color: #3e4654; }
.floor {
  position: absolute;
  bottom: 18px;
  width: 70%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(255,255,255,.18), transparent 70%);
  filter: blur(2px);
}

.band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.band li { padding: 22px 8px 6px; }
.band strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}
.band span { color: var(--soft); font-size: 0.86rem; letter-spacing: 0.04em; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  padding: 14px 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 28%),
    var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 390px;
  display: flex;
  flex-direction: column;
}
.plan-card.is-selected { border-color: rgba(224, 196, 138, .75); box-shadow: 0 0 0 1px rgba(224,196,138,.35), var(--shadow); }
.swatch {
  width: 54px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 22px;
  background: linear-gradient(160deg, #fff, #c5ccd6 40%, #8d97a6 55%, #eef1f5);
  box-shadow: inset 0 1px 0 #fff;
}
.swatch.coinish { border-radius: 50%; width: 42px; height: 42px; }
.swatch.wide { width: 74px; }
.swatch.stack { box-shadow: 0 6px 0 #9aa3b2, inset 0 1px 0 #fff; }
.plan-card h3 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 4px; font-weight: 500; }
.plan-kicker { color: var(--soft); margin-bottom: 18px; }
.price { font-size: 1.35rem; margin-bottom: 16px; }
.plan-card dl { margin: 0 0 18px; display: grid; gap: 8px; }
.plan-card div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.plan-card dt { color: var(--soft); }
.plan-card dd { margin: 0; }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-card.is-selected .btn {
  background: linear-gradient(180deg, #f3e2bf, #d7b57a 48%, #a48349);
  color: var(--ink-on-gold);
  border-color: transparent;
}
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
[hidden] { display: none !important; }
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-gold);
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 8px;
}

.income-grid, .split, .salem-grid, .visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.split, .salem-grid, .visit-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
.card, .income-card, .slip, .ledger, .level-board, .gate {
  background: rgba(16, 19, 26, .86);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.income-card { min-height: 280px; }
.index-no {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.income-card h3 { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; margin: 10px 0; }
.rate {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  margin: 8px 0 12px;
}
.income-card p, .card p { color: var(--muted); }

.formula {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.formula li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.formula span { color: var(--soft); }

.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.dates article { padding: 16px; border-radius: 18px; background: #0c0f15; border: 1px solid var(--line); }
.dates span { display: block; color: var(--soft); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.dates strong { display: block; margin-top: 6px; font-weight: 500; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.seg button, .plan-card .btn {
  border: 1px solid var(--line);
  background: transparent;
}
.seg button {
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
}
.seg button.is-selected, .seg button[aria-pressed="true"] {
  background: var(--ink);
  color: #14181f;
  border-color: var(--ink);
}
.summary-line { margin-bottom: 8px; }
.summary-line b { font-weight: 560; }

.days { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.day, .withdraw-row {
  display: grid;
  grid-template-columns: 1.3fr .7fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #0c0f15;
}
.day-name { display: flex; align-items: center; gap: 8px; }
.day-name em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-gold);
  background: var(--gold);
  border-radius: 999px;
  padding: 2px 6px;
}
.day-tag { color: var(--soft); font-size: 0.85rem; }
.day-amt, .withdraw-row b { font-variant-numeric: tabular-nums; }
.day.is-cutoff { outline: 1px solid rgba(224, 196, 138, .45); }
.withdraw-row {
  grid-template-columns: 1fr auto;
  background: linear-gradient(180deg, rgba(224,196,138,.16), rgba(224,196,138,.05));
  border: 1px solid rgba(224, 196, 138, .35);
}
.fine { color: var(--soft); font-size: 0.88rem; }

.level-board { display: grid; gap: 8px; }
.level-row, .level-head {
  display: grid;
  grid-template-columns: 52px 1fr 72px 120px;
  gap: 8px;
  align-items: center;
}
.level-head { color: var(--soft); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 8px; }
.level-row { padding: 10px 8px; border-radius: 12px; background: #0c0f15; }
.lv { font-family: var(--serif); font-size: 1.3rem; color: var(--silver); }
.lvl-amt { text-align: right; font-variant-numeric: tabular-nums; }
.gates { display: grid; gap: 10px; margin-top: 18px; }
.gates div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.gates span { color: var(--soft); }

.salem { position: relative; overflow: hidden; }
.watermark {
  position: absolute;
  left: -2vw;
  bottom: -4vw;
  margin: 0;
  font-family: var(--serif);
  font-size: 18vw;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  pointer-events: none;
}
.salem-copy { position: relative; max-width: 640px; }
.checks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { padding-left: 18px; position: relative; color: var(--muted); }
.checks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--silver); position: absolute; left: 0; top: .55em; }

.faq { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(16,19,26,.75);
}
summary { cursor: pointer; font-size: 1.05rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 4px; }

.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0c0f15;
  padding: 12px 14px;
}
textarea { min-height: 90px; resize: vertical; }
.slip { background:
  linear-gradient(180deg, rgba(255,255,255,.04), transparent 20%),
  #141820;
}
.slip h3 { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; margin-bottom: 8px; }
.slip dl { display: grid; gap: 8px; margin: 16px 0; }
.slip div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.slip dt { color: var(--soft); }
.slip dd { margin: 0; text-align: right; }

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer strong { color: var(--ink); font-weight: 560; letter-spacing: 0.12em; }

.js .reveal { opacity: 0; transform: translateY(16px); animation: none; }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 980px) {
  .hero-grid, .plans, .income-grid, .split, .salem-grid, .visit-grid, .band { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .income-grid { grid-template-columns: 1fr; }
  .scene { height: 380px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; z-index: 2; }
  .nav-links { display: none; }
  .nav.is-open {
    position: fixed;
    inset: 0;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    align-items: center;
    align-content: stretch;
    background: #08090c;
    backdrop-filter: none;
  }
  .nav.is-open .brand { grid-column: 1; grid-row: 1; }
  .nav.is-open .nav-toggle { grid-column: 2; grid-row: 1; }
  .nav.is-open .nav-links {
    display: flex;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    width: auto;
    height: auto;
    padding: 0 8px 80px;
    background: transparent;
  }
  .nav-links a { font-size: 2rem; font-family: var(--serif); }
  .nav.is-open .nav-toggle span { background: transparent; }
  .nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .hero-grid, .plans, .split, .salem-grid, .visit-grid, .dates, .level-row, .level-head, .faq-layout {
    grid-template-columns: 1fr;
  }
  .band { grid-template-columns: 1fr 1fr; }
  .level-head { display: none; }
  .lvl-amt, .day-amt { text-align: left; }
  .day, .withdraw-row { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; }
  .section { padding: 72px 0; }
  .scene { height: 320px; }
  .ingot { width: 230px; height: 96px; }
  .ingot-stack { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
