/* Styles for the Teammates industry picker and customer stories. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: world-page-out 180ms ease both; }
::view-transition-new(root) { animation: world-page-in 360ms ease both; }
::view-transition-group(industry-token) { animation-duration: 440ms; animation-timing-function: cubic-bezier(.22,1,.36,1); }
@keyframes world-page-out { to { opacity: 0; } }
@keyframes world-page-in { from { opacity: 0; } to { opacity: 1; } }
body { --world-accent: #536547; --world-soft: #f1f5eb; }
body[data-world='saas'] { --world-accent: #6c5991; --world-soft: #f4f0fa; }
body[data-world='sports-clubs'] { --world-accent: #80534a; --world-soft: #fbf1ee; }
.hero-use-cases { color: var(--world-accent); transition: color 240ms ease; }
.chooser-hero[data-preview-world="saas"] { --world-accent: #6c5991; }
.chooser-hero[data-preview-world="sports-clubs"] { --world-accent: #80534a; }
.hero-use-cases.is-pinned .is-active[data-hero-phrase] .hero-word { animation-duration: 300ms; animation-delay: calc(var(--word-index) * 24ms); }
.chooser-hero { min-height: calc(100svh - var(--cust-header-height, 72px)); display: flex; flex-direction: column; justify-content: center; padding-block: 42px; }
.chooser-hero .hero-copy { width: 100%; max-width: 1100px; }
.teammates-connection { margin: 30px auto 0; max-width: 460px; color: #737b70; font-size: 14px; line-height: 1.65; text-wrap: balance; }
.teammates-connection a { color: #252b23; text-decoration: underline; text-decoration-color: #cad2c0; text-underline-offset: 3px; }
.chooser-hero h1 { font-size: clamp(38px,4.4vw,60px); }
.chooser-hero .headline-channels { margin-top: 18px; font-size: clamp(22px,2.25vw,30px); }
.chooser-hero .hero-use-cases { font-size: clamp(30px,3.25vw,44px); margin-top: 15px; }
.world-picker-wrap { margin-top: 38px; scroll-margin-top: 30px; }
.world-picker-prompt { color: #66705f; }
.world-option { transition: opacity 220ms ease, background 220ms ease, border-color 220ms ease; }
.world-picker.is-choosing .world-option:not(.is-selected) { opacity: .3; }
.world-option.is-selected .world-art { transform: translateY(-6px) scale(1.03); transition: transform 220ms cubic-bezier(.22,1,.36,1); }
body[data-world='choose'] { min-height: 100svh; display: flex; flex-direction: column; }
body[data-world='choose'] main { flex: 1; }
body[data-world='choose'] .footer { padding-block: 18px 24px; }
/* The header and introduction fill one screen; short viewports can grow naturally. */
.industry-hero {
 --hero-header-height: 90px;
 min-height: calc(100svh - var(--hero-header-height));
 display: flex;
 flex-direction: column;
 gap: clamp(24px, 4svh, 40px);
 padding-block: clamp(24px, 4svh, 40px) max(20px, env(safe-area-inset-bottom));
}
.industry-hero .hero-copy { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; }
.hero-learn-more {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 align-self: center;
 flex: none;
 gap: 9px;
 min-height: 44px;
 padding: 11px 18px;
 border: 1px solid #f0f1ed;
 border-radius: 999px;
 background: #fff;
 box-shadow: 0 4px 16px #2934260d, 0 2px 5px #29342604;
 font-size: 14px;
 line-height: 1.4;
 transition: opacity 150ms ease, visibility 0s, box-shadow 180ms ease;
}
.hero-learn-more.is-scrolled { opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s, 150ms, 0s; }
.hero-learn-more .icon { width: 19px; height: 19px; transform: rotate(90deg); transition: transform 180ms ease; }
.hero-learn-more:hover { box-shadow: 0 6px 20px #29342615, 0 2px 5px #29342606; }
.hero-learn-more:hover .icon { transform: translateY(2px) rotate(90deg); }
.industry-context { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 26px; }
.industry-switch { position: relative; z-index: 5; margin-top: 8px; }
.change-industry { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 6px 4px; border: 0; border-radius: 4px; background: transparent; color: #687063; font-size: 12px; font-weight: 500; line-height: 1.3; cursor: pointer; list-style: none; transition: color 140ms ease; }
.change-industry::-webkit-details-marker { display: none; }
.change-industry:hover, .industry-switch[open] .change-industry { color: var(--ink); }
.change-industry:focus-visible { outline: 1px solid var(--world-accent); outline-offset: 2px; }
.change-industry .icon { width: 11px; height: 11px; color: #8a9185; transition: transform 140ms ease; }
.industry-switch[open] .change-industry .icon { transform: rotate(180deg); }
.industry-menu { position: absolute; top: calc(100% + 4px); left: 50%; width: 176px; max-width: calc(100vw - 36px); padding: 4px; border: 1px solid #e9ece6; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px -10px #26332224, 0 2px 5px #26332206; text-align: left; transform: translateX(-50%); }
.industry-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 9px 10px; border-radius: 7px; color: #687063; font-size: 13px; line-height: 1.4; }
.industry-menu a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.industry-menu a:hover { background: #f6f7f4; color: var(--ink); }
.industry-menu a:focus-visible { outline: 1px solid var(--world-accent); outline-offset: -2px; }
.industry-menu .icon { width: 13px; height: 13px; color: var(--world-accent); }
.industry-emblem { position: relative; width: 106px; height: 68px; }
.industry-emblem .world-art { position: absolute; left: 50%; top: 50%; width: 266px; max-width: none; height: 160px; margin: 0; transform: translate(-50%,-50%) scale(.42); transform-origin: center; }
.industry-emblem .world-art { view-transition-name: industry-token; }
.industry-hero h1 { font-size: clamp(40px,4.55vw,62px); }
.industry-hero .hero-use-cases { font-size: clamp(33px,3.65vw,48px); }
.industry-hero .hero-actions { margin-top: 28px; }
.produce-still-life { position: relative; height: 95px; overflow: hidden; border-radius: 9px; background: #f3f5e9; }
.produce-still-life img { position: absolute; width: 110px; height: 110px; object-fit: contain; top: -8px; right: 36px; transform: rotate(-10deg); }
.produce-still-life img + img { width: 88px; height: 100px; right: -5px; top: -3px; transform: rotate(15deg); }
.produce-still-life > span { position: absolute; top: 30px; left: 17px; max-width: 110px; color: #6f7d50; font: italic 24px/1.1 var(--serif); }
.setup-step { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 80px; padding-bottom: 84px; }
.setup-step-intro { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 24px; align-self: center; min-width: 0; }
.setup-step .setup-scene { grid-column: 2; }
.setup-step-copy { align-self: start; padding-top: 0; }
.setup-step-number { margin-top: 0; align-self: start; }
.setup-step h3 { text-wrap: balance; }
.customer-story { padding-top: 88px; }
.story-step .setup-step-intro { display: block; }
.story-step .setup-step-copy { max-width: 430px; }
.story-step h2 { margin: 0 0 17px; font: 550 clamp(28px, 2.55vw, 36px)/1.13 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.setup-scene::before { background: radial-gradient(ellipse, var(--world-soft), #fff0 70%); opacity: .75; }
.setup-story-avatar { background: var(--world-soft); color: var(--world-accent); }
.setup-chat-brand > img { object-fit: contain; }
.setup-chat-brand > div { min-width: 0; }
.setup-chat-brand strong { font-size: 15px; }
.setup-campaign-reason { max-width: 100%; }
.setup-campaign-message, .setup-memory-message { overflow-wrap: break-word; }
.setup-actions { margin-top: 50px; }
@media (min-width:851px) {
 .industry-hero .hero-copy { max-width: 1100px; }
 .showcase { padding-top: 18px; }
 .story-visual { height: min(var(--scene-base-height),calc(100svh - 85px)); }
 .setup { padding-top: 100px; }
 .setup-heading { margin-bottom: 70px; }
}
@media (max-width:1100px) { .setup-step { column-gap: 32px; } }
@media (max-width:850px) {
 .setup-step { grid-template-columns: minmax(0,1fr); gap: 0; }
 .setup-step-intro { display: flex; flex-direction: column; align-items: center; gap: 0; }
 .setup-step .setup-scene { grid-column: 1; grid-row: 2; }
 .setup-step-number { align-self: center; }
 .setup-step-copy { width: 100%; }
 .customer-story { padding-top: 48px; }
 .story-step .setup-step-copy { max-width: none; }
 .story-step h2 { font-size: 34px; text-align: center; }
 .chooser-hero { padding-top: 40px; }
 .industry-context { margin-bottom: 26px; }
 .setup-step { padding-bottom: 72px; }
 .setup-step-number { margin: 0 0 16px; }
}
@media (max-width:650px) {
 body[data-world='choose'] main { flex: none; }
 .chooser-hero { min-height: 0; display: block; padding-block: 32px 64px; }
 .teammates-connection { margin-top: 26px; font-size: 12px; max-width: 320px; }
 .story-step h2 { font-size: 28px; }
 .chooser-hero h1 { font-size: clamp(30px,6.7vw,40px); }
 .chooser-hero .headline-channels { font-size: clamp(16px,4vw,23px); margin-top: 14px; }
 .chooser-hero .hero-use-cases { font-size: clamp(27px,5.8vw,34px); }
 .world-picker-wrap { margin-top: 25px; scroll-margin-top: 100px; }
 .industry-hero { --hero-header-height: 77px; padding-top: 24px; gap: 24px; }
 .industry-hero h1 { font-size: clamp(32px,6.7vw,42px); }
 .industry-hero .hero-use-cases { font-size: clamp(28px,5.8vw,36px); }
 .industry-hero .hero-use-case-phrases { max-width: 21ch; margin-inline: auto; }
 .industry-emblem { width: 90px; height: 58px; }
 .industry-emblem .world-art { transform: translate(-50%,-50%) scale(.36); }
 .industry-context { margin-bottom: 22px; }
 .setup-step { padding-bottom: 64px; }
}

@media (max-width:370px) {
 .chooser-hero { padding-top: 25px; }
 .chooser-hero h1 { font-size: 30px; }
 .chooser-hero .hero-use-cases { font-size: 26px; }
 .world-picker-wrap { margin-top: 22px; }
 .industry-hero .headline-channels { font-size: 16px; }
 .industry-hero h1 { font-size: 30px; }
 .industry-hero .hero-use-cases { font-size: 27px; }
 .setup-chat-brand strong { font-size: 14px; }
}
@media (max-width:650px) and (max-height:700px) {
 .industry-hero { gap: 16px; padding-top: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
 .industry-context { margin-bottom: 16px; }
 .industry-hero .hero-actions { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-learn-more, .hero-learn-more .icon, .change-industry, .change-industry .icon { transition: none; }
 .hero-learn-more:hover .icon { transform: rotate(90deg); }
 @view-transition { navigation: none; }
 ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
