/* ShortList — BuildspaceLabs
   "342 applications in, 24 shortlisted, zero read cold."
   Palette: white / #FBFAFF base, ink #17141F, violet #7C3AED
   Type: Plus Jakarta Sans (headings) + Inter (body) */

:root {
  --white: #ffffff;
  --base: #fbfaff;
  --ink: #17141f;
  --secondary: #6b6577;
  --hair: #ece9f5;
  --hair-strong: #ddd7ec;
  --violet: #7c3aed;
  --violet-hover: #6d28d9;
  --violet-soft: #f3edff;
  --violet-050: #faf7ff;
  --coral: #fb7185;
  --coral-soft: #fff0f2;
  --green: #16a34a;
  --green-soft: #e9f8ee;

  --maxw: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(23, 20, 31, .05), 0 2px 6px rgba(23, 20, 31, .04);
  --shadow-md: 0 12px 30px -12px rgba(23, 20, 31, .16), 0 4px 12px -6px rgba(23, 20, 31, .08);
  --shadow-lg: 0 40px 80px -32px rgba(46, 20, 84, .30), 0 12px 32px -16px rgba(23, 20, 31, .14);
  --shadow-violet: 0 18px 40px -18px rgba(124, 58, 237, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--violet); color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 9vw, 8rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--coral));
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin-top: 1rem;
  max-width: 20ch;
}
.section-lead {
  color: var(--secondary);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 52ch;
  margin-top: 1.1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700;
  font-size: .98rem; letter-spacing: -.01em;
  padding: .82rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--violet); color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover { background: var(--violet-hover); transform: translateY(-2px); box-shadow: 0 22px 46px -18px rgba(124, 58, 237, .62); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--white); color: var(--ink);
  border-color: var(--hair-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 6px 24px -18px rgba(23, 20, 31, .3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(150deg, var(--violet), #a855f7);
  display: grid; place-items: center;
  box-shadow: var(--shadow-violet);
  flex: none;
}
.brand-mark svg { width: 17px; height: 17px; }
.brand em { font-style: normal; color: var(--violet); }

.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--secondary); transition: color .18s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: .85rem; }
.built-by {
  display: none; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 600; color: var(--secondary);
  padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--hair);
  transition: border-color .2s ease, color .2s ease;
}
.built-by:hover { color: var(--violet); border-color: var(--violet); }
.built-by svg { width: 12px; height: 12px; }
.nav-cta { display: none; }

@media (min-width: 720px) { .built-by { display: inline-flex; } .nav-cta { display: inline-flex; } }
@media (min-width: 940px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(50% 45% at 8% 90%, rgba(251, 113, 133, .08), transparent 70%),
    linear-gradient(180deg, var(--violet-050), var(--white) 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  opacity: .5;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.02fr .98fr; } }

.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .5rem .4rem .8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--hair-strong);
  box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--secondary);
}
.hero-pill b { color: var(--ink); font-weight: 700; }
.hero-pill .tag {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--violet); background: var(--violet-soft);
  padding: .2rem .55rem; border-radius: 999px;
}
h1.hero-title {
  font-size: clamp(2.5rem, 6.6vw, 4.3rem);
  margin-top: 1.4rem;
  letter-spacing: -.035em;
}
h1.hero-title .grad {
  background: linear-gradient(102deg, var(--violet) 20%, #a855f7 55%, var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  color: var(--secondary); max-width: 44ch; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-meta {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem;
  font-size: .88rem; color: var(--secondary);
}
.hero-meta .hm { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta .hm svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hair-strong); }

