/* ============================================================
   JIFFYRESOURCES — DESIGN SYSTEM · COMPONENTS
   ------------------------------------------------------------
   The reusable building blocks. Depends on jiffy-tokens.css —
   load tokens first, this second. Everything here is product-
   agnostic: drop these classes into any JiffyResources surface.
   ============================================================ */

/* ============================================================
   LAYOUT — section rhythm + 12-col grid helpers
   ============================================================ */
.section {
  padding: calc(120px * var(--density)) 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.section--tight  { padding: calc(80px * var(--density)) 32px; }
.section--narrow { max-width: 1100px; }
.section--wide   { max-width: 1680px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

.stack { display: flex; flex-direction: column; gap: 16px; }
.row   { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   EYEBROW — the gold kicker label above headings
   ============================================================ */
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ============================================================
   HEADINGS — display family, gold <em> highlight convention
   ============================================================ */
.display-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8.5vw, 144px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
  color: var(--ink);
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.display-1 em, .display-2 em, .display-3 em,
.accent-em { color: var(--gold); font-style: normal; }

.lead {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--lime-gradient);
  color: var(--on-lime);
  transition: transform 0.3s var(--ease-spring), filter 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--glow-lime);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); filter: none; }

.btn--gold { background: var(--gold); color: var(--on-lime); box-shadow: var(--glow-gold); }
.btn--gold:hover { background: var(--gold-deep); }

.btn--arrow .arrow {
  display: inline-block;
  width: 16px; height: 16px;
  transition: transform 0.4s var(--ease-out-expo);
}
.btn--arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   PILLS / BADGES — status labels (never colour-only: keep text)
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pill--green { background: var(--emerald-soft); color: var(--emerald); border-color: rgba(123, 220, 140, 0.18); }
.pill--green .dot { background: var(--emerald); }
.pill--coral { background: var(--coral-soft); color: var(--coral); border-color: rgba(240, 138, 106, 0.18); }
.pill--coral .dot { background: var(--coral); }
.pill--amber { background: var(--gold-soft); color: var(--amber); border-color: var(--line-soft); }
.pill--amber .dot { background: var(--amber); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease-out-quart), backdrop-filter 0.5s;
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--off) 88%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.brand-dot img { width: 100%; height: 100%; object-fit: cover; }

.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: color 0.3s, background 0.3s;
  position: relative;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.is-active {
  color: var(--on-lime);
  background: var(--lime-gradient);
  box-shadow: var(--glow-lime);
  font-weight: 600;
}
.nav-cta {
  background: var(--lime-gradient);
  color: var(--on-lime);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s var(--ease-spring), filter 0.3s, box-shadow 0.3s;
  box-shadow: var(--glow-lime);
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ============================================================
   CARD — the base surface. Compose everything else on top.
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.3s;
}
.card--raised {
  background: linear-gradient(165deg, var(--cream) 0%, var(--bg-2) 100%);
  border-color: var(--line);
  box-shadow: var(--glow-gold);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line);
}
.card--pad-lg { padding: 48px; border-radius: var(--r-xl); }

/* ---- FEATURE CARD --------------------------------------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 40px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line); }
.feature-card .ix {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
  color: var(--ink);
}
.feature-card p { color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ============================================================
   PROPERTY CARD — flagship data card pattern
   ============================================================ */
.prop-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.3s;
  position: relative;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line); }
.prop-card.is-selected { border-color: var(--gold); box-shadow: var(--glow-gold); }
.prop-card-media { height: 220px; background: var(--cream); position: relative; overflow: hidden; }
.prop-card-media .placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #1a3d2a 0%, #0e2a1e 100%); position: relative; }
.prop-card-media .placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 90%, rgba(232, 181, 60, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(141, 230, 90, 0.15) 0%, transparent 50%);
  opacity: 0.8;
}
.prop-card-media .placeholder::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(7, 20, 13, 0.85) 100%);
}
.prop-card-media .badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.prop-card-media .score-tag {
  position: absolute; top: 14px; right: 14px;
  background: color-mix(in oklch, var(--off) 70%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.prop-card-media .score-tag strong { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--gold); }
.prop-card-body { padding: 22px 24px; }
.prop-card-body .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prop-card-body .row1 .price { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.01em; line-height: 1; font-weight: 700; color: var(--ink); }
.prop-card-body .row1 .ppm { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.prop-card-body h3 { font-size: 15px; font-weight: 600; margin: 6px 0 4px; line-height: 1.3; color: var(--ink); }
.prop-card-body .loc { font-size: 13px; color: var(--ink-soft); }
.prop-card-stats {
  display: flex; gap: 12px;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--ink-soft);
}
.prop-card-stats div { display: inline-flex; align-items: center; gap: 6px; }
.prop-card-stats svg { width: 14px; height: 14px; }
.prop-card-scores {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.prop-card-scores .cell { text-align: center; padding: 6px 0; font-size: 11px; }
.prop-card-scores .cell + .cell { border-left: 1px solid var(--line-soft); }
.prop-card-scores .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--mute); letter-spacing: 0.06em; }
.prop-card-scores .val { font-weight: 600; font-size: 14px; margin-top: 2px; }

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.field { display: grid; gap: 8px; margin-bottom: 28px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.field-hint { font-size: 12px; color: var(--mute); }
.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-2);
  color: var(--ink);
  transition: border 0.3s, background 0.3s, box-shadow 0.3s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: var(--surface-2);
  box-shadow: var(--glow-gold);
}
.textarea { min-height: 120px; resize: vertical; }

