.labs-home { color:var(--text); font-family:var(--font-ui); }
.labs-home * { box-sizing:border-box; }
.labs-home img { display:block; width:100%; object-fit:cover; }
.labs-home a { color:inherit; text-decoration:none; }
.labs-home__hero { padding-top:clamp(100px,10vw,148px); text-align:center; }
.labs-home__eyebrow { margin:0 0 18px; color:var(--muted); font:600 11px/1.4 var(--font-ui); letter-spacing:.11em; }
.labs-home h1,.labs-home h2 { margin:0; font-family:var(--font-ui); font-weight:600; letter-spacing:-.045em; }
.labs-home h1 { font-size:clamp(34px,4.1vw,64px); line-height:1.13; text-wrap:balance; }
.labs-home__title-unit { white-space:nowrap; }
.labs-home h1 em,.labs-home h2 em { font-family:var(--font-editorial); font-weight:400; letter-spacing:-.025em; }
html[lang^="ko"] .labs-home h1 em,html[lang^="ko"] .labs-home h2 em { font-family:var(--font-ui); font-style:normal; }
.labs-home__lead,.labs-home__section-head p,.labs-home__business p,.labs-home__closing p { color:var(--muted); font-size:15px; line-height:1.7; }
.labs-home__lead { margin:18px auto 36px; }
.labs-home__hero-frame { width:min(100%,1020px); height:clamp(350px,46vw,570px); margin:auto; position:relative; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-card); background:var(--surface-raised); text-align:left; }
.labs-home__hero-frame>img { height:100%; }
.labs-home__hero-frame::after,.labs-home__visual-shade { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.68)); pointer-events:none; }
.labs-home__hero-overlay { position:absolute; z-index:1; inset:auto 32px 30px; display:grid; grid-template-columns:1fr auto; align-items:end; gap:10px 20px; color:#fff; }
.labs-home__hero-overlay>span { grid-column:1 / -1; font-size:11px; letter-spacing:.08em; }
.labs-home__hero-overlay strong { font-size:clamp(20px,2vw,28px); letter-spacing:-.03em; }
.labs-home__hero-overlay p { margin:7px 0 0; color:rgba(255,255,255,.86); font-size:13px; }
.labs-home__action { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:44px; padding:0 18px; border:1px solid var(--labs-primary); border-radius:var(--action-radius,var(--radius-card)); background:var(--labs-primary); color:#fff!important; font:600 12px/1.2 var(--font-ui); white-space:nowrap; }
.labs-home__action:hover { background:var(--labs-primary-hover); border-color:var(--labs-primary-hover); }
.labs-home__action svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; }
.labs-home__action--secondary { color:#fff!important; border-color:var(--labs-primary); background:var(--labs-primary); }
.labs-home__action--secondary:hover { color:#fff!important; background:var(--labs-primary-hover); border-color:var(--labs-primary-hover); }
.labs-home__hero-controls { width:min(100%,1020px); margin:16px auto 0; display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:11px; }
.labs-home__hero-controls>div,.labs-home__track-buttons { display:flex; gap:8px; }
.labs-home__hero-controls button,.labs-home__track-buttons button { width:40px; height:40px; padding:0; border:1px solid var(--line-strong); border-radius:var(--control-radius); background:var(--surface); color:var(--text); font-size:17px; cursor:pointer; }
.labs-home__section { padding-top:clamp(95px,10vw,150px); }
.labs-home__section h2 { font-size:clamp(29px,3.5vw,48px); line-height:1.18; }
.labs-home__section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.labs-home__section-head p { margin:14px 0 0; }
.labs-home__visual-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.labs-home__visual-card { position:relative; display:block; overflow:hidden; height:clamp(260px,28vw,380px); border-radius:var(--radius-card); background:var(--surface-raised); }
.labs-home__visual-card img { height:100%; transition:transform .7s cubic-bezier(.22,1,.36,1); }
.labs-home__visual-card:hover img { transform:scale(1.06); }
.labs-home__visual-copy { position:absolute; z-index:1; left:24px; right:24px; bottom:24px; display:grid; gap:8px; color:#fff; }
.labs-home__visual-copy small { font-size:11px; opacity:.85; }
.labs-home__visual-copy strong { font-size:21px; letter-spacing:-.03em; }
.labs-home__visual-copy>span { font-size:13px; line-height:1.5; opacity:.9; }
.labs-home__visual-copy b { margin-left:4px; font-weight:400; }
.labs-home__track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 42px)/4); gap:14px; overflow:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding-bottom:8px; }
.labs-home__track::-webkit-scrollbar { display:none; }
.labs-home__app-card { min-width:0; overflow:hidden; border:0; border-radius:var(--radius-card); background:var(--surface-raised); scroll-snap-align:start; }
.labs-home__app-card[hidden] { display:none; }
.labs-home__app-card>a { display:block; height:100%; }
.labs-home__app-card>a>img { aspect-ratio:4/3; }
.labs-home__app-card-copy { padding:18px; }
.labs-home__app-card small { color:var(--muted); font-size:10px; letter-spacing:.06em; }
.labs-home__app-card h3 { margin:10px 0 8px; font-size:16px; line-height:1.35; letter-spacing:-.025em; }
.labs-home__app-card p { min-height:38px; margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.labs-home__app-card div>span { display:inline-block; margin-top:16px; font-size:12px; font-weight:600; }
.labs-home__app-card div>span b { margin-left:4px; font-weight:400; }
.labs-home__section-link { display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.labs-home__filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; }
.labs-home__filters button { min-height:44px; padding:0 15px; border:1px solid var(--line); border-radius:var(--action-radius,var(--radius-card)); background:transparent; color:var(--muted); font:500 12px var(--font-ui); cursor:pointer; }
.labs-home__filters button[aria-pressed="true"] { border-color:var(--line-strong); color:var(--text); }
.labs-home__tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.labs-home__business { display:grid; grid-template-columns:1fr 1.1fr; min-height:440px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-panel); background:var(--surface-raised); }
.labs-home__business>div { padding:clamp(28px,5vw,70px); align-self:center; }
.labs-home__business p { margin:18px 0 24px; max-width:430px; }
.labs-home__business img { height:100%; min-height:350px; }
.labs-home__faq-list { border-top:1px solid var(--line); }
.labs-home__faq-list details { border-bottom:1px solid var(--line); }
.labs-home__faq-list summary { display:grid; grid-template-columns:40px 1fr auto; gap:8px; align-items:center; min-height:72px; cursor:pointer; list-style:none; font-size:15px; font-weight:600; }
.labs-home__faq-list summary::-webkit-details-marker { display:none; }
.labs-home__faq-list summary span { color:var(--muted); font-size:11px; font-weight:400; }
.labs-home__faq-list summary b { font-size:22px; font-weight:400; }
.labs-home__faq-list details[open] summary b { transform:rotate(45deg); }
.labs-home__faq-list details p { max-width:780px; margin:0 0 24px 48px; color:var(--muted); font-size:14px; line-height:1.7; }
.labs-home__inline { display:inline-block; margin-top:22px; font-size:12px; font-weight:600; text-decoration:underline!important; text-underline-offset:4px; }
.labs-home__closing { padding:clamp(50px,7vw,90px) 24px; border:1px solid var(--line); border-radius:var(--radius-panel); text-align:center; background:var(--surface-raised); }
.labs-home__closing p { margin:14px 0 24px; }
.labs-home__closing>div { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
.labs-home>.labs-home__section:last-child { padding-bottom:clamp(90px,10vw,150px); }
.labs-home :focus-visible { outline:2px solid var(--focus-ring); outline-offset:3px; }
@media (max-width:800px) { .labs-home__track { grid-auto-columns:calc((100% - 14px)/2); } .labs-home__tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .labs-home__visual-grid { grid-template-columns:1fr 1fr; } .labs-home__visual-card:first-child { grid-column:1 / -1; } .labs-home__business { grid-template-columns:1fr; } .labs-home__business img { max-height:360px; } }
@media (max-width:540px) { .labs-home__hero { padding-top:100px; } .labs-home__lead { margin-bottom:26px; } .labs-home__hero-frame { height:390px; } .labs-home__hero-overlay { inset:auto 18px 20px; grid-template-columns:1fr; } .labs-home__hero-overlay .labs-home__action { justify-self:start; } .labs-home__visual-grid { grid-template-columns:1fr; } .labs-home__visual-card:first-child { grid-column:auto; } .labs-home__visual-card { height:280px; } .labs-home__track { grid-auto-columns:76%; } .labs-home__tool-grid { grid-template-columns:1fr 1fr; gap:10px; } .labs-home__app-card-copy { padding:14px; } .labs-home__app-card h3 { font-size:14px; } .labs-home__app-card p { min-height:55px; } .labs-home__section-head { align-items:start; } .labs-home__faq-list summary { grid-template-columns:30px 1fr auto; font-size:14px; } .labs-home__faq-list details p { margin-left:38px; } }
@media (prefers-reduced-motion:reduce) { .labs-home__visual-card img { transition:none; } }

/* Image-led discovery: shared LABS typography and tokens, with generous media. */
.labs-home__hero-frame,.labs-home__hero-controls { width:min(100%,850px); }
.labs-home__hero-frame { height:clamp(350px,44vw,510px); }
.labs-home__visual-grid { grid-template-columns:1.5fr 1fr 1fr; }
.labs-home__visual-card { height:clamp(350px,42vw,540px); }
.labs-home__track { grid-auto-columns:calc((100% - 28px)/3); }
.labs-home__track .labs-home__app-card { height:clamp(360px,40vw,470px); }
.labs-home__tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:235px; }
.labs-home__tool-grid:has(> :nth-child(3 of :not([hidden]))) > :nth-child(3n + 1 of :not([hidden])) { grid-row:span 2; }
.labs-home__tool-grid:not(:has(> :nth-child(2 of :not([hidden])))) > :not([hidden]) { grid-column:1 / -1; }
.labs-home__track .labs-home__app-card,
.labs-home__tool-grid .labs-home__app-card { position:relative; background:#272727; }
.labs-home__track .labs-home__app-card>a:focus-visible,
.labs-home__tool-grid .labs-home__app-card>a:focus-visible { outline-offset:-3px; }
.labs-home__track .labs-home__app-card>a,
.labs-home__tool-grid .labs-home__app-card>a { position:relative; display:block; height:100%; }
.labs-home__track .labs-home__app-card>a>img,
.labs-home__tool-grid .labs-home__app-card>a>img { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; transition:transform .7s cubic-bezier(.22,1,.36,1); }
.labs-home__track .labs-home__app-card a:hover>img,
.labs-home__tool-grid .labs-home__app-card a:hover>img { transform:scale(1.06); }
.labs-home__track .labs-home__app-card>a::before,
.labs-home__tool-grid .labs-home__app-card>a::before { content:""; position:absolute; z-index:1; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.28),transparent 34%,rgba(0,0,0,.76)); pointer-events:none; }
.labs-home__track .labs-home__app-card-copy,
.labs-home__tool-grid .labs-home__app-card-copy { position:absolute; z-index:2; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding:22px; color:#fff; }
.labs-home__track .labs-home__app-card small,
.labs-home__tool-grid .labs-home__app-card small { position:absolute; top:20px; left:20px; padding:7px 10px; border:1px solid rgba(255,255,255,.35); border-radius:var(--corner-mark); background:rgba(0,0,0,.28); color:#fff; line-height:1; }
.labs-home__track .labs-home__app-card h3,
.labs-home__tool-grid .labs-home__app-card h3 { margin:0; font-size:clamp(18px,1.7vw,25px); line-height:1.22; color:#fff; }
.labs-home__track .labs-home__app-card p,
.labs-home__tool-grid .labs-home__app-card p { min-height:0; margin:7px 0 0; max-width:90%; color:#fff; font-size:13px; text-shadow:0 1px 3px rgba(0,0,0,.45); }
.labs-home__track .labs-home__app-card div>span,
.labs-home__tool-grid .labs-home__app-card div>span { display:none; }
@media (max-width:800px) {
  .labs-home__visual-grid { grid-template-columns:1fr 1fr; }
  .labs-home__visual-card:first-child { grid-column:1 / -1; }
  .labs-home__track { grid-auto-columns:calc((100% - 14px)/2); }
  .labs-home__tool-grid { grid-auto-rows:190px; }
}
@media (max-width:540px) {
  .labs-home__hero-frame { height:390px; }
  .labs-home__visual-grid { grid-template-columns:1fr; }
  .labs-home__visual-card:first-child { grid-column:auto; }
  .labs-home__visual-card { height:300px; }
  .labs-home__track { grid-auto-columns:82%; }
  .labs-home__track .labs-home__app-card { height:380px; }
  .labs-home__tool-grid { grid-template-columns:1fr; grid-auto-rows:290px; }
  .labs-home__tool-grid:has(> :nth-child(3 of :not([hidden]))) > :nth-child(3n + 1 of :not([hidden])) { grid-row:auto; }
  .labs-home__track .labs-home__app-card h3,.labs-home__tool-grid .labs-home__app-card h3 { font-size:19px; }
}
@media (prefers-reduced-motion:reduce) {
  .labs-home__track .labs-home__app-card>a>img,.labs-home__tool-grid .labs-home__app-card>a>img { transition:none; }
}

.labs-home__capability-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
.labs-home__capability-grid a { display:flex; flex-direction:column; gap:14px; min-height:228px; padding:24px 0 0; border:0; border-top:1px solid var(--line); background:transparent; }
.labs-home__capability-grid a:hover { border-color:var(--line-strong); }
.labs-home__capability-grid small { color:var(--muted); font:600 10px var(--font-ui); letter-spacing:.08em; }
.labs-home__capability-grid strong { font-size:19px; font-weight:600; line-height:1.4; letter-spacing:-.025em; text-wrap:balance; }
.labs-home__capability-grid span { color:var(--muted); font-size:14px; line-height:1.65; }
.labs-home__capability-grid b { display:flex; align-items:center; min-height:44px; margin-top:auto; color:var(--text); font-size:11px; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
@media (max-width:800px) { .labs-home__capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:540px) { .labs-home__capability-grid { grid-template-columns:1fr; gap:24px; } .labs-home__capability-grid a { min-height:0; padding:20px 0 0; gap:10px; } .labs-home__capability-grid strong { font-size:20px; } }

/* Neutral, square navigation; primary actions carry text only. */
.labs-home__hero-controls button,.labs-home__track-buttons button { display:grid; place-items:center; min-width:44px; min-height:44px; width:44px; height:44px; color:var(--muted); border-radius:var(--control-radius); }
.labs-home__hero-controls button svg,.labs-home__track-buttons button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.labs-home__track { scroll-snap-type:none; scroll-behavior:auto; }

.labs-home__faq { max-width:768px; margin-inline:auto; }
.labs-home__faq>.labs-home__eyebrow,.labs-home__faq>.labs-home__section-head { text-align:center; justify-content:center; }
.labs-home__faq-list summary { color:var(--muted); font-weight:500; }
.labs-home__faq-list summary b,.labs-home__faq-list details p { color:var(--muted); }
.labs-home__faq-list details { interpolate-size:allow-keywords; }
@supports (interpolate-size:allow-keywords) { .labs-home__faq-list details::details-content { block-size:0; overflow:clip; transition:block-size .35s cubic-bezier(.25,.46,.45,.94),content-visibility .35s allow-discrete; } .labs-home__faq-list details[open]::details-content { block-size:auto; } }
.labs-home__faq>.labs-home__inline { display:table; margin-inline:auto; color:var(--muted); }
.labs-enterprise__intro { min-height:100svh; }
.labs-enterprise__intro canvas { position:absolute; inset:0; width:100%; height:100%; }
.labs-enterprise__intro::before { z-index:1; background:linear-gradient(180deg,rgba(17,10,7,.1),rgba(17,10,7,.22)); }
.labs-enterprise__intro-inner { z-index:2; }
@media (prefers-reduced-motion:reduce) { [data-home-motion-toggle] { display:none!important; } .labs-home__faq-list details::details-content { transition:none; } }

.labs-home__hero-frame,.labs-home__hero-controls { width:min(100%,1020px,calc(62svh * 16 / 9)); }
.labs-home__hero-frame { height:auto; aspect-ratio:16 / 9; max-height:62svh; }
.labs-home__hero-frame>img { height:100%; position:absolute; inset:0; }
.labs-home__hero-frame { touch-action:pan-y; }
.labs-home__track { cursor:grab; }
.labs-home__track.is-dragging { cursor:grabbing; user-select:none; }
.labs-home__track img { -webkit-user-drag:none; }

/* Seamless compositor-driven carousel: viewport never scrolls during playback. */
.labs-home__track { display:block; overflow:hidden; scroll-behavior:auto; scroll-snap-type:none; padding-bottom:0; }
.labs-home__strip { display:flex; width:max-content; gap:14px; will-change:transform; }
.labs-home__strip>.labs-home__app-card { flex:0 0 var(--carousel-card-width,320px); width:var(--carousel-card-width,320px); scroll-snap-align:none; }
@media (prefers-reduced-motion:reduce) { .labs-home__strip { will-change:auto; } }

/* Keep the mobile demo readable and collapse duplicate space before the footer. */
body[data-page-kind="home"] .site-footer { margin-top:0; padding-top:clamp(40px,5vw,72px); }
.labs-home .labs-enterprise__outro { padding-bottom:clamp(48px,6vw,80px); }
@media (max-width:540px) {
  .labs-home__hero-frame,.labs-home__hero-controls { width:100%; }
  .labs-home__hero-frame { aspect-ratio:4 / 3; max-height:none; }
  .labs-home__hero-frame::after { background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.08)),linear-gradient(0deg,rgba(0,0,0,.4),transparent 75%); }
  .labs-home__hero-overlay { gap:8px; }
  .labs-home__hero-overlay>span { color:rgba(255,255,255,.88); }
  .labs-home__hero-overlay p { color:rgba(255,255,255,.95); }
}

/* The introduction contains its own typography; preserve the entire 16:9 film. */
.labs-home__hero-frame>video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; background:var(--surface-raised); }
.labs-home__hero-feature { position:absolute; inset:0; display:block; overflow:hidden; border-radius:inherit; }
.labs-home__hero-frame>[hidden],.labs-home__promo-controls[hidden] { display:none; }
.labs-home__hero-frame.is-promo { aspect-ratio:16 / 9; }
.labs-home__hero-frame.is-promo::after { display:none; }
.labs-home__hero-frame.is-promo .labs-home__hero-overlay { inset:auto 18px 18px; display:flex; justify-content:flex-end; pointer-events:none; }
.labs-home__hero-frame.is-promo .labs-home__hero-overlay>span,.labs-home__hero-frame.is-promo .labs-home__hero-overlay>div { display:none; }
.labs-home__hero-frame.is-promo .labs-home__hero-overlay .labs-home__action { pointer-events:auto; }
.labs-home__promo-controls { position:absolute; z-index:3; top:18px; right:18px; display:flex; gap:8px; }
.labs-home__promo-controls button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--line-strong); border-radius:var(--control-radius); color:var(--text); background:var(--surface); cursor:pointer; }
.labs-home__promo-controls svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.labs-home__hero-frame:fullscreen { width:100%; height:100%; max-height:none; aspect-ratio:auto; border:0; border-radius:0; background:#000; }
.labs-home__hero-frame:fullscreen>video { background:#000; }
@media (max-width:540px) {
  .labs-home__hero-frame.is-promo { aspect-ratio:16 / 9; }
  .labs-home__hero-frame.is-promo .labs-home__hero-overlay { right:12px; bottom:12px; left:12px; }
  .labs-home__hero-frame.is-promo .labs-home__hero-overlay .labs-home__action { padding-inline:12px; font-size:11px; }
  .labs-home__promo-controls { top:12px; right:12px; }
}

/* Shared functional previews fill the existing landing card geometry. */
.labs-home__app-card>a>.labs-feature-preview,
.labs-home__visual-card>.labs-feature-preview { position:absolute; inset:0; width:100%; height:100%; }
.labs-home .labs-feature-preview img { aspect-ratio:auto; }
.labs-home__visual-card .labs-feature-preview img { transform:none; }
.labs-home__app-card-copy,.labs-home__visual-copy { pointer-events:none; }

.labs-home .labs-feature-preview .labs-feature-preview__example { top:20px; left:20px; right:auto; bottom:auto; }
.labs-home__app-card[data-home-category="custom"] .labs-home__app-card-copy small { display:none; }

/* Focused staging landing: visible entry actions, distinct value section, stable anchors. */
.labs-home__hero { padding-top:clamp(104px,8vw,128px); }
.labs-home__lead { max-width:720px; margin:18px auto 0; text-wrap:pretty; }
.labs-home__hero-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 24px; margin:24px 0 30px; }
.labs-home__text-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; color:var(--muted)!important; font:600 12px/1.4 var(--font-ui); text-decoration:underline!important; text-underline-offset:4px; }
.labs-home__text-action:hover { color:var(--text)!important; }
.labs-home__hero-frame,.labs-home__hero-controls { width:min(100%,1020px,calc(52svh * 16 / 9)); }
.labs-home__hero-frame { max-height:52svh; }
.labs-home__hero-frame,.labs-home__hero-overlay { transition:none; }
.labs-home [id] { scroll-margin-top:100px; }
.labs-home__capabilities .labs-home__section-head { margin-bottom:36px; }
.labs-home__faq-list summary { padding-block:18px; line-height:1.55; }
.labs-home__faq-list summary b { width:28px; text-align:center; transition:transform .2s ease; }
.labs-home__faq-list details[open] summary { color:var(--text); }
@media (max-width:800px) { .labs-home__capability-grid { gap:28px 24px; } }
@media (max-width:540px) {
  .labs-home__hero { padding-top:100px; }
  .labs-home__hero-actions { margin:20px 0 26px; gap:8px 18px; }
  .labs-home__hero-frame,.labs-home__hero-controls { width:100%; }
  .labs-home__hero-frame { max-height:none; }
  .labs-home__lead { font-size:14px; }
  .labs-home__lead br { display:none; }
  .labs-home__faq-list summary { min-height:76px; }
}
@media (prefers-reduced-motion:reduce) { .labs-home__faq-list summary b { transition:none; } }

