/* FolioIO landing — dark · mint
   Animated grid backdrop. No CollectUI mesh/grain. */

:root {
  --fn: 'Geist', system-ui, -apple-system, sans-serif;
  --mo: 'Geist Mono', ui-monospace, monospace;
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --bg: #0A0A0C;
  --ink: #F4F4F5;
  --mute: rgba(244, 244, 245, .62);
  --faint: rgba(244, 244, 245, .38);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .12);
  --mint: #A7F3D0;
  --mint-ink: #06281A;
  --mint-dim: rgba(167, 243, 208, .1);
  --mint-line: rgba(167, 243, 208, .28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --sec-y: clamp(52px, 8vh, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fn);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.lp {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
.bg-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
}
.bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, .14) 0%, rgba(10, 10, 12, .08) 24%, rgba(10, 10, 12, .66) 56%, var(--bg) 74%);
}

/* ── Motion ── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(5px);
  transition:
    opacity .95s var(--ease),
    transform 1s var(--ease),
    filter .85s var(--ease);
}
.reveal[data-r="fade"] {
  transform: none;
  filter: blur(3px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.1em;
}
.hero-title .line-inner {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.05s var(--ease);
}
.hero-title .line-inner.is-in {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-title .line-inner,
  .desk-row,
  .cmp tbody tr,
  .cmp tfoot tr,
  .cmp-card,
  .g-fill,
  .g-bar i {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .desk-dot { background: var(--ink); animation: none !important; }
  .partner .soon { animation: none !important; opacity: 1; }
  .btn:active { transform: none; }
  .nav-links a::after { transition: none; }
  .partners-track {
    animation: none !important;
    transform: none !important;
  }
  .partners-set:last-child { display: none; }
  .partners-viewport {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  min-height: 64px;
  background: rgba(10, 10, 12, .96);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  border-bottom: 1px solid var(--line2);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--fn);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.nav-brand img {
  width: 18px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
  flex-shrink: 0;
  margin: 0 6px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(244, 244, 245, .84);
  color: color-mix(in srgb, var(--ink) 84%, transparent);
  padding: 6px 10px;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav .btn { padding: 8px 15px; }
.link-quiet {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 244, 245, .84);
  color: color-mix(in srgb, var(--ink) 84%, transparent);
  padding: 6px 4px;
  transition: color .25s var(--ease);
}
.link-quiet:hover,
.link-quiet:focus-visible { color: var(--ink); }
@media (min-width: 800px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .nav-brand { justify-self: start; }
  .nav-links { display: flex; justify-self: center; }
  .nav-end { justify-self: end; }
  .link-quiet { display: inline; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 16px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    filter .3s var(--ease),
    background .3s var(--ease),
    border-color .3s var(--ease),
    transform .2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-mint {
  background: var(--mint);
  color: var(--mint-ink);
}
.btn-mint:hover {
  filter: brightness(1.04);
}
.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.07);
}
.btn-light {
  background: #F4F4F5;
  color: #0A0A0C;
}
.btn-light:hover {
  filter: brightness(1.04);
}
.btn-lg { padding: 12px 20px; font-size: 14px; }

/* ── Hero ── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sec-y) var(--pad) clamp(36px, 6vh, 56px);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.hero-title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  font-synthesis: none;
}
.lede {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
  color: var(--mute);
  max-width: 42ch;
  margin: 0 0 28px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.proof {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
}
.proof[hidden] { display: none !important; }
.proof strong {
  font-family: var(--mo);
  font-weight: 550;
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.fine {
  margin-top: 16px;
  font-size: 12px;
  font-family: var(--mo);
  letter-spacing: .03em;
  color: var(--faint);
}
.partners {
  margin-top: 28px;
  min-width: 0;
}
.partners-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partners-move 24s linear infinite;
}
.partners:hover .partners-track,
.partners:focus-within .partners-track {
  animation-play-state: paused;
}
.partners-set {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex-shrink: 0;
}
@keyframes partners-move {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--mute);
  transition: color .2s var(--ease);
}
.partner:hover,
.partner:focus-visible {
  color: var(--ink);
}
.partner img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.partner--soon img {
  width: 28px;
  height: 28px;
}
.partner--soon { color: var(--faint); }
.partner .soon {
  margin-left: 2px;
  animation: soon-breathe 2.8s var(--ease) infinite;
}
@keyframes soon-breathe {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
}
@media (max-width: 959px) {
  .hero { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .proof { justify-content: center; }
}

.ferm-promo {
  display: none;
  margin: 14px auto 0;
  max-width: 28em;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0C0C0F;
}
.ferm-promo.is-on { display: flex; }
.ferm-promo-k {
  font-family: var(--mo);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.ferm-promo-code {
  font-family: var(--mo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.ferm-promo-copy {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.ferm-promo-copy:hover,
.ferm-promo-copy:focus-visible {
  border-color: var(--line2);
}
.ferm-promo-hint {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--faint);
}
.soon {
  font-family: var(--mo);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 3px 7px 2px;
  line-height: 1;
}

/* ── Desk (journal preview) ── */
.desk,
.g-rules,
.g-score,
.cmp-shell,
.end-inner {
  border: 1px solid var(--line2);
  background: #0C0C0F;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.desk {
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.desk-bar,
.desk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--mo);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.desk-bar { border-bottom: 1px solid var(--line); }
.desk-foot {
  border-top: 1px solid var(--line);
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
.desk-arm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  letter-spacing: .1em;
}
.desk-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--line2);
  background: transparent;
  font-style: normal;
  transition: background .5s var(--ease) .4s;
}
.desk.is-in .desk-dot {
  background: var(--ink);
  animation: desk-live 1.8s var(--ease) infinite;
}
@keyframes desk-live {
  0%, 100% { opacity: 1; }
  50% { opacity: .28; }
}
.desk-rows { list-style: none; }
.desk-row {
  display: grid;
  grid-template-columns: 16px 48px 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  opacity: 0;
  transform: translate3d(12px, 0, 0);
  transition:
    opacity .55s var(--ease),
    transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 180ms);
}
.desk-row:first-child { border-top: 0; }
.desk.is-in .desk-row {
  opacity: 1;
  transform: none;
  transition:
    opacity .55s var(--ease),
    transform .6s var(--ease),
    background .25s var(--ease);
}
.desk.is-in .desk-row:hover,
.desk.is-in .desk-row:focus-within {
  background: rgba(255, 255, 255, .03);
}
.desk-row img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.desk-sym { font-weight: 650; letter-spacing: -.02em; }
.desk-side,
.desk-meta { color: var(--faint); font-size: 12px; }
.desk-meta { text-align: right; font-family: var(--mo); font-size: 11px; }
.desk-r {
  font-family: var(--mo);
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.desk-r--dn { color: var(--faint); }

/* ── Facts ── */
.facts {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(16px, 3vh, 28px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.fact {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact strong {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
}
.fact span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--mute);
}
@media (min-width: 800px) {
  .facts {
    grid-template-columns: minmax(0, 22rem) minmax(0, 22rem);
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .fact {
    border-bottom: 0;
    padding: 28px 0;
  }
  .fact + .fact {
    margin-left: 40px;
    padding-left: 40px;
    border-left: 1px solid var(--line);
  }
}

/* ── Sections ── */
.sec {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sec-y) var(--pad);
  width: 100%;
}
.sec + .sec {
  padding-top: clamp(28px, 4vh, 44px);
}
.sec-top {
  max-width: 30rem;
  margin-bottom: 32px;
}
.sec-top .eyebrow { margin-bottom: 12px; }
.sec-top h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.18;
}
.sec-lede {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 42ch;
}
.eyebrow {
  font-family: var(--mo);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

.feats {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.feats article {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  outline: none;
}
.feats article h3 { grid-column: 2; margin: 0; }
.feats article p { grid-column: 2; }
.feat-n {
  grid-row: 1 / span 2;
  font-family: var(--mo);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--faint);
  padding-top: 3px;
}
.feats article:hover,
.feats article:focus-visible,
.feats article.is-on {
  background: transparent;
}
@media (min-width: 800px) {
  .feats article {
    grid-template-columns: 3.2rem 14rem 1fr;
    align-items: start;
  }
  .feats article h3 { grid-column: 2; }
  .feats article p { grid-column: 3; margin: 0; }
}

.feats h3,
.steps h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.feats p,
.steps p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
}
.feats code {
  font-family: var(--mo);
  font-size: 12px;
  background: rgba(255,255,255,.04);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.steps {
  list-style: none;
  display: grid;
  gap: 28px;
}
.steps li {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.steps-n {
  font-family: var(--mo);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--faint);
  line-height: 1;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .steps li { position: relative; }
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 2.6rem;
    width: calc(100% - 2.6rem + 40px);
    height: 1px;
    background: var(--line);
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ease) .25s;
  }
  .steps li.is-in:not(:last-child)::after { transform: scaleX(1); }
}