/* ---- SEARCH INPUT (pill, leading icon) ------------------ */
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input {
  width: 100%;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  color: var(--ink);
  padding: 14px 18px 14px 50px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-family: inherit;
  transition: box-shadow 0.3s, border 0.3s;
}
.search-input:focus { outline: 0; border-color: var(--gold); box-shadow: var(--glow-gold); }
.search-input-wrap svg.lead { position: absolute; left: 18px; width: 18px; height: 18px; color: var(--mute); }

/* ============================================================
   PERSONA / SELECTABLE CARD
   ============================================================ */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.persona {
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 24px;
  cursor: pointer;
  position: relative;
  transition: border 0.3s, transform 0.3s var(--ease-out-quart), background 0.3s, box-shadow 0.3s;
}
.persona:hover { transform: translateY(-2px); border-color: var(--line); }
.persona.is-selected { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); box-shadow: var(--glow-gold); }
.persona .glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px; color: var(--gold); font-weight: 700;
}
.persona.is-selected .glyph { background: var(--gold); border-color: transparent; color: var(--on-lime); }
.persona h4 { font-family: var(--font-display); font-size: 22px; line-height: 1; margin: 18px 0 6px; font-weight: 700; color: var(--ink); }
.persona p { font-size: 13px; margin: 0; color: var(--ink-soft); }
.persona.is-selected p { color: var(--ink); }
.persona .check {
  position: absolute; top: 18px; right: 18px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  display: grid; place-items: center;
  transition: background 0.3s;
}
.persona.is-selected .check { background: var(--gold); border-color: transparent; }
.persona.is-selected .check::after {
  content: '';
  width: 5px; height: 10px;
  border: solid var(--on-lime); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ============================================================
   SLIDERS
   ============================================================ */
.sliders { display: grid; gap: 24px; }
.slider-row .slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.slider-row .slider-name { font-size: 14px; font-weight: 500; }
.slider-row .slider-val  { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  outline: 0;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 4px solid var(--off);
  box-shadow: 0 0 0 1px var(--gold), 0 0 12px rgba(232, 181, 60, 0.4);
  transition: transform 0.2s var(--ease-spring);
}
.slider-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-input::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 4px solid var(--off);
}

/* ============================================================
   SEGMENTED CONTROL
   ============================================================ */
.seg { display: inline-flex; background: var(--bg-2); padding: 4px; border-radius: var(--r-pill); gap: 2px; border: 1px solid var(--line-soft); }
.seg-opt {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink-soft);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.seg-opt.is-active { background: var(--lime-gradient); color: var(--on-lime); font-weight: 600; box-shadow: 0 0 12px rgba(141, 230, 90, 0.30); }

/* ============================================================
   CHIPS (multi-select)
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quart);
  font-family: inherit;
  color: var(--ink-soft);
}
.chip:hover { border-color: var(--line); color: var(--ink); }
.chip.is-selected { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); font-weight: 600; }

/* ============================================================
   DATA-VIZ · BREAKDOWN CARD (glass-box hover reasons)
   ============================================================ */
.bd-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s;
  position: relative;
}
.bd-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--glow-gold); }
.bd-card .bd-key { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.08em; }
.bd-card .bd-val { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); margin: 8px 0 4px; }
.bd-card .bd-name { font-size: 13px; color: var(--ink-soft); }
.bd-card .why {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s, padding-top 0.5s;
}
.bd-card:hover .why { max-height: 240px; opacity: 1; }