/* ---------- hero signature: ranked list ---------- */
.rank-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.15rem 1.3rem;
}
.rank-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(124, 58, 237, .5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.rank-head { display: flex; align-items: center; justify-content: space-between; padding: .35rem .45rem 1rem; }
.rank-head .rh-role { display: flex; flex-direction: column; }
.rank-head .rh-role small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); font-weight: 700; font-family: var(--font-head); }
.rank-head .rh-role strong { font-family: var(--font-head); font-size: 1rem; letter-spacing: -.01em; }
.rh-live {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; color: var(--green);
  background: var(--green-soft); padding: .3rem .6rem; border-radius: 999px;
}
.rh-live .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blip 1.8s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.rank-list { position: relative; display: flex; flex-direction: column; gap: .55rem; }

/* cut line */
.cut-line {
  position: absolute; left: -.4rem; right: -.4rem; height: 0;
  border-top: 2px dashed var(--green);
  z-index: 4; opacity: 0;
  transition: top .9s var(--ease-out), opacity .5s ease;
}
.cut-line .cut-tag {
  position: absolute; right: 0; top: -11px;
  font-family: var(--font-head); font-size: .62rem; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: var(--green);
  padding: .12rem .5rem; border-radius: 999px;
  text-transform: uppercase;
}

.cand {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem;
  padding: .6rem .7rem; border-radius: 14px;
  background: var(--base);
  border: 1px solid var(--hair);
  transition: transform .7s var(--ease-out), background .4s ease, border-color .4s ease, box-shadow .4s ease;
  will-change: transform;
}
.cand.is-short { background: linear-gradient(180deg, #fff, var(--green-soft)); border-color: rgba(22, 163, 74, .28); }
.cand-rank {
  font-family: var(--font-head); font-weight: 800; font-size: .82rem;
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--hair-strong); color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.cand.is-short .cand-rank { background: var(--green); color: #fff; border-color: var(--green); }
.cand-id { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.cand-av {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: #fff;
}
.cand-name { min-width: 0; }
.cand-name b { font-family: var(--font-head); font-size: .9rem; font-weight: 700; display: block; letter-spacing: -.01em; }
.cand-name span { font-size: .74rem; color: var(--secondary); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* score ring */
.ring { --p: 0; width: 42px; height: 42px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring .track { stroke: var(--hair-strong); }
.ring .prog {
  stroke: var(--violet); stroke-linecap: round;
  stroke-dasharray: 113; /* 2*pi*18 */
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 1.1s var(--ease-out), stroke .5s ease;
}
.cand.is-short .ring .prog { stroke: var(--green); }
.ring .num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.ring .num sup { font-size: .55em; font-weight: 700; top: -.35em; }

.rank-foot {
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--secondary);
}
.rank-foot b { color: var(--ink); font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.rank-foot .rf-cta { color: var(--violet); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }

/* floating chips around hero card */
.hero-visual { position: relative; }
.float-chip {
  position: absolute; z-index: 5;
  background: var(--white); border: 1px solid var(--hair);
  box-shadow: var(--shadow-md); border-radius: 12px;
  padding: .5rem .7rem; display: flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 600;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip svg { width: 15px; height: 15px; flex: none; }
.float-chip.fc-1 { top: -14px; left: -12px; color: var(--violet); }
.float-chip.fc-1 svg { color: var(--violet); }
.float-chip.fc-2 { bottom: 26px; right: -16px; color: var(--green); animation-delay: -2.5s; }
.float-chip.fc-2 svg { color: var(--green); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .float-chip { display: none; } }

/* ---------- funnel band ---------- */
.funnel { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.funnel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 15% 0%, rgba(124, 58, 237, .35), transparent 60%),
              radial-gradient(45% 120% at 90% 100%, rgba(251, 113, 133, .22), transparent 60%);
}
.funnel .wrap { position: relative; }
.funnel-head { text-align: center; max-width: 40ch; margin: 0 auto 2.6rem; }
.funnel-head h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.funnel-head p { color: rgba(255, 255, 255, .68); margin-top: .7rem; font-size: 1.02rem; }
.funnel-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 780px) { .funnel-grid { grid-template-columns: repeat(4, 1fr); } }
.fstat { background: #1c1926; padding: 1.8rem 1.4rem; text-align: center; position: relative; }
.fstat-num {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.1rem, 5vw, 2.9rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, #d9c9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fstat.green .fstat-num { background: linear-gradient(120deg, #fff, #86efac); -webkit-background-clip: text; background-clip: text; }
.fstat-num .unit { font-size: .45em; -webkit-text-fill-color: rgba(255, 255, 255, .6); margin-left: .1em; }
.fstat-label { margin-top: .6rem; font-size: .86rem; color: rgba(255, 255, 255, .66); font-weight: 500; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--white);
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hair-strong); }
.step-n {
  font-family: var(--font-head); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; color: var(--violet);
}
.step-ico {
  width: 46px; height: 46px; border-radius: 13px; margin-top: 1rem;
  display: grid; place-items: center;
  background: var(--violet-soft); color: var(--violet);
  border: 1px solid rgba(124, 58, 237, .15);
}
.step-ico svg { width: 23px; height: 23px; }
.step h3 { font-size: 1.15rem; margin-top: 1.1rem; }
.step p { color: var(--secondary); font-size: .93rem; margin: .55rem 0 0; }
.step-arrow { display: none; }
@media (min-width: 1000px) {
  .step-arrow {
    display: block; position: absolute; right: -0.85rem; top: 50%; z-index: 2;
    color: var(--hair-strong);
  }
  .step-arrow svg { width: 20px; height: 20px; }
}

/* ---------- explainable / fit bars ---------- */
.explain-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .explain-grid { grid-template-columns: 1fr 1.05fr; } }

.fitpanel {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.fitpanel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35rem; }
.fitpanel-head .fp-who { display: flex; align-items: center; gap: .7rem; }
.fp-av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; background: linear-gradient(150deg, var(--violet), #a855f7); }
.fp-who b { font-family: var(--font-head); font-size: 1rem; display: block; }
.fp-who span { font-size: .8rem; color: var(--secondary); }
.fp-score { text-align: right; }
.fp-score .n { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.fp-score .l { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary); font-weight: 700; }

.fit-row { margin-bottom: 1.05rem; }
.fit-row:last-child { margin-bottom: 0; }
.fit-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; font-size: .85rem; }
.fit-top b { font-family: var(--font-head); font-weight: 600; }
.fit-top .fit-v { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--secondary); font-size: .8rem; }
.fit-track { position: relative; height: 9px; border-radius: 999px; background: var(--hair); overflow: visible; }
.fit-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--violet), #a855f7);
  transition: width 1.2s var(--ease-out);
}
.fit-row.over .fit-fill { background: linear-gradient(90deg, var(--green), #34d399); }
.fit-row.under .fit-fill { background: linear-gradient(90deg, var(--coral), #f43f5e); }
.role-marker {
  position: absolute; top: -4px; bottom: -4px; width: 2px;
  background: var(--ink); border-radius: 2px; z-index: 2;
}
.role-marker::after {
  content: "role"; position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: .56rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.fitpanel-foot {
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--hair);
  display: flex; gap: 1.3rem; font-size: .8rem;
}
.fitpanel-foot .leg { display: inline-flex; align-items: center; gap: .4rem; color: var(--secondary); }
.leg .sw { width: 10px; height: 10px; border-radius: 3px; }

.explain-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.explain-points li { display: flex; gap: .9rem; }
.ep-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); border: 1px solid rgba(124,58,237,.14); }
.ep-ico svg { width: 19px; height: 19px; }
.ep-txt b { font-family: var(--font-head); font-size: 1rem; display: block; margin-bottom: .15rem; }
.ep-txt span { color: var(--secondary); font-size: .93rem; }

/* ---------- product tour ---------- */
.tour { background: linear-gradient(180deg, var(--base), var(--white)); }
.shot { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.shot + .shot { margin-top: clamp(3rem, 6vw, 5rem); }
.shot-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
.shot-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .shot-grid { grid-template-columns: 1fr 1.25fr; }
  .shot.reverse .shot-copy { order: 2; }
}
.shot-copy .eyebrow { margin-bottom: .8rem; }
.shot-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.shot-copy p { color: var(--secondary); margin-top: .9rem; font-size: 1rem; }
.shot-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; }
.shot-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.shot-list svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: .15rem; }

.frame {
  border-radius: 16px; overflow: hidden;
  background: var(--white); border: 1px solid var(--hair-strong);
  box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--hair);
  background: var(--base);
}
.frame-dots { display: flex; gap: .4rem; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame-dots i:nth-child(1) { background: #fb7185; }
.frame-dots i:nth-child(2) { background: #fbbf24; }
.frame-dots i:nth-child(3) { background: #34d399; }
.frame-url {
  margin-left: .4rem; flex: 1 1 0; min-width: 0;
  font-size: .74rem; color: var(--secondary);
  background: var(--white); border: 1px solid var(--hair);
  border-radius: 7px; padding: .28rem .7rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: flex; align-items: center; gap: .4rem;
}
.frame-url svg { width: 12px; height: 12px; color: var(--green); flex: none; }
.frame img { width: 100%; display: block; }
.shot-cap { margin-top: .9rem; font-size: .84rem; color: var(--secondary); text-align: center; }
.shot-cap b { color: var(--ink); font-weight: 600; }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 620px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 1.5rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hair-strong); }
.feat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); border: 1px solid rgba(124,58,237,.14); }
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.1rem; margin-top: 1.1rem; }
.feat p { color: var(--secondary); font-size: .92rem; margin-top: .5rem; }

