/* Landing page. Geist tokens from ../shared; the one accent is the board's lime. */
.ld-doc {
  --ld-bg: #fafafa;
  --ld-card: #ffffff;
  --ld-ink: #171717;
  --ld-body: #4d4d4d;
  --ld-mute: #6b6b6b;
  --ld-line: #e8e8e8;
  --ld-on-ink: #ffffff;
  --ld-lime: #cef54a;
  --ld-glow: 0.34;
}
.ld-doc[data-sb-theme="dark"] {
  --ld-bg: #060606;
  --ld-card: #101010;
  --ld-ink: #ededed;
  --ld-body: #ababab;
  --ld-mute: #8f8f8f;
  --ld-line: #232323;
  --ld-on-ink: #0a0a0a;
  --ld-glow: 0.24;
}
.ld-doc body { background: var(--ld-bg); color: var(--ld-ink); overflow-x: clip; }
.ld-doc :is(h1, h2, h3, p, ol, ul, figure, blockquote) { margin: 0; }
.ld-doc :is(ol, ul) { padding: 0; list-style: none; }
.ld-doc a { color: inherit; }
.ld-doc a:hover { text-decoration: none; }
.ld-doc :is(a, button, input):focus-visible { outline: 2px solid var(--ds-link); outline-offset: 3px; }
.ld-doc [hidden] { display: none !important; }
.ld-doc :is(section, article)[id], #main-content { scroll-margin-top: 96px; }
.ld-doc main svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ld-doc main svg.ld-art { stroke: none; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ld-skip { position: fixed; z-index: 200; top: -80px; left: 16px; padding: 10px 16px; border-radius: 999px; background: var(--ld-ink); color: var(--ld-on-ink) !important; }
.ld-skip:focus { top: 16px; }

/* —— Buttons —— */
button.ld-btn { font-family: inherit; cursor: pointer; }
button.ld-btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, border-color 0.2s;
}
.ld-btn svg { width: 19px; height: 19px; }
.ld-btn:hover { transform: translateY(-2px); }
.ld-btn:active { transform: scale(0.98); }
.ld-doc :is(a, button).ld-btn--ink { background: var(--ld-ink); color: var(--ld-on-ink); }
.ld-btn--ink:hover { box-shadow: 0 0 0 4px var(--ld-lime); }
.ld-btn--line { border-color: var(--ld-line); background: var(--ld-card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.ld-btn--line:hover { border-color: var(--ld-ink); }
.ld-doc a.ld-btn--lime { background: #cef54a; color: #171717; }
.ld-btn--lime:hover { box-shadow: 0 10px 30px -8px rgba(206, 245, 74, 0.6); }
.ld-doc a.ld-btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.ld-btn--ghost:hover { border-color: #fff; }
.ld-text { font-size: 14px; font-weight: 500; color: var(--ld-body); text-decoration: underline !important; text-decoration-color: transparent !important; text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.ld-text:hover { text-decoration-color: currentColor !important; }

/* —— Hero —— */
.ld-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(94px, 11.5vh, 148px) 16px 72px; text-align: center; isolation: isolate; }
.ld-aurora { position: absolute; z-index: -2; inset: 0 0 auto; height: min(900px, 100%); overflow: hidden; opacity: var(--ld-glow); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.ld-aurora i { position: absolute; width: 46vw; height: 46vw; min-width: 360px; min-height: 360px; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); animation: ld-drift 22s ease-in-out infinite alternate; }
.ld-aurora i:nth-child(1) { --c: #50e3c2; top: -22vw; left: 4vw; }
.ld-aurora i:nth-child(2) { --c: #007cf0; top: -14vw; left: 38vw; animation-delay: -7s; }
.ld-aurora i:nth-child(3) { --c: #a855f7; top: -18vw; right: -8vw; animation-delay: -13s; }
.ld-aurora i:nth-child(4) { --c: #cef54a; top: 18vw; left: -16vw; animation-delay: -4s; }
@keyframes ld-drift { to { transform: translate3d(8vw, 5vw, 0) scale(1.18); } }
.ld-dots { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(75% 62% at 50% 34%, #000 20%, transparent 100%); mask-image: radial-gradient(75% 62% at 50% 34%, #000 20%, transparent 100%); }

.ld-chip { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--ld-line); border-radius: 999px; background: color-mix(in srgb, var(--ld-card) 75%, transparent); font-size: 13px; font-weight: 500; }
.ld-chip i { width: 8px; height: 8px; border-radius: 50%; background: #8fc400; box-shadow: 0 0 0 4px rgba(206, 245, 74, 0.45); }
.ld-chip span { padding-left: 10px; border-left: 1px solid var(--ld-line); color: var(--ld-mute); font-weight: 400; }
.ld-h1 { margin-top: clamp(16px, 2.4vh, 28px) !important; font-size: clamp(44px, min(8.4vw, 11vh), 120px); font-weight: 600; line-height: 0.98; letter-spacing: -0.058em; text-wrap: balance; }
.ld-h1 > span { display: block; }
.ld-h1 em { font-style: normal; color: #6f9a00; }
.ld-doc[data-sb-theme="dark"] .ld-h1 em { color: var(--ld-lime); }
.ld-word { display: inline-block; white-space: nowrap; }
.ld-h1 i { position: relative; display: inline-block; font-style: normal; }
.ld-h1 i.is-code { color: transparent; }
.ld-h1 i.is-wait { opacity: 0.1; }
.ld-h1 i.is-code::after { content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--ld-mute); font-family: var(--ds-font-mono); font-weight: 500; font-size: 0.66em; line-height: 1.5; }
.ld-sub { max-width: 52ch; margin-top: clamp(14px, 2.4vh, 24px) !important; color: var(--ld-body); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; text-wrap: balance; }
.ld-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(18px, 2.6vh, 32px); }

.ld-find { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); height: 56px; margin-top: clamp(22px, 3.2vh, 48px); padding: 0 14px 0 20px; border: 1px solid var(--ld-line); border-radius: 999px; background: color-mix(in srgb, var(--ld-card) 86%, transparent); box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.22); transition: border-color 0.2s, box-shadow 0.2s; }
.ld-find:focus-within { border-color: var(--ld-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ld-lime) 70%, transparent); }
.ld-find svg { width: 19px; height: 19px; flex: none; color: var(--ld-mute); }
.ld-find input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ld-ink); font: 400 16px var(--ds-font-sans); outline: 0 !important; }
.ld-find input::placeholder { color: var(--ld-mute); }
.ld-find kbd { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ld-line); border-radius: 7px; color: var(--ld-mute); font: 12px var(--ds-font-mono); }
.ld-try { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px !important; }
.ld-try button { min-height: 32px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--ld-body); font: 500 13px var(--ds-font-sans); cursor: pointer; }
.ld-try button:hover { border-color: var(--ld-line); background: var(--ld-card); color: var(--ld-ink); }
.ld-try button[aria-pressed="true"] { background: var(--ld-ink); color: var(--ld-on-ink); }
html:not(.js) :is(.ld-find, .ld-try, .ld-note, .ld-stage) { display: none; }

/* —— Passes —— */
.ld-deckwrap { width: min(1640px, calc(100% - 40px)); margin-top: clamp(14px, 2.4vh, 38px); }
.ld-deck { --w: clamp(190px, 13.2vw, 214px); position: relative; height: 372px; }
.ld-deck li { position: absolute; top: 18px; left: 50%; width: var(--w); margin-left: calc(var(--w) / -2); transform: translate3d(var(--x, 0px), var(--y, 40px), 0) rotate(var(--r, 0deg)); transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s, filter 0.4s; perspective: 900px; }
.ld-deck.is-dealing li { transition-delay: calc(var(--i) * 55ms); }
.ld-deck li:is(:hover, :focus-within) { z-index: 60 !important; transform: translate3d(var(--x, 0px), calc(var(--y, 0px) - 22px), 0) rotate(0deg) scale(1.06); transition-delay: 0s; }
.ld-deck li.is-miss { opacity: 0.32; filter: grayscale(1); }
.ld-deck li.ld-wait { position: static; width: auto; margin: 0; transform: none; }

.ld-pass { --tx: 0deg; --ty: 0deg; position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 322px; padding: 16px; overflow: hidden; border: 1px solid var(--ld-line); border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--hue) 10%, var(--ld-card)), var(--ld-card) 58%); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), -14px 18px 36px -24px rgba(0, 0, 0, 0.4); color: var(--ld-ink); text-align: left; transform: rotateX(var(--tx)) rotateY(var(--ty)); transition: transform 0.18s ease-out, border-color 0.2s; }
a.ld-pass:hover { border-color: color-mix(in srgb, var(--hue) 60%, var(--ld-line)); }
.ld-pass::after { content: ""; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--hue) 22%, transparent), transparent 70%); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
a.ld-pass:hover::after { opacity: 1; }
.ld-pass__top { display: flex; justify-content: space-between; gap: 8px; width: 100%; color: var(--ld-mute); font: 500 12px/16px var(--ds-font-mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.ld-art { width: 126px; height: 126px; flex: none; align-self: center; margin: 14px 0 auto; }
.ld-art circle { fill: var(--hue); }
.ld-art .o { fill: var(--ld-ink); opacity: 0.1; }
.ld-art .a { opacity: 0.38; }
.ld-art .b { opacity: 0.68; }
.ld-art .e { fill: var(--ld-ink); }
.ld-pass:hover .ld-art circle:not(.o) { animation: ld-pulse 0.7s ease-out calc(var(--d) * 32ms); transform-origin: center; transform-box: fill-box; }
@keyframes ld-pulse { 45% { transform: scale(1.35); } }
.ld-pass > b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; font-weight: 600; line-height: 21px; letter-spacing: -0.02em; }
.ld-pass__focus { margin-top: 2px; max-width: 100%; overflow: hidden; color: var(--ld-body); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ld-pass__certs { display: flex; gap: 4px; max-width: 100%; height: 22px; margin-top: 10px; overflow: hidden; }
.ld-pass__certs code { padding: 0 7px; overflow: hidden; border: 1px solid var(--ld-line); border-radius: 6px; background: var(--ld-card); font: 500 12px/20px var(--ds-font-mono); text-overflow: ellipsis; white-space: nowrap; }
.ld-pass__certs code { min-width: 0; }
.ld-pass__certs code:first-child, .ld-pass__certs code:nth-child(3) { flex: none; max-width: 100%; }
.ld-pass__state { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--ld-mute); font-size: 12px; font-weight: 500; }
.ld-pass__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ld-mute); }
.ld-pass__state.is-open { color: var(--ld-ink); }
.ld-pass__state.is-open::before { background: #7fae00; box-shadow: 0 0 0 3px rgba(206, 245, 74, 0.4); }

.ld-found { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 22px !important; color: var(--ld-mute); font-size: 14px; }
.ld-found span:empty { display: none; }
.ld-found a { display: inline-flex; align-items: center; gap: 6px; color: var(--ld-ink); font-weight: 500; }
.ld-found svg { width: 16px; height: 16px; transition: transform 0.2s; }
.ld-found a:hover svg { transform: translateX(4px); }
.ld-note { margin-top: 6px !important; color: var(--ld-mute); font-size: 12px; }

@media (max-width: 1179px) {
  .ld-deckwrap { width: calc(100% + 32px); }
  .ld-deck { --w: 214px; display: flex; gap: 12px; height: auto; margin: 0 !important; padding: 8px calc(50% - var(--w) / 2) 22px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ld-deck li, .ld-deck li:is(:hover, :focus-within) { position: static; flex: 0 0 var(--w); margin: 0; transform: none; scroll-snap-align: center; }
}
@media (max-width: 759px) {
  .ld-find kbd { display: none; }
  .ld-chip { gap: 0 8px; padding: 8px 18px; border-radius: 18px; }
  .ld-chip span { padding: 0; border: 0; }
  .ld-try { gap: 0; }
  .ld-try button { min-height: 40px; padding: 0 12px; }
}

/* —— Sections —— */
.ld-sec { max-width: 1152px; margin: 0 auto; padding: clamp(72px, 10vw, 136px) 24px 0; }
.ld-head { display: grid; gap: 14px; justify-items: center; margin-bottom: clamp(32px, 4vw, 52px) !important; text-align: center; }
.ld-head h2, .ld-director h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -0.048em; text-wrap: balance; }
.ld-doc h2 span { color: var(--ld-mute); }
.ld-head p { max-width: 54ch; color: var(--ld-body); font-size: 17px; text-wrap: balance; }
.ld-rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.ld-rise.is-in { opacity: 1; transform: none; }

/* —— Two ways in —— */
.ld-ways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; gap: 0 20px; }
.ld-way { display: grid; grid-row: span 4; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 28px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--ld-line); border-radius: 28px; background: var(--ld-card); }
.ld-way--dark { --ld-card: #121212; --ld-ink: #f2f2f2; --ld-body: #b0b0b0; --ld-mute: #929292; --ld-line: #2a2a2a; background: radial-gradient(90% 55% at 100% 0%, rgba(121, 40, 202, 0.28), transparent 70%), radial-gradient(70% 45% at 0% 100%, rgba(0, 124, 240, 0.22), transparent 70%), #0c0c0c; color: var(--ld-ink); }
.ld-doc[data-sb-theme="dark"] .ld-way--dark { border-color: #2c2c2c; }
.ld-kicker { color: var(--ld-mute); font: 500 12px/16px var(--ds-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ld-way h3 { margin-top: 10px; font-size: clamp(26px, 2.9vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.ld-steps { display: grid; gap: 18px; align-content: start; counter-reset: s; }
.ld-steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; color: var(--ld-body); font-size: 14.5px; line-height: 1.5; counter-increment: s; }
.ld-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--ld-line); border-radius: 50%; color: var(--ld-ink); font: 500 12px var(--ds-font-mono); }
.ld-steps b { color: var(--ld-ink); font-size: 15.5px; font-weight: 600; }
.ld-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 18px 20px; border: 1px solid var(--ld-line); border-radius: 20px; text-align: center; }
.ld-stage--pass { background: radial-gradient(circle, color-mix(in srgb, var(--ld-ink) 12%, transparent) 1px, transparent 1.5px) 0 0 / 16px 16px; }
.ld-preview { width: min(214px, 100%); perspective: 900px; }
.ld-preview .ld-pass { transform: rotate(-2.5deg); }
.ld-stage label { margin-top: 22px; font-size: 13px; font-weight: 500; }
.ld-stage input { width: min(260px, 100%); height: 44px; margin-top: 8px; padding: 0 18px; border: 1px solid var(--ld-line); border-radius: 999px; background: var(--ld-card); color: var(--ld-ink); font: 400 16px var(--ds-font-sans); text-align: center; }
.ld-stage small { margin-top: 10px; color: var(--ld-mute); font-size: 12px; }

.ld-stage--ask { background: rgba(255, 255, 255, 0.02); }
.ld-ask__cap { margin-bottom: 18px !important; font-size: 13px; font-weight: 500; }
.ld-ask { width: min(360px, 100%); padding: 18px; border: 1px solid var(--ld-line); border-radius: 18px; background: var(--ld-card); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); text-align: left; }
.ld-ask__from { display: flex; align-items: center; gap: 12px; }
.ld-ask__from i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #007cf0, #00dfd8); color: #04121f; font-style: normal; font-weight: 700; }
.ld-ask__from span { display: grid; color: var(--ld-body); font-size: 13px; line-height: 18px; }
.ld-ask__from b { color: var(--ld-ink); font-size: 14.5px; }
.ld-ask__from em { align-self: flex-start; margin-left: auto; padding: 2px 8px; border: 1px solid var(--ld-line); border-radius: 999px; color: var(--ld-mute); font: 500 12px/16px var(--ds-font-mono); font-style: normal; text-transform: uppercase; }
.ld-ask__note { margin-top: 14px !important; color: var(--ld-body); font-size: 14px; line-height: 1.5; }
.ld-ask__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.ld-ask__btns button { flex: 1 1 auto; min-height: 40px; padding: 0 16px; border: 1px solid var(--ld-line); border-radius: 999px; background: none; color: var(--ld-ink); font: 500 14px var(--ds-font-sans); cursor: pointer; }
.ld-ask__btns button[data-answer="yes"] { border-color: transparent; background: #cef54a; color: #171717; }
.ld-ask__btns button:hover { filter: brightness(1.1); border-color: var(--ld-ink); }
.ld-ask__result:empty { display: none; }
.ld-ask__result { margin-top: 16px !important; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; animation: ld-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ld-ask__result.is-yes { background: rgba(206, 245, 74, 0.14); color: #e4fb9c; }
.ld-ask__result.is-no { background: rgba(255, 255, 255, 0.07); color: var(--ld-body); }
@keyframes ld-pop { from { opacity: 0; transform: scale(0.92); } }
.ld-ask__again { margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--ld-mute); font: 500 13px var(--ds-font-sans); text-decoration: underline; cursor: pointer; }
.ld-way__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

@media (max-width: 879px) {
  .ld-ways__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .ld-way { grid-row: auto; grid-template-rows: none; }
}

/* —— Certifications —— */
.ld-fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ld-fields button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ld-line); border-radius: 999px; background: var(--ld-card); color: var(--ld-ink); font: 500 14.5px var(--ds-font-sans); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.ld-fields button:hover { border-color: var(--ld-ink); }
.ld-fields i { width: 10px; height: 10px; border-radius: 50%; background: var(--hue); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.ld-fields span { color: var(--ld-mute); font: 12px var(--ds-font-mono); }
.ld-fields button[aria-pressed="true"] { border-color: var(--ld-ink); background: var(--ld-ink); color: var(--ld-on-ink); }
.ld-fields button[aria-pressed="true"] span { color: inherit; opacity: 0.65; }
.ld-fields__about { min-height: 24px; margin-top: 18px !important; color: var(--ld-body); text-align: center; font-size: 15px; }
.ld-creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px !important; }
.ld-creds li { position: relative; display: flex; flex-direction: column; flex: 1 1 240px; max-width: 268px; padding: 20px; overflow: hidden; border: 1px solid var(--ld-line); border-radius: 18px; background: var(--ld-card); animation: ld-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 45ms) backwards; transition: transform 0.25s, border-color 0.25s; }
.ld-creds li::before { content: ""; position: absolute; top: -50px; right: -50px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, var(--hue), transparent); opacity: 0.35; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.ld-creds li:hover { transform: translateY(-3px); border-color: var(--ld-mute); }
.ld-creds li:hover::before { transform: scale(1.7); }
@keyframes ld-in { from { opacity: 0; transform: translateY(14px); } }
.ld-creds code { position: relative; font: 600 26px/32px var(--ds-font-mono); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.ld-creds b { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 20px; }
.ld-creds small { margin: 4px 0 18px; color: var(--ld-mute); font-size: 12.5px; }
.ld-creds span { display: flex; gap: 16px; margin-top: auto; }
.ld-creds a { padding: 2px 0; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ld-body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ld-line); }
.ld-creds a:hover { color: var(--ld-ink); text-decoration: underline; text-decoration-color: currentColor; }
.ld-creds li.ld-wait { flex: none; max-width: none; }
.ld-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 36px !important; }

