/* STAi main only. Shared brand tokens and all functional pages remain unchanged. */
.stai-home .story-shell { width:min(1200px,calc(100% - 96px)); margin-inline:auto; }
.stai-home .story-section { padding-block:112px; scroll-margin-top:88px; }
.stai-home .story-section * { min-width:0; }
.stai-home .story-section h2 { margin:0; font-size:clamp(32px,3.25vw,48px); line-height:1.28; letter-spacing:-.04em; font-weight:700; word-break:keep-all; overflow-wrap:anywhere; }
.stai-home .story-section h3 { margin:0; font-size:24px; line-height:1.4; letter-spacing:-.025em; font-weight:650; word-break:keep-all; overflow-wrap:anywhere; }
.stai-home .story-section p { word-break:keep-all; overflow-wrap:anywhere; }
.stai-home .story-section em { font-style:normal; color:var(--stai-link); }
.stai-home .story-kicker { display:flex; align-items:center; gap:12px; margin:0 0 28px; font-size:14px; font-weight:600; letter-spacing:0; color:var(--stai-text-secondary); }
.stai-home .story-kicker > span { color:var(--stai-link); font-variant-numeric:tabular-nums; }
.stai-home .story-heading { display:grid; grid-template-columns:1.2fr 1fr; align-items:end; gap:64px; margin-bottom:48px; }
.stai-home .story-intro { font-size:18px; line-height:1.8; color:var(--stai-text-secondary); margin:0; max-width:560px; }
.stai-home .story-section .btn { min-height:52px; font-size:16px; border-radius:var(--stai-radius-control); }
.stai-home .story-section .text-link { min-height:44px; font-size:16px; color:var(--stai-link); }
.stai-home .story-section :focus-visible { outline:3px solid var(--stai-focus); outline-offset:5px; }
.stai-home .top-nav a { font-size:16px; }
.stai-home .field-layout { display:grid; grid-template-columns:1.12fr 1fr; gap:64px; align-items:stretch; }
.stai-home figure { margin:0; }
.stai-home .field-photo { position:relative; border-radius:16px; overflow:hidden; background:var(--stai-warm-white); min-height:540px; }
.stai-home .field-photo img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:53% center; }
.stai-home .field-photo figcaption,.stai-home .arrival-photo figcaption { position:absolute; z-index:2; right:20px; bottom:16px; font-size:12px; line-height:1.5; color:white; text-shadow:0 1px 8px #000; }
.stai-home .field-photo::after { content:""; position:absolute; inset:75% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.6)); pointer-events:none; }
.stai-home .field-notes { display:grid; }
.stai-home .field-note { padding:28px 0; border-top:1px solid var(--stai-border); display:grid; grid-template-columns:80px 1fr; column-gap:20px; align-content:center; }
.stai-home .field-note:first-child { padding-top:8px; border:0; }
.stai-home .note-tag { font-size:14px; color:var(--stai-link); font-weight:600; padding-top:6px; }
.stai-home .field-note p { grid-column:2; margin:12px 0 0; font-size:17px; line-height:1.65; color:var(--stai-text-secondary); }
.stai-home .founder-note { display:grid; grid-template-columns:160px 1fr; gap:32px; border-bottom:1px solid var(--stai-border); margin-top:48px; padding-bottom:40px; }
.stai-home .founder-note .story-kicker { margin:0; align-self:start; padding-top:4px; color:var(--stai-link); }
.stai-home .founder-note > p { margin:0; font-size:18px; line-height:1.85; max-width:840px; color:var(--stai-text-secondary); }
.stai-home .living-story { padding-top:0; }
.stai-home .service-masthead { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 0 48px; }
.stai-home .service-masthead .story-kicker { margin:0; }
.stai-home .service-jumps { display:flex; gap:32px; }
.stai-home .service-jumps a { display:flex; gap:8px; align-items:center; min-height:44px; font-size:16px; font-weight:600; }
.stai-home .service-jumps a span { color:var(--stai-text-secondary); font-weight:400; font-size:14px; }
.stai-home .product-identity { display:flex; align-items:center; gap:20px; margin-bottom:28px; flex-wrap:wrap; }
.stai-home .product-identity .service-name { font-size:32px; line-height:1.2; letter-spacing:-.045em; font-weight:700; }
.stai-home .service-prefix.co { color:var(--stai-link); }
.stai-home .service-prefix.ho { color:var(--stai-sage-text); }
.stai-home .story-status { display:inline-flex; align-items:center; min-height:28px; padding:4px 10px; font-size:13px; font-weight:600; line-height:1.5; white-space:nowrap; border-radius:4px; }
.stai-home .story-status.available { color:var(--stai-success); background:var(--stai-success-bg); }
.stai-home .story-status.pilot { color:var(--stai-warning); background:var(--stai-warning-bg); }
.stai-home #co-title { scroll-margin-top:140px; }
.stai-home .co-description .btn { margin-top:24px; }
.stai-home .co-workspace { display:grid; grid-template-columns:1fr 1fr; border-radius:16px; overflow:hidden; background:var(--stai-cool-white); }
.stai-home .room-overview { padding:40px; background:var(--stai-sage); }
.stai-home .example-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:16px; font-weight:600; padding-bottom:24px; border-bottom:1px solid var(--stai-sage-text); }
.stai-home .example-label { font-size:13px; font-weight:400; }
.stai-home .example-summary { margin-block:32px; }
.stai-home .example-summary strong { font-size:28px; line-height:1.4; letter-spacing:-.035em; font-weight:650; }
.stai-home .example-summary p { margin:12px 0 0; font-size:14px; }
.stai-home .room-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.stai-home .room { display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:8px; background:var(--stai-white); border:1px solid var(--stai-sage-text); }
.stai-home .room b { font-size:24px; font-weight:650; font-variant-numeric:tabular-nums; }
.stai-home .room span { font-size:14px; }
.stai-home .room.occupied span { color:var(--stai-success); }
.stai-home .room.vacant { background:transparent; }
.stai-home .room.attention { background:var(--stai-warning-bg); color:var(--stai-warning); border-color:var(--stai-warning); }
.stai-home .example-caption { margin:16px 0 0; font-size:13px; color:var(--stai-text-secondary); line-height:1.6; }
.stai-home .room-overview .example-caption { color:var(--stai-charcoal); }
.stai-home .co-routines { padding:40px; display:flex; flex-direction:column; }
.stai-home .routine-heading { display:flex; justify-content:space-between; font-size:16px; padding-bottom:24px; border-bottom:1px solid var(--stai-border); }
.stai-home .co-routines article { display:flex; align-items:baseline; gap:20px; padding:28px 0; border-bottom:1px solid var(--stai-border); }
.stai-home .co-routines article:last-child { border:0; padding-bottom:0; }
.stai-home .routine-number { font-size:14px; font-variant-numeric:tabular-nums; color:var(--stai-sage-text); }
.stai-home .co-routines h3 { font-size:21px; }
.stai-home .co-routines p { font-size:17px; color:var(--stai-text-secondary); margin:12px 0 0; line-height:1.7; }
.stai-home .co-origin { font-size:16px; margin:24px 0 0; color:var(--stai-text-secondary); text-align:right; }
.stai-home .hospitality-story { background:var(--stai-warm-white); }
.stai-home .arrival-photo { position:relative; overflow:hidden; border-radius:16px; height:460px; background:var(--stai-charcoal); }
.stai-home .arrival-photo img { width:100%; height:100%; object-fit:cover; object-position:center 52%; }
.stai-home .arrival-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.65),transparent 75%),linear-gradient(0deg,rgba(0,0,0,.35),transparent 30%); }
.stai-home .photo-caption { position:absolute; z-index:1; left:48px; bottom:48px; color:white; word-break:keep-all; overflow-wrap:anywhere; font-size:clamp(28px,3vw,40px); line-height:1.35; font-weight:600; letter-spacing:-.04em; }
.stai-home .hospitality-tools { display:grid; grid-template-columns:1fr 1fr; gap:64px; margin-top:48px; }
.stai-home .hospitality-tools > article + article { border-left:1px solid var(--stai-border); padding-left:64px; }
.stai-home .tool-index { margin:0 0 20px; font-size:14px; color:var(--stai-link); font-weight:600; }
.stai-home .hospitality-tools h3 { font-size:28px; }
.stai-home .hospitality-tools article > p:not(.tool-index):not(.example-caption) { font-size:18px; color:var(--stai-text-secondary); line-height:1.75; margin:20px 0 0; max-width:500px; }
.stai-home .cleaning-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:32px 0 0; }
.stai-home .cleaning-flow li { display:flex; flex-direction:column; gap:14px; position:relative; border-top:2px solid var(--stai-sunrise); padding-top:20px; }
.stai-home .cleaning-flow li::before { content:""; position:absolute; top:-6px; left:0; width:10px; height:10px; border-radius:50%; background:var(--stai-link); }
.stai-home .cleaning-flow span { font-size:14px; color:var(--stai-link); }
.stai-home .cleaning-flow strong { font-size:17px; font-weight:600; }
.stai-home .tablet-example { padding:20px 24px; border:6px solid var(--stai-charcoal); border-radius:16px; background:var(--stai-white); margin-top:32px; max-width:460px; }
.stai-home .tablet-top { display:flex; justify-content:space-between; align-items:center; font-size:14px; border-bottom:1px solid var(--stai-border); padding-bottom:12px; }
.stai-home .tablet-top span:last-child { font-size:12px; color:var(--stai-text-secondary); }
.stai-home .tablet-content { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:16px; }
.stai-home .tablet-content small { display:block; font-size:12px; color:var(--stai-text-secondary); }
.stai-home .tablet-content strong { display:block; font-size:40px; line-height:1.3; font-variant-numeric:tabular-nums; }
.stai-home .tablet-content strong span { font-size:18px; font-weight:400; padding-left:4px; }
.stai-home .tablet-content ul { margin:0; padding:0; list-style:none; font-size:14px; line-height:2; }
.stai-home .pilot-note { max-width:none; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; border-top:1px solid var(--stai-border); margin-top:48px; padding-top:28px; }
.stai-home .pilot-note p { font-size:16px; line-height:1.7; color:var(--stai-text-secondary); margin:0; }
.stai-home .pilot-note .text-link { white-space:nowrap; }
.stai-home .next-story { background:var(--stai-black); color:var(--stai-white); padding-block:120px; }
.stai-home .next-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:96px; align-items:center; }
.stai-home .next-story .story-kicker { color:var(--stai-white); }
.stai-home .next-story .story-kicker > span,.stai-home .next-story em { color:var(--stai-sunrise); }
.stai-home .next-copy > p:not(.story-kicker) { font-size:18px; line-height:1.8; max-width:500px; margin:28px 0 0; }
.stai-home .next-copy > .next-limit { color:var(--stai-sage); }
.stai-home .development-note { display:inline-block; font-size:14px; padding-top:20px; color:var(--stai-border); }
.stai-home .decision-flow { list-style:none; padding:0; margin:0; }
.stai-home .decision-flow li { display:flex; align-items:baseline; gap:24px; padding:36px 0; border-top:1px solid var(--stai-text-secondary); }
.stai-home .decision-flow li:last-child { border-bottom:1px solid var(--stai-text-secondary); }
.stai-home .decision-number { color:var(--stai-sunrise); font-size:16px; }
.stai-home .decision-flow p { margin:12px 0 0; font-size:17px; line-height:1.65; color:var(--stai-border); }
.stai-home .start-layout { display:grid; grid-template-columns:1fr 1.15fr; gap:96px; }
.stai-home .start-layout .story-intro { margin-top:28px; }
.stai-home .start-layout .btn { margin-top:32px; }
.stai-home .story-faq { border-top:1px solid var(--stai-charcoal); }
.stai-home .story-faq details { border-bottom:1px solid var(--stai-border); }
.stai-home .story-faq summary { list-style:none; cursor:pointer; padding:28px 36px 28px 0; position:relative; font-size:18px; line-height:1.5; font-weight:600; word-break:keep-all; }
.stai-home .story-faq summary::-webkit-details-marker { display:none; }
.stai-home .story-faq summary::after { content:"+"; position:absolute; right:4px; top:24px; font-size:24px; font-weight:400; color:var(--stai-link); }
.stai-home .story-faq details[open] summary::after { content:"−"; }
.stai-home .story-faq details > div { padding:0 36px 28px 0; }
.stai-home .story-faq p { margin:0; font-size:17px; line-height:1.8; color:var(--stai-text-secondary); }
.stai-home .story-faq .text-link { margin-top:12px; }
.stai-home .service-directory { display:grid; grid-template-columns:1fr 1fr auto; align-items:center; margin-top:80px; padding-top:32px; border-top:1px solid var(--stai-border); gap:32px; }
.stai-home .service-directory > a { display:flex; flex-direction:column; gap:8px; font-size:14px; color:var(--stai-text-secondary); }
.stai-home .service-directory strong { font-size:24px; color:var(--stai-charcoal); font-weight:600; }
.stai-home .service-directory strong span { margin-left:20px; color:var(--stai-link); }
.stai-home .service-directory > a:last-child { min-height:44px; justify-content:center; overflow-wrap:anywhere; }
@media (max-width:1100px) {
 .stai-home .story-shell { width:calc(100% - 64px); }
 .stai-home .story-heading,.stai-home .field-layout,.stai-home .hospitality-tools { gap:40px; }
 .stai-home .story-section h2 { font-size:36px; }
 .stai-home .field-note { grid-template-columns:1fr; gap:12px; }
 .stai-home .field-note p { grid-column:auto; }
 .stai-home .field-note h3 { font-size:22px; }
 .stai-home .field-note h3 br { display:none; }
 .stai-home .room-overview,.stai-home .co-routines { padding:28px; }
 .stai-home .room { padding:16px; }
 .stai-home .room-grid { gap:8px; }
 .stai-home .co-routines article { gap:12px; }
 .stai-home .hospitality-tools > article + article { padding-left:40px; }
 .stai-home .next-layout,.stai-home .start-layout { gap:48px; }
 .stai-home .pilot-note { grid-template-columns:auto 1fr; }
 .stai-home .pilot-note .text-link { grid-column:2; }
 .stai-home .service-directory { grid-template-columns:1fr 1fr; }
 .stai-home .service-directory > a:last-child { grid-column:1 / -1; }
}
@media (max-width:800px) {
 .stai-home .story-section { padding-block:80px; }
 .stai-home .story-heading { grid-template-columns:1fr; gap:24px; margin-bottom:32px; }
 .stai-home .field-layout { grid-template-columns:1fr 1fr; gap:28px; }
 .stai-home .field-photo { min-height:540px; }
 .stai-home .founder-note { grid-template-columns:1fr; gap:20px; }
 .stai-home .living-story { padding-top:0; }
 .stai-home .service-masthead { align-items:start; flex-direction:column; gap:16px; }
 .stai-home .co-workspace { grid-template-columns:1fr; }
 .stai-home .room-overview,.stai-home .co-routines { padding:32px; }
 .stai-home .room-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
 .stai-home .room { padding:16px 8px; }
 .stai-home .room b { font-size:22px; }
 .stai-home .room span { font-size:12px; }
 .stai-home .example-summary br { display:none; }
 .stai-home .hospitality-tools { gap:32px; }
 .stai-home .hospitality-tools > article + article { padding-left:32px; }
 .stai-home .hospitality-tools h3 { font-size:24px; }
 .stai-home .tablet-example { padding:16px; border-width:5px; }
 .stai-home .tablet-content { gap:12px; }
 .stai-home .tablet-content strong { font-size:32px; }
 .stai-home .next-layout,.stai-home .start-layout { grid-template-columns:1fr; gap:40px; }
 .stai-home .next-copy > p:not(.story-kicker) { max-width:640px; }
}
@media (max-width:600px) {
 .stai-home .story-shell { width:calc(100% - 40px); }
 .stai-home .story-section { padding-block:64px; scroll-margin-top:96px; }
 .stai-home .story-section h2 { font-size:30px; letter-spacing:-.035em; }
 .stai-home .story-kicker { font-size:13px; margin-bottom:24px; }
 .stai-home .story-intro { font-size:17px; line-height:1.75; }
 .stai-home .desktop-break { display:none; }
 .stai-home .field-layout { grid-template-columns:1fr; gap:24px; }
 .stai-home .field-photo { height:360px; min-height:0; }
 .stai-home .field-note { grid-template-columns:64px 1fr; gap:12px; padding-block:24px; }
 .stai-home .field-note p { grid-column:2; font-size:16px; margin-top:0; }
 .stai-home .field-note h3 { font-size:21px; }
 .stai-home .note-tag { font-size:13px; padding-top:3px; }
 .stai-home .founder-note { margin-top:24px; padding-bottom:32px; gap:16px; }
 .stai-home .founder-note > p { font-size:17px; }
 .stai-home .living-story { padding-top:0; }
 .stai-home .service-masthead { padding-top:0; padding-bottom:32px; }
 .stai-home .service-jumps { gap:24px; flex-wrap:wrap; }
 .stai-home .service-jumps a { font-size:14px; gap:6px; }
 .stai-home .service-jumps a span { font-size:12px; }
 .stai-home .product-identity { gap:16px; margin-bottom:24px; }
 .stai-home .room-overview,.stai-home .co-routines { padding:24px; }
 .stai-home .example-summary { margin-block:24px; }
 .stai-home .example-summary strong { font-size:24px; }
 .stai-home .example-summary br { display:block; }
 .stai-home .room-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .stai-home .room { padding:16px 12px; }
 .stai-home .co-routines h3 { font-size:20px; }
 .stai-home .co-routines p { font-size:16px; }
 .stai-home .co-routines article { padding-block:24px; }
 .stai-home .co-origin { text-align:left; font-size:14px; line-height:1.75; }
 .stai-home .arrival-photo { height:400px; }
 .stai-home .arrival-photo img { object-position:58% center; }
 .stai-home .arrival-photo::after { background:linear-gradient(0deg,rgba(0,0,0,.8),transparent 80%); }
 .stai-home .photo-caption { left:24px; bottom:52px; font-size:28px; }
 .stai-home .hospitality-tools { grid-template-columns:1fr; gap:32px; margin-top:32px; }
 .stai-home .hospitality-tools > article + article { padding:32px 0 0; border-left:0; border-top:1px solid var(--stai-border); }
 .stai-home .hospitality-tools article > p:not(.tool-index):not(.example-caption) { font-size:17px; }
 .stai-home .tool-index { margin-bottom:16px; }
 .stai-home .pilot-note { grid-template-columns:1fr; gap:16px; margin-top:32px; }
 .stai-home .pilot-note .story-status { justify-self:start; }
 .stai-home .pilot-note .text-link { grid-column:auto; justify-self:start; }
 .stai-home .next-layout { gap:32px; }
 .stai-home .next-copy > p:not(.story-kicker) { font-size:17px; }
 .stai-home .decision-flow li { gap:20px; padding-block:28px; }
 .stai-home .decision-flow h3 { font-size:22px; }
 .stai-home .decision-flow p { font-size:16px; }
 .stai-home .story-faq summary { font-size:17px; padding-block:24px; }
 .stai-home .story-faq details > div { padding-right:12px; }
 .stai-home .story-faq p { font-size:16px; }
 .stai-home .service-directory { gap:24px; margin-top:48px; }
 .stai-home .service-directory > a { font-size:12px; }
 .stai-home .service-directory strong { font-size:20px; }
 .stai-home .service-directory strong span { margin-left:8px; }
}
@media (max-width:360px) {
 .stai-home .story-section h2 { font-size:28px; }
 .stai-home .field-note { grid-template-columns:1fr; }
 .stai-home .field-note p { grid-column:auto; }
 .stai-home .room-overview,.stai-home .co-routines { padding:20px; }
 .stai-home .room-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .stai-home .product-identity .service-name { font-size:28px; }
 .stai-home .service-jumps { gap:8px 24px; }
}
