/* =========================================================
   Incues — "Your Wealth Has Clues"
   Light, warm-white fintech aesthetic · emerald + gold
   ========================================================= */

:root {
  --paper: #fbfaf6;
  --paper-2: #f4f1e9;
  --ink: #17251e;
  --ink-soft: #46564d;
  --emerald: #0e7c5b;
  --emerald-deep: #0a4634;
  --emerald-soft: #e3f0ea;
  --gold: #d99a2b;
  --gold-soft: #f7ecd6;
  --line: rgba(23, 37, 30, 0.1);
  --card-shadow: 0 2px 6px rgba(23, 37, 30, 0.05), 0 24px 48px -20px rgba(10, 70, 52, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-soft); color: var(--emerald-deep); }

em.ital { font-style: italic; color: var(--emerald); }

/* ===== Money canvas ===== */
#money-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main, .footer { position: relative; z-index: 1; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(23, 37, 30, 0.07);
  z-index: 100;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(251, 250, 246, 0.92);
  box-shadow: 0 12px 40px -12px rgba(10, 70, 52, 0.22);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--emerald-deep);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav__logo em { font-style: italic; color: var(--emerald); }
.nav__mark { width: 30px; height: 30px; color: var(--emerald); }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:hover { color: var(--emerald-deep); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--emerald-deep);
  color: #fdfcf8;
  box-shadow: 0 10px 24px -10px rgba(10, 70, 52, 0.55);
}
.btn--solid:hover {
  transform: translateY(-2px);
  background: var(--emerald);
  box-shadow: 0 16px 32px -12px rgba(10, 70, 52, 0.6);
}

.btn--ghost {
  color: var(--emerald-deep);
  border: 1.5px solid rgba(10, 70, 52, 0.28);
  background: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--emerald); background: #fff; }

.btn--gold {
  background: linear-gradient(135deg, #e8b04a, var(--gold));
  color: #3a2a08;
  box-shadow: 0 14px 30px -10px rgba(217, 154, 43, 0.6);
}
.btn--gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 40px -12px rgba(217, 154, 43, 0.7); }

.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

/* ===== Hero ===== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 34px) 4vw 48px;
  position: relative;
}

.hero__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--emerald-deep);
}
.hero__title .line { display: block; }

.clue-word {
  position: relative;
  font-style: italic;
  color: var(--emerald);
  white-space: nowrap;
}
.clue-underline {
  position: absolute;
  left: -2%; bottom: -0.18em;
  width: 104%;
  height: 0.28em;
  overflow: visible;
}
.clue-underline path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw-underline 1s ease 1.1s forwards;
}
@keyframes draw-underline { to { stroke-dashoffset: 0; } }

.hero__sub {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.13rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--emerald-soft);
  border: 1px solid rgba(14, 124, 91, 0.22);
  box-shadow: 0 10px 26px -16px rgba(10, 70, 52, 0.35);
}
.hero__trust svg { width: 34px; height: 34px; color: var(--emerald); flex-shrink: 0; }
.hero__trust-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--emerald-deep);
}
.hero__trust-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* load-in reveal */
.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise-in 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) var(--d, 0s) forwards;
}
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

/* ===== Dominant hero visual: the Incues lens scene ===== */
.hero__visual {
  position: relative;
  height: clamp(460px, calc(100svh - var(--nav-h) - 130px), 660px);
}

.scene-wrap {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(23, 37, 30, 0.08);
  box-shadow: 0 40px 80px -30px rgba(10, 70, 52, 0.35);
}

.scene {
  display: block;
  width: 100%;
  height: 100%;
}

/* bars grow up from the baseline, staggered */
.bar {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: bar-grow 1s cubic-bezier(0.22, 0.9, 0.3, 1) calc(0.75s + var(--bd, 0s)) both;
}
@keyframes bar-grow {
  from { transform: scaleY(0.06); }
  to { transform: scaleY(1); }
}

/* the golden trend line draws itself; the muted one stays dashed */
.trend--gold {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: trend-draw 2.4s ease 1s forwards;
}
@keyframes trend-draw { to { stroke-dashoffset: 0; } }

/* the whole lens drifts slowly, searching */
.lens-assembly { animation: lens-drift 11s ease-in-out infinite; }
@keyframes lens-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-16px, 10px); }
  66% { transform: translate(14px, -12px); }
}

.sun__rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: ray-spin 50s linear infinite;
}
@keyframes ray-spin { to { transform: rotate(360deg); } }

.sparkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 2.6s ease-in-out var(--td, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(0.5); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 1; }
}

.doc {
  transform-box: fill-box;
  animation: doc-float 7s ease-in-out var(--td, 0s) infinite;
}
@keyframes doc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.clue-pulse__ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: clue-pulse 2.2s ease-out infinite;
}
@keyframes clue-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3); opacity: 0; }
}

.fcard {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(23, 37, 30, 0.08);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  animation: floaty 6s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}
@keyframes floaty {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -14px; }
}

.fcard--networth {
  top: -26px; left: -34px;
  width: 235px;
  padding: 22px 24px;
  animation-delay: 0s;
  z-index: 3;
}
.fcard__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.fcard__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin: 4px 0 8px;
}
.fcard__delta { font-size: 0.85rem; font-weight: 600; color: var(--emerald); }

.sparkline { width: 100%; height: 48px; }
.sparkline__area { fill: url(#spark-grad), rgba(14, 124, 91, 0.12); fill: rgba(14, 124, 91, 0.12); }
.sparkline__line {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-underline 1.6s ease 1s forwards;
}

.fcard--score {
  right: -22px; top: 12%;
  width: 180px;
  padding: 20px 22px;
  text-align: center;
  animation-delay: 1.4s;
  z-index: 2;
}
.ring { position: relative; width: 110px; margin: 10px auto 6px; }
.ring svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--paper-2); stroke-width: 11; }
.ring__fill {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.ring.is-on .ring__fill { stroke-dashoffset: 69; } /* 78% of 314 */
.ring__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--emerald-deep);
}
.fcard__hint { font-size: 0.82rem; color: var(--ink-soft); }

.fcard--clue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 250px;
}
.fcard__spark { font-size: 1.4rem; }
.fcard__clue-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
}
.fcard__clue-text { font-size: 0.88rem; font-weight: 500; color: var(--ink); line-height: 1.4; }

.fcard--clue-1 { bottom: 16%; left: -38px; animation-delay: 0.8s; z-index: 4; }
.fcard--clue-2 { bottom: -24px; right: 12%; animation-delay: 2.2s; z-index: 3; }
.fcard--clue-3 { top: -20px; right: 15%; animation-delay: 3s; z-index: 2; width: 220px; }

/* hero scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(10, 70, 52, 0.3);
  border-radius: 16px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--gold);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== Docs marquee ===== */
.docs { padding: 40px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.docs__intro {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--emerald-deep);
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections shared ===== */
.section { padding: 110px 5vw; }
.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--emerald-deep);
}
.section__sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.9, 0.3, 1) var(--d, 0s),
              transform 0.8s cubic-bezier(0.22, 0.9, 0.3, 1) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ===== How it works ===== */
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.clue-trail {
  position: absolute;
  top: 58px;
  left: 4%;
  width: 92%;
  height: 60px;
  z-index: 0;
}
.clue-trail path {
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-dasharray: 2 14;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}
.clue-trail.is-in path { opacity: 0.8; animation: trail-march 1.2s linear infinite; }
@keyframes trail-march { to { stroke-dashoffset: -16; } }

.step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 32px 36px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
              opacity 0.8s cubic-bezier(0.22,0.9,0.3,1) var(--d, 0s);
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
}
.step__num {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.step__icon {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  transition: transform 0.35s ease, background 0.35s ease;
}
.step:hover .step__icon { transform: rotate(-6deg) scale(1.08); background: var(--gold-soft); }
.step__icon svg { width: 42px; height: 42px; }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin-bottom: 10px;
}
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== Insights ===== */
.insights { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #f2f6f1 50%, var(--paper) 100%); }
.ideas-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.idea-bubble {
  position: absolute;
  bottom: -60px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 154, 43, 0.35);
  box-shadow: 0 8px 24px -8px rgba(10, 70, 52, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-deep);
  white-space: nowrap;
  animation: bubble-rise linear forwards;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(var(--sway, 30px)) rotate(var(--tilt, 3deg)); opacity: 0; }
}

.grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
}
.card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease,
              opacity 0.8s cubic-bezier(0.22,0.9,0.3,1) var(--d, 0s);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: rgba(217, 154, 43, 0.45);
}
.card__icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  margin-bottom: 20px;
  transition: transform 0.35s ease;
}
.card:hover .card__icon { transform: scale(1.1) rotate(4deg); }
.card__icon svg { width: 34px; height: 34px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin-bottom: 8px;
}
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ===== Modes ===== */
.modes__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.mode {
  border-radius: 28px;
  padding: 44px 40px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
              opacity 0.8s cubic-bezier(0.22,0.9,0.3,1) var(--d, 0s);
}
.mode:hover { transform: translateY(-8px); box-shadow: var(--card-shadow); }
.mode--offline {
  background: var(--emerald-deep);
  color: #eef5f1;
  border-color: transparent;
}
.mode.mode--offline h3 { color: #fff; }
.mode.mode--offline p, .mode.mode--offline li { color: rgba(238, 245, 241, 0.88); }

.mode__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.mode__badge--online { background: var(--emerald-soft); color: var(--emerald-deep); }
.mode__badge--offline { background: rgba(255, 255, 255, 0.14); color: var(--gold); }
.mode__badge svg { width: 15px; height: 15px; }

.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--emerald);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mode h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin-bottom: 12px;
}
.mode p { color: var(--ink-soft); margin-bottom: 20px; }
.mode ul { list-style: none; }
.mode li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.mode li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== Promise ===== */
.promise__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.promise__col {
  border-radius: 26px;
  padding: 40px 38px;
  transition: transform 0.35s ease,
              opacity 0.8s cubic-bezier(0.22,0.9,0.3,1) var(--d, 0s);
}
.promise__col:hover { transform: translateY(-6px); }
.promise__col--do { background: var(--emerald-soft); border: 1px solid rgba(14, 124, 91, 0.18); }
.promise__col--dont { background: #fdf3f0; border: 1px solid rgba(196, 90, 60, 0.18); }

.promise__col h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--emerald-deep);
}
.promise__col--dont h3 { color: #a04a30; }
.tick, .cross {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}
.tick { background: var(--emerald); color: #fff; }
.cross { background: #c45a3c; color: #fff; }

.promise__col ul { list-style: none; }
.promise__col li {
  padding: 10px 0 10px 4px;
  border-bottom: 1px dashed rgba(23, 37, 30, 0.12);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.promise__col li:last-child { border-bottom: none; }

/* ===== Who ===== */
.who__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}
.whocard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 32px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
              opacity 0.8s cubic-bezier(0.22,0.9,0.3,1) var(--d, 0s);
}
.whocard:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: var(--card-shadow); }
.whocard__emoji { font-size: 2.6rem; display: block; margin-bottom: 16px; }
.whocard h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin-bottom: 8px;
}
.whocard p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== CTA ===== */
.cta { padding-bottom: 130px; }
.cta__box {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 40px;
  border-radius: 36px;
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(217, 154, 43, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff, #f6f3ea);
  border: 1px solid rgba(217, 154, 43, 0.3);
  box-shadow: 0 40px 80px -40px rgba(10, 70, 52, 0.3);
}
.cta__box h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--emerald-deep);
  margin-bottom: 18px;
}
.cta__box > p { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 34px; }
.cta__mail { margin-top: 22px; font-size: 0.92rem; color: var(--ink-soft); }
.cta__mail a { color: var(--emerald); font-weight: 600; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 48px 5vw;
}
.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--emerald);
  font-size: 1.05rem;
}
.footer__copy { color: var(--ink-soft); font-size: 0.88rem; }
.footer__copy a { color: var(--emerald); text-decoration: none; font-weight: 500; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .grid, .how__steps, .who__row { grid-template-columns: 1fr 1fr; }
  .clue-trail { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__visual { height: clamp(380px, 52vh, 520px); }
  .fcard--networth { width: 210px; padding: 18px 20px; left: 0; top: -24px; }
  .fcard--score { width: 165px; right: 0; }
  .fcard--clue, .fcard--clue-3 { width: 215px; }
  .fcard--clue-1 { left: 0; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { padding-left: 18px; }
  .grid, .how__steps, .who__row, .modes__row, .promise__cols { grid-template-columns: 1fr; }
  .section { padding: 80px 6vw; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero__visual { height: clamp(320px, 46vh, 430px); }
  .fcard--clue-2, .fcard--clue-3 { display: none; }
  .fcard--networth { width: 185px; padding: 14px 16px; top: -22px; left: 0; }
  .fcard--networth .fcard__value { font-size: 1.5rem; }
  .fcard--score { width: 150px; padding: 14px 16px; top: auto; bottom: -24px; right: 0; }
  .fcard--clue-1 { width: 200px; bottom: auto; top: 34%; left: 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-load { opacity: 1; transform: none; }
  #money-canvas { display: none; }
}
