/* Founder traps v2 — faithful port of Тест для фаундеров v2.dc.html */

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

body.ft-body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ft-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

@keyframes ftin {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes ftnum {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: .55; }
}
@keyframes drawline {
  from { opacity: 0; stroke-dashoffset: 240; }
  to { opacity: .7; stroke-dashoffset: 0; }
}
@keyframes heroln {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-in, .ft-big-num, .ft-plot-anim * { animation: none !important; transition: none !important; }
}

.ft-root {
  min-height: 100vh;
  transition: background .5s ease;
  color: #0B1020;
  background: radial-gradient(115% 80% at 90% -10%, #E7ECFF 0%, #EEF1FB 34%, #FFFFFF 72%);
}

.ft-root.is-dark {
  color: #EAEDF5;
  background: radial-gradient(95% 70% at 82% -5%, rgba(59, 91, 255, .22), transparent 58%), #080B16;
}

.ft-main {
  max-width: var(--site-content-max, 1180px);
  margin: 0 auto;
  padding: 0 var(--site-content-x, 40px) clamp(48px, 8vw, 80px);
}

.ft-in { animation: ftin .5s cubic-bezier(.2, .7, .2, 1); }
.ft-in-q { animation: ftin .45s cubic-bezier(.2, .7, .2, 1); }

.ft-in-q.is-step {
  animation: none;
}

.ft-in-q.is-static,
.ft-in-q.is-static .ft-big-num {
  animation: none !important;
}

.ft-in-q.is-step .ft-big-num {
  animation: ftnum .55s cubic-bezier(.2, .7, .2, 1);
}

.ft-in-q:not(.is-step) .ft-big-num {
  animation: ftnum .55s cubic-bezier(.2, .7, .2, 1);
}

/* intro */
.ft-intro-eye {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
}

.ft-intro-eye-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B5BFF;
}

.ft-intro-eye-txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3B5BFF;
}

.ft-h1-intro {
  font-size: clamp(40px, 8.5vw, 76px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.ft-accent {
  background: linear-gradient(96deg, #2F4BFF 0%, #5B7CFF 48%, #6FB7F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ft-intro-lead {
  font-size: clamp(16px, 2.3vw, 19px);
  color: #5A6172;
  line-height: 1.62;
  max-width: 600px;
  margin-bottom: 46px;
}

.ft-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-top: 1px solid #DCE2EE;
  border-bottom: 1px solid #DCE2EE;
  padding: 26px 0;
  margin-bottom: 40px;
}

.ft-preview-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9AA0AE;
  margin-bottom: 8px;
}

.ft-preview-txt {
  font-size: 15.5px;
  font-weight: 600;
  color: #0B1020;
  line-height: 1.45;
  max-width: 420px;
}

.ft-preview svg {
  width: clamp(160px, 30vw, 220px);
  height: auto;
  display: block;
}

.ft-start-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.ft-btn-start {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #3B5BFF;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 34px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s, box-shadow .2s, transform .12s;
}

.ft-btn-start:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 30px rgba(59, 91, 255, .32);
  transform: translateX(2px);
}

.ft-start-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9AA0AE;
}

