html { scroll-behavior: smooth; }

body { line-height: 1.6; }

.serif { font-family: 'Fraunces', serif; }

/* ─── Top nav ─── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(244, 248, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.logo em {
  font-style: italic;
  color: var(--sage-600);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.65;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}

.nav-link:hover { opacity: 1; }

.nav-cta {
  padding: 8px 18px;
  background: var(--sage-700);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--sage-800); }

/* ─── Hero ─── */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-weight: 600;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sage-400);
  opacity: 0.5;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-600);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.7;
  max-width: 580px;
  margin: 0 auto 48px;
}

/* Decorative floating marks */
.hero-mark {
  position: absolute;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--sage-300);
  opacity: 0.35;
  pointer-events: none;
}

.hero-mark.tl {
  top: 10%;
  left: 8%;
  font-size: 80px;
  transform: rotate(-12deg);
}

.hero-mark.tr {
  top: 18%;
  right: 6%;
  font-size: 60px;
  transform: rotate(15deg);
}

.hero-mark.bl {
  bottom: -10px;
  left: 12%;
  font-size: 48px;
  transform: rotate(8deg);
}

/* ─── CTA cards ─── */
.cta-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 40px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: 0 20px 50px rgba(31, 58, 46, 0.08);
}

.cta-card.user::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(143, 181, 158, 0.18), transparent 60%);
  transition: transform 0.4s;
}

.cta-card.user:hover::before {
  transform: scale(1.15);
}

.cta-card.business::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(132, 165, 190, 0.18), transparent 60%);
  transition: transform 0.4s;
}

.cta-card.business:hover::before {
  transform: scale(1.15);
}

.cta-emoji {
  font-size: 44px;
  line-height: 1;
  position: relative;
}

.cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-weight: 700;
  position: relative;
}

.cta-card.business .cta-eyebrow {
  color: var(--blue-600);
}

.cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-title em {
  font-style: italic;
  color: var(--sage-600);
}

.cta-card.business .cta-title em {
  color: var(--blue-600);
}

.cta-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 8px;
  position: relative;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
}

.cta-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.cta-feature::before {
  content: '✦';
  color: var(--sage-500);
  font-style: italic;
  font-family: 'Fraunces', serif;
  flex-shrink: 0;
  margin-top: 1px;
}

.cta-card.business .cta-feature::before {
  color: var(--blue-500);
}

.cta-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  position: relative;
}

.cta-action-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.cta-card.business .cta-action-text {
  color: var(--blue-700);
}

.cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s;
}

.cta-card.business .cta-arrow {
  background: var(--blue-50);
  color: var(--blue-700);
}

.cta-card:hover .cta-arrow {
  transform: translateX(4px);
}

/* ─── Trust strip ─── */
.trust {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 32px;
}

.trust-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--sage-600);
}

.trust-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.trust-title em {
  font-style: italic;
  color: var(--sage-600);
}

.trust-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.65;
}

/* ─── Why Fintir ─── */
.why-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 32px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--sage-400);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-title em {
  font-style: italic;
  color: var(--sage-600);
}

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.7;
  max-width: 620px;
  margin-bottom: 48px;
}

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

.why-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.2s;
}

.why-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage-200);
}

.why-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--sage-500);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1;
}

.why-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.why-title em {
  font-style: italic;
  color: var(--sage-600);
}

.why-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.7;
}

/* ─── Bottom CTA ─── */
.bottom-cta {
  background: linear-gradient(135deg, var(--sage-700), var(--blue-700));
  padding: 80px 32px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 60%);
}

.bottom-cta::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143, 181, 158, 0.15), transparent 60%);
}

.bottom-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.bottom-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.bottom-cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.bottom-cta-title em {
  font-style: italic;
  color: var(--gold-light);
}

.bottom-cta-sub {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 36px;
}

.bottom-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 30px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.15s;
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  padding: 14px 30px;
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(251, 252, 252, 0.4);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(251, 252, 252, 0.05);
}

