/* Inter, served from this site (latin, one variable file for all weights) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
/* Matches David's Linktree: black, blurred avatar behind, film grain, solid black buttons. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  min-height: 100vh;
  overflow-x: hidden;
}

/* background: the avatar, blurred and faint, plus grain */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #000; }
.bg::before {
  content: ""; position: absolute; inset: -80px;
  background: url("assets/avatar.webp") center / cover no-repeat;
  filter: blur(50px); opacity: .25;
}
.bg::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { max-width: 580px; margin: 0 auto; padding: 22px 14px 40px; }

.head { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 9999px; object-fit: cover; display: block; margin: 0 auto 16px; }
h1 { font-size: 24px; font-weight: 600; margin: 0 0 12px; letter-spacing: -.01em; }

.socials { display: flex; justify-content: center; gap: 16px; margin: 0 0 36px; }
.socials a { color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .15s; }
.socials a:hover { transform: scale(1.08); }
.socials svg { width: 32px; height: 32px; fill: currentColor; }

.btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 12px 52px; margin-bottom: 14px;
  background: #000; color: #fff; text-decoration: none; text-align: center;
  border-radius: 14px; font-weight: 500;
  box-shadow: 0 .5px .7px rgba(17,17,17,.02), 0 1.8px 2.5px -.6px rgba(17,17,17,.027),
              0 4px 5.5px -1.2px rgba(17,17,17,.03), 0 9.3px 12.8px -1.7px rgba(17,17,17,.035);
  transition: transform .15s;
}
.btn:hover { transform: scale(1.015); }
.btn:active { transform: scale(.99); }

/* preview cards (design T1 + mentorship M5), David 08.11.26.
   Colour P1: the top cards use lavender (purple zone = what David offers); mint stays for money in deals and payouts. */