/* question */
.ft-q-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.ft-q-eye, .ft-q-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ft-q-eye { color: #3B5BFF; }
.ft-q-count { color: #9AA0AE; letter-spacing: .06em; }

.ft-progress {
  position: relative;
  height: 2px;
  background: #DCE2EE;
  border-radius: 2px;
  margin-bottom: clamp(16px, 3vw, 28px);
  overflow: hidden;
}

.ft-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: linear-gradient(90deg, #2F4BFF, #6FB7F2);
  border-radius: 2px;
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

.ft-big-num {
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.05em;
  background: linear-gradient(150deg, #2F4BFF, #6FB7F2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ft-q-title {
  font-size: clamp(20px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin: 8px 0 14px;
  max-width: 760px;
}

.ft-q-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9AA0AE;
  margin-bottom: 6px;
}

.ft-opt {
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #E1E7F2;
  padding: 13px 8px 13px 0;
  cursor: pointer;
  font: inherit;
  transition: all .18s cubic-bezier(.2, .7, .2, 1);
}

.ft-opt:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, #F2F6FF, transparent 70%);
}

.ft-opt.on {
  box-shadow: inset 3px 0 0 #3B5BFF;
  padding-left: 16px;
}

.ft-opt-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color .18s;
  color: #B6BDCC;
}

.ft-opt.on .ft-opt-num { color: #3B5BFF; }

.ft-opt-txt {
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.35;
  transition: color .18s, font-weight .18s;
  color: #0B1020;
  font-weight: 600;
}

.ft-opt.on .ft-opt-txt { color: #3B5BFF; font-weight: 700; }

.ft-opt-arrow {
  font-size: 19px;
  font-weight: 700;
  text-align: right;
  transition: all .18s;
  color: transparent;
}

.ft-opt.on .ft-opt-arrow { color: #3B5BFF; }

.ft-back {
  margin-top: 26px;
  background: none;
  border: none;
  color: #9AA0AE;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  padding: 4px 0;
  text-transform: uppercase;
}

.ft-back:hover { color: #3B5BFF; }

.ft-back-top {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .5);
}

.ft-back-top:hover { color: #fff; }

/* result dark */
.ft-res-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ft-res-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.ft-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid;
}

.ft-cat-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ft-res-title {
  font-size: clamp(30px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  max-width: 840px;
}

.ft-res-lede {
  font-size: clamp(16px, 2.3vw, 19px);
  font-weight: 600;
  color: rgba(255, 255, 255, .62);
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.ft-plot-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: clamp(22px, 4vw, 38px) 0;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.ft-plot-lbl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .55em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.ft-plot-lbl .ft-plot-sep {
  letter-spacing: 0;
  opacity: .75;
}

.ft-plot-block svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

.ft-plot-note {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 560px;
}

.ft-plot-note b { color: #fff; font-weight: 700; }

.ft-contra {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 30px;
  max-width: 640px;
}

.ft-sec-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 16px;
}

.ft-sec-lbl-sm { margin-bottom: 12px; }

.ft-trap-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: #EAEDF5;
  font-weight: 500;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ft-trap-n {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  padding-top: 2px;
  min-width: 22px;
}

.ft-from-txt {
  font-size: 16px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .72);
  max-width: 640px;
}

.ft-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(30px, 4vw, 44px);
}

.ft-cta-block {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(30px, 4vw, 44px);
}

.ft-cta-pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FA8FF;
  margin-bottom: 12px;
}

.ft-cta-block h3 {
  font-size: clamp(22px, 3.8vw, 30px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 12px;
}

.ft-cta-block > p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
  max-width: 560px;
}

.ft-cta-row {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.ft-cta-a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #3B5BFF;
  color: #fff;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  transition: filter .15s, transform .12s;
}

.ft-cta-a:hover { filter: brightness(1.1); transform: translateX(2px); }

.ft-cta-b {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.ft-cta-b:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
}

.ft-more {
  margin-top: clamp(34px, 5vw, 52px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: clamp(28px, 4vw, 40px);
}

.ft-more-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 20px;
}

.ft-more-grp { margin-bottom: 24px; }

.ft-more-grp-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ft-more-grp-h span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ft-more-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
  margin-bottom: 8px;
  transition: all .18s;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: inherit;
}

.ft-more-item:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
}

.ft-more-item.on {
  border-color: rgba(99, 130, 255, .5);
  background: rgba(59, 91, 255, .13);
}

.ft-more-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 5px;
}

.ft-more-item b {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 3px;
}

.ft-more-item small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  line-height: 1.45;
}

.ft-restart {
  margin-top: clamp(30px, 4vw, 44px);
}

.ft-btn-restart {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 14px 30px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.ft-btn-restart:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
}

/* plot svg animations */
.ft-plot-anim .anim-fade { opacity: 0; animation: fadein .6s .5s forwards; }
.ft-plot-anim .anim-heroln { opacity: 0; animation: heroln .5s .9s forwards; }
.ft-plot-anim .anim-heroln2 { opacity: 0; animation: heroln .5s 1.05s forwards; }
.ft-plot-anim .anim-draw { stroke-dasharray: 240; animation: drawline .6s .55s both; }
.ft-plot-anim .anim-pop1 { transform-box: fill-box; transform-origin: center; animation: pop .55s .7s both cubic-bezier(.2, .8, .2, 1); }
.ft-plot-anim .anim-pop2 { transform-box: fill-box; transform-origin: center; animation: pop .55s .8s both cubic-bezier(.2, .8, .2, 1); }

@media (max-width: 720px) {
  .ft-preview { grid-template-columns: 1fr; }
  .ft-preview svg { justify-self: start; }
}