/* ── Guardian band ── */
.band {
  position: relative;
  padding: var(--sec-y) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 10, 12, .28), rgba(10, 10, 12, .62));
}
.band-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: start;
}
.band-copy { max-width: 34rem; }
.band .eyebrow { margin-bottom: 14px; }
.band h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.16;
  margin-bottom: 14px;
}
.band p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  margin-bottom: 26px;
}
.g-rules {
  list-style: none;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 28px 24px;
  border-radius: 12px;
}
.g-lab {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.g-lab span { color: var(--mute); }
.g-lab b {
  font-weight: 550;
  font-family: var(--mo);
  font-size: 12px;
  letter-spacing: .02em;
}
.g-track {
  display: block;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.g-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  opacity: .45;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease);
}
.g-rules.is-in li:nth-child(1) .g-fill { transition-delay: .08s; }
.g-rules.is-in li:nth-child(2) .g-fill { transition-delay: .16s; }
.g-rules.is-in li:nth-child(3) .g-fill { transition-delay: .24s; }
.g-rules.is-in .g-fill { transform: scaleX(var(--p, .5)); }
.g-score {
  margin: 0;
  padding: 20px 20px 18px;
  border-radius: 12px;
  display: grid;
  gap: 14px;
  overflow: visible;
}
.g-score p {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.g-k {
  font-family: var(--mo);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.g-score .g-k {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  color: var(--faint);
}
.g-score-top {
  display: grid;
  gap: 16px;
  align-items: start;
}
.g-score-lead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 6px;
}
.g-score-tier {
  font-family: var(--fn);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 4px 8px 3px;
  line-height: 1;
}
.g-score .g-score-n {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .92;
  margin: 0;
  color: var(--ink);
}
.g-ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mo);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.g-ladder li + li::before {
  content: '·';
  margin: 0 8px;
  color: var(--line2);
}
.g-ladder .on { color: var(--ink); }
.g-score-meta {
  margin: 8px 0 0;
  font-family: var(--mo);
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--faint);
}
.g-radar {
  width: min(100%, 200px);
  height: 200px;
  margin: 0 auto;
}
.g-radar canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.g-axes,
.g-sample {
  list-style: none;
  margin: 0;
  padding: 0;
}
.g-axes { margin-top: 12px; }
.g-axis,
.g-sample li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 8px 0 0;
  font-family: var(--mo);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
}
.g-axis {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.g-axis:first-child { border-top: 0; padding-top: 0; }
.g-axis.is-leak,
.g-axis.is-leak strong { color: var(--ink); }
.g-axis strong,
.g-sample strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--ink);
}
.g-bar {
  grid-column: 1 / -1;
  display: flex;
  gap: 3px;
  height: 8px;
  align-items: stretch;
}
.g-bar--sample {
  height: 6px;
  gap: 2px;
}
.g-bar i {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px;
  background: var(--line);
  transform: scaleY(1);
}
.g-bar i.on { background: var(--ink); }
.g-bar i.soft { background: var(--ink); opacity: .7; }
.g-bar i.fade { background: var(--ink); opacity: .38; }
.g-axis[data-axis="risk"] .g-bar i.on,
.g-axis[data-axis="risk"] .g-bar i.soft,
.g-axis[data-axis="risk"] .g-bar i.fade { background: var(--a); }
.g-sample {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.g-sample li { padding: 0; }
.g-facts,
.g-brief {
  display: grid;
  gap: 14px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.g-facts { grid-template-columns: 1fr 1fr; }
.g-facts span,
.g-brief span {
  display: block;
  font-family: var(--mo);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
  line-height: 1.2;
}
.g-facts strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.g-brief strong {
  display: block;
  font-family: var(--fn);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -.011em;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: break-word;
}
@media (min-width: 480px) {
  .g-sample { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .g-brief { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .g-score-top {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 16px 24px;
  }
  .g-radar {
    width: 220px;
    height: 220px;
    margin: 0;
  }
  .g-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .band-grid { grid-template-columns: 1fr 1fr; gap: 40px 56px; }
  .g-score { grid-column: 1 / -1; }
  .g-brief { grid-template-columns: 1.1fr .9fr .85fr 1.4fr; }
}

/* ── Closing ── */
.end {
  padding: var(--sec-y) var(--pad);
  text-align: center;
}
.end-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 48px);
  border-radius: 12px;
}
.end .cta { justify-content: center; }
.end h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 22px;
}

/* ── Footer ── */
.foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px var(--pad) 28px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 13px;
  color: var(--faint);
}
.foot .nav-brand { font-size: 13px; font-weight: 650; }
.foot .nav-brand img { width: 14px; height: 18px; }
.foot a:hover { color: var(--ink); }

