:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #6b6b6b;
  --dim: #9a9a9a;
  --rail: rgba(255, 255, 255, 0.9);
  --font: "Satoshi", "Helvetica Neue", Helvetica, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wide: 72rem;
  /* Three type sizes for the whole page */
  --type-h: clamp(1.85rem, 4vw, 2.85rem);
  --type-s: clamp(1.15rem, 1.85vw, 1.35rem);
  --type-b: clamp(1rem, 1.15vw, 1.1rem);
  /* One left/right edge for every section */
  --gutter: var(--space);
  --page-max: 96rem;
  --pad-x: max(var(--gutter), calc((100vw - var(--page-max)) / 2));
}

@media (min-width: 900px) {
  :root {
    --gutter: clamp(2rem, 5vw, 4.5rem);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--type-b);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 500;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--wide));
  margin: 0 auto;
}

/* -- brand mark (top left) -- */
.brand {
  position: absolute;
  top: 1.2rem;
  left: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 2;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--fg);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.5);
}

/* -- hero: full-bleed muted looping video + overlay copy -- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.42) 42%,
    rgba(0, 0, 0, 0.18) 100%
  );
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 5.5rem var(--space) 4.6rem;
}

.hero__hook {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.6rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
}

.hero__hook-line {
  display: block;
}

.hero__sub {
  margin: 0 0 0.65rem;
  font-size: var(--type-s);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
}

.hero__who {
  display: grid;
  grid-template-columns: auto max-content;
  justify-content: end;
  column-gap: 0.45rem;
  align-items: start;
  max-width: none;
  margin: 0;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  color: var(--fg);
  font-size: var(--type-b);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.hero__for {
  font-weight: 400;
  line-height: 1.35;
  padding-top: 0.05em;
}

.hero__who-body {
  display: flex;
  flex-direction: column;
}

.hero__who-line {
  display: block;
  white-space: nowrap;
}

.hero__fact {
  margin: 0.9rem 0 0;
  font-size: var(--type-b);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero__apply {
  margin-top: 1.15rem;
  justify-self: start;
  text-shadow: none;
}

/* -- Why are we doing this -- */
.why {
  padding: 3.75rem var(--space) 1.5rem;
  margin: 0;
}

.why__inner {
  width: 100%;
  max-width: 86rem;
  margin: 0;
}

.why__title {
  margin: 0 0 1.2rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
}

.why__body {
  margin: 0;
  font-size: var(--type-b);
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg);
  max-width: 86rem;
}

/* -- Part A / Part B: text + one rounded photo, vertical bar -- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 3.5rem var(--space);
  margin: 0;
  width: 100%;
}

.split__copy {
  position: relative;
  max-width: 32rem;
  padding-left: 1.15rem;
}

.split__copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 2px;
  background: #ffffff;
}

.split__title {
  margin: 0 0 0.75rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

.split__line {
  margin: 0.45rem 0 0;
  font-size: var(--type-b);
  font-weight: 400;
  line-height: 1.45;
  color: var(--fg);
}

.split__list-label {
  margin: 1.15rem 0 0.4rem;
  font-size: var(--type-s);
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg);
}

.split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.split__list li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--type-b);
  line-height: 1.45;
  color: var(--fg);
}

.split__list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--fg);
}

.split__closing {
  margin-top: 1rem;
}

.split__photo {
  margin: 0;
  width: 100%;
}

.split__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0.75rem;
}

/* -- FAQ accordion -- */
.faq {
  padding: 1.5rem var(--space) 3.5rem;
}

.faq__inner {
  width: 100%;
  max-width: min(100%, 72rem);
  margin: 0;
}

.faq__title {
  margin: 0 0 1.6rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
}

