/* Finders Keepers site. Palette locked by the branding spec: mint #2EE6B6, amber #FFC447, ink #0C1214. */
:root {
  --ink: #0C1214;
  --deep: #131B1E;        /* deepslate panel */
  --slate: #1C2629;       /* raised surface */
  --line: #273337;        /* borders, chunk lines */
  --bone: #E4ECE9;        /* body text */
  --fog: #8FA19D;         /* secondary text */
  --mint: #2EE6B6;
  --mint-dim: #1E9E7E;
  --amber: #FFC447;
  --on-mint: #062019;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
b { font-weight: 600; }
code, kbd {
  font: 500 .9em/1 var(--body);
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .15em .4em;
}
kbd { border-bottom-width: 2px; }
::selection { background: var(--mint); color: var(--on-mint); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--mint); color: var(--on-mint); padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--body);
  padding: .95em 1.35em;
  border-radius: var(--r-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 0 0 0 rgba(46,230,182,.0); }
.btn--primary:hover { background: #5BF0C9; }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: rgba(12,18,20,.55); color: var(--bone); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--mint-dim); color: #fff; }
.btn--sm { font-size: .875rem; padding: .6em .9em; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,18,20,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39,51,55,.6);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font: 700 1.02rem/1 var(--display); font-stretch: 112%; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--fog); text-decoration: none; font-size: .925rem; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { color: var(--bone); background: var(--deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 60px));
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,18,20,.94) 0%, rgba(12,18,20,.82) 34%, rgba(12,18,20,.15) 64%, rgba(12,18,20,0) 100%),
    linear-gradient(0deg, rgba(12,18,20,.9) 0%, rgba(12,18,20,0) 22%);
}
.hero__content { padding-top: 72px; padding-bottom: 88px; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__mark { width: 84px; height: 84px; margin: 0 0 28px -6px; }

.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(3.1rem, 10.5vw, 8.4rem);
  line-height: .86;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.title { width: fit-content; }
.title__line { display: block; }
.title__line + .title__line { color: transparent; -webkit-text-stroke: 2px var(--mint); }

.motto {
  margin: 28px 0 0;
  font: 600 clamp(1.25rem, 2.6vw, 1.75rem)/1.2 var(--display);
  font-stretch: 100%;
  display: flex; flex-wrap: wrap; gap: 0 .45em;
}
.motto span { opacity: 1; }
.free {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 18px 0 0;
  color: var(--amber);
  font: 700 1rem/1 var(--display);
  font-stretch: 118%;
  letter-spacing: .02em;
}
.free::before { content: ""; width: 10px; height: 10px; background: var(--amber); box-shadow: 0 0 14px rgba(255,196,71,.6); }
.lede { max-width: 34em; margin: 18px 0 0; color: var(--fog); font-size: 1.075rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { margin: 18px 0 0; font-size: .875rem; color: var(--fog); }

/* One orchestrated load: the motto steps in word by word while the scan sweeps. */
@media (prefers-reduced-motion: no-preference) {
  .js .motto span { opacity: 0; transform: translateY(6px); animation: step .5s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .motto span:nth-child(1) { animation-delay: .25s; }
  .js .motto span:nth-child(2) { animation-delay: .75s; }
  .js .motto span:nth-child(3) { animation-delay: 1.25s; color: var(--mint); }
  @keyframes step { to { opacity: 1; transform: none; } }
}
.motto span:nth-child(3) { color: var(--mint); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.h2 {
  margin: 0 0 16px;
  font: 800 clamp(1.9rem, 4.2vw, 2.9rem)/1.02 var(--display);
  font-stretch: 116%;
  letter-spacing: -.01em;
}
.section__intro { max-width: 40em; margin: 0 0 48px; color: var(--fog); font-size: 1.075rem; }
.note { color: var(--fog); font-size: .925rem; margin: 24px 0 0; }

/* ---------- video ---------- */
.video { background: linear-gradient(180deg, var(--ink), var(--deep)); }
.video .h2 { margin-bottom: 28px; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer;
  background: #000 center / cover no-repeat;
}
.player__poster::after { content: ""; position: absolute; inset: 0; background: rgba(12,18,20,.25); transition: background-color .2s; }
.player__poster:hover::after { background: rgba(12,18,20,.05); }
.player__play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: var(--mint); border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(46,230,182,.18);
  transition: transform .2s;
}
.player__play::after { content: ""; position: absolute; left: 34px; top: 26px; border: 16px solid transparent; border-left: 24px solid var(--on-mint); border-right: 0; }
.player__poster:hover .player__play { transform: scale(1.06); }
.player__empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(39,51,55,.45) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(39,51,55,.45) 27px 28px);
}
.player__empty svg { width: 64px; height: 64px; opacity: .9; }
.player__empty p { margin: 0; color: var(--fog); max-width: 26em; }
.player.is-ready .player__empty { display: none; }

/* ---------- features ---------- */
.stages {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stage { position: relative; padding: 36px 32px 8px 0; }
.stage + .stage { padding-left: 32px; border-left: 1px solid var(--line); }
.stage__n {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 20px;
  border: 1px solid var(--mint-dim); color: var(--mint);
  font: 700 .875rem/1 var(--display);
}
.stage:nth-child(3) .stage__n { border-color: rgba(255,196,71,.5); color: var(--amber); }
.stage__h {
  margin: 0;
  font: 900 clamp(1.8rem, 3.4vw, 2.5rem)/1 var(--display);
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.stage__p { margin: 12px 0 24px; color: var(--fog); }
.mods { list-style: none; margin: 0; padding: 0; }
.mods li { padding: 14px 0; border-top: 1px solid rgba(39,51,55,.7); color: var(--fog); font-size: .95rem; line-height: 1.5; }
.mods b { display: block; color: var(--bone); font-family: var(--display); font-stretch: 108%; font-size: 1.02rem; margin-bottom: 2px; }

.extras {
  margin-top: 56px;
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 28px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-md);
}
.extras__h { margin: 0; font: 800 1.25rem/1.2 var(--display); font-stretch: 112%; }
.extras__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 28px; }
.extras__list li { color: var(--fog); font-size: .95rem; line-height: 1.5; }
.extras__list b { color: var(--bone); margin-right: .3em; }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.needs { list-style: none; margin: 28px 0 0; padding: 0; }
.needs li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--fog); }
.needs li:first-child { border-top: 1px solid var(--line); }
.needs b { color: var(--bone); margin-right: .35em; }
.needs .ico { color: var(--mint); margin-top: .2em; }
.needs__opt .ico { color: var(--fog); }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 58px; color: var(--fog); }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -4px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--deep); border: 1px solid var(--line); color: var(--mint);
  font: 800 1rem/1 var(--display); font-stretch: 120%;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 1px; background: var(--line); }