.pc { display: block; background: #000; color: #fff; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); margin-bottom: 20px; transition: transform .15s; }
.pc:hover { transform: scale(1.01); }
.pc .thumb { aspect-ratio: 16/9; background: #050506 center/cover no-repeat; position: relative; overflow: hidden; }
.pc .pill { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.35); }
.pc .pill.mint { background: rgba(0,0,0,.35); color: #B8A6E8; border-color: rgba(184,166,232,.5); }  /* F2 outline in lavender (P1, David 08.11.26) */
.pc .ticon { position: absolute; top: 13px; right: 12px; z-index: 2; width: 18px; height: 18px; fill: rgba(255,255,255,.85); }  /* D3: Discord icon on the giveaway tile (David 08.11.26) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.tiles .pc { margin: 0; }
.pc.tile .thumb { aspect-ratio: 1/1; background-color: #07070a; background-size: contain; background-repeat: no-repeat; background-position: center; background-origin: content-box; padding: 36px 6px 8px; }
.pc.tile .pb { padding: 10px 12px 12px; }
.pc.tile .t { font-size: 14px; }
.pc .star { width: 11px; height: 11px; fill: #F4F4F5; vertical-align: -1px; margin-right: 4px; }
.pc.tile .meta { display: block; margin-top: 3px; }
.pc.tile .d { display: block; font-size: 12.5px; margin: 0; }
.pc.tile .go { display: block; font-size: 12px; margin-top: 8px; }
.pc .pb { padding: 14px 16px 16px; }
.pc .t { font-size: 16px; font-weight: 600; }
.pc .d { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 3px; }
.pc .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.pc .cap { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc .grey { color: rgba(255,255,255,.5); }
.pc .go { font-size: 12.5px; font-weight: 600; color: #B8A6E8; }
.pc .thumb.stat { background: #000; display: grid; place-items: center; text-align: center; }
.pc .wall { position: absolute; inset: -30% -20%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; transform: rotate(-12deg); opacity: .55; filter: grayscale(.25); }
.pc .wall img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.pc .thumb.stat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.35) 100%); }
.pc .front { position: relative; z-index: 1; }
.pc .big { font-size: 56px; font-weight: 800; letter-spacing: -.03em; color: #B8A6E8; line-height: 1; }
.pc .front .cap { display: block; margin-top: 8px; color: rgba(255,255,255,.75); }

.big-title { text-align: center; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 52px 0 8px; }
.big-title.serif { font-family: "Times New Roman", Times, serif; font-weight: 400; letter-spacing: 0; }
.big-title.mint { color: #86EBC6; }
.big-sub { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 20px; }
.results .big-title { margin-top: 12px; }
/* student payouts title: R4 quiet line (David 08.11.26), so it doesn't compete with "code SZN" */
.hair-title { display: flex; align-items: center; gap: 12px; margin: 12px 16px 18px; }
.hair-title::before, .hair-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.hair-title span { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.heading { font-size: 14px; font-weight: 700; text-align: center; margin: 40px 0 18px; }
.heading + .sub { margin-top: -12px; }
.sub { font-size: 12.5px; color: rgba(255,255,255,.65); text-align: center; margin: 0 16px 18px; }
.btn { flex-direction: column; gap: 3px; }
/* firm buttons, design C1 (mint big number), chosen by David 08.11.26 */
.btn.firm { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; min-height: 78px; }
.btn.firm .lw { display: flex; align-items: center; gap: 12px; min-width: 0; }
.btn.firm .logo { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #17171a; border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; overflow: hidden; }
.btn.firm .logo img { width: 70%; height: 70%; object-fit: contain; }
.btn.firm .l { display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.btn.firm .t { font-size: 16px; font-weight: 600; }
.btn.firm .pick { font-size: 12px; color: rgba(255,255,255,.55); }
.btn.firm .pick b { font-weight: 600; color: rgba(255,255,255,.8); }
.btn.firm .deal { text-align: right; line-height: 1; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.btn.firm .num { font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: #86EBC6; }
.btn.firm .cap { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.btn.firm .num .cap { font-size: 11px; letter-spacing: .1em; margin-left: 3px; color: #86EBC6; }

.foot { text-align: center; font-size: 11px; color: rgba(255,255,255,.45); margin: 44px auto 0; max-width: 420px; line-height: 1.5; }

/* student results: moving rows of testimonial cards, like apply.szn-capital.com */
.results { margin: 12px 0 0; }
.results .heading { margin: 0 0 16px; }
.row { overflow: hidden; padding: 6px 0; }
/* edge fade sits on the still wrapper, not on the scrolling rows: a mask on a scroll box makes iOS repaint and flicker (David 08.11.26) */
#marquee {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.track { display: flex; gap: 8px; width: max-content; animation: marquee linear infinite; }
.row.rev .track { animation-direction: reverse; }
/* rows scroll by hand too (swipe / drag); the scrollbar stays hidden */
.row { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.track { transform: translateZ(0); }
.row::-webkit-scrollbar { display: none; }
.row.grab { cursor: grabbing; }
.row .card img { -webkit-user-drag: none; user-select: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.card {
  margin: 0;  /* figure elements have a default 40px side margin */
  width: 300px; flex: none; display: flex; flex-direction: column;
  background: #0e0f12; border: 1px solid rgba(255,255,255,.05); border-radius: 14px;
  padding: 16px; cursor: pointer; text-align: left;
}
.card:hover { border-color: rgba(255,255,255,.12); }
.card .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card .pfp { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.1); background: #222; flex: none; }
.card .n { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .h { color: #9ca3af; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .body { display: flex; gap: 12px; align-items: center; }
.card .q {
  flex: 1; min-width: 0; margin: 0; color: #e5e7eb; font-size: 13.5px; line-height: 1.5; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.card .cert { width: 112px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.05); flex: none; background: #000; }
.card.noq .cert { width: 100%; aspect-ratio: 16/7; }
.hair-sub { text-align: center; font-size: 11px; color: rgba(255,255,255,.5); margin: -8px 0 16px; }
.card .body { flex: 1; }

.card.po .who { margin-bottom: 10px; }
.card .amt { color: #86EBC6; font-weight: 600; font-size: 19.5px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-align: right; line-height: 1; flex: none; }
.card .amt span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 4px; }
.card.po .cert { width: 100%; aspect-ratio: 16/8; object-fit: cover; object-position: center 35%; }
.viewer { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.viewer img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
[hidden] { display: none !important; }

@media (min-width: 700px) { .card { width: 360px; padding: 16px; } .card .cert { width: 120px; } }

/* ---- conversion + design round (08.11.26) ---- */
/* top bar like apply.szn-capital.com: the wordmark small, grey, centred, in a slim bar */
.topbar { text-align: center; padding: 20px 0 10px; }
.topbar img { height: 22px; width: auto; opacity: .7; transition: opacity .2s; }
.topbar a:hover img { opacity: .3; }

/* toast after copying the code */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); z-index: 20; max-width: calc(100% - 32px);
  background: rgba(20,20,22,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12);
  color: #F4F4F5; font-size: 13px; font-weight: 600; padding: 11px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* latest YouTube video */
#video { margin-top: 52px; }
#video .pc { margin-bottom: 0; }
#video .hair-title { margin: 0 16px 16px; }
.pc.video .thumb { display: grid; place-items: center; }
.pc.video .thumb::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }  /* dims the light thumbnail a touch */
.pc.video .play { position: relative; }
.pc.video .play { width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pc.video .play svg { width: 22px; height: 22px; fill: #F4F4F5; margin-left: 3px; }
.pc.video .t { font-size: 15px; line-height: 1.35; }

/* newsletter */
.news { margin: 52px 0 0; text-align: center; }
.news .hair-title { margin: 0 16px 12px; }
.news-d { font-size: 13px; color: rgba(255,255,255,.6); margin: 4px 0 14px; }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: #0e0f12; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 11px 12px; outline: none; }
.news-row input:focus { border-color: rgba(184,166,232,.6); }
.news-row button { font: inherit; font-size: 14px; font-weight: 600; color: #0B0B0D; background: #F4F4F5; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; }
.news-msg { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 10px 0 0; min-height: 1em; }
.news.done .news-row { display: none; }

/* footer */
.footer { text-align: center; margin-top: 29px; }
.footer .wordmark { height: 11px; width: auto; opacity: .6; margin-bottom: 14px; }
.footer p { font-size: 11px; color: rgba(255,255,255,.42); margin: 0 auto 6px; max-width: 420px; line-height: 1.5; text-wrap: balance; }

/* gentle fade-in (only when JS can run it) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { .track { animation: none; } .row { overflow-x: auto; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* phones: three rows of smaller cards (placed last so it wins) */
@media (max-width: 699px) {
  .row { padding: 4px 0; }
  .card { width: 232px; padding: 11px; border-radius: 12px; }
  .card .who { gap: 9px; margin-bottom: 9px; }
  .card .pfp { width: 30px; height: 30px; }
  .card .n { font-size: 13.5px; }
  .card .amt { font-size: 16px; }
  .card .amt span { font-size: 8.5px; margin-top: 3px; }
  .card .q { font-size: 12px; -webkit-line-clamp: 4; }
  .card .cert { width: 84px; border-radius: 8px; }
  .card.po .cert, .card.noq .cert { width: 100%; aspect-ratio: 16/7; }
}

/* even 52px gaps between sections: the first column ends close to the payout title */
main.wrap:first-of-type { padding-bottom: 26px; }


/* floating newsletter bar (option N4) */
.nbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; max-width: 516px; margin: 0 auto; padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(20,20,22,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); font-size: 13.5px; transform: translateY(140%); transition: transform .35s ease; }
.nbar.on { transform: none; }
.nbar .r { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.nbar .b { display: flex; align-items: center; }
.nbar .go { font: inherit; font-size: 13px; font-weight: 600; color: #0B0B0D; background: #F4F4F5; border: 0; border-radius: 9px; padding: 9px 13px; cursor: pointer; white-space: nowrap; }
.nbar .x { font: inherit; font-size: 20px; line-height: 1; background: none; border: 0; color: rgba(255,255,255,.5); padding: 4px 2px 4px 8px; cursor: pointer; }
.nbar input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: #0e0f12; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 8px 10px; outline: none; }
.nbar .f { display: none; } .nbar.open .f { display: flex; } .nbar.open .t { display: none; }
@media (prefers-reduced-motion: reduce) { .nbar { transition: none; } }
