@font-face { font-family:"Instrument Sans"; font-weight:400; font-display:swap; src:url(/assets/fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family:"Instrument Sans"; font-weight:500; font-display:swap; src:url(/assets/fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family:"Instrument Sans"; font-weight:600; font-display:swap; src:url(/assets/fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family:"Source Serif 4"; font-weight:200 900; font-display:swap; src:url(/assets/fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"); }
@font-face { font-family:"Source Serif 4"; font-weight:200 900; font-style:italic; font-display:swap; src:url(/assets/fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations"); }

:root {
  --ink:#1f3934; --muted:#5e705f; --body:#4f625b; --paper:#f2f2f0; --white:#fff;
  --line:#d2d7d6; --selected:#e4ebe3; --radio:#a5b0ae; --green:#77a053; --green-dark:#5f8540;
  --serif:"Source Serif 4",Georgia,serif; --sans:"Instrument Sans",Arial,sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
html,body { height:100%; }
body {
  margin:0; overflow:hidden; background:#1f2723; color:var(--ink);
  font-family:var(--sans); font-size:16px; line-height:1.4;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
h1,h2,p,fieldset,legend { margin:0; padding:0; border:0; }
em { font-family:var(--serif); font-style:italic; font-weight:400; }
[hidden] { display:none !important; }

/* Background: the homepage's first screen, fixed and dimmed. Nothing on the page is scaled with the window: text and
   boxes always keep their Figma pixel sizes, so 16px text is 16px on every screen (client feedback, 3 Dec 2026). */
.backdrop-page { position:fixed; inset:0; overflow:hidden; color:var(--paper); user-select:none; isolation:isolate; container-type:size; }
/* Layers taken from the "Preview pages" PDF (1440 x 914 frame). Exact at that size; on other window shapes the photo
   covers the screen around the same centre and the fades stay anchored to the hero content. */
.backdrop-photo {
  --k:max(100cqw / 1440, 100cqh / 914);
  position:absolute; z-index:-2; left:calc(50% - 794 * var(--k)); top:calc(50% - 487.5 * var(--k));
  width:calc(1668 * var(--k)); height:calc(975 * var(--k));
  background:url(/assets/hero.webp) 0 0 / 100% 100% no-repeat;
}
.backdrop-page::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgb(25 42 39 / .1609) 0, rgb(25 42 39 / 0) 221.9px),
    linear-gradient(90deg,
      rgb(25 42 39 / .7) calc(50% - 367px), rgb(23 40 37 / .6125) calc(50% - 262.9px), rgb(22 38 35 / .525) calc(50% - 158.9px),
      rgb(20 35 32 / .4375) calc(50% - 54.8px), rgb(19 33 30 / .35) calc(50% + 49.2px), rgb(17 31 28 / .2625) calc(50% + 153.3px),
      rgb(16 29 26 / .175) calc(50% + 257.4px), rgb(14 26 24 / .0875) calc(50% + 361.4px), rgb(12 24 22 / 0) calc(50% + 465.5px)),
    linear-gradient(rgb(0 0 0 / .1), rgb(0 0 0 / .1));
}
.container { width:min(1280px,100% - 160px); margin-inline:auto; }
/* Header and hero geometry below is taken from the wireframe frame (1440 x 914); comments give the frame coordinates. */
.site-header { position:absolute; inset:0 0 auto; border-bottom:1px solid rgb(242 242 240 / .2); }
.header-inner { position:relative; display:flex; align-items:center; height:76px; }
.logo { position:absolute; left:0; top:0; width:70px; height:77px; }
/* The links start 457px in, as in the frame; on narrower desktop windows they move left so they stay 32px clear of the
   buttons (the links are 383px wide, the buttons 191px), instead of the header being scaled down. */
.header-nav { position:absolute; left:min(457px, 100% - 606px); top:0; display:flex; align-items:center; height:76px; color:#e8e7de; font-size:14px; font-weight:500; line-height:20px; letter-spacing:-.02em; }
.header-nav span { position:absolute; white-space:nowrap; }
.header-nav span:nth-child(2) { left:120px; } .header-nav span:nth-child(3) { left:233px; } .header-nav span:nth-child(4) { left:343px; }
.header-actions { display:flex; gap:12px; margin-left:auto; }
.header-button { display:inline-flex; align-items:center; height:36px; white-space:nowrap; padding:0 12px; border-radius:4px; color:var(--white); font-size:14px; font-weight:500; line-height:20px; letter-spacing:-.02em; }
.header-button-outline { width:67px; background:rgb(31 57 52 / .01); outline:1px solid var(--paper); outline-offset:-.5px; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.header-button-primary { width:112px; background:var(--green); }
/* The hero block keeps the wireframe's position relative to the frame centre: its top (eyebrow border) is at y 220.
   On windows shorter than 674px it stops 24px below the header instead of running into it. The 3 Dec 2026 frames have
   the eyebrow box 43px tall, 1px lower than before. */
.hero { position:absolute; inset:0; }
.hero-content { position:relative; top:max(101px, 50% - 236px); display:flex; flex-direction:column; align-items:flex-start; }
.eyebrow { width:369px; height:43px; padding:2px 0 0 17px; border:1px solid rgb(242 242 240 / .2); border-radius:4px; background:rgb(242 242 240 / .1); background-clip:padding-box; font-size:18px; font-weight:500; line-height:39px; letter-spacing:-.029em; white-space:nowrap; }
.hero-title { margin-top:25px; font-family:var(--serif); font-size:68px; line-height:68px; letter-spacing:-.024em; }
.hero-description { max-width:560px; margin-top:23.5px; font-size:24px; line-height:34px; letter-spacing:-.021em; }
.hero-button { width:131px; height:54px; margin-top:31.5px; padding-left:24px; border-radius:4px; background:var(--green); color:var(--white); font-size:16px; font-weight:500; line-height:54px; letter-spacing:-.013em; }
.trust-points { display:flex; flex-wrap:wrap; gap:24px; margin:65px 0 0; padding:0; list-style:none; font-size:16px; font-weight:500; line-height:20px; letter-spacing:-.018em; }
.trust-points li { display:flex; align-items:center; gap:8px; }
.trust-points li:nth-child(1) { width:179px; } .trust-points li:nth-child(2) { width:185px; }
.trust-points li::before {
  /* Tick traced from the "Preview pages" PDF: 20 px box, 1.5 px round-capped stroke. */
  content:""; width:20px; height:20px; border-radius:2px;
  background:#e8e7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.664 10 7.997 13.333 15.331 6' fill='none' stroke='%231f3934' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Pop-up */
.overlay {
  position:fixed; inset:0; z-index:1; display:grid; place-items:center; padding:32px 20px;
  overflow-y:auto; overscroll-behavior:contain; background:rgb(43 43 40 / .6);
}
.dialog {
  width:min(600px,100%); padding:32px; border-radius:8px; background:var(--white);
  box-shadow:0 24px 64px #0b141133; outline:none;
}
.tag { display:inline-block; width:132px; height:40px; padding:0 16px; border:1px solid var(--line); border-radius:4px; font-size:16px; font-weight:500; line-height:38px; letter-spacing:-.013em; }
h1 { margin-top:16px; font-family:var(--serif); font-size:36px; line-height:38px; font-weight:400; letter-spacing:-.026em; }
.intro { margin-top:12px; color:var(--body); font-size:16px; line-height:22px; letter-spacing:-.02em; }
form { margin-top:32px; }
.fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:flex; flex-direction:column; gap:4px; min-width:0; }
label,legend { font-size:14px; line-height:20px; font-weight:500; letter-spacing:-.017em; }
input[type=text],input[type=email] {
  width:100%; height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:4px;
  background:var(--white); color:var(--ink); font:16px/22px var(--sans); letter-spacing:-.02em;
}
/* Focused fields use the same 1px ink border as the selected role card (user request, 3 Dec 2026). */
input[type=text]:focus,input[type=email]:focus { outline:none; border-color:var(--ink); }
input[aria-invalid=true] { border-color:var(--ink); }
.roles { margin-top:24px; min-width:0; }
.roles legend { margin-bottom:8px; }
.role-options { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.role {
  position:relative; display:flex; flex-direction:column; min-height:101px; padding:44px 16px 16px 15px;
  border:1px solid var(--line); border-radius:4px; cursor:pointer; font-weight:400;
}
/* Unselected role cards use the same border colour as the name and email fields (client feedback, 3 Dec 2026; the
   design had the lighter #e8e7de). */
.role:has(input:checked) { border-color:var(--ink); background:var(--selected); }
/* The radio and text sit 16px from the card's outer edge, counting its 1px border (user request, 2 Dec 2026). */
.role input {
  position:absolute; top:16px; left:15px; width:16px; height:16px; margin:0;
  appearance:none; border:1px solid var(--radio); border-radius:50%; background:var(--white); cursor:pointer;
}
.role input:checked { border:0; background:radial-gradient(circle,var(--white) 0 3px,var(--green) 3.5px); }
.role input:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.role-title { font-size:14px; line-height:20px; font-weight:500; letter-spacing:-.017em; }
.role-detail { margin-top:2.8px; color:var(--muted); font-size:12px; line-height:16px; letter-spacing:-.021em; }
.submit {
  display:block; width:100%; height:54px; margin-top:32px; border:0; border-radius:4px;
  background:var(--green); color:var(--white); font:500 16px/22px var(--sans); letter-spacing:-.018em; cursor:pointer;
}
.submit:hover { background:var(--green-dark); }
.submit:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.submit[aria-disabled=true] { cursor:progress; opacity:.75; }
.small-print { margin-top:12px; color:var(--muted); font-size:12px; line-height:17px; letter-spacing:-.009em; text-align:center; }
/* Turnstile stays invisible; it only takes space while it actually asks the person to interact. */
.turnstile { display:flex; justify-content:center; height:0; overflow:hidden; }
.turnstile.is-interactive { height:auto; margin-top:24px; overflow:visible; }

/* Error/warning message, matched to the supplied reference (Display P3 screenshot converted to sRGB): flat sand fill, no border or shadow. */
.validation-message {
  display:flex; align-items:flex-start; gap:8px; padding:14px 18px;
  border:0; border-radius:4px; box-shadow:none; background:#e9d39a; color:var(--ink);
  font-family:var(--sans); font-size:16px; font-weight:400; line-height:22.4px; letter-spacing:-.022em;
}
.validation-message svg { flex-shrink:0; width:20px; height:20px; margin-top:1.2px; }
.validation-message span { min-width:0; overflow-wrap:anywhere; }
.form-message { margin-top:12px; }


.trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Success */
.success { display:flex; flex-direction:column; align-items:center; padding:8px 0; text-align:center; }
.seal { display:block; }
.success h2 { width:215px; margin-top:16px; font-family:var(--serif); font-size:32px; line-height:32px; font-weight:400; letter-spacing:-.026em; outline:none; }
.nowrap { white-space:nowrap; }
.success-text { margin-top:16px; color:var(--body); font-size:16px; line-height:22px; letter-spacing:-.02em; overflow-wrap:anywhere; }
/* Desktop and tablet: two lines as in the wireframe: "... as soon as GPC" / "opens. ...". The text stays inside 40px
   side margins (user decision, 1 Dec 2026); if "as soon as GPC" doesn't fit on the email's line, waitlist.js adds
   .is-long and the text wraps naturally. Phones use the full 310px content width (see the phone block). */
.success-text { margin-inline:8px; }
.success-text.is-long br { display:none; }
.success-text.is-long .nowrap { white-space:normal; }

@media (prefers-reduced-motion:no-preference) {
  .submit,.role { transition:background-color .15s ease,border-color .15s ease; }
}
@media (forced-colors:active) {
  .role:has(input:checked) { outline:2px solid Highlight; }
  .role input { appearance:auto; }
  .validation-message { border:1px solid CanvasText; }
  input[type=text]:focus,input[type=email]:focus { outline:2px solid Highlight; }
}

/* Tablet and mobile follow the client's "Preview pages" tablet (768 x 1024) and mobile (390 x 844) frames, 1 Dec 2026.
   Desktop (1024px and up) is unaffected by everything below. Measured from the supplied PNG (about 2/3 scale), +/-1px. */
.header-menu { display:none; }
/* Tablet layout: up to 1023px wide, and portrait screens up to 1032px (iPad Pro 13", 1032 x 1376). */
@media (max-width:1023px), (max-width:1032px) and (orientation:portrait) {
  /* Phones and tablets scroll the page itself (native scrolling, works with the on-screen keyboard); the background
     homepage stays fixed behind the pop-up. */
  /* Up and down only: nothing may widen the page or let it pan sideways (user request, 1 Dec 2026). */
  html,body { height:auto; }
  html { overflow-x:hidden; }
  body { overflow:visible; overflow-x:clip; touch-action:pan-y pinch-zoom; }
  .backdrop-page { contain:paint; }
  /* Tablets and phones: the photo keeps its real shape (1672 x 941) and covers the screen (user report, 2 Dec 2026). */
  /* Placed as in the 3 Dec 2026 tablet frame (60% across): the laptop and the woman both in view. */
  .backdrop-photo { inset:0; width:auto; height:auto; background-size:cover; background-position:60% 50%; }
  .overlay { position:relative; inset:auto; min-height:100vh; min-height:100dvh; overflow:visible; background:none; }
  /* The 60% dim sits on the fixed background, not on the scrolling layer, so scrolling or a bounce at the top or bottom
     never slides it off the homepage (user report, 1 Dec 2026). Bounce and pull-to-refresh are turned off too. */
  body::after { content:""; position:fixed; inset:0; z-index:0; background:rgb(43 43 40 / .6); pointer-events:none; }
  html { overscroll-behavior:none; }
  /* Tablets show the 768px tablet frame at its real pixel sizes on every tablet; nothing is scaled with the window
     (client feedback, 3 Dec 2026). */
  .tag,.success h2 { white-space:nowrap; }

  /* Header: logo 20px from the left; "Find a mentor" then an 18px gap and the menu icon, which ends 22px from the right. */
  .site-header .container { width:auto; margin:0 22px 0 20px; }
  .header-nav,.header-button-outline { display:none; }
  .header-actions { align-items:center; gap:18px; }
  .header-menu { display:flex; flex-direction:column; justify-content:space-between; width:20px; height:12px; }
  .header-menu i { display:block; height:1.5px; border-radius:1px; background:#e8e7de; }

  /* Hero: 40px side margins, eyebrow top at y 189. */
  .hero .container { width:calc(100% - 80px); }
  .hero-content { top:189px; }
  /* 3 Dec 2026 tablet frame: the title keeps its break after "occupational". */
  .hero-title { margin-top:24.5px; font-size:56px; line-height:56px; }
  .hero-description { max-width:none; margin-top:23.9px; font-size:20px; line-height:28px; }
  .hero-button { margin-top:32px; }
  .trust-points { margin-top:49px; }
}
/* Tablets only. */
@media (min-width:601px) and (max-width:1023px), (min-width:601px) and (max-width:1032px) and (orientation:portrait) {
  /* The tablet frame's fades are the desktop frame's, stretched to the frame (Figma "scale" constraints: x by
     width / 1440, y by height / 914). The photo is not stretched (user report, 2 Dec 2026: it looked shrunk): it keeps
     its real shape and covers the screen. */
  .backdrop-page::before {
    background:
      linear-gradient(180deg, rgb(25 42 39 / .1609) 0, rgb(25 42 39 / 0) calc(221.9 * 100cqh / 914)),
      linear-gradient(90deg,
        rgb(25 42 39 / .7) 24.514%, rgb(23 40 37 / .6125) 31.743%, rgb(22 38 35 / .525) 38.965%,
        rgb(20 35 32 / .4375) 46.194%, rgb(19 33 30 / .35) 53.417%, rgb(17 31 28 / .2625) 60.646%,
        rgb(16 29 26 / .175) 67.875%, rgb(14 26 24 / .0875) 75.097%, rgb(12 24 22 / 0) 82.326%),
      linear-gradient(rgb(0 0 0 / .1), rgb(0 0 0 / .1));
  }
}
@media (max-width:600px) {
  /* Phones show the mobile frames at their real pixel sizes: the pop-up is never scaled to the screen (client
     feedback, 3 Dec 2026), so on phones shorter than it the page scrolls.
     Background: the client's 393 x 740 mobile frame, 3 Dec 2026. 56px header with a smaller logo (59.5 x 65.45), a
     32px "Find a mentor" button and the menu icon 22px from the right; 20px hero margins; eyebrow box 287 x 30 at
     y 105 with 14px text; 40px title; 18px description in a 320px column; 112 x 44 button; trust points stacked
     34px apart with 16px ticks, "Book in minutes" second. */
  .header-inner { height:56px; }
  .logo { left:-1.5px; top:-5.5px; width:59.5px; height:65.45px; }
  .header-button { height:32px; }
  .hero .container { width:calc(100% - 40px); }
  .hero-content { top:105px; }
  .eyebrow { width:287px; height:30px; padding:0 0 0 12px; font-size:14px; line-height:28px; letter-spacing:-.022em; }
  /* With the 3 Dec 2026 headline the title takes three lines ("... need" / "it"), as in the client's mobile frame. */
  .hero-title { margin-top:20px; font-size:40px; line-height:40px; }
  .hero-description { max-width:320px; margin-top:13px; font-size:18px; line-height:25px; }
  .hero-button { width:112px; height:44px; margin-top:23px; padding:0; font-size:14px; line-height:44px; text-align:center; }
  .trust-points { flex-direction:column; gap:14px; margin-top:33px; }
  .trust-points li { width:auto !important; }
  .trust-points li:nth-child(2) { order:1; }
  .trust-points li::before { width:16px; height:16px; background-size:16px; }
  /* Photo: the mobile frame's version of the photo, extended upward (Figma export, 3 Dec 2026), at real pixel size:
     1024 x 848 from the top of the screen, 409px left of the screen edge on the 393px frame (65% across), so the
     laptop and the woman sit at the bottom as in the frame. Taller screens enlarge it just enough to cover. */
  .backdrop-photo { background-image:url(/assets/hero-mobile.webp); background-size:auto max(848px, 100%); background-position:65% 0; }
  /* Shade as measured from the mobile frame: 63.5% black down to y 370 (behind the text), fading out by y 650. */
  .backdrop-page::before { background:linear-gradient(180deg, rgb(0 0 0 / .635) 370px, rgb(0 0 0 / 0) 650px); }

  /* Phone pop-up: the client's mobile frame (390 x 844), 1 Dec 2026 - the desktop pop-up in one column with 24px padding
     and a 28px heading, 16px from the sides of the screen (358px wide on a 390px phone). It sits in the middle of the
     screen with the same gap above and below it (user request, 3 Dec 2026; 20.5px each in the frame). On shorter screens
     it is 20px from the top and the page scrolls to a 20px gap below it. */
  .overlay { padding:20px 16px; }
  .dialog { width:100%; padding:24px; }
  /* "You're on the list" (Figma, 3 Dec 2026): 24px side padding, so the content (seal, heading, text) fills the box,
     and 32px above and below it (358 x 250 on a 390px phone, the text in three lines). */
  .success-text { margin-inline:0; }
  h1 { margin-top:16px; font-size:28px; line-height:28px; }
  .intro { margin-top:12px; }
  form { margin-top:24px; }
  .fields { grid-template-columns:1fr; }
  .role-options { grid-template-columns:1fr; gap:8px; }
  .role { min-height:65px; padding:12px 16px 12px 43px; justify-content:center; }
  .role input { top:50%; translate:0 -50%; }
  .submit { margin-top:24px; }
  .success h2 { width:auto; font-size:28px; line-height:28px; }
}

/* iPhone and iPad (iOS 26 Safari): fixed layers are never drawn under Safari's status bar or bottom toolbar, so a flat
   dark band showed at the bottom instead of the photo (user report with screenshots, 4 Dec 2026). Page content is
   drawn there, so on iOS the background and its dim scroll with the page instead of staying fixed. Past either end of
   the page (behind the clock at the top of the page; under the toolbar scrolled to the bottom) Safari paints only the
   page's background colour, never an image (checked on the client's iPhone, 4 Dec 2026). So on phones that colour is
   the colour of the top of the page (the photo under its shade and dim), and the dim fades into the same colour over
   the last 160px of the page: no band at either end. Tablet frames have a sideways fade at the top, which one colour
   can't match, so they keep #1f2723. Other browsers keep the fixed background above. */
@supports (-webkit-touch-callout:none) {
  @media (max-width:1023px), (max-width:1032px) and (orientation:portrait) {
    body { --edge:#1f2723; position:relative; background-color:var(--edge); }
    .backdrop-page,body::after { position:absolute; inset:0; }
    body::after { background:linear-gradient(transparent calc(100% - 160px), var(--edge)) rgb(43 43 40 / .6); }
  }
  @media (max-width:600px) {
    body { --edge:#33322f; }
  }
}