.steps b { display: block; color: var(--bone); font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- downloads ---------- */
.versions { display: grid; gap: 10px; }
.ver {
  display: grid; grid-template-columns: minmax(140px, 1.1fr) 1fr 2.2fr auto; align-items: center; gap: 20px;
  padding: 18px 20px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-md);
}
.ver--latest { border-color: rgba(46,230,182,.45); background: linear-gradient(90deg, rgba(46,230,182,.07), var(--deep) 40%); }
.ver__v { font: 800 1.35rem/1 var(--display); font-stretch: 115%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ver__tag { font: 600 .75rem/1 var(--body); color: var(--on-mint); background: var(--mint); padding: 4px 7px; border-radius: 4px; }
.ver__mc { color: var(--bone); font-size: .95rem; }
.ver__mc span { display: block; color: var(--fog); font-size: .825rem; }
.ver__notes { color: var(--fog); font-size: .925rem; margin: 0; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font: 700 1.125rem/1.3 var(--display); font-stretch: 106%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq details p { margin: 0 0 22px; color: var(--fog); max-width: 38em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; background: var(--deep); }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__legal { margin: 0; color: var(--fog); font-size: .825rem; flex: 1 1 280px; }
.footer__link { color: var(--fog); font-size: .925rem; }
.footer__link:hover { color: var(--mint); }

/* ---------- tip dialog ---------- */
.tip {
  width: min(480px, calc(100vw - 32px));
  padding: 32px 28px 26px;
  background: var(--deep); color: var(--bone);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.tip::backdrop { background: rgba(6,10,11,.72); backdrop-filter: blur(3px); }
.tip[open] { animation: pop .22s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.tip__close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.tip__close { width: 36px; height: 36px; border: 0; background: transparent; color: var(--fog); font-size: 1.6rem; line-height: 1; cursor: pointer; border-radius: var(--r-sm); }
.tip__close:hover { color: var(--bone); background: var(--slate); }
.tip__mark { width: 44px; height: 44px; margin-bottom: 16px; }
.tip__h { margin: 0; font: 800 1.6rem/1.1 var(--display); font-stretch: 114%; }
.tip__p { margin: 10px 0 22px; color: var(--fog); }

.coins { display: flex; gap: 6px; padding: 4px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); }
.coin {
  flex: 1; padding: 9px 8px; border: 0; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: transparent; color: var(--fog); font: 600 .9rem/1 var(--body); cursor: pointer;
}
.coin__logo { width: 18px; height: 18px; flex: none; opacity: .6; transition: opacity .15s; }
.coin:hover { color: var(--bone); }
.coin:hover .coin__logo { opacity: 1; }
.coin[aria-selected="true"] { background: var(--slate); color: var(--bone); box-shadow: inset 0 -2px 0 var(--amber); }
.coin[aria-selected="true"] .coin__logo { opacity: 1; }

.wallet { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.wallet__qr { width: 112px; height: 112px; background: #fff; border-radius: var(--r-sm); padding: 8px; display: grid; place-items: center; }
.wallet__qr canvas, .wallet__qr img { width: 96px !important; height: 96px !important; image-rendering: pixelated; }
.wallet__qr.is-empty { background: var(--ink); border: 1px dashed var(--line); }
.wallet__label { display: flex; align-items: center; gap: 7px; font-size: .825rem; color: var(--fog); margin-bottom: 6px; }
.wallet__logo { width: 16px; height: 16px; flex: none; }
.wallet__row { display: flex; gap: 8px; }
.wallet__addr {
  flex: 1; min-width: 0; padding: 9px 10px;
  background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 500 .85rem/1.2 var(--body); text-overflow: ellipsis;
}
.wallet__hint { min-height: 1.3em; margin: 6px 0 0; font-size: .8rem; color: var(--mint); }

.tip__actions { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tip__fine { margin: 0; color: var(--fog); font-size: .825rem; flex: 1 1 140px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .stages { grid-template-columns: 1fr; border-top: 0; }
  .stage, .stage + .stage { padding: 32px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .extras { grid-template-columns: 1fr; }
  .install, .faq { grid-template-columns: 1fr; }
  .faq { gap: 8px; }
  .ver { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .ver__notes { grid-column: 1 / -1; grid-row: 3; }
  .ver .btn { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .hero { min-height: auto; }
  .hero__scrim { background: linear-gradient(0deg, rgba(12,18,20,.97) 0%, rgba(12,18,20,.86) 55%, rgba(12,18,20,.45) 100%); }
  .hero__content { padding-top: 48px; padding-bottom: 56px; }
  .hero__mark { width: 60px; height: 60px; margin-bottom: 22px; }
  .title__line + .title__line { -webkit-text-stroke-width: 1.5px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .wallet { grid-template-columns: 1fr; justify-items: center; }
  .wallet__text { width: 100%; }
  .tip { padding: 28px 18px 20px; }
  .tip__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