/* ---------- outreach highlight ---------- */
.outreach { position: relative; }
.outreach-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #211b33, #2d2247 70%, #3b2560);
  color: #fff; padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.outreach-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 88% 15%, rgba(124, 58, 237, .5), transparent 60%),
              radial-gradient(40% 80% at 5% 95%, rgba(251, 113, 133, .28), transparent 60%);
}
.outreach-inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .outreach-inner { grid-template-columns: 1fr 1.1fr; } }
.outreach-copy .eyebrow { color: #d9c9ff; }
.outreach-copy .eyebrow::before { background: linear-gradient(90deg, #a855f7, var(--coral)); }
.outreach-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-top: 1rem; }
.outreach-copy p { color: rgba(255,255,255,.72); margin-top: 1rem; font-size: 1.05rem; }
.outreach-stats { display: flex; gap: 2rem; margin-top: 1.8rem; }
.outreach-stats .os b { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; display: block; font-variant-numeric: tabular-nums; }
.outreach-stats .os span { font-size: .78rem; color: rgba(255,255,255,.6); }

.mail {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 1.2rem;
  backdrop-filter: blur(6px);
}
.mail-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .85rem; margin-bottom: .95rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.mail-head .mh-l { display: flex; align-items: center; gap: .6rem; }
.mh-badge { width: 30px; height: 30px; border-radius: 9px; background: var(--violet); display: grid; place-items: center; }
.mh-badge svg { width: 16px; height: 16px; color: #fff; }
.mail-head b { font-family: var(--font-head); font-size: .85rem; }
.mail-head small { display: block; font-size: .72rem; color: rgba(255,255,255,.55); }
.mh-tag { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #86efac; background: rgba(22,163,74,.2); padding: .25rem .55rem; border-radius: 999px; }
.mail-line { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.mail-line b { color: #fff; font-weight: 600; }
.mail-body { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.6; }
.mail-body p { margin: .55rem 0; }
.mail-body .hl { color: #c4b5fd; font-weight: 600; }
.mail-cursor { display: inline-block; width: 2px; height: 1em; background: #a855f7; vertical-align: -2px; margin-left: 1px; animation: caret 1.1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mail-foot { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; }
.mail-reply { font-size: .78rem; color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: .4rem; }
.mail-reply b { color: #86efac; }
.mail-send { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; background: var(--violet); color: #fff; padding: .45rem .9rem; border-radius: 9px; }
.mail-send svg { width: 14px; height: 14px; }

/* ---------- tech chips ---------- */
.tech { text-align: center; }
.tech-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--hair-strong);
  font-size: .88rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s ease;
}
.chip:hover { transform: translateY(-3px); border-color: var(--violet); }
.chip .cd { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }

/* ---------- CTA ---------- */
.cta-band { }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 50% -10%, rgba(124, 58, 237, .12), transparent 65%),
    var(--base);
  border: 1px solid var(--hair-strong);
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 3rem);
  box-shadow: var(--shadow-md);
}
.cta-card h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 18ch; margin: 0 auto; }
.cta-card p { color: var(--secondary); margin: 1.1rem auto 0; max-width: 46ch; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2.2rem; }
.cta-note { margin-top: 1.4rem; font-size: .84rem; color: var(--secondary); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hair); background: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--secondary); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--secondary); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a { font-size: .92rem; color: var(--ink); transition: color .18s ease; display: inline-flex; align-items: center; gap: .3rem; }
.footer-col a:hover { color: var(--violet); }
.footer-col svg { width: 12px; height: 12px; }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer-credit { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--secondary); }
.bs-lockup {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  padding: .35rem .7rem; border-radius: 9px; border: 1px solid var(--hair-strong);
  transition: border-color .2s ease, color .2s ease;
}
.bs-lockup:hover { border-color: var(--violet); color: var(--violet); }
.bs-lockup .bs { color: var(--violet); }
.footer-credit .fc-tag { font-size: .8rem; }
.footer-credit .fc-tag b { color: var(--ink); font-weight: 600; }
.footer-tagline { font-size: .84rem; color: var(--secondary); width: 100%; margin-top: .3rem; }
.footer-legal { font-size: .82rem; color: var(--secondary); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-chip, .rh-live .blip, .mail-cursor { animation: none !important; }
  .cand, .ring .prog, .fit-fill, .cut-line { transition: none !important; }
}

/* ---------- contact ---------- */
.subpage { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.subpage-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 80% 0%, rgba(124,58,237,.08), transparent 65%), linear-gradient(180deg, var(--violet-050), var(--white) 50%);
}
.contact-grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .92fr 1.08fr; } }
.contact-intro h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.contact-intro p { color: var(--secondary); margin-top: 1.1rem; font-size: 1.08rem; max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: .9rem; }
.cl-ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); border: 1px solid rgba(124,58,237,.14); }
.cl-ico svg { width: 20px; height: 20px; }
.cl-txt b { font-family: var(--font-head); display: block; font-size: .95rem; }
.cl-txt a, .cl-txt span { color: var(--secondary); font-size: .92rem; }
.cl-txt a:hover { color: var(--violet); }

.contact-card {
  background: var(--white); border: 1px solid var(--hair-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: .5rem; }
.field label .req { color: var(--coral); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: 11px;
  border: 1px solid var(--hair-strong); background: var(--base);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a9a2ba; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-card .btn { width: 100%; }
.form-reassure { margin-top: 1rem; font-size: .82rem; color: var(--secondary); text-align: center; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.form-reassure svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- thank you ---------- */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); }
.thanks-inner { position: relative; z-index: 1; max-width: 44ch; padding-inline: var(--gutter); }
.success-badge {
  width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 1.8rem;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
  border: 1px solid rgba(22,163,74,.25);
  box-shadow: 0 20px 44px -20px rgba(22,163,74,.5);
}
.success-badge svg { width: 42px; height: 42px; }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); }
.thanks p { color: var(--secondary); margin-top: 1.1rem; font-size: 1.1rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2.2rem; }
.thanks-mail { margin-top: 1.6rem; font-size: .9rem; color: var(--secondary); }
.thanks-mail a { color: var(--violet); font-weight: 600; }

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 100;
  background: var(--violet); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  font-weight: 700; font-size: .9rem; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