/* ---- SCORE BAR ------------------------------------------ */
.score-bar { display: grid; gap: 6px; }
.score-bar .score-bar-head { display: flex; justify-content: space-between; align-items: baseline; }
.score-bar .score-bar-name { font-size: 13px; color: var(--ink-soft); }
.score-bar .score-bar-val { font-family: var(--font-mono); font-size: 13px; color: var(--gold); font-weight: 600; }
.score-bar .track { height: 8px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.score-bar .fill { height: 100%; border-radius: var(--r-pill); background: var(--lime-gradient); box-shadow: 0 0 12px rgba(141, 230, 90, 0.4); transition: width 1s var(--ease-out-expo); }
.score-bar .fill--gold { background: var(--gold); box-shadow: 0 0 12px var(--gold-glow); }
.score-bar .fill--coral { background: var(--coral); box-shadow: none; }

/* ---- SCORE DIAL (SVG ring + centred figure) ------------- */
.dial { width: 280px; height: 280px; position: relative; margin: 0 auto; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial .center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.dial .num { font-family: var(--font-display); font-size: 86px; line-height: 0.9; letter-spacing: -0.03em; font-weight: 700; color: var(--lime); transition: color 0.5s; }
.dial .num.is-amber { color: var(--gold); }
.dial .num.is-coral { color: var(--coral); }
.dial .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.dial .delta { font-family: var(--font-mono); font-size: 13px; margin-top: 8px; font-weight: 600; }
.dial .delta.up { color: var(--lime); }
.dial .delta.dn { color: var(--coral); }

/* ---- FORMULA BLOCK (methodology) ------------------------ */
.formula {
  margin: 24px 0;
  padding: 22px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--lime);
  line-height: 1.6;
  overflow-x: auto;
}
.formula .var { color: var(--gold); }
.formula .comment { color: var(--mute); }

/* ---- METHOD CARD (formula + inputs) --------------------- */
.method-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: 48px; }
.method-card .ix { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.method-card h3 { font-family: var(--font-display); font-size: 40px; line-height: 1.05; margin: 14px 0 6px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.method-card h3 em { color: var(--gold); font-style: normal; }
.method-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; max-width: 66ch; margin: 0 0 12px; }
.method-card .inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.method-card .input-chip { padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.method-card .input-chip .k { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.method-card .input-chip .v { font-size: 13px; color: var(--ink); font-weight: 500; margin-top: 4px; }

/* ============================================================
   PRICING TIER
   ============================================================ */
.tier { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: 40px; position: relative; }
.tier.is-pro { background: linear-gradient(165deg, var(--cream) 0%, var(--bg-2) 100%); border-color: var(--gold); box-shadow: var(--glow-gold); }
.tier.is-pro::before {
  content: 'MOST CHOSEN';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--gold); color: var(--on-lime);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  border-radius: var(--r-pill);
}
.tier h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.tier .price { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin: 16px 0; }
.tier .price small { font-family: var(--font-mono); font-size: 13px; color: var(--mute); font-weight: 400; }
.tier ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.tier li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.tier li::before { content: '✓'; color: var(--lime); font-weight: 700; }

/* ============================================================
   TOAST (live delta notification)
   ============================================================ */
.toast {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-2);
  font-size: 14px; color: var(--ink);
}
.toast .toast-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--emerald-soft); color: var(--emerald); display: grid; place-items: center; flex: none; }
.toast .toast-ico.is-dn { background: var(--coral-soft); color: var(--coral); }
.toast .toast-delta { font-family: var(--font-mono); font-weight: 600; }
.toast .toast-delta.up { color: var(--emerald); }
.toast .toast-delta.dn { color: var(--coral); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.marquee-track { display: inline-flex; gap: 64px; white-space: nowrap; animation: scroll-x 38s linear infinite; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 36px; letter-spacing: -0.01em; }
.marquee-item .glyph { font-family: var(--font-body); font-size: 14px; color: var(--gold); border: 1px solid var(--line-soft); padding: 4px 10px; border-radius: var(--r-pill); background: var(--gold-soft); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   MOTION PRIMITIVES — pair with jiffy-motion.js
   Visible by default; animate transform only, so content is
   always readable even if the animation timeline is paused.
   ============================================================ */
.reveal { opacity: 1; transform: translateY(28px); transition: transform 0.9s var(--ease-out-expo); transition-delay: var(--d, 0s); }
.reveal.is-in { transform: translateY(0); }
.reveal-stagger > * { opacity: 1; transform: translateY(20px); transition: transform 0.8s var(--ease-out-expo); }
.reveal-stagger.is-in > * { transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 0.42s; }

/* ---- CUSTOM CURSOR -------------------------------------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background 0.3s, border-color 0.3s;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 48px; height: 48px; background: rgba(232, 181, 60, 0.12); border-color: var(--gold); }