/* ─── Footer ─── */
footer {
  padding: 48px 32px 32px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 18px;
}

.footer-brand em {
  font-style: italic;
  color: var(--sage-600);
}

.footer-meta {
  font-size: 12px;
  opacity: 0.55;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.footer-links a {
  color: var(--ink);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-links a:hover { opacity: 1; }

/* ─── Responsive ─── */
@media (max-width: 800px) {
  .cta-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .nav-link.hide-mobile { display: none; }
  .hero { padding: 60px 20px 50px; }
  .cta-section, .why-section { padding: 0 20px; }
  .cta-section { padding-bottom: 50px; }
  .why-section { padding: 60px 20px; }
  .hero-mark.tr, .hero-mark.bl { display: none; }
}

@media (max-width: 540px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════ ENHANCEMENTS — interactive hero, motion, polish ═══════════════ */

/* Scroll reveal (hidden only once JS adds .reveal-motion → safe if JS fails) */
.reveal-motion [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.trust-item:nth-child(2), .why-card:nth-child(2), .cta-card.business { transition-delay: .08s; }
.trust-item:nth-child(3), .why-card:nth-child(3) { transition-delay: .16s; }
.hero-visual[data-reveal] { transition-delay: .08s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-bg .blob, .phone, .app-live .dot { animation: none !important; }
}

/* ─── Hero: two-column, product-forward ─── */
.hero {
  max-width: 1200px; padding: 72px 32px 96px; text-align: left; overflow: hidden;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-title { font-size: clamp(42px, 5.6vw, 76px); }
.hero-sub { margin: 0 0 32px; max-width: 520px; }
.rotate-word { display: inline-block; transition: opacity .24s ease, transform .24s ease; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.h-btn { padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: transform .15s, box-shadow .2s, background .15s, border-color .15s; }
.h-btn.primary { background: var(--sage-700); color: var(--cream); box-shadow: 0 10px 24px rgba(46,83,67,.22); }
.h-btn.primary:hover { transform: translateY(-2px); background: var(--sage-800); box-shadow: 0 16px 34px rgba(46,83,67,.30); }
.h-btn.ghost { background: transparent; color: var(--sage-700); border: 1px solid var(--line-strong); }
.h-btn.ghost:hover { border-color: var(--sage-400); transform: translateY(-2px); }
.hero-assure { font-size: 12.5px; color: var(--sage-700); opacity: .8; font-weight: 500; }

/* Animated backdrop */
.hero-bg { position: absolute; inset: -12% -6% 0; z-index: 0; pointer-events: none; filter: blur(10px); }
.hero-bg .blob { position: absolute; border-radius: 50%; opacity: .5; mix-blend-mode: multiply; animation: drift 20s ease-in-out infinite; }
.hero-bg .b1 { width: 460px; height: 460px; top: -120px; left: -60px; background: radial-gradient(circle at 30% 30%, rgba(143,181,158,.55), transparent 62%); }
.hero-bg .b2 { width: 520px; height: 520px; top: -80px; right: -100px; background: radial-gradient(circle at 60% 40%, rgba(132,165,190,.5), transparent 62%); animation-delay: -7s; }
.hero-bg .b3 { width: 380px; height: 380px; bottom: -180px; left: 40%; background: radial-gradient(circle at 50% 50%, rgba(224,200,134,.42), transparent 60%); animation-delay: -13s; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(26px,-20px) scale(1.06); } 66% { transform: translate(-18px,16px) scale(.97); } }
.hero-mark.tl { top: 5%; left: 2%; z-index: 1; font-size: 64px; }
.hero-mark.bl { bottom: 4%; left: 45%; z-index: 1; opacity: .25; }

/* ─── Hero visual: taste chips + interactive phone ─── */
.hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.taste-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 330px; }
.taste-chip { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; transition: all .18s; }
.taste-chip:hover { border-color: var(--sage-400); transform: translateY(-1px); }
.taste-chip.active { background: var(--sage-700); color: var(--cream); border-color: var(--sage-700); box-shadow: 0 8px 18px rgba(46,83,67,.22); }

.phone { position: relative; width: 300px; padding: 12px; background: linear-gradient(160deg, #20342A, #2E5343); border-radius: 42px; box-shadow: 0 34px 74px rgba(31,58,46,.30), inset 0 1px 0 rgba(255,255,255,.12); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-glow { position: absolute; inset: -46px; z-index: -1; background: radial-gradient(circle at 50% 40%, rgba(201,169,97,.22), transparent 60%); }
.phone-screen { background: var(--cream); border-radius: 32px; padding: 20px 18px; min-height: 384px; display: flex; flex-direction: column; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.app-brand { font-family: 'Fraunces', serif; font-size: 17px; }
.app-brand em { font-style: italic; color: var(--sage-600); }
.app-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sage-600); }
.app-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-500); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,126,104,.5); } 70% { box-shadow: 0 0 0 7px rgba(79,126,104,0); } 100% { box-shadow: 0 0 0 0 rgba(79,126,104,0); } }
.app-hint { font-size: 12.5px; color: var(--ink); opacity: .6; margin-bottom: 12px; }
.app-hint strong { color: var(--sage-700); font-weight: 700; }
.fy-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 12px 26px rgba(31,58,46,.08); flex: 1; }
.fy-card::before, .fy-card::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -7px; height: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; z-index: -1; opacity: .7; }
.fy-card::after { left: 16px; right: 16px; bottom: -13px; opacity: .45; }
.fy-card.swap { animation: cardIn .42s cubic-bezier(.2,.7,.2,1); }
@keyframes cardIn { from { opacity: .3; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.fy-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fy-tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); background: var(--sage-50); padding: 4px 9px; border-radius: 999px; }
.fy-when { font-size: 11px; color: var(--ink); opacity: .5; }
.fy-emoji { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.fy-title { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 6px; }
.fy-reason { font-size: 12.5px; line-height: 1.5; color: var(--ink); opacity: .6; margin-bottom: 16px; }
.fy-claim { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cream); background: var(--sage-700); padding: 9px 16px; border-radius: 999px; }
.app-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 10.5px; color: var(--ink); opacity: .5; }
.app-shield { color: var(--sage-600); font-weight: 700; opacity: .9; }

