/* A consistent chapter system for the Ella product tour. */
.ella-structured section[id]{scroll-margin-top:160px}
.ella-structured #platform-tour{padding:20px 0 24px;background:#fff;border-bottom:1px solid #d8e2ef}
.ella-structured #platform-tour .team-eyebrow{margin:0 0 14px}
.ella-structured #platform-tour nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 16px}
.ella-structured #platform-tour nav a{display:flex;flex-direction:column;gap:8px;border:1px solid #d8e2ef;background:#f7f9fd;color:#163054;padding:14px 12px;border-radius:12px;font-size:12px;line-height:1.4;transition:background .2s,border-color .2s}
.ella-structured #platform-tour nav a span{font:10px 'IBM Plex Mono',monospace;color:#3b82f6}
.ella-structured #platform-tour nav a:hover{background:#e8f0ff;border-color:#93b5ec}
.ella-structured #platform-tour .ella-demo-note{max-width:960px;margin:0;font-size:12px}
.ella-structured .ella-chapter{font:11px/1.5 'IBM Plex Mono',monospace;letter-spacing:.09em;color:#347cf0;margin-bottom:22px}
.ella-structured .premium-dark .ella-chapter{color:#9ec0ff}
.ella-structured .section-heading{display:block;max-width:940px;margin:0 0 36px}
.ella-structured .section-heading h2,.ella-structured .ella-section-intro h2{font-size:clamp(30px,3.1vw,44px);line-height:1.18;max-width:850px;margin:0 0 20px;text-wrap:balance}
.ella-structured .section-heading>p{max-width:760px;font-size:16px;margin:0}
.ella-structured .ella-feature-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.ella-structured .ella-feature-stories .ella-insight-card{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:28px;margin:0;background:#f7f9fd;border:1px solid #d8e2ef;border-radius:24px;min-width:0}
.ella-structured .ella-insight-card>div{flex:1}
.ella-structured .ella-insight-card h3{font-size:25px;line-height:1.25;letter-spacing:-.025em;margin:14px 0 18px;text-wrap:balance}
.ella-structured .ella-insight-card p{font-size:14px;line-height:1.75;margin-bottom:14px}
.ella-structured .ella-insight-card .team-eyebrow{font-size:10px;margin:0}
.ella-structured .ella-insight-card .content-film{margin:0;background:#fff;box-shadow:none;padding:6px;border-radius:18px}
.ella-structured .ella-insight-card video{border-radius:12px}
.ella-structured .ella-insight-card figcaption{font-size:10px;gap:8px;flex-wrap:wrap}
.ella-structured .ella-demo-stage{display:grid;grid-template-columns:.85fr 1.25fr;gap:42px;align-items:center;margin:24px 0 40px}
.ella-structured .ella-demo-stage h3{font-size:28px;line-height:1.25;margin:0 0 22px!important;text-wrap:balance}
.ella-structured .ella-demo-stage p{font-size:15px;line-height:1.8}
.ella-structured .ella-demo-stage .content-film{margin:0}
.ella-structured #data-chat .feature-split{margin-top:40px;padding-top:40px;border-top:1px solid #d8e2ef}
.ella-structured .ella-compliance-layout,.ella-structured .ella-workforce-layout{padding-top:36px;border-top:1px solid #d8e2ef;margin-top:40px;align-items:start}
.ella-structured .premium-dark .ella-workforce-layout{border-color:#adc7f12b}
.ella-structured .ella-workers{gap:10px}
.ella-structured .ella-workers li{font-size:13px;margin:0;padding:16px}
.ella-structured .ella-control-panel{height:100%;padding:28px}
.ella-structured .ella-control-panel ul{padding-left:20px}
.ella-structured #custom-modules{background:#eef3fb}
.ella-structured #custom-modules>.wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:20px 60px;align-items:start}
.ella-structured #custom-modules .ella-chapter{grid-column:1/-1}
.ella-structured #custom-modules h2{font-size:clamp(30px,3.1vw,44px);line-height:1.18;margin:0 0 24px}
.ella-structured #custom-modules aside{padding:30px;background:#ffffffb8;border:1px solid #d8e2ef;border-radius:22px}
.ella-structured .ella-rollout-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ella-structured .ella-rollout-grid article{padding:24px}
.ella-structured .ella-rollout-grid h3{font-size:20px;line-height:1.35;margin:16px 0}
.ella-structured .ella-rollout-grid p{font-size:14px}
.ella-structured .ella-sovereignty{margin-top:30px}
@media(max-width:900px){.ella-structured #platform-tour nav{grid-template-columns:repeat(4,minmax(0,1fr))}.ella-structured .ella-rollout-grid{grid-template-columns:1fr 1fr}.ella-structured .ella-demo-stage{grid-template-columns:1fr;gap:20px}.ella-structured .ella-demo-stage .content-film{max-width:760px;width:100%}}
@media(max-width:650px){.ella-structured #platform-tour nav{display:flex;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.ella-structured #platform-tour nav a{flex:0 0 138px;scroll-snap-align:start}.ella-structured .ella-feature-stories{grid-template-columns:1fr;gap:22px}.ella-structured .ella-feature-stories .ella-insight-card{padding:20px}.ella-structured .ella-insight-card h3{font-size:24px}.ella-structured .ella-rollout-grid,.ella-structured #custom-modules>.wrap{grid-template-columns:1fr}.ella-structured .ella-chapter{font-size:10px}.ella-structured .ella-demo-stage h3{font-size:25px}.ella-structured section[id]{scroll-margin-top:90px}}

/* Visible chapter eyebrows, with subordinate labels tied to their chapter. */
.ella-structured .ella-chapter{display:flex;align-items:center;gap:12px;font-size:12px;color:#1d4ed8;line-height:1.6;margin:0 0 24px}
.ella-structured .ella-chapter-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;height:34px;border:1px solid #b9cff3;border-radius:10px;background:#eaf1ff;color:#1d4ed8;letter-spacing:0}
.ella-structured .premium-dark .ella-chapter-number{background:#243d63;border-color:#6083b4;color:#e3eeff}
.ella-structured .ella-insight-card .team-eyebrow{font-size:11px;line-height:1.6;color:#1d4ed8}