.faq__list {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq__item {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  user-select: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.faq__q {
  font-size: var(--type-s);
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg);
}

.faq__icon {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.85rem;
  height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.faq__item[open] .faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq__a {
  padding: 0 1.75rem 1.25rem 0;
  font-size: var(--type-b);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
}

.faq__a a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq__a a:hover {
  color: var(--dim);
}

/* -- partners -- */
.partners {
  padding: 4rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partners__label {
  margin: 0;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.logos {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.25rem;
  row-gap: 2.35rem;
  align-items: center;
}

.logos li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.logos img[alt="LDN Calling"] {
  max-height: 4.5rem;
  max-width: min(5.25rem, 100%);
}

.logos img {
  width: auto;
  height: auto;
  max-height: 3.25rem;
  max-width: 100%;
  object-fit: contain;
}

.logos img[alt="Tower"] {
  max-height: 2.55rem;
  max-width: min(9.5rem, 100%);
}

.logos img[alt="Launch London"] {
  max-height: 2.85rem;
  max-width: min(7rem, 100%);
}

.logos img[alt="Builders Brew"] {
  max-height: 2.2rem;
  max-width: min(12rem, 100%);
}

.logos img[alt="Hurdle"] {
  max-height: 2.45rem;
  max-width: min(9.5rem, 100%);
}

.logos img[alt="Founder Matcha"] {
  max-height: 2.15rem;
  max-width: min(12.5rem, 100%);
}

/* -- close / CTA -- */
.close {
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.close__line {
  margin: 0 0 1.35rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.15rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--type-b);
  border: 1px solid var(--fg);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: transparent;
  color: var(--fg);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.close__mail {
  margin: 1.75rem 0 0;
  font-size: var(--type-b);
  color: var(--rail);
}

.close__mail a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.close__mail a:hover {
  color: var(--fg);
}

.close__more {
  margin: 0.85rem 0 0;
  font-size: var(--type-b);
}

.close__more a {
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.close__more a:hover {
  color: var(--fg);
}

/* -- shared section heading for v2 blocks -- */
.sec__title {
  margin: 0 0 0.9rem;
  font-size: var(--type-h);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

.sec__lede {
  margin: 0;
  max-width: 44rem;
  font-size: var(--type-s);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
}

.sec__lede-phone {
  display: none;
}

/* -- How it works: 3-step timeline -- */
.how {
  padding: 4.5rem var(--space) 2rem;
  scroll-margin-top: 1rem;
}

.how__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
  margin: 0 0 0.9rem;
}

.how__head .sec__title {
  margin: 0;
}

.how__agenda {
  flex: 0 0 auto;
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.how__agenda:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  opacity: 0.92;
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  position: relative;
  padding: 0 0 2.1rem 1.6rem;
}

.step::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.step:last-child::before {
  display: none;
}

.step__photo {
  position: relative;
  z-index: 1;
  margin: 1.4rem 0 0 -1.6rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #141414;
}

.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--fg);
}

.step__when {
  margin: 0;
  font-size: var(--type-b);
  font-weight: 500;
  color: var(--dim);
  line-height: 1.3;
}

.step__title {
  margin: 0 0 0.45rem;
  font-size: var(--type-s);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
}

.step__body {
  margin: 0;
  font-size: var(--type-b);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
}

.step__list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.step__list li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--type-b);
  line-height: 1.45;
}

.step__list li::before {
  content: "-";
  position: absolute;
  left: 0;
}

/* -- What you walk away with -- */
.walk {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.walk__inner {
  max-width: none;
}

.gets {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.gets li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.6rem;
  align-items: baseline;
  text-align: left;
}

.gets__num {
  font-size: var(--type-b);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  line-height: 1;
}

.gets__what {
  display: block;
  font-size: var(--type-s);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.gets__note {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--type-b);
  line-height: 1.45;
  color: var(--fg);
}

.close {
  scroll-margin-top: 1rem;
}

@media (min-width: 900px) {
  .how {
    padding: 5.5rem clamp(2rem, 5vw, 4.5rem) 2.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
    margin-top: 3rem;
  }

  .step {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 0 0;
  }

  .step__photo {
    margin: auto 0 0;
  }

  .step__list {
    margin-bottom: 2rem;
  }

  .step::before {
    left: 0;
    right: calc(-1 * clamp(1.5rem, 3vw, 2.75rem));
    top: 0.3rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .step:last-child::before {
    display: block;
    right: 0;
  }

  .step::after {
    top: 0;
  }

  .walk {
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .gets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem);
    max-width: none;
  }

  .gets__what {
    white-space: nowrap;
  }

  .hero__copy {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 2rem;
    align-items: end;
  }

  .hero__sub {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__hook {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .hero__who {
    grid-column: 2;
    grid-row: 2;
    font-size: var(--type-s);
    padding-bottom: 0.2em;
  }

  .hero__fact {
    grid-column: 1;
    grid-row: 3;
    margin-top: 1rem;
  }

  .hero__apply {
    grid-column: 1;
    grid-row: 4;
  }

  .sec__lede {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .sec__lede {
    white-space: nowrap;
    font-size: min(1.6vw, 1.35rem);
  }

}

@media (min-width: 900px) {
  .why {
    padding: 4.5rem clamp(2rem, 5vw, 4.5rem) 1.75rem;
  }

  .split {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(26rem, 1.2fr);
    column-gap: clamp(2.25rem, 5vw, 4rem);
    padding: 3.25rem clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .split--flip {
    grid-template-columns: minmax(26rem, 1.2fr) minmax(17rem, 0.9fr);
  }

  .split__photo img {
    max-height: none;
    height: auto;
  }

  .logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 2rem;
  }
}

@media (max-width: 899px) {
  .brand {
    top: 1rem;
    left: 1rem;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: end;
  }

  .hero__copy {
    width: 100%;
    padding: 5.5rem var(--space) 4.5rem;
  }

  .hero__hook {
    margin: 0 0 0.85rem;
  }

  .hero__fact,
  .hero__apply {
    display: none;
  }

  .hero__who {
    margin-left: 0;
    max-width: 100%;
    column-gap: 0.45rem;
  }

  .hero__who-line {
    white-space: normal;
  }

  .why {
    padding-top: 3rem;
    padding-bottom: 1rem;
  }

  .split {
    padding-top: 2.75rem;
  }

  /* Phone only: photo above its text block. Desktop stays side by side. */
  .close__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .close__actions .btn {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    text-align: center;
  }

  .sec__lede:has(.sec__lede-phone) .sec__lede-full {
    display: none;
  }

  .sec__lede .sec__lede-phone {
    display: inline;
  }

  .sec__lede:has(.sec__lede-phone) {
    font-size: clamp(16px, 4.35vw, 1.15rem);
  }

  .how {
    padding-top: 3rem;
  }
}

/* -- shared page edge: every section uses --pad-x -- */
.hero__copy,
.why,
.how,
.split,
.walk,
.faq,
.partners,
.close {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.brand {
  left: var(--pad-x);
}

.partners .wrap,
.close .wrap {
  width: auto;
  margin: 0;
}

.faq__inner {
  max-width: none;
}

@media (min-width: 900px) {
  .logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-content: stretch;
    align-items: center;
    column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
    row-gap: 0;
  }

  .logos li {
    justify-content: center;
    flex: unset;
  }

  .logos img[alt="LDN Calling"] {
    max-height: 4.5rem;
    max-width: min(5.25rem, 100%);
  }

  .logos img[alt="Founder Matcha"] {
    max-height: 2.85rem;
    max-width: min(14rem, 100%);
  }

  .logos img[alt="Builders Brew"] {
    max-height: 2.05rem;
    max-width: min(11rem, 100%);
  }
}

/* -- CTA: the white fill follows the hovered / focused button -- */
.close__actions .btn {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.close__actions .btn:not(.btn--ghost):hover {
  background: var(--fg);
  color: var(--bg);
}

.close__actions:has(.btn:focus-visible) .btn {
  background: transparent;
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.4);
}

.close__actions:has(.btn:focus-visible) .btn:focus-visible {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

@media (hover: hover) {
  .close__actions:has(.btn:hover) .btn {
    background: transparent;
    color: var(--fg);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .close__actions:has(.btn:hover) .btn:hover {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
  }
}

@media (max-width: 379px) {
  .close__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
