/* The hero shows through the upper corners. The lower edge meets Why join. */
.home .opportunity-chapter {
  --sheet-edge: clamp(10px, 2.1vw, 36px);
  --sheet-radius: clamp(28px, 4vw, 64px);
  position: relative;
  margin-top: calc(-1 * clamp(12px, 3svh, 30px));
  padding: 0 var(--sheet-edge);
  background: linear-gradient(180deg, #050506 9%, #24222c 34%, #bcb7c7 77%, #eeedf5 100%);
}
.home .opportunity-surface {
  border: 1px solid #f2effa;
  border-bottom-color: #d4cfdd;
  border-radius: var(--sheet-radius);
  box-shadow: inset 0 1px 0 #ffffffc9, 0 8px 24px -20px #312b43a6;
  background:
    radial-gradient(ellipse at 91% 0, #d5cfe9, transparent 48%),
    radial-gradient(ellipse at 6% 0, #e9dedb, transparent 45%),
    linear-gradient(165deg, #edeaf2, #f5f3f8);
  padding-block: clamp(48px, 5.8vw, 92px) clamp(36px, 4.5vw, 72px);
}
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 65%) {
  @media (prefers-reduced-motion: no-preference) {
    .home .opportunity-chapter { view-timeline: --opportunities block; }
    html[data-motion=on] .home .opportunity-surface {
      transform-origin: center top;
      animation: open-opportunities 1s cubic-bezier(.22,.7,.2,1) both;
      animation-timeline: --opportunities;
      animation-range: entry 0% entry 65%;
    }
  }
  @keyframes open-opportunities {
    from { transform: translateY(9px) scale(.984); }
    to { transform: none; }
  }
}
.home .opportunity-chapter + .reasons-chapter { background:#eeedf5; }
.reasons-chapter { color:#211e29; padding:clamp(43px,5.6vw,96px) 0 clamp(55px,5.6vw,91px); }
.reasons-chapter .chapter-title { margin-bottom:clamp(36px,4vw,69px); }
.reason-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.reason-item {
  display:flex; flex-direction:column; align-items:flex-start; min-width:0;
  color:#24202c; padding:0 clamp(15px,2.15vw,39px); border-left:1px solid #cecad8;
}
.reason-item:first-child {border-left:0;padding-left:0;}
.reason-item:last-child {padding-right:0;}
.reason-symbol {
  --glyph:#56476d; --edge:#b5a9d4;
  position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center;
  width:73px; height:73px; border-radius:23px; margin:0 0 23px;
  background:
    radial-gradient(ellipse at 80% 90%, var(--edge) -45%, transparent 69%),
    linear-gradient(144deg,#fffffff5,#e8e4f380 46%,#ffffff8c);
  box-shadow:inset 0 1px 2px #fff, inset -1px -2px 3px #cac4d58c, 0 7px 14px -9px #52486480;
  border:1px solid #ffffffd9;
}
.reason-symbol:after { content:''; position:absolute; inset:2px; border-radius:21px; border:1px solid #fffc; border-bottom-color:#c5bdce80; pointer-events:none; }
.reason-symbol svg { height:41px; width:41px; color:var(--glyph); filter:drop-shadow(0 1px 0 white); }
.mark-experience {--glyph:#465666;--edge:#aec8d7;}
.mark-choice {--glyph:#5b5271;--edge:#b6afdc;}
.mark-terms {--glyph:#685142;--edge:#d8c5ba;}
.reason-item h3 {font-size:clamp(20px,1.8vw,28px);font-weight:525;line-height:1.15;letter-spacing:-.05em;margin:0 0 10px;}
.reason-item p {max-width:29ch;font-size:15px;line-height:1.5;color:#55505e;margin:0 0 18px;}
.reason-action {margin-top:auto;font-size:13px;display:inline-flex;align-items:center;gap:7px;color:#514667;}
.reason-action .icon {width:14px;}
@media(hover:hover) {
 .reason-item:hover .reason-action {text-decoration:underline;text-underline-offset:4px;}
 .reason-item:hover .reason-symbol svg {transform:translateY(-1px);}
}
.home .screen-room {
  --night-depth:clamp(70px,7vw,125px);
  padding-top:calc(var(--night-depth) + clamp(35px,4.5vw,77px));
  background:linear-gradient(to bottom,#eeedf5 0,#e3e0ec calc(var(--night-depth)*.18),
    #a19caa calc(var(--night-depth)*.48),#4b4656 calc(var(--night-depth)*.7),
    #201d27 calc(var(--night-depth)*.9),#17151d var(--night-depth),#17151d 100%);
}
.home .screen-room .screen-panel {border-radius:clamp(16px,1.6vw,27px);}
.process-chapter {
  --process-text:#f5f3f8; --process-muted:#c4c0ce;
  color:var(--process-text);background:linear-gradient(180deg,#17151d,transparent 22%,transparent 76%,#17151d),radial-gradient(ellipse at 84% 66%,#302a3c 0%,transparent 57%),#17151d;
  padding:clamp(52px,6vw,100px) 0 clamp(62px,6vw,107px);
}
.home .process-chapter>.journey-width {border-top:1px solid #45404e;padding-top:clamp(42px,4.4vw,78px);}
.home .process-chapter {padding-top:0;}
.process-heading {display:flex;align-items:end;justify-content:space-between;gap:22px;margin:0 0 clamp(22px,2.5vw,43px);}
.process-heading h2,.question-chapter h2 {margin:0;font-size:clamp(38px,4.25vw,67px);line-height:1.04;letter-spacing:-.066em;font-weight:480;text-wrap:balance;}
.process-chapter .process-heading h2,.process-chapter .process-text h3 {color:var(--process-text);}
.process-heading p {font-size:clamp(16px,1.25vw,21px);line-height:1.45;color:var(--process-muted);margin:12px 0 0;}
.process-chapter .line-link {color:#eeebf5;border-color:#96939e;}
.process-switch {position:relative;min-width:0;margin:0;padding:0;border:0;}
.process-track {position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,570px);gap:0;padding:4px;margin:0 0 20px;
  border-radius:40px;border:1px solid #ada4be5c;background:linear-gradient(165deg,#ffffff1b,#bfb2d20e);isolation:isolate;}
.process-track:before {
  position:absolute;content:'';z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/4);border-radius:inherit;
  background:linear-gradient(145deg,#ffffff40,#bdb2d02b 52%,#ffffff26);
  box-shadow:inset 0 1px 0 #ffffff80,inset 0 -1px 0 #8883948c,0 2px 7px #0605084d;
  transition:transform .48s cubic-bezier(.23,.84,.2,1);
}
.process-track label {display:flex;min-height:38px;padding:5px 8px;justify-content:center;align-items:center;gap:7px;
  cursor:pointer;color:#d7d3de;font-size:14px;line-height:1.3;white-space:nowrap;border-radius:25px;}
.process-track label span {font-size:11px;color:#b6aebf;font-variant-numeric:tabular-nums;}
#process-skills:checked~.process-track:before {transform:translateX(100%);}
#process-invitation:checked~.process-track:before {transform:translateX(200%);}
#process-choice:checked~.process-track:before {transform:translateX(300%);}
#process-profile:focus-visible~.process-track label[for=process-profile],
#process-skills:focus-visible~.process-track label[for=process-skills],
#process-invitation:focus-visible~.process-track label[for=process-invitation],
#process-choice:focus-visible~.process-track label[for=process-choice] {outline:2px solid #d4c8ec;outline-offset:1px;}
.process-scenes {display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border-radius:clamp(18px,2.1vw,32px);background:#24222b;
  border:1px solid #7b73833b;isolation:isolate;}
.process-scene {
  grid-area:1 / 1;min-width:0;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  visibility:hidden;opacity:0;pointer-events:none;transform:translateY(7px);
  transition:opacity .35s ease, transform .52s cubic-bezier(.18,.74,.17,1),visibility 0s linear .36s;
}
#process-profile:checked~.process-scenes .scene-profile,
#process-skills:checked~.process-scenes .scene-skills,
#process-invitation:checked~.process-scenes .scene-invitation,
#process-choice:checked~.process-scenes .scene-choice {
  z-index:1;visibility:visible;opacity:1;transform:none;pointer-events:auto;transition-delay:0s;
}
.process-text {align-self:center;padding:clamp(27px,3.8vw,72px);}
.process-text h3 {font-weight:495;font-size:clamp(29px,3.45vw,54px);line-height:1.01;letter-spacing:-.058em;max-width:12ch;}
.process-text p {font-size:clamp(16px,1.18vw,19px);color:var(--process-muted);line-height:1.5;margin:18px 0 20px;max-width:38ch;}
.process-image {position:relative;isolation:isolate;overflow:hidden;min-height:clamp(300px,29vw,440px);margin:0;background:#17151c;}
.process-image > img {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 48%;transition:transform .65s cubic-bezier(.2,.72,.18,1);transform:scale(1.04);}
.process-image:after {content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,#160f2173);z-index:0;pointer-events:none;}
.process-image figcaption {position:absolute;z-index:2;right:10px;bottom:8px;max-width:70%;font-size:10px;line-height:1.35;padding:3px 6px;background:#13121acc;border-radius:4px;color:white;}
.process-note {position:absolute;z-index:1;bottom:clamp(28px,2.8vw,45px);left:clamp(15px,2.4vw,39px);right:auto;max-width:calc(100% - 36px);
  display:grid;gap:3px;padding:14px 19px;border-radius:16px;background:linear-gradient(135deg,#26232cb5,#282433a6);
  border:1px solid #ffffff42;box-shadow:inset 0 1px 0 #ffffff26,0 5px 20px #0003;color:white;
  backdrop-filter:blur(19px) saturate(115%);-webkit-backdrop-filter:blur(19px) saturate(115%);}
.process-note small {font-size:11px;color:#e2deea;}
.process-note strong {font-size:clamp(19px,1.7vw,27px);font-weight:510;line-height:1.16;letter-spacing:-.038em;}
.process-note span {font-size:13px;color:#f0edf5;line-height:1.4;}
.scene-invitation .process-image img {object-position:50% 24%;}
.scene-choice .process-image {background:#050506;}
.scene-choice .process-image img {object-fit:contain;padding-bottom:40px;}
#process-profile:checked~.process-scenes .scene-profile img,
#process-skills:checked~.process-scenes .scene-skills img,
#process-invitation:checked~.process-scenes .scene-invitation img,
#process-choice:checked~.process-scenes .scene-choice img {transform:none;}
.question-chapter {
  --morning:clamp(72px,7.8vw,133px);
  background:linear-gradient(to bottom,#17151d 0,#36303f calc(var(--morning)*.24),#898191 calc(var(--morning)*.56),
    #d9d5e0 calc(var(--morning)*.85),#f0edf4 var(--morning),#f5f2f3 83%,#f2e9d8 100%);
  padding:calc(var(--morning) + clamp(36px,3.7vw,65px)) 0 clamp(50px,5vw,85px);color:#24202b;
}
.question-layout {display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:start;gap:clamp(28px,7vw,125px);}
.question-layout>header {padding-top:20px;}
.question-layout>header p {max-width:32ch;font-size:clamp(16px,1.35vw,21px);line-height:1.45;color:#58505f;margin:15px 0 20px;}
.question-layout .line-link {color:#3e3447;}
.answer-desk {min-width:0;border:1px solid #fff;border-radius:clamp(19px,2vw,28px);padding:clamp(18px,2vw,35px);
  background:linear-gradient(135deg,#ffffffdf,#f5f1f9b5);
  box-shadow:0 13px 45px -35px #59476a, inset 0 1px 0 white;}
.answer-heading,.answer-heading>div {display:flex;align-items:center;gap:9px;}
.answer-heading {justify-content:space-between;min-height:32px;}
.answer-heading img {filter:grayscale(1) brightness(.46);}
.answer-heading strong {font-weight:540;font-size:16px;letter-spacing:-.024em;}
.answer-heading button {color:#665b70;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:6px;}
.answer-thread {margin:16px 0 11px;max-height:280px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px;}
.answer-thread p {margin:0;line-height:1.45;font-size:15px;}
.guide-welcome {color:#554e5b;max-width:41ch;padding:2px 0 7px;}
.qa-turn {display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:11px 0;}
.qa-turn:first-child {margin-top:0;}
.visitor-question {align-self:flex-end;max-width:85%;padding:9px 13px;border-radius:17px 17px 5px 17px;background:#e4deef;color:#2d243a;overflow-wrap:anywhere;}
.guide-answer {background:#fffafc;border:1px solid #e1dce6;border-radius:17px 17px 17px 5px;padding:12px 14px;max-width:94%;}
.guide-answer a {display:inline-block;color:#554268;margin-top:8px;font-size:13px;text-decoration:underline;text-underline-offset:3px;}
.suggested-questions {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;}
.suggested-questions a {font-size:12px;line-height:1.3;min-height:33px;display:inline-flex;align-items:center;border:1px solid #d9d2e1;color:#51445d;background:#ffffff87;border-radius:20px;padding:7px 11px;}
.suggested-questions a:hover {background:#eae4f3;border-color:#b8abc9;}
.ask-form {display:flex;align-items:center;padding:4px 5px 4px 14px;border:1px solid #c7bfce;border-radius:24px;background:#fff;}
.ask-form:focus-within {outline:2px solid #87779c;outline-offset:2px;}
.ask-form input {border:0;outline:none;flex:1;min-width:0;height:34px;font-size:15px;background:transparent;color:#27232d;}
.ask-form input::placeholder {color:#706978;}
.ask-form button {border-radius:50%;width:34px;height:34px;background:#332c3d;color:white;display:grid;place-items:center;}
.ask-form button svg {transform:rotate(-90deg);}
.answer-source {display:block;color:#686170;font-size:11px;margin:9px 0 0;}
@media(prefers-reduced-motion:no-preference) {
 html:not([data-motion=paused]) .qa-turn {animation:reply-in .26s cubic-bezier(.2,.78,.2,1) both;}
}
@keyframes reply-in {from{opacity:0;transform:translateY(4px);}}
@media(max-width:900px) {
 .reason-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 0;}
 .reason-item:nth-child(odd) {border-left:none;padding-left:0;}
 .reason-item:nth-child(even) {padding-right:0;}
 .process-scene {grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);}
 .process-text {padding:27px;}
 .question-layout {gap:30px;grid-template-columns:.8fr 1.2fr;}
}
@media(max-width:700px) {
 .home .opportunity-chapter {--sheet-gutter:clamp(14px,4vw,23px);--touch-gutter:var(--sheet-gutter);}
 .home .opportunity-surface .journey-width {width:calc(100% - 2 * var(--sheet-gutter));}
 .reason-grid {gap:23px 0;}
 .reason-item {padding:0 13px;}
 .reason-symbol {width:59px;height:59px;border-radius:19px;margin-bottom:14px;}
 .reason-symbol:after {border-radius:17px;}
 .reason-symbol svg {width:33px;height:33px;}
 .reason-item h3 {font-size:19px;}
 .reason-item p {font-size:14px;margin-bottom:11px;}
 .reason-action {font-size:12px;gap:4px;}
 .process-heading {align-items:start;flex-direction:column;gap:12px;}
 .process-track {width:100%;}
 .process-track label {font-size:12px;gap:4px;min-height:36px;padding-inline:3px;}
 .process-track label span {font-size:9px;}
 .process-scene {grid-template-columns:1fr;grid-template-rows:auto 1fr;}
 .process-text {align-self:start;padding:22px 21px 20px;}
 .process-text h3 {max-width:none;font-size:30px;}
 .process-text p {font-size:15px;margin:10px 0 12px;}
 .process-image {min-height:216px;}
 .process-note {padding:10px 13px;border-radius:13px;bottom:26px;left:15px;}
 .process-note strong {font-size:18px;}
 .process-note span {font-size:12px;}
 .question-layout {grid-template-columns:1fr;gap:18px;}
 .question-layout>header {padding-top:0;}
 .question-layout>header p {margin:10px 0;}
 .question-chapter {--morning:68px;}
 .answer-thread {max-height:230px;}
}
@media(max-width:355px) {
 .process-track label span {display:none;}
 .reason-action .icon {display:none;}
}
@media(prefers-reduced-motion:reduce) {
 .process-track:before,.process-scene,.process-image>img,.reason-symbol svg {transition:none;}
}
html[data-motion=paused] :is(.process-scene,.process-image>img,.reason-symbol svg) {transition:none;}
html[data-motion=paused] .process-track:before {transition:none;}
@media (max-width:355px) {
  .site-nav[data-state=dock] .nav-word {display:none;}
  .site-nav[data-state=dock] .nav-mark {display:block; width:25px; height:25px;}
  .site-nav[data-state=dock] .nav-line {padding-inline:10px 7px;gap:7px;}
  .site-nav[data-state=dock] .nav-tools {gap:6px;}
}

/* Keep the guide title and the explorable example on one continuous surface. */
body.inner:has(.process-chapter), .inner #main:has(.process-chapter) { background:#17151d; }
.inner main .guide-wrap[data-guide="how-it-works"] {
  background:#17151d; border-bottom:0;
}
.inner main .guide-wrap[data-guide="how-it-works"] .guide-header {
  padding-bottom:clamp(18px,2.5vw,38px);
}
.inner main .guide-wrap[data-guide="how-it-works"] h1 {color:#f5f3f8;}
.inner main .guide-wrap[data-guide="how-it-works"] :is(.guide-header>p,nav a) {color:#d0ccd7;}
.inner main .guide-wrap[data-guide="how-it-works"] nav a[aria-current] {
  color:#f8f6fc; background:#35313e; border-color:#655d70;
}
.inner .process-chapter {padding-top:0;}
.inner .process-heading {margin-bottom:16px;}
.inner .process-heading p {margin:0;}
.inner main .guide-next {margin-block:0;padding-block:24px clamp(42px,4vw,72px);}
.inner main .process-chapter .line-link,
.inner main .process-chapter .line-link:is(:visited,:hover,:focus-visible) {
  color:#f3effa; border-color:#aba3b6;
}
