/* The mint field stays above the exhibit while the first scroll carries it out of the hero. */
.home-hero {
  --hero-inset: clamp(25px,6vw,84px);
  --dock-shift: 0px;
  --dock-lift: 0px;
  --dock-halo: 0;
  padding-bottom: clamp(12px,2vw,28px);
}
.hero-copy {
  min-height: 0;
  padding: var(--hero-inset);
  padding-bottom: 153px;
  justify-content: flex-start;
}
.hero-copy h1 {
  max-width: 1100px;
  font-size: clamp(3.2rem,6.85vw,6.35rem);
  line-height: .94;
  margin-bottom: 0;
}
.hero-carry {
  min-height: clamp(247px,37svh,355px);
  margin-top: -112px;
  padding-inline: var(--hero-inset);
  position: relative;
  z-index: 3;
}
.hero-dock {
  position: sticky;
  top: clamp(110px,39svh,322px);
  width: min(100%,632px);
  isolation: isolate;
  transform: translate(var(--dock-shift),var(--dock-lift));
}
.hero-dock::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -13px;
  border: 1px solid #504173;
  border-radius: 16px;
  background: #100c19;
  box-shadow: 0 13px 38px #0009, 0 0 44px #a489f12d;
  opacity: var(--dock-halo);
  pointer-events: none;
}
.hero-dock .hero-lookup { width: 100%; margin: 0; }
.dock-mark { width: 24px; height: 24px; flex: none; margin-left: 8px; color: #bfaefb; }
.hero-dock .home-quick { margin-top: 13px; color: #312348; }
.hero-dock .home-quick a { background: #c6bbfa; border-color: #9080d0; color: var(--accent-ink); }
.hero-dock .home-quick a:hover { background: var(--pale); border-color: #6e5eb2; }
.hero-dock[data-docked] .home-quick { color: #daccf1; }
.hero-dock[data-docked] .home-quick a { background: #211932; border-color: #655485; color: #f5edff; }
.hero-dock[data-docked] .home-quick a:hover { background: #33264d; }
.hero-dock[data-docked] #home-search { border-color: #b29df0; }
#home-search:focus-within { outline-offset: 2px; outline-color: #e0d4ff; }
.hero-dock .matches { z-index: 2; }

.showcase { scroll-margin-top: 76px; padding-bottom: clamp(28px,6vw,76px); }
.showcase-header {
  padding: 0 0 19px;
  margin-bottom: 13px;
  border-bottom: 1px solid #332940;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}
.showcase-header h2 { color: #f9f5ff; font-size: clamp(1.32rem,2.7vw,2rem); line-height: 1; letter-spacing: -.06em; }
.showcase-shortcut { color: #ddceff; font-size: .82rem; padding: 3px 0; white-space: nowrap; }
.showcase-shortcut:hover { text-decoration: underline; text-underline-offset: .3em; }
.feature-shot {
  --shot-accent: #bcabfb;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(245px,.67fr) minmax(0,1.33fr);
  align-items: center;
  gap: clamp(23px,4.3vw,64px);
  min-height: clamp(360px,43vw,535px);
  margin-bottom: 13px;
  border: 1px solid #382d48;
  border-radius: 18px;
  padding: clamp(22px,4.25vw,62px);
  background: radial-gradient(ellipse at 87% 48%,#28203c 0%,#16101f 39%,#0c0a11 76%);
}
.feature-money { --shot-accent: #b2c7f4; background: radial-gradient(ellipse at 87% 48%,#1b263c 0%,#101522 44%,#0b0a10 76%); border-color: #283740; }
.feature-safety { --shot-accent: #efc29c; background: radial-gradient(ellipse at 87% 48%,#302225 0%,#1c131a 45%,#0c0a11 77%); border-color: #403035; }
.feature-copy { min-width: 0; }
.tool-mark {
  width: 53px;
  height: 53px;
  display: inline-grid;
  place-items: center;
  color: var(--shot-accent,#c8b7ff);
  border: 1px solid color-mix(in srgb,currentColor 36%,transparent);
  background: color-mix(in srgb,currentColor 11%,transparent);
  border-radius: 12px 12px 12px 3px;
}
.tool-mark svg { width: 31px; height: 31px; }
.feature-copy h3 {
  margin: 15px 0 9px;
  font-size: clamp(2.3rem,4.1vw,4.05rem);
  line-height: .95;
  color: #fffaff;
  font-weight: 665;
  letter-spacing: -.078em;
}
.feature-copy sup, .showcase-index sup { color: var(--shot-accent,#c8b7ff); font: 550 .56rem var(--mono); vertical-align: super; margin-left: 4px; letter-spacing: 0; }
.feature-copy p { max-width: 30ch; color: #d1c7dd; font-size: clamp(.97rem,1.32vw,1.12rem); line-height: 1.42; }
.feature-action {
  display: inline-flex;
  place-items: center;
  min-height: 40px;
  margin-top: 22px;
  padding: 7px 13px;
  background: #17121f;
  border: 1px solid #59486e;
  border-radius: 7px;
  color: #f4eeff;
  font-size: .85rem;
  font-weight: 620;
}
.feature-action:hover { background: #322547; border-color: #b6a0e8; }
.feature-visual {
  margin: 0;
  min-width: 0;
  min-height: clamp(260px,29vw,385px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #0b0911;
  border: 1px solid color-mix(in srgb,var(--shot-accent) 27%,#1b1625);
  border-radius: 12px;
  box-shadow: 0 19px 55px #0006;
}
.visual-head, .visual-foot {
  padding: 10px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  color: #c5bad4;
  background: #110e19;
  font: .71rem/1.3 var(--mono);
}
.visual-head { border-bottom: 1px solid #2c243a; }
.visual-head span { display: inline-flex; align-items: center; gap: 7px; color: #fbf6ff; font-weight: 600; }
.visual-head i { width: 6px; height: 6px; background: var(--shot-accent); border-radius: 50%; }
.visual-head small { color: #c5bad4; font: inherit; }
.visual-foot { border-top: 1px solid #2c243a; }
#home-wallet-map { display: block; width: 100%; min-height: 0; height: 100%; aspect-ratio: 2.05; overflow: hidden; }
#home-wallet-map line { stroke: #a790dd; opacity: .41; vector-effect: non-scaling-stroke; }
#home-wallet-map circle { stroke: #a38bcb; fill: #26203b; vector-effect: non-scaling-stroke; }
#home-wallet-map circle.funded { fill: #7a61bf; }
#home-wallet-map circle.primary-wallet { fill: #c3afff; stroke: #ebdeff; stroke-width: 1.75px; }
.ledger-flow { min-height: 170px; display: grid; grid-template-columns: minmax(0,.86fr) minmax(36px,.30fr) minmax(0,1fr); align-items: center; padding: clamp(14px,4vw,44px); }
.ledger-inputs { display: grid; gap: 13px; }
.ledger-inputs > div, .ledger-result { border: 1px solid #293d59; background: #10192a; border-radius: 8px; padding: 10px; min-width: 0; }
.ledger-inputs b, .ledger-result b { display: block; color: #e1edff; font-size: .85rem; font-weight: 650; }
.ledger-inputs span, .ledger-result span { display: block; margin-top: 3px; color: #b3c4e5; font-size: .69rem; }
.ledger-result { display: flex; align-items: center; gap: 8px; border-color: #7798d2; }
.ledger-result svg { width: 29px; height: 29px; flex: none; color: #b8cefd; }
.ledger-connector { position: relative; height: 54px; border-top: 1px solid #50668e; border-bottom: 1px solid #50668e; border-right: 1px solid #50668e; margin-right: 48%; }
.ledger-connector::after { content: ''; width: 90%; border-bottom: 1px solid #50668e; position: absolute; left: 100%; top: calc(50% - .5px); }
.ledger-connector i { position: absolute; top: calc(50% - 3px); right: -4px; width: 6px; height: 6px; border-radius: 50%; background: #b6cafa; box-shadow: 0 0 12px #b6cafa8a; }
.safety-signals { align-self: center; display: grid; gap: 13px; padding: clamp(14px,3.5vw,38px); }
.safety-signals > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #342733; padding-bottom: 10px; }
.safety-signals dt { color: #d5c7d6; font-size: .85rem; }
.safety-signals dd { color: #f7d8b8; font: 600 1.14rem var(--mono); }
.signal-meter { width: 100%; height: 3px; background: #322733; }
.signal-meter i { display: block; width: var(--signal,0%); height: 100%; background: #dfae8b; transform-origin: left; }
.showcase-index { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.showcase-index > a { display: flex; flex-direction: column; gap: 6px; padding: 13px; min-width: 0; min-height: 135px; border: 1px solid #352b42; border-radius: 10px; background: #100d17; }
.showcase-index > a:hover { background: #20182d; border-color: #765e97; }
.showcase-index .tool-mark { width: 36px; height: 36px; border-radius: 8px 8px 8px 2px; margin-bottom: 3px; }
.showcase-index .tool-mark svg { width: 23px; height: 23px; }
.showcase-index strong { color: #f8f0ff; font-size: .94rem; letter-spacing: -.025em; line-height: 1.17; }
.showcase-index a > span:last-child { color: #bfb1cc; font-size: .78rem; line-height: 1.3; }

@media (prefers-reduced-motion: no-preference) {
  .showcase[data-motion] [data-reveal] { opacity: .18; transform: translateY(30px); }
  .showcase[data-motion] [data-reveal] .feature-visual { transform: translateY(26px) scale(.98); }
  .showcase[data-motion] [data-reveal] { transition: opacity .64s ease,transform .79s cubic-bezier(.18,.74,.24,1); }
  .showcase[data-motion] [data-reveal] .feature-visual { transition: transform 1s cubic-bezier(.18,.74,.24,1); }
  .showcase[data-motion] [data-reveal].is-visible,
  .showcase[data-motion] [data-reveal]:focus-within { opacity: 1; transform: none; }
  .showcase[data-motion] [data-reveal].is-visible .feature-visual,
  .showcase[data-motion] [data-reveal]:focus-within .feature-visual { transform: none; }
  .is-visible #home-wallet-map circle { animation: wallet-arrive .57s both cubic-bezier(.2,.7,.26,1); animation-delay: calc(var(--node-order) * 18ms); transform-box: fill-box; transform-origin: center; }
  .is-visible #home-wallet-map line { animation: link-arrive 1s both ease; }
  .is-visible .ledger-inputs > div { animation: data-arrive .6s .2s both ease; }
  .is-visible .ledger-inputs > div + div { animation-delay: .31s; }
  .is-visible .ledger-result { animation: data-arrive .6s .54s both ease; }
  .is-visible .signal-meter i { animation: signal-arrive .86s .22s both cubic-bezier(.2,.74,.24,1); }
}
@keyframes wallet-arrive { from { opacity: 0; transform: scale(.22); } to { opacity: 1; transform: scale(1); } }
@keyframes link-arrive { from { opacity: 0; } to { opacity: .41; } }
@keyframes data-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes signal-arrive { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 810px) {
  .feature-shot { grid-template-columns: minmax(0,1fr); gap: 22px; min-height: 0; }
  .feature-visual { min-height: 270px; }
  .showcase-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 530px) {
  .home-hero { --hero-inset: 19px; }
  .hero-copy { padding: 28px var(--hero-inset) 130px; }
  .hero-copy h1 { font-size: clamp(2.65rem,10.7vw,3.85rem); }
  .hero-carry { margin-top: -104px; min-height: clamp(212px,28svh,252px); }
  .hero-dock { top: clamp(91px,30svh,206px); }
  .hero-dock::before { inset: -8px; }
  .dock-mark { width: 17px; height: 17px; margin-left: 3px; }
  #home-search { gap: 4px; }
  #home-search button.primary { padding-inline: 7px; font-size: .75rem; }
  .feature-shot { padding: 15px; border-radius: 13px; }
  .feature-visual { min-height: 215px; }
  .showcase-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ledger-flow { padding: 9px; grid-template-columns: minmax(0,.9fr) 27px minmax(0,1.1fr); }
  .ledger-result { padding: 8px; gap: 5px; }
  .ledger-result svg { width: 20px; height: 20px; }
  .visual-head,.visual-foot { padding-inline: 8px; font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carry { min-height: 0; }
  .home-hero { padding-bottom: 60px; }
  .hero-dock { position: static; transform: none; }
}