/* ─── Why-card polish ─── */
.why-card { position: relative; overflow: hidden; }
.why-card::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--sage-400), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { box-shadow: 0 16px 36px rgba(31,58,46,.08); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; text-align: center; padding: 56px 20px 72px; justify-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-copy { max-width: 560px; }
  .hero-mark.bl { display: none; }
}
@media (max-width: 380px) { .phone { width: 100%; max-width: 300px; } }

/* ═══════════════ SHOWCASE — scroll story (rewards → insights → waitlist) ═══════════════ */
.showcase { overflow: hidden; }
.beat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 32px;
  min-height: 72vh;
}
.beat.reverse .beat-visual { order: -1; }

.beat-kicker {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage-600); font-weight: 700; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.beat-kicker::before { content: ''; width: 26px; height: 1px; background: var(--sage-400); }
.beat-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.beat-title em { font-style: italic; color: var(--sage-600); }
.beat-desc { font-size: 16.5px; line-height: 1.7; color: var(--ink); opacity: 0.72; max-width: 440px; }

/* Directional scroll reveal (gated on .reveal-motion → safe if JS fails) */
.reveal-motion [data-beat] .beat-copy,
.reveal-motion [data-beat] .beat-visual { opacity: 0; }
[data-beat].is-visible .beat-copy { animation: beatRise .85s cubic-bezier(.2,.7,.2,1) both; }
[data-beat].is-visible .beat-visual { animation: beatInRight 1s cubic-bezier(.2,.7,.2,1) .12s both; }
[data-beat].reverse.is-visible .beat-visual { animation-name: beatInLeft; }