body.landing-intro-active { overflow: hidden; }
body.landing-intro-active .lp { visibility: visible; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#top,
#features,
#guardian,
#firms,
#start {
  scroll-margin-top: 64px;
}

/* ── Firm compare ── */
.sec-cmp {
  max-width: 1120px;
}
.sec-cmp .sec-top { max-width: 36rem; }
.cmp-shell {
  border-radius: 12px;
  overflow: hidden;
}
.cmp tbody tr,
.cmp tfoot tr {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity .5s var(--ease), transform .55s var(--ease);
}
.cmp-shell.is-in tbody tr,
.cmp-shell.is-in tfoot tr {
  opacity: 1;
  transform: none;
}
.cmp-shell.is-in tbody tr:nth-child(1) { transition-delay: .05s; }
.cmp-shell.is-in tbody tr:nth-child(2) { transition-delay: .09s; }
.cmp-shell.is-in tbody tr:nth-child(3) { transition-delay: .13s; }
.cmp-shell.is-in tbody tr:nth-child(4) { transition-delay: .17s; }
.cmp-shell.is-in tbody tr:nth-child(5) { transition-delay: .21s; }
.cmp-shell.is-in tbody tr:nth-child(6) { transition-delay: .25s; }
.cmp-shell.is-in tbody tr:nth-child(7) { transition-delay: .29s; }
.cmp-shell.is-in tbody tr:nth-child(8) { transition-delay: .33s; }
.cmp-shell.is-in tbody tr:nth-child(9) { transition-delay: .37s; }
.cmp-shell.is-in tbody tr:nth-child(10) { transition-delay: .41s; }
.cmp-shell.is-in tbody tr:nth-child(11) { transition-delay: .45s; }
.cmp-shell.is-in tfoot tr { transition-delay: .5s; }
.cmp-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cmp {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}
.cmp caption { caption-side: bottom; }
.cmp th,
.cmp td {
  padding: 13px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.cmp thead th {
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line2);
  font-weight: 500;
  height: 56px;
  vertical-align: middle;
}
.cmp-k {
  font-family: var(--mo);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.cmp-head {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  white-space: nowrap;
}
.cmp-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.cmp-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.cmp-col--soon .cmp-brand img,
.cmp-card--soon .cmp-brand img {
  width: 28px;
  height: 28px;
}
.cmp-col {
  width: 27%;
  min-width: 0;
}
.cmp-col--soon { color: var(--mute); }
.cmp-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  font-family: var(--mo);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 3px 7px;
  line-height: 1.2;
  height: 18px;
}
.cmp-pill--live {
  color: var(--ink);
  background: transparent;
  border-color: var(--line2);
}
.cmp tbody th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: normal;
  background: #0C0C0F;
  width: 19%;
}
.cmp tbody td { color: var(--mute); }
.cmp tfoot th,
.cmp tfoot td {
  border-bottom: none;
  padding-top: 16px;
  padding-bottom: 16px;
  vertical-align: middle;
}
.cmp thead th:first-child,
.cmp tbody th:first-child,
.cmp tfoot th:first-child {
  background: #0C0C0F;
}
.cmp th:first-child,
.cmp td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 0;
  box-shadow: 8px 0 12px -12px rgba(0,0,0,.7);
}
.cmp-ok {
  color: var(--ink);
}
.cmp-strong {
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.cmp-warn { color: #E8A0A0; }
.cmp-soon-txt { color: var(--faint); }
.cmp-win {
  font-weight: 650;
  color: var(--mint);
  letter-spacing: -.02em;
}
.cmp-cta {
  display: inline-flex;
  min-width: 118px;
  padding: 8px 14px;
  font-size: 13px;
}
.cmp-cta-mute {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 12px;
  color: var(--faint);
  font-family: var(--mo);
  letter-spacing: .02em;
}
.cmp-note {
  padding: 12px 16px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
  border-top: 1px solid var(--line);
}
.cmp tbody tr:hover td,
.cmp tbody tr:hover th {
  background: rgba(255,255,255,.025);
}
.cmp tbody tr:hover th:first-child {
  background: #101014;
}

.cmp-cards { display: none; }

@media (max-width: 799px) {
  :root { --pad: 20px; }
  .nav {
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    background: rgba(10, 10, 12, .97);
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .hero {
    padding: var(--sec-y) var(--pad) clamp(36px, 6vh, 48px);
  }
  #top,
  #features,
  #guardian,
  #firms,
  #start {
    scroll-margin-top: 64px;
  }
  .hero .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .cta .btn { width: 100%; }
  .desk { text-align: left; }
  .desk-row {
    grid-template-columns: 16px 44px 48px 1fr auto;
    gap: 8px;
  }
  .end-inner { border-radius: 12px; }
  .feats article { padding: 22px 0; }

  .cmp-scroll { display: none; }
  .cmp-shell {
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  .cmp-cards {
    display: grid;
    gap: 12px;
    padding: 0;
  }
  .cmp-card {
    border: 1px solid var(--line2);
    border-radius: 12px;
    background: #0C0C0F;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    padding: 4px 0 16px;
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity .6s var(--ease), transform .65s var(--ease);
  }
  .cmp-shell.is-in .cmp-card {
    opacity: 1;
    transform: none;
  }
  .cmp-shell.is-in .cmp-card:nth-child(2) { transition-delay: .1s; }
  .cmp-shell.is-in .cmp-card:nth-child(3) { transition-delay: .2s; }
  .cmp-card-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 10px;
  }
  .cmp-rows {
    list-style: none;
  }
  .cmp-rows li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--mute);
  }
  .cmp-rows li > span:first-child {
    flex: 0 1 auto;
    color: var(--faint);
    font-size: 13px;
  }
  .cmp-rows li > :last-child {
    text-align: right;
    max-width: 58%;
  }
  .cmp-rows li b {
    font-weight: 550;
    color: var(--ink);
  }
  .cmp-card .cmp-cta {
    width: calc(100% - 32px);
    min-width: 0;
    margin: 14px 16px 0;
    padding: 12px 16px;
  }
  .cmp-card .cmp-cta-mute {
    justify-content: center;
    margin: 14px 16px 0;
  }
  .cmp-note {
    border-top: none;
    padding: 14px 4px 0;
  }
}

