/* Page layout for yuzoki.com, built on the Yuzoki design system */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--space-4); }
@media (min-width: 720px) { .wrap { padding-inline: var(--space-8); } }

/* sections fill the screen; teams and ask stay compact */
.sec { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 112px 64px; }
@media (min-width: 720px) { .sec { padding-block: 120px 80px; } }
.sec-compact { min-height: 0; display: block; padding-block: var(--space-12); }
@media (min-width: 720px) { .sec-compact { padding-block: var(--space-20); } }
.sec-cobalt { background: var(--cobalt); color: var(--on-blue); }
.sec-sky { background: var(--sky); color: var(--on-blue); }
.eyebrow { display: block; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.sec-cobalt .eyebrow, .sec-sky .eyebrow { color: rgba(255,255,255,.8); }
.h2 { margin: 12px 0 0; display: flex; flex-direction: column; font-size: clamp(48px, 7vw, 88px); line-height: .9; font-weight: 800; letter-spacing: -.05em; }
.lead { margin: 20px 0 0; max-width: 46ch; font-size: 18px; line-height: 28px; font-weight: 450; color: var(--ink-muted); text-wrap: pretty; }
.sec-cobalt .lead, .sec-sky .lead { color: rgba(255,255,255,.88); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.split > *, .tools-grid > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.label { display: block; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

/* section focus: content rises in, headlines land with a squeeze */
.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.rv-on .h2.rv { transform: translateY(16px) scale(1.06, .8); transform-origin: 0 100%; transition: opacity .5s ease, transform .9s cubic-bezier(.3,.7,.3,1.35); }
.rv-on .in .rv { opacity: 1; transform: none; }
.rv-on .in .rv:nth-child(2) { transition-delay: .06s; } .rv-on .in .rv:nth-child(3) { transition-delay: .14s; }
.rv-on .in .rv:nth-child(4) { transition-delay: .22s; } .rv-on .in .rv:nth-child(5) { transition-delay: .3s; }

/* tilt wrapper */
.tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tilt.tilting { transition-duration: .12s; }
.tilt-glare { position: absolute; inset: 0; z-index: 4; border-radius: var(--radius-lg); pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35), transparent 55%); mix-blend-mode: soft-light; }
.tilt.tilting .tilt-glare { opacity: 1; }

/* ---------- nav: clear over the hero, a compact frosted pill on scroll ---------- */
.nav { position: fixed; z-index: 50; top: 42px; left: 0; right: 0; padding: 0 12px; pointer-events: none; transition: top .5s cubic-bezier(.2,.8,.2,1); }
.nav.is-stuck { top: 10px; }
.nav-bar { pointer-events: auto; position: relative; width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; border-radius: var(--radius-pill); border: 1px solid transparent; color: #fff;
  transition: width .5s cubic-bezier(.2,.8,.2,1), padding .5s cubic-bezier(.2,.8,.2,1), background-color .4s ease, border-color .4s ease, box-shadow .4s ease, color .3s ease; }
.is-stuck .nav-bar { width: min(940px, 100%); padding: 6px 6px 6px 18px; color: var(--ink); background: rgba(255,255,255,.78); border-color: rgba(14,26,51,.08); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); box-shadow: 0 1px 2px rgba(14,26,51,.06), 0 16px 40px -16px rgba(14,26,51,.3); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo:hover .yz-lemon-o { animation: yz-spin .7s cubic-bezier(.3,.7,.3,1.3); }
@keyframes yz-spin { from { transform: translateY(0.052em) rotate(-180deg) scale(.8); } }
.nav-links { position: relative; display: none; gap: 2px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 14px; line-height: 18px; font-weight: 600; text-decoration: none; color: inherit; opacity: .78; white-space: nowrap; transition: opacity .2s ease; }
.nav-links a:hover, .nav-links a.on { opacity: 1; }
.nav-ind { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; border-radius: var(--radius-pill); background: rgba(255,255,255,.16); transition: transform .45s cubic-bezier(.3,.7,.3,1.15), width .45s cubic-bezier(.3,.7,.3,1.15), opacity .3s ease, background-color .3s ease; }
.is-stuck .nav-ind { background: rgba(14,26,51,.07); }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > a { padding-right: 6px !important; }
.nav-dd-btn { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .78; cursor: pointer; transition: transform .3s cubic-bezier(.3,.7,.3,1.4), opacity .2s ease, background-color .2s ease; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { opacity: 1; }
.nav-dd.open .nav-dd-btn { transform: rotate(180deg); }
.nav-dd-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nav-dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5; width: 380px; display: grid; gap: 2px; padding: 8px; border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float); opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.97, .94); transform-origin: 50% 0; transition: opacity .18s ease, transform .3s cubic-bezier(.3,.7,.3,1.3), visibility 0s linear .3s; }
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s ease, transform .35s cubic-bezier(.3,.7,.3,1.3), visibility 0s; }
.nav-links .nav-dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; opacity: 1; white-space: normal; color: var(--ink); transition: background-color .18s ease, transform .25s cubic-bezier(.3,.7,.3,1.4); }
.nav-links .nav-dd-item:hover, .nav-links .nav-dd-item:focus-visible, .nav-links .nav-dd-item.on { background: var(--pith); }
.nav-links .nav-dd-item:active { transform: scale(.98, .96); }
.nav-dd-item b { display: block; font-size: 15px; line-height: 20px; font-weight: 750; }
.nav-dd-item small { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.nav-dd-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--lemon); transition: transform .35s cubic-bezier(.3,.7,.3,1.5); }
.nav-dd-item:hover .nav-dd-ic { transform: scale(1.08, .92); }
.nav-dd-ic.hub-stacks { background: var(--cobalt); color: #fff; }
.nav-dd-ic.hub-kits { background: var(--lemon); color: var(--on-fill); }
.nav-dd-ic.hub-mods { background: var(--sky); color: #fff; }
.nav-links .nav-dd-all { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13px; font-weight: 750; color: var(--cobalt); opacity: 1; }
.nav-sheet-sub { display: grid; gap: 2px; margin: -4px 0 6px 14px; padding-left: 10px; border-left: 2px solid var(--line); }
.nav-sheet .nav-sheet-sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 15px; font-weight: 650; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .nav-dd-menu, .nav-dd-btn { transition: none; } }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-saved { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; text-decoration: none; opacity: .85; transition: opacity .2s ease, background-color .2s ease; }
.nav-saved:hover { opacity: 1; background: rgba(255,255,255,.12); }
.is-stuck .nav-saved:hover { background: rgba(14,26,51,.06); }
.nav-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--lemon); color: var(--on-fill); font-size: 11px; font-weight: 800; animation: pop .45s cubic-bezier(.3,.7,.3,1.6); }
@keyframes pop { from { transform: scale(.3); } }
.nav-burger { display: grid; place-content: center; gap: 5px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: inherit; cursor: pointer; }
.is-stuck .nav-burger { background: rgba(14,26,51,.07); }
.nav-burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease; }
.is-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.is-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 960px) { .nav-burger { display: none; } }
@media (max-width: 560px) { .nav-saved-label { display: none; } .nav-bar { padding-left: 18px; } }
.nav-sheet { pointer-events: auto; width: min(940px, 100%); margin: 8px auto 0; display: grid; gap: 2px; padding: 8px; border-radius: var(--radius-lg); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 16px 40px -16px rgba(14,26,51,.35); animation: sheet .35s cubic-bezier(.2,.8,.2,1); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { padding: 14px 16px; border-radius: var(--radius-md); color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.nav-sheet a.on { background: var(--surface); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.nav a:focus-visible, .nav-burger:focus-visible { outline: 2px solid var(--lemon); outline-offset: 2px; }
.is-stuck a:focus-visible, .is-stuck .nav-burger:focus-visible { outline-color: var(--focus); }

/* hero */
.hero-wrap { position: relative; }
.hero-wrap .yz-hero { min-height: calc(100vh - 42px); min-height: calc(100svh - 42px); }
.hero-wrap .yz-hero-copy { padding-top: 120px; padding-right: var(--space-6); }
.hero-wrap .yz-hero-sub { max-width: 40ch; }
.yz-tick { background: var(--cobalt-deep); }

/* ---------- tool explorer ---------- */
.sec-tools { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools-head { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .tools-head { grid-template-columns: minmax(0, 1fr) 340px; } }
.tsearch { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.tsearch:focus-within { box-shadow: inset 0 0 0 2px var(--cobalt); color: var(--ink); }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--ink); }
.tsearch input::placeholder { color: var(--ink-muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; }
.from { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.from:focus-within { box-shadow: inset 0 0 0 2px var(--cobalt); }
.from select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 16px no-repeat; padding-right: 22px; font-family: var(--font-sans); font-size: 14px; font-weight: 650; color: var(--ink); cursor: pointer; }
.from-flag, .flag img, .tflag { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,26,51,.12); }
.from-flag { width: 18px; height: 18px; }
.tcount { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.cats { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; padding: 9px 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font-family: var(--font-sans); font-size: 14px; font-weight: 650; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.cat:hover { color: var(--ink); background: rgba(14,26,51,.05); }
.cat.on { background: var(--ink); color: #fff; }
.cat:focus-visible, .copy:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ticon { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(14,26,51,.35); transition: transform .3s cubic-bezier(.3,.7,.3,1.4); }
.tflag { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; box-shadow: 0 0 0 2px #fff; }
.ticon-glyph { width: 26px; height: 26px; object-fit: contain; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ticon .ticon-letter { display: grid; place-items: center; border-radius: 30%; -webkit-mask: none; mask: none; color: #fff !important; font-size: 15px; line-height: 1; font-weight: 800; }
.ticon-lg .ticon-letter { font-size: 22px; }
.ticon-lg { width: 72px; height: 72px; border-radius: 20px; }
.ticon-lg .ticon-glyph { width: 38px; height: 38px; }
.empty { margin: 28px 0; font-size: 16px; color: var(--ink-muted); }

.td-by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.flag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.flag img { width: 16px; height: 16px; }
.td-feats { grid-column: 1 / -1; list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.td-feats li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.td-feats li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230e1a33' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.use { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius-md); background: var(--surface); animation: yz-rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background-color .3s ease; }
.use:hover { background: #fff; box-shadow: var(--shadow-float); transform: translateY(-3px); }
.use-top { display: flex; align-items: center; justify-content: space-between; }
.use-min { font-size: 13px; font-weight: 700; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.use-title { margin: 0; font-size: 19px; line-height: 24px; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
.use-prompt { flex: 1; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.use-prompt-head { display: flex; align-items: center; justify-content: space-between; }
.use-prompt p { margin: 8px 0 0; font-size: 14px; line-height: 21px; color: var(--on-fill-muted); }
.copy { padding: 4px 10px; border: 0; border-radius: var(--radius-pill); background: rgba(33,81,193,.08); color: var(--cobalt); font-family: var(--font-sans); font-size: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.copy:hover { background: rgba(33,81,193,.15); }
.copy.done { background: var(--success); color: #fff; }
.use-go { align-self: flex-start; }

/* ---------- lessons ---------- */
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230e1a33' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.stack-box { position: relative; display: grid; place-items: center; min-height: 380px; perspective: 1400px; }
.stack-3d { transform: rotateX(10deg) rotateY(-8deg) rotateZ(2deg); animation: hover3d 7s ease-in-out infinite; }
.stack-3d .yz-stack-deck, .stack-3d .yz-lcard { width: 400px; }
.stack-3d .yz-stack-item:first-child .yz-lcard { box-shadow: 0 50px 80px -24px rgba(6,16,52,.6); }
@keyframes hover3d { 0%, 100% { transform: rotateX(10deg) rotateY(-8deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateX(6deg) rotateY(-3deg) rotateZ(0deg) translateY(-12px); } }
.stk { position: absolute; z-index: 5; box-shadow: 0 18px 26px -10px rgba(6,16,52,.5); }
.stk-a { top: 8%; right: 8%; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 520px) { .stack-3d .yz-stack-deck, .stack-3d .yz-lcard { width: 310px; } .stack-box { min-height: 360px; } .stk-a { right: 0; } }

/* ---------- drops ---------- */
.drops { display: grid; gap: var(--space-6); margin-top: 36px; }
@media (min-width: 760px) { .drops { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.drops .tilt { height: 100%; }
.drops .yz-drop { max-width: none; height: 100%; }
.drops .yz-drop:hover { transform: none; box-shadow: var(--shadow-float); }

/* ---------- squeeze: the carousel slides fan out ---------- */
#squeeze .h2 { font-size: clamp(48px, 6.4vw, 84px); }
.sq-side .tilt { max-width: 560px; margin-inline: auto; }
.sq-side .yz-sq { margin-inline: auto; background: var(--cobalt-deep); box-shadow: 0 40px 80px -24px rgba(6,16,52,.6); }
.fan { display: flex; margin-top: 40px; perspective: 1400px; }
.fan .yz-slide-frame { flex: none; transition: transform .7s cubic-bezier(.2,.8,.2,1); box-shadow: 0 30px 50px -20px rgba(6,16,52,.6); }
.fan .yz-slide-frame:nth-child(1) { transform: rotateY(20deg) rotateZ(-4deg); z-index: 1; }
.fan .yz-slide-frame:nth-child(2) { transform: translateX(-90px) translateZ(30px) rotateY(12deg); z-index: 2; }
.fan .yz-slide-frame:nth-child(3) { transform: translateX(-180px) translateZ(60px) rotateY(4deg) rotateZ(3deg); z-index: 3; }
.fan:hover .yz-slide-frame:nth-child(1) { transform: translateY(-6px); }
.fan:hover .yz-slide-frame:nth-child(2) { transform: translateX(-30px) translateY(-12px); }
.fan:hover .yz-slide-frame:nth-child(3) { transform: translateX(-60px) translateY(-6px) rotateZ(2deg); }
@media (max-width: 899px) { .fan { overflow-x: auto; gap: 12px; padding-bottom: 8px; } .fan .yz-slide-frame, .fan:hover .yz-slide-frame { transform: none !important; } }

/* ---------- teams ---------- */
.team-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1.1fr 1fr; } }
.team-grid .yz-chart, .team-grid .yz-list { max-width: none; }
.note { margin-top: 14px; font-size: 12px; color: var(--ink-muted); }

/* ---------- ask ---------- */
.ask { display: grid; gap: 28px; justify-items: center; text-align: center; }
.ask-box { width: 100%; max-width: 600px; }
.ask .yz-prompt { width: 100%; max-width: none; text-align: left; }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- footer ---------- */
.foot { background: var(--cobalt-deep); color: var(--on-blue); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.foot p { margin: 12px 0 0; max-width: 34ch; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.8); }
.foot h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.legal { margin-top: 40px; font-size: 12px; color: rgba(255,255,255,.65); }

/* ---------- motion layer: reel mascots, scroll and pointer driven (vars from startMotion in shell.js) ---------- */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 4px; pointer-events: none; }
.scrollbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lemon), var(--lemon-rind), var(--zest)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px rgba(255,210,10,.7); }
.msc { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 20px rgba(6,16,52,.32)); user-select: none; -webkit-user-drag: none; }
@keyframes m-float { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -16px; rotate: 4deg; } }
@keyframes m-pop { from { opacity: 0; transform: translateY(120px) scale(.2) rotate(-40deg); } }
@keyframes m-twinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: .15; } 50% { transform: scale(1.1) rotate(90deg); opacity: 1; } }


/* lessons: Yuzi hangs out by the card stack */
.perch { position: absolute; left: -3%; bottom: -4%; z-index: 6; width: clamp(90px, 9vw, 130px); pointer-events: none; }
.perch-move { transform: translateY(calc(var(--p, 0) * -70px)) rotate(calc(var(--p, 0) * -16deg)); }
.perch .msc { animation: m-float 4s ease-in-out infinite; }

/* products: a mascot rises out of each card on hover */
.hub-peek { position: absolute; right: -12px; bottom: -84px; width: 96px; pointer-events: none; transform: rotate(-16deg); transition: transform .55s cubic-bezier(.2,1.5,.3,1); }
.hub-card:hover .hub-peek, .hub-card:focus-visible .hub-peek { transform: translateY(-66px) rotate(-6deg); }
@media (hover: none) { .hub-peek { transform: translateY(-38px) rotate(-10deg); } }

/* scroll race */
.race { position: relative; height: 270px; overflow: hidden; background: var(--surface); }
.race-words { position: absolute; top: 14px; left: 0; white-space: nowrap; font-size: clamp(64px, 10vw, 150px); line-height: 1; font-weight: 800; letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 2px rgba(33,81,193,.2); transform: translateX(calc(var(--p, 0) * 30vw - 25vw)); }
.race-ground { position: absolute; left: -200px; right: -200px; bottom: 40px; height: 3px; background: repeating-linear-gradient(90deg, rgba(14,26,51,.2) 0 16px, transparent 16px 30px); transform: translateX(calc(var(--p, 0) * 240px)); }
.racer { position: absolute; left: 0; bottom: 42px; width: var(--w); transform: translateX(calc((1 - var(--p, 0)) * .5 * (100vw + 1000px) - 300px - var(--lag))); }
.racer-hop { transform-origin: 50% 100%; animation: hop .42s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); }
@keyframes hop { from { transform: translateY(0) scale(1.08, .92); } to { transform: translateY(-26px) scale(.96, 1.04); } }
.racer .msc { rotate: calc((1 - var(--p, 0)) * var(--spin) * 360deg); }
/* Yuzi never rolls: it runs upright, leaning in and bouncing to keep up */
.racer-lead .racer-hop { animation: yuzi-run .34s ease-in-out infinite alternate; }
@keyframes yuzi-run { from { transform: translateY(0) rotate(4deg) scaleY(.96); } to { transform: translateY(-16px) rotate(-3deg) scaleY(1.02); } }
.racer-bubble { position: absolute; left: 70%; top: -26px; padding: 6px 11px; border-radius: 14px 14px 14px 4px; background: var(--lemon); color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow-soft); }
@media (max-width: 600px) { .race { height: 210px; } .racer { width: calc(var(--w) * .66); } }

/* teams: the crew does a Mexican wave */
#teams .wrap { position: relative; }
.crew { display: flex; align-items: flex-end; gap: 4px; margin-top: 28px; }
@media (min-width: 1000px) { .crew { position: absolute; right: 0; top: 10px; margin: 0; } }
.crew-m { width: clamp(52px, 6vw, 82px); transition: scale .4s cubic-bezier(.2,1.6,.3,1); }
.crew-lead { width: clamp(70px, 8vw, 108px); }
.crew-m .msc { transform-origin: 50% 100%; animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .13s); }
.crew-m:hover { scale: 1.2; }
@keyframes wave { 0%, 55%, 100% { transform: none; } 18% { transform: translateY(-30px) rotate(-8deg) scale(1.04, .96); } 32% { transform: translateY(0) scale(1.12, .88); } 42% { transform: scale(.97, 1.03); } }

/* ask: Yuzi floats in, Clippy offers help nobody asked for */
.ask-box { position: relative; }
.ask-yuzi { position: absolute; left: -170px; bottom: -20px; width: 160px; pointer-events: none; }
.ask-yuzi-move { transform: translateY(calc(var(--p, 0) * -60px)) rotate(calc(var(--mx, 0) * 12deg)); }
.ask-yuzi .msc { animation: m-float 4.5s ease-in-out infinite; }
.caret { display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 960px) {
  .ask-box { margin-top: 100px; }
  .ask-yuzi { left: -6px; top: -100px; bottom: auto; width: 92px; }
    }

/* footer: the cast peeks over the edge, one at a time */
.foot { position: relative; }
.foot-peek { position: absolute; left: 50%; top: -70px; display: flex; gap: 20px; height: 70px; overflow: hidden; transform: translateX(-50%); }
.peeker { display: block; width: 78px; transform: translateY(54px); animation: peek 7s ease-in-out infinite; animation-delay: calc(var(--i) * 1.4s); transition: translate .4s cubic-bezier(.2,1.6,.3,1); }
.peeker:hover { translate: 0 -34px; }
@keyframes peek { 0%, 66%, 100% { transform: translateY(54px); } 74%, 90% { transform: translateY(10px); } }
@media (max-width: 520px) { .foot-peek { gap: 8px; } .peeker { width: 58px; } }

/* inner pages: one mascot floats in the blue hero band */
.page-hero { position: relative; overflow: hidden; }
.ph-cast { position: absolute; right: 7%; top: 54%; width: clamp(130px, 15vw, 220px); transform: translateY(-50%); pointer-events: none; }
.ph-move { transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--p, 0) * -140px), 0) rotate(calc(var(--p, 0) * 24deg)); }
.ph-cast .msc { animation: m-pop 1s .2s cubic-bezier(.2,1.4,.3,1) both, m-float 5s 1.2s ease-in-out infinite; }
@media (max-width: 999px) { .ph-cast { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .stack-3d, .stk, .use, .msc, .logos-track, .tn-bar, .racer-hop, .peeker, .caret, .path li, .nav-sheet, .nav-count, .tpick.auto::after, .nav-logo:hover .yz-lemon-o { animation: none; }
  .tilt, .fan .yz-slide-frame, .nav, .nav-bar, .nav-ind { transition: none; }
}

/* footer entity map (shell.js EntityMap + the static copy tools/geo.py writes) */
.foot-entities { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-entities dl { margin: 0; display: grid; gap: 10px; }
.foot-entities dl > div { display: grid; gap: 4px 16px; }
@media (min-width: 760px) { .foot-entities dl > div { grid-template-columns: 150px 1fr; } }
.foot-entities dt { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); }
.foot-entities dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 600; }
.foot-entities dd a { color: rgba(255,255,255,.88); }

/* logo strip: one quiet row of the tools we teach */
.logos { padding: 34px 0 30px; border-block: 1px solid var(--line); background: var(--surface); }
.logos-cap { margin: 0 0 18px; text-align: center; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--ink-muted); }
.logos-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; gap: 40px; width: max-content; animation: logos-run 70s linear infinite; }
.logos-row:hover .logos-track { animation-play-state: paused; }
.logo-item { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; opacity: .8; }
.logo-item .ticon { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); }
.logo-item .ticon-glyph { width: 16px; height: 16px; }
.logo-item .tflag { display: none; }
@keyframes logos-run { to { transform: translateX(calc(-50% - 20px)); } }
@media (prefers-reduced-motion: reduce) { .logos-row { overflow-x: auto; } }

/* try it now: dark stage, tool index on the left, a chat window that types the prompt on the right */
.tn { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.tn::before { content: ""; position: absolute; right: -18%; top: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(33,81,193,.55), transparent); pointer-events: none; }
.tn .wrap { position: relative; }
.tn .eyebrow { color: var(--lemon); }
.tn .lead { color: rgba(255,255,255,.72); }
.tn-hl { color: var(--lemon); }
.tn-head { display: grid; gap: 8px; align-items: end; }
@media (min-width: 1000px) { .tn-head { grid-template-columns: 1.3fr 1fr; gap: 48px; } .tn-head .lead { margin-bottom: 8px; } }
.tn-stage { display: grid; gap: 22px; margin-top: 44px; }
.tn-stage > * { min-width: 0; }
@media (min-width: 1000px) { .tn-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; } }
.tn-list { display: flex; flex-direction: column; }
.tn-tool { position: relative; display: grid; grid-template-columns: 34px 40px 1fr auto; align-items: center; gap: 14px; padding: 9px 6px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: transparent; color: rgba(255,255,255,.42); font-family: var(--font-sans); text-align: left; cursor: pointer; transition: color .25s ease, padding .35s cubic-bezier(.2,.8,.2,1); }
.tn-tool:hover { color: rgba(255,255,255,.8); }
.tn-tool.on { color: #fff; padding-left: 16px; }
.tn-num { font-size: 12px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.tn-tool.on .tn-num { color: var(--lemon); }
.tn-tool .ticon { width: 40px; height: 40px; border-radius: 12px; opacity: .55; transition: opacity .25s ease, transform .35s cubic-bezier(.3,.7,.3,1.4); }
.tn-tool .tflag { display: none; }
.tn-tool .ticon-glyph { width: 20px; height: 20px; }
.tn-tool.on .ticon, .tn-tool:hover .ticon { opacity: 1; }
.tn-tool.on .ticon { transform: scale(1.08) rotate(-4deg); }
.tn-name { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.tn-maker { font-size: 13px; font-weight: 600; opacity: .7; }
.tn-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lemon); transform-origin: left; animation: tn-fill linear both; }
.tn-bar.paused { animation-play-state: paused; }
@keyframes tn-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tn-tool:focus-visible, .tn-role:focus-visible { outline: 2px solid var(--lemon); outline-offset: 2px; }

.tn-win { display: flex; flex-direction: column; min-height: 540px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.tn-bar-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.tn-dots { display: flex; gap: 6px; }
.tn-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e6e8ee; }
.tn-dots i:first-child { background: var(--zest, #e8633a); } .tn-dots i:nth-child(2) { background: var(--lemon); } .tn-dots i:last-child { background: var(--leaf, #4e9f3d); }
.tn-tab { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: var(--radius-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 750; }
.tn-tab .ticon { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }
.tn-tab .ticon-glyph { width: 14px; height: 14px; }
.tn-tab .tflag { display: none; }
.tn-body { flex: 1; padding: 24px 26px 8px; animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; }
.tn-best { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.tn-roles { display: flex; gap: 6px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.tn-roles::-webkit-scrollbar { display: none; }
.tn-role { flex: none; padding: 7px 14px; border: 0; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); font-family: var(--font-sans); font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.tn-role:hover { color: var(--ink); }
.tn-role.on { background: var(--ink); color: #fff; }
.tn-task { margin: 18px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.tn-msg { position: relative; margin: 18px 0 0 auto; max-width: 92%; padding: 16px 18px; border-radius: 20px 20px 6px 20px; background: var(--cobalt); color: #fff; box-shadow: 0 14px 30px -18px rgba(33,81,193,.9); }
.tn-you { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tn-msg p { margin: 0; min-height: 4.5em; font-size: 15.5px; line-height: 1.5; font-weight: 500; }
.tn-get { display: flex; align-items: center; gap: 12px; margin-top: 14px; max-width: 92%; padding: 12px 16px 12px 12px; border-radius: 20px 20px 20px 6px; background: var(--pith, #fff6cf); box-shadow: inset 0 0 0 1px rgba(14,26,51,.06); opacity: 0; transform: translateY(10px) scale(.97); transform-origin: left bottom; transition: opacity .35s ease, transform .45s cubic-bezier(.3,.7,.3,1.4); }
.tn-get.on { opacity: 1; transform: none; }
.tn-get-ic .ticon { width: 34px; height: 34px; border-radius: 10px; }
.tn-get-ic .ticon-glyph { width: 18px; height: 18px; }
.tn-get-ic .tflag { display: none; }
.tn-get p { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; }
.tn-get p span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zest, #e8633a); }
.tn-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px 22px; }
.tn-min { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.tn-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tn-acts .copy { height: 40px; padding: 0 16px; }
.tn-stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; font-weight: 600; color: rgba(255,255,255,.7); }
.tn-stats b { margin-right: 4px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.tn-all { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--lemon); font-weight: 750; text-decoration: none; }
.tn-all:hover { text-decoration: underline; }
@media (max-width: 999px) {
  .tn-list { flex-direction: row; gap: 8px; margin-inline: calc(var(--space-4) * -1); padding: 2px var(--space-4) 4px; overflow-x: auto; scrollbar-width: none; }
  .tn-list::-webkit-scrollbar { display: none; }
  .tn-tool { flex: none; grid-template-columns: auto auto; gap: 8px; padding: 6px 16px 6px 6px; border: 0; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); overflow: hidden; }
  .tn-tool.on { padding-left: 6px; background: #fff; color: var(--ink); }
  .tn-num, .tn-maker { display: none; }
  .tn-tool .ticon { width: 30px; height: 30px; border-radius: 50%; opacity: 1; }
  .tn-tool.on .ticon { transform: none; }
  .tn-name { font-size: 15px; letter-spacing: -.01em; }
  .tn-bar { bottom: 0; }
  .tn-win { min-height: 0; }
}
@media (min-width: 720px) and (max-width: 999px) { .tn-list { margin-inline: calc(var(--space-8) * -1); padding-inline: var(--space-8); } }
@media (max-width: 719px) { .tn-get { max-width: 100%; } .tn-body { padding: 20px 18px 6px; } .tn-foot { padding: 14px 18px 18px; } .tn-msg { max-width: 100%; } .tn-stats { gap: 8px 22px; } .tn-stats b { font-size: 24px; } .tn-all { margin-left: 0; } .logos { padding: 26px 0 22px; } }

/* ask: chips and the matched answers */
.ask-chip { padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-pill); background: rgba(255,255,255,.14); color: #fff; font-family: var(--font-sans); font-size: 14px; font-weight: 650; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ask-chip:hover { background: rgba(255,255,255,.26); }
.ask-chip.on { background: #fff; color: var(--ink); }
.ask-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ask-res { display: grid; gap: 8px; width: 100%; max-width: 600px; text-align: left; }
.ask-res-q { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); }
.ask-hit { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kind go" "title go" "line go"; align-items: center; column-gap: 16px; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 14px 30px -20px rgba(14,26,51,.6); animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.ask-hit:hover { transform: translateX(4px); }
.ask-kind { grid-area: kind; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.ask-hit b { grid-area: title; font-size: 16px; line-height: 1.3; font-weight: 750; }
.ask-line { grid-area: line; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ask-hit svg { grid-area: go; }

/* squeeze: follow buttons */
.follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.follow-btn { padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.follow-btn:hover { background: var(--lemon); color: var(--ink); box-shadow: none; }