/* A scan-friendly mobile app overview complements the full-size discovery carousel. */
@media (max-width:540px) {
  .labs-home__tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:250px; gap:10px; }
  .labs-home__tool-grid .labs-home__app-card-copy { padding:14px; }
  .labs-home__tool-grid .labs-home__app-card h3 { font-size:16px; line-height:1.3; overflow-wrap:anywhere; }
  .labs-home__tool-grid .labs-home__app-card p { font-size:11px; line-height:1.5; max-width:100%; }
  .labs-home__tool-grid .labs-home__app-card small { top:12px; left:12px; padding:5px 6px; font-size:9px; }
  .labs-home__tool-grid .labs-feature-preview__reference { width:40%; max-width:72px; }
  .labs-home__tool-grid .labs-feature-preview .labs-feature-preview__example { top:12px; left:12px; font-size:9px; }
}

@media (max-width:360px) { .labs-home__tool-grid { grid-template-columns:1fr; grid-auto-rows:260px; } }

/* Switching between film and app slides keeps the same mobile viewport height. */
@media (max-width:540px) {
  .labs-home__hero-frame { aspect-ratio:16 / 9; }
  .labs-home__hero-frame:not(.is-promo) .labs-home__hero-overlay>span,
  .labs-home__hero-frame:not(.is-promo) .labs-home__hero-overlay p { display:none; }
}

/* Playback belongs below the film, centered between count and navigation. */
.labs-home__hero-controls { position:relative; display:grid; grid-template-columns:1fr auto 1fr; min-height:44px; }
.labs-home__hero-controls>div:last-child { justify-self:end; }
.labs-home__hero-controls .labs-home__promo-controls { position:static; justify-self:center; top:auto; right:auto; }
.labs-home__hero-frame.is-promo .labs-home__hero-overlay { display:none; }
.app-card__body { padding-top:18px; }
.app-card__body>h3 { margin-top:0; }
.app-card__action-surface { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.app-card__action-surface .app-card__info { width:auto; height:auto; min-height:44px; border:0; background:transparent; color:var(--muted); font:500 12px/1.4 var(--font-ui); padding:8px 0; }
.app-card__action-surface .app-card__info { min-width:64px; flex-shrink:0; white-space:nowrap; }