@keyframes beatRise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes beatInRight { from { opacity: 0; transform: translateX(72px); } to { opacity: 1; transform: none; } }
@keyframes beatInLeft { from { opacity: 0; transform: translateX(-72px); } to { opacity: 1; transform: none; } }

/* Reward stack */
.reward-stack { display: flex; flex-direction: column; gap: 14px; }
.rw-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px; box-shadow: 0 16px 36px rgba(31,58,46,.08);
}
.rw-card:nth-child(2) { margin-left: 40px; }
.rw-card:nth-child(3) { margin-left: 80px; }
.reveal-motion [data-beat] .rw-card { opacity: 0; }
[data-beat].is-visible .rw-card { animation: cardPop .7s cubic-bezier(.2,.7,.2,1) both; }
[data-beat].is-visible .rw-card:nth-child(1) { animation-delay: .22s; }
[data-beat].is-visible .rw-card:nth-child(2) { animation-delay: .42s; }
[data-beat].is-visible .rw-card:nth-child(3) { animation-delay: .62s; }

@keyframes cardPop { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
.rw-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rw-tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); background: var(--sage-50); padding: 4px 9px; border-radius: 999px; }
.rw-emoji { font-size: 24px; line-height: 1; }
.rw-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 3px; }
.rw-sub { font-size: 12.5px; color: var(--ink); opacity: .6; }

/* Insight panel */
.insight-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: 0 24px 54px rgba(31,58,46,.10); max-width: 400px;
}
.ip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.ip-head span:first-child { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; }
.ip-meta { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); opacity: .45; }
.ip-trend { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ip-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; background: var(--sage-50); }
.ip-ico.down { background: var(--blue-50); }
.ip-ico.new { background: rgba(201,169,97,.14); }
.ip-info { flex: 1; }
.ip-line { font-size: 13.5px; font-weight: 600; }
.ip-line em { font-style: normal; color: var(--sage-600); }
.ip-line em.dn { color: var(--blue-500); }
.ip-note { font-size: 11.5px; color: var(--ink); opacity: .55; }
.ip-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; flex-shrink: 0; }
.ip-bars i { width: 6px; border-radius: 2px; background: var(--sage-200); height: var(--h); }
.ip-bars i.on { background: var(--sage-500); }
.ip-bars i.dn { background: var(--blue-200); }
.ip-bars i.dn.on { background: var(--blue-400); }
.reveal-motion [data-beat] .ip-bars i { height: 0; transition: height .7s cubic-bezier(.2,.7,.2,1); }
[data-beat].is-visible .ip-bars i { height: var(--h); }
[data-beat].is-visible .ip-bars i:nth-child(2) { transition-delay: .06s; }
[data-beat].is-visible .ip-bars i:nth-child(3) { transition-delay: .12s; }
[data-beat].is-visible .ip-bars i:nth-child(4) { transition-delay: .18s; }
[data-beat].is-visible .ip-bars i:nth-child(5) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-beat] .beat-copy, [data-beat] .beat-visual, [data-beat] .rw-card { opacity: 1 !important; transform: none !important; }
  [data-beat] .ip-bars i { height: var(--h) !important; }
}

@media (max-width: 900px) {
  .beat { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 56px 22px; text-align: center; }
  .beat.reverse .beat-visual { order: 0; }
  .beat-kicker { justify-content: center; }
  .beat-desc { margin: 0 auto; }
  .reward-stack { align-items: center; }
  .rw-card { width: 100%; max-width: 340px; text-align: left; }
  .rw-card:nth-child(2), .rw-card:nth-child(3) { margin-left: 0; }
  .insight-panel { margin: 0 auto; }
  /* on mobile, come straight up (no horizontal slide) */
  .reveal-motion [data-beat] .beat-visual, .reveal-motion [data-beat].reverse .beat-visual { transform: translateY(30px); }
}
