/* BNB Success flagship application page. Flat dark landing page modelled on the
   viralcoach.com/cpy/about-you layout (sizes measured from it), BNB red accent, no motion. */
:root {
  --bg: #0e0e0e;
  --line: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --body: #d4d4d4;
  --grey: #8d8d8d;
  --faint: #7a7a7a;
  --red: #ff385c;
  --red-dark: #e62e50;
  --rose: #ff8fa6;
  --panel: linear-gradient(180deg, rgba(54, 54, 54, 0.14) 0%, rgba(54, 54, 54, 0.37) 50%, rgba(54, 54, 54, 0.14) 100%);
  --serif: "Poly", Georgia, "Times New Roman", serif;
  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 0;
  border-radius: 6px;
  background: radial-gradient(50% 50% at 50% 0%, #ffb3c1 0%, var(--red) 100%);
  box-shadow: var(--red) 0 1px 4px 0;
  color: #fff;
  font: 700 15px/1.2 var(--sans);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: radial-gradient(50% 50% at 50% 0%, #ffc4cf 0%, var(--red-dark) 100%); }
.cta-row { text-align: center; margin-top: 56px; }

/* ---------- Header ---------- */
.site-header { padding: 40px 0 0; text-align: center; }
.site-header img { height: 84px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; text-align: center; padding: 56px 0 4px; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(760px, 130vw);
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 56, 92, 0.26), rgba(255, 56, 92, 0.08) 55%, transparent);
  z-index: -1;
  pointer-events: none;
}
.headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 7.8vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.headline .line { display: block; white-space: nowrap; }
.headline em { font-style: italic; color: #fff; }
.headline em span { color: var(--rose); }
.hero .btn { margin-top: 36px; }

/* ---------- Form card (white, like the reference) ---------- */
.apply { padding: 48px 0 16px; scroll-margin-top: 12px; }
.form-card { max-width: 620px; margin: 0 auto; border-radius: 10px; background: #fff; color: #1a1a1a; overflow: hidden; }
/* The SDK grows each question between these bounds, avoiding a second page scrollbar. */
.tf-wrap { min-height: 640px; height: 860px; }
.tf-wrap > div, .tf-wrap iframe { display: block; width: 100%; height: 100%; min-height: 640px; border: 0; }
.tf-wrap.tf-state { display: grid; min-height: 640px; height: 860px; place-items: center; padding: 32px; text-align: center; }
.tf-state-panel { max-width: 420px; }
.tf-state-panel p { margin: 0; color: #252525; font-size: 20px; line-height: 1.45; }
.tf-retry { margin-top: 24px; border: 0; cursor: pointer; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 12px 20px 16px; border-top: 1px solid #ececec; color: #666; font-size: 14px; }
.form-foot span { display: inline-flex; align-items: center; gap: 7px; }
.form-foot svg { width: 14px; height: 14px; color: var(--red); }

/* ---------- Stats: 4 across on desktop, 2 x 2 on phones (as the reference) ---------- */
.stats { padding: 56px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1070px; margin: 0 auto; }
.stat { min-height: 204px; padding: 30px 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: rgba(0, 0, 0, 0.05) 0 0.8px 2.4px -0.6px, rgba(0, 0, 0, 0.05) 0 2.4px 7.2px -1.2px, rgba(0, 0, 0, 0.1) 0 8px 24px -2px; }
.stat h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.25; letter-spacing: -0.05em; }
.stat .figure { margin: 14px 0; color: var(--rose); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.01em; }
.stat p { margin: 0; color: #fff; font-size: 16px; line-height: 1.3; }

/* ---------- Press bar ---------- */
.press { padding: 56px 0 0; text-align: center; }
.press-label { color: var(--faint); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 0; margin-top: 18px; }
/* Each logo in its own brand colour (the reference shows partner marks in colour), split by thin dividers. */
.logo-item { display: flex; align-items: center; padding: 0 26px; }
.logo-item + .logo-item { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.logo-mask { display: block; height: 26px; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; background: var(--c); }
.lm-airbnb { --src: url("assets/airbnb.webp"); --c: #ff5a5f; width: 83px; }
.lm-nine { --src: url("assets/nine-news.webp"); --c: #2a9df4; width: 121px; height: 19px; }
.lm-smh { --src: url("assets/smh.webp"); --c: #ffffff; width: 90px; height: 36px; }
.lm-rea { --src: url("assets/realestate.webp"); --c: #e4002b; width: 102px; }
.wordmark { line-height: 1; white-space: nowrap; }
.wm-bi { color: #3d7eff; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 0.95; text-align: left; }
.wm-yahoo { color: #8f45ff; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.wm-yahoo span { font-weight: 500; letter-spacing: 0; margin-left: 4px; }

/* ---------- Section transitions (reference: 2px centre-lit line + elliptical wash from above) ---------- */
.glow-top { position: relative; isolation: isolate; }
.glow-top::before,
.glow-top::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(1200px, 100%); pointer-events: none; z-index: -1; }
.glow-top::before {
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 56, 92, 0) 9%, var(--red) 50%, rgba(255, 179, 193, 0) 91%);
}
.glow-top::after {
  top: 0;
  height: min(1500px, 100%);
  background: radial-gradient(ellipse 77% 260% at 50% -98%, rgba(255, 56, 92, 0.42) 0%, rgba(255, 56, 92, 0) 70%);
}
.glow-top.soft::after { background: radial-gradient(ellipse 77% 260% at 50% -98%, rgba(255, 56, 92, 0.26) 0%, rgba(255, 56, 92, 0) 70%); }

/* ---------- Section heads (sans, as the reference) ---------- */
.section { margin-top: 100px; padding: 70px 0 0; }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.section-head h2 { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 45px; line-height: 1.05; letter-spacing: 0.02em; }
.section-head h2.h-light { font-weight: 400; font-size: 28px; line-height: 1.3; letter-spacing: 0; }
.section-head .accent { margin: 26px 0 0; color: var(--rose); font-size: 20px; line-height: 1.4; letter-spacing: 0.04em; }

/* ---------- Steps: zigzag with filled number circles ---------- */
.how { overflow-x: clip; }
.how .wrap { position: relative; }
.how .wrap::before { content: ""; position: absolute; left: -520px; top: 180px; width: 1200px; height: 1200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(204, 204, 204, 0.13), rgba(120, 120, 120, 0)); filter: blur(35px); pointer-events: none; z-index: -1; }
.steps { max-width: 760px; margin: 0 auto; }
.step { display: flex; align-items: center; justify-content: center; gap: 34px; padding: 44px 0; }
.step.flip { flex-direction: row-reverse; }
.step-body { max-width: 420px; text-align: left; }
.step.flip .step-body { text-align: right; }
.step-num { position: relative; flex: 0 0 64px; height: 64px; }
.step-num span { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 0%, #ff6f8a 0%, var(--red) 100%); box-shadow: 0 0 24px -4px rgba(255, 56, 92, 0.55); color: #fff; font-family: var(--sans); font-weight: 400; font-size: 38px; line-height: 1; }
.step-num::before, .step-num::after { content: ""; position: absolute; left: 50%; width: 0; }
.step-num::before { bottom: 100%; height: 70px; border-left: 1px solid var(--red); }
.step-num::after { top: 100%; height: 80px; width: 1px; margin-left: -0.5px; background: repeating-linear-gradient(180deg, #8e8e8e 0 4px, transparent 4px 8px); }
.step h3 { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 40px; line-height: 1.1; }
.step p { margin: 14px 0 0; color: var(--grey); font-size: 19px; line-height: 1.4; }

/* ---------- Trust box (reference "Rated Excellent" panel, BNB red) ---------- */
.trust-box { max-width: 520px; margin: 0 auto 44px; padding: 30px 24px 32px; text-align: center; background: linear-gradient(180deg, rgb(71, 22, 33) 0%, rgb(12, 12, 12) 100%); border: 1px solid var(--red); }
.trust-box p { margin: 0; color: #fff; }
.trust-top { font-size: 24px; font-weight: 700; line-height: 1.2; }
.trust-num { margin-top: 6px !important; color: var(--rose) !important; font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.trust-sub { margin-top: 8px !important; font-size: 20px; font-weight: 600; line-height: 1.3; }

/* ---------- YouTube student stories ---------- */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yt-card { padding: 14px; }
.yt-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; box-shadow: rgba(0, 0, 0, 0.25) 2px 2px 3px 0; overflow: hidden; background: #000; cursor: pointer; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 44px; transform: translate(-50%, -50%); border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.yt-thumb .play::after { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.yt-thumb .dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; }
.yt-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.yt-title { margin: 12px 2px 2px; padding-top: 12px; border-top: 1px solid #1c1c1c; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item + .faq-item { border-top: 1px solid rgba(69, 69, 69, 0.35); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 24px 0; cursor: pointer; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: relative; flex: 0 0 14px; height: 14px; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--rose); transform: translate(-50%, -50%); }
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .plus::after { display: none; }
.faq-item .answer { padding: 0 0 18px 32px; color: var(--grey); font-size: 18px; line-height: 1.5; }
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---------- Final CTA (giant faded number behind, as the reference) ---------- */
.final { position: relative; overflow: hidden; text-align: center; margin-top: 100px; padding: 110px 0 120px; isolation: isolate; background: linear-gradient(180deg, rgba(21, 21, 21, 0) 0%, rgb(51, 9, 18) 100%); }
.final::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(1200px, 100%); height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 9%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 91%); }
.final .big-num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; background: linear-gradient(0deg, #999 0%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.08; font-weight: 700; font-size: 460px; line-height: 1; letter-spacing: -0.04em; user-select: none; pointer-events: none; }
.final-headline em { font-style: italic; color: #fff; }
.final-headline .dot { color: var(--red); }
.final .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0a; border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 34px 0 110px; color: var(--faint); font-size: 13px; line-height: 1.6; text-align: center; }
.site-footer nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; font-size: 14px; color: var(--faint); }
.site-footer nav a { text-decoration: none; color: var(--rose); }
.site-footer nav a:hover { color: #fff; }
.site-footer p { max-width: 900px; margin: 0 auto 12px; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; }
.sticky-cta .btn { width: 100%; padding: 17px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 24px; }
  .site-header img { height: 64px; }
  .hero { padding-top: 30px; }
  .hero .btn { margin-top: 26px; }
  .apply { padding-top: 28px; }
  .tf-wrap { height: 900px; }
  .stats { padding-top: 40px; }
  .stat-grid { gap: 20px; }
  .stat { min-height: 184px; padding: 22px 18px; }
  .stat h3 { font-size: 24px; }
  .stat .figure { margin: 12px 0; font-size: 28px; }
  .stat p { font-size: 15px; }
  .press { padding-top: 44px; }
  .logos { gap: 16px 0; }
  .logo-item { padding: 0 11px; }
  /* Logos wrap onto two rows on phones; skip dividers so no row starts with a stray line. */
  .logo-item + .logo-item { border-left: 0; }
  .lm-airbnb { width: 64px; height: 20px; }
  .lm-nine { width: 95px; height: 15px; }
  .lm-smh { width: 75px; height: 30px; }
  .lm-rea { width: 78px; height: 20px; }
  .wm-bi { font-size: 12px; }
  .wm-yahoo { font-size: 17px; }
  .section { margin-top: 72px; padding-top: 56px; }
  .how .wrap::before { left: -700px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 30px; }
  .section-head h2.h-light { font-size: 24px; }
  .section-head .accent { margin-top: 18px; font-size: 17px; }
  .step { gap: 26px; padding: 40px 0; }
  .step-num { flex-basis: 60px; height: 60px; }
  .step-num span { width: 60px; height: 60px; font-size: 34px; }
  .step-num::before { height: 70px; }
  .step-num::after { height: 80px; }
  .step-body { max-width: 215px; }
  .step h3 { font-size: 21px; line-height: 1.15; }
  .step p { margin-top: 10px; font-size: 15px; line-height: 1.35; }
  .yt-grid { grid-template-columns: 1fr; }
  .trust-box { margin-bottom: 32px; padding: 24px 18px 26px; }
  .trust-top { font-size: 21px; }
  .trust-num { font-size: 28px; }
  .trust-sub { font-size: 17px; }
  .faq-item summary { font-size: 18px; gap: 14px; }
  .faq-item .answer { padding-left: 28px; font-size: 16px; }
  .final { margin-top: 72px; padding: 80px 0 90px; }
  .final .big-num { font-size: 260px; }
  .final .btn { margin-top: 26px; }
  .sticky-cta.show { display: block; }
}