/* FolioIO checkout overlay on landing — map to landing tokens */
:root {
  --s1: #0A0A0C;
  --s2: #111114;
  --s3: #0c0c0f;
  --t1: var(--ink);
  --t2: var(--mute);
  --t3: var(--faint);
  --b1: var(--line);
  --b2: var(--line2);
  --b3: var(--mint-line);
  --g: var(--mint);
  --r: #E85E54;
  --a: #E8B86D;
  --ac: var(--mint);
  --folio-nav-accent: var(--mint);
  --folio-radius: 12px;
  --r1: 8px;
  --type-page: 16px;
  --type-body: 13px;
  --type-label: 11px;
}
.propr-buy-dlg .btn.pri {
  background: var(--mint);
  color: var(--mint-ink);
  border-color: transparent;
}
.propr-buy-dlg .btn:not(.pri) {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line2);
  color: var(--ink);
}
.propr-buy-dlg .btn.sm {
  padding: 8px 12px;
  font-size: 13px;
}
.propr-buy-dlg .fld {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.propr-buy-dlg .fld span {
  font-size: 11px;
  color: var(--faint);
}
.propr-buy-dlg .fld input,
.propr-buy-dlg .fld select {
  background: var(--s3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  padding: 8px 10px;
  width: 100%;
}
.folio-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  padding: 8px 14px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: #111114;
  color: var(--ink);
  font-size: 13px;
}