/* —— Bento —— */
.ld-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ld-tile { padding: 26px; border: 1px solid var(--ld-line); border-radius: 24px; background: var(--ld-card); }
.ld-tile h3 { margin-bottom: 18px; font: 500 12px/16px var(--ds-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ld-tile h3 a { display: inline-block; margin: -4px 0; padding: 4px 0; color: var(--ld-mute); }
.ld-tile h3 a::after { content: " →"; }
.ld-tile h3 a:hover { color: var(--ld-ink); }
.ld-tile--events { grid-column: span 5; }
.ld-tile--mentors { grid-column: span 7; }
.ld-tile--read { grid-column: span 6; }
.ld-tile--go { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; transition: transform 0.25s, border-color 0.25s, opacity 0.7s; }
.ld-tile--go:hover { border-color: var(--ld-ink); transform: translateY(-3px); }
.ld-tile--go svg { width: 40px; height: 40px; margin-bottom: auto; padding: 9px; border: 1px solid var(--ld-line); border-radius: 12px; }
.ld-tile--go:hover svg { border-color: transparent; background: var(--ld-lime); color: #171717; }
.ld-tile--go b { margin-top: 36px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ld-tile--go span { min-height: 3em; color: var(--ld-body); font-size: 14px; line-height: 1.5; }
.ld-events li + li { border-top: 1px solid var(--ld-line); }
.ld-events a { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding: 14px 0; }
.ld-events li:first-child a { padding-top: 0; }
.ld-events li:last-child a { padding-bottom: 0; }
.ld-events time { display: grid; place-items: center; height: 58px; border: 1px solid var(--ld-line); border-radius: 14px; color: var(--ld-mute); font: 500 12px/1 var(--ds-font-mono); text-transform: uppercase; align-content: center; gap: 3px; }
.ld-events time b { color: var(--ld-ink); font: 600 22px/1 var(--ds-font-sans); letter-spacing: -0.03em; }
.ld-events li:first-child time { border-color: transparent; background: var(--ld-lime); color: #3d4a10; }
.ld-events li:first-child time b { color: #171717; }
.ld-events span { color: var(--ld-mute); font-size: 13px; }
.ld-events span b { display: block; color: var(--ld-ink); font-size: 15px; font-weight: 500; }
.ld-events a:hover span b { text-decoration: underline; text-underline-offset: 3px; }
.ld-mentors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ld-mentors a { display: block; }
.ld-mentors i { display: block; margin-bottom: 12px; overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 4; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.ld-mentors img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.35s; }
.ld-mentors a:is(:hover, :focus-visible) i { transform: translateY(-4px); }
.ld-mentors a:is(:hover, :focus-visible) img { filter: none; }
.ld-mentors b { display: block; font-size: 13.5px; font-weight: 500; line-height: 18px; }
.ld-mentors span { display: block; color: var(--ld-mute); font-size: 12px; }
.ld-mentors .ld-wait { grid-column: 1 / -1; }
.ld-quote { display: flex; flex-direction: column; gap: 24px; }
.ld-quote blockquote { font-size: clamp(21px, 2.2vw, 28px); font-weight: 500; line-height: 1.28; letter-spacing: -0.03em; text-wrap: balance; }
.ld-quote p { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; color: var(--ld-mute); font-size: 13px; }
.ld-quote p b { grid-column: 1; color: var(--ld-body); font-size: 14px; font-weight: 500; }
.ld-quote svg { grid-area: 1 / 2 / span 2; width: 22px; height: 22px; color: var(--ld-ink); transition: transform 0.25s; }
.ld-quote:hover svg { transform: translateX(5px); }
@media (max-width: 979px) {
  .ld-tile--events, .ld-tile--mentors, .ld-tile--read { grid-column: 1 / -1; }
  .ld-tile--go { grid-column: span 6; }
}
@media (max-width: 599px) {
  .ld-mentors { display: flex; gap: 12px; margin: 0 -26px !important; padding: 4px 26px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 26px; }
  .ld-mentors li { flex: 0 0 128px; scroll-snap-align: start; }
  .ld-tile--go { grid-column: 1 / -1; }
}

/* —— Director —— */
.ld-director { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ld-portrait { position: relative; align-self: end; overflow: hidden; border-radius: 28px; background: radial-gradient(circle, rgba(23, 23, 23, 0.22) 2px, transparent 2.6px) 0 0 / 14px 14px, #cef54a; }
.ld-portrait img { display: block; width: 100%; height: auto; padding-top: 8%; }
.ld-director__text { display: grid; gap: 22px; justify-items: start; color: var(--ld-body); font-size: 17px; line-height: 1.55; }
.ld-director h2 { color: var(--ld-ink); }
.ld-director__name { display: grid; padding-left: 16px; border-left: 3px solid var(--ld-lime); font-size: 14px; }
.ld-director__name b { color: var(--ld-ink); font-size: 18px; }
.ld-director .ld-more { justify-content: flex-start; margin-top: 6px !important; }
@media (max-width: 819px) { .ld-director { grid-template-columns: minmax(0, 1fr); } .ld-portrait { max-width: 440px; } }

/* —— Last call —— */
/* —— Ask the program —— */
.ld-access__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); padding: clamp(24px, 4.5vw, 52px); border: 1px solid var(--ld-line); border-radius: 28px; background: var(--ld-card); }
.ld-access__text { display: grid; gap: 16px; align-content: start; justify-items: start; color: var(--ld-body); font-size: 16px; line-height: 1.55; }
.ld-access h2 { color: var(--ld-ink); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -0.045em; text-wrap: balance; }
.ld-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; align-content: start; }
.ld-form__wide { grid-column: 1 / -1; }
.ld-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; }
.ld-form label span { color: var(--ld-mute); font-weight: 400; }
.ld-form :is(input, select, textarea) { box-sizing: border-box; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--ld-line); border-radius: 12px; background: var(--ld-bg); color: var(--ld-ink); font: 400 16px/1.4 var(--ds-font-sans); }
.ld-form textarea { padding-block: 11px; resize: vertical; }
.ld-form :is(input, select, textarea):focus-visible { border-color: var(--ld-ink); }
.ld-doc .ld-form :is(select, textarea):focus-visible { outline: 2px solid var(--ds-link); outline-offset: 3px; }
.ld-form .ld-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ld-form__msg:empty { display: none; }
.ld-form__msg { font-size: 14px; line-height: 1.5; }
.ld-form__msg[data-state="ok"] { color: var(--ld-ink); font-weight: 500; }
.ld-form__msg[data-state="err"] { color: #c7262b; }
.ld-doc[data-sb-theme="dark"] .ld-form__msg[data-state="err"] { color: #ff8589; }
@media (max-width: 819px) { .ld-access__card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .ld-form { grid-template-columns: minmax(0, 1fr); } }

/* —— Last call —— */
.ld-last { max-width: 1320px; margin: clamp(80px, 11vw, 152px) auto 0 !important; padding: clamp(64px, 9vw, 128px) 24px; border-radius: 36px; background: radial-gradient(60% 80% at 50% 120%, rgba(206, 245, 74, 0.22), transparent 70%), #0b0b0b; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.ld-last h2 { max-width: 9em; margin: 0 auto; font-size: clamp(52px, 11vw, 148px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; background: radial-gradient(circle, #e2ff7a 0 2.7px, transparent 3.3px) 0 0 / 7px 7px; -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.ld-last .ld-actions { margin-top: 44px; }
@media (max-width: 1351px) { .ld-last { margin-left: 16px !important; margin-right: 16px !important; } }
@media (max-width: 699px) { .ld-last h2 { background-image: radial-gradient(circle, #e2ff7a 0 2px, transparent 2.5px); background-size: 4.6px 4.6px; } }
@media (forced-colors: active) { .ld-last h2 { background: none; color: CanvasText; } }

/* —— Footer —— */
.ld-foot { max-width: 1152px; margin: 0 auto; padding: 72px 24px 40px; }
.ld-foot__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px 20px; }
.ld-foot__brand { color: var(--ld-mute); font-size: 14px; }
.ld-foot__brand b { display: block; margin-bottom: 6px; color: var(--ld-ink); font-size: 16px; }
.ld-foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.ld-foot nav h2 { margin: 0 0 4px; color: var(--ld-mute); font: 500 12px/16px var(--ds-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ld-foot nav a { color: var(--ld-body); }
.ld-foot nav a:hover { color: var(--ld-ink); }
.ld-foot__note { margin-top: 48px !important; padding-top: 22px; border-top: 1px solid var(--ld-line); color: var(--ld-mute); font-size: 13px; }
@media (max-width: 759px) { .ld-foot__grid { grid-template-columns: 1fr 1fr; } .ld-foot__brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .ld-doc { scroll-behavior: auto; }
  .ld-doc main *, .ld-doc main *::before, .ld-doc main *::after { animation: none !important; transition: none !important; }
}
