.site-story { --story-space: clamp(38px, 6vw, 76px); }
.story-hero { padding: 20px 0 0; text-align: center; }
.story-hero .eyebrow { display: block; }
.story-hero h1 { margin: 12px 0; font-size: clamp(38px, 4.7vw, 56px); line-height: 1.07; letter-spacing: -.047em; }
.story-hero h1 span { color: var(--accent); }
.story-hero-copy { max-width: 680px; margin: 12px auto 0; font-size: 17px; line-height: 1.5; }
.story-ownership { display: block; margin-top: 16px; font-size: 16px; color: var(--accent-dark); }
.story-hero .hero-actions { justify-content: center; gap: 12px; margin-top: 16px; }
.story-availability { font-size: 12px; margin: 10px 0 0; }
.story-availability a { text-decoration: underline; text-underline-offset: 3px; }
.story-section { padding: var(--story-space) 0; border-top: 1px solid var(--line); }
.story-section-heading { margin-bottom: 26px; }
.story-section-heading h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 7px 0 10px; }
.story-section-heading p { margin: 0; max-width: 650px; }
.story-section-heading--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.story-section-heading--split a { flex-shrink: 0; font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.data-choice { margin: 24px 0 32px; padding: 22px 28px 15px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.dc-map { display: grid; grid-template-columns: 1fr 38px 1.07fr 38px 1fr; align-items: center; gap: 16px; }
.dc-label { display: block; font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-bottom: 16px; }
.dc-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dc-source { display: flex; align-items: center; gap: 9px; padding: 12px 9px; min-height: 50px; font-size: 12px; background: color-mix(in srgb, var(--accent-soft) 32%, var(--paper)); border-radius: 7px; }
.dc-connected { display: block; margin-top: 10px; color: var(--accent-dark); font-size: 11px; }
.dc-connected::before { content: '✓'; margin-right: 5px; }
.data-choice .glyph, .fe-item .glyph { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); }
.data-choice .glyph svg, .fe-item .glyph svg { width: 22px; height: 22px; }
.dc-arrow { text-align: center; font-size: 30px; font-weight: 400; color: var(--sage); }
.dc-hub { padding: 16px; border: 1px solid var(--line-strong); border-top: 3px solid var(--accent); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); }
.dc-hub-title { display: flex; align-items: center; gap: 10px; }
.dc-hub-title img { width: 38px; height: 38px; border-radius: 8px; }
.dc-hub-title strong { font-size: 24px; }
.dc-hub-subtitle { display: block; margin: 7px 0 10px; color: var(--muted); font-size: 12px; }
.dc-saved { display: flex; flex-direction: column; gap: 6px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dc-saved > span { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.dc-home { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent-dark); font-size: 11px; }
.dc-context { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--accent-dark); margin-top: 9px; }
.dc-options { display: flex; flex-direction: column; gap: 8px; }
.dc-options button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.dc-options button > span:nth-child(2) { flex: 1; font-weight: 600; }
.dc-options button > span:nth-child(2) span { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.dc-options button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.dc-radio { width: 12px; height: 12px; border: 1px solid var(--line-strong); border-radius: 50%; }
.dc-options button[aria-pressed="true"] .dc-radio { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-soft); }
.data-choice figcaption { margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.dc-status { color: var(--accent-dark); font-size: 12px; line-height: 1.5; }
.dc-status strong { display: block; font-weight: 600; margin-bottom: 4px; }
.dc-caption { color: var(--muted); font-size: 11px; }
.dc-caption a { text-decoration: underline; text-underline-offset: 3px; }
.fe-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.fe-group h3 { margin: 0 0 12px; font-size: 14px; color: var(--accent-dark); }
.fe-item { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.fe-item > span:nth-child(2) { flex: 1; }
.fe-plus { color: var(--sage); font-size: 19px; font-weight: 400; }
.fe-item:hover { color: var(--accent-dark); background: var(--accent-soft); }
.fe-dialog { position: fixed; width: min(700px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-hover); }
.fe-dialog::backdrop { background: color-mix(in srgb, var(--ink) 46%, transparent); }
.fe-dialog h2 { margin: 12px 35px 15px 0; font-size: 28px; line-height: 1.18; }
.fe-dialog p { font-size: 15px; }
.fe-dialog-category { color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.fe-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--ink); background: var(--accent-soft); font: inherit; font-size: 25px; cursor: pointer; }
.fe-dialog figure { margin: 22px 0; }
.fe-dialog img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.fe-dialog figcaption { margin-top: 9px; font-size: 11px; color: var(--muted); }
.fe-dialog .fe-note { padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.fe-dialog .button { margin-top: 8px; }
.dc-options button:focus-visible, .fe-item:focus-visible, .fe-close:focus-visible, .story-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.story-demo { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 46px; }
.story-demo h2, .story-crm h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.16; margin: 10px 0 17px; }
.story-demo blockquote { margin: 20px 0; padding-left: 17px; border-left: 2px solid var(--gold); font-size: 21px; line-height: 1.45; letter-spacing: -.025em; }
.story-demo figure, .story-crm figure { margin: 0; }
.story-demo video, .story-crm img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.story-demo figcaption, .story-crm figcaption { color: var(--muted); font-size: 11px; margin-top: 10px; line-height: 1.5; }
.story-demo .text-link { font-size: 13px; }
.story-crm { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--gold) 9%, var(--paper)); }
.story-crm p { max-width: 450px; }
.story-crm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0 24px; }
.story-crm-chips span { padding: 7px 10px; font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.story-crm .hero-actions { flex-wrap: wrap; gap: 10px; }
.story-faq { max-width: 850px; margin: auto; }
.story-faq h2 { font-size: 28px; margin: 0 0 23px; }
.story-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.story-faq summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.story-faq details p { font-size: 14px; max-width: 760px; }
.story-final { text-align: center; padding: 46px 0 22px; }
.story-final h2 { font-size: 32px; margin: 0 0 14px; }
.story-final .hero-actions { justify-content: center; }
.story-final p { font-size: 13px; }
.story-page-hero { margin: 20px 0 32px; max-width: 820px; }
.story-page-hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.1; margin: 12px 0 18px; }
.story-page-hero p { font-size: 17px; max-width: 680px; }
.story-crm-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; margin: 18px 0 42px; }
.story-crm-hero .story-page-hero { margin: 0; }
.story-crm-hero figure { margin: 0; }
.story-crm-hero img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.story-crm-hero figcaption { font-size: 11px; color: var(--muted); margin-top: 10px; }
.story-crm-features .fe-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.story-product { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.story-product > img { width: 50px; height: 50px; border-radius: 10px; }
.story-product h2 { margin: 0 0 10px; font-size: 26px; }
.story-product p { font-size: 14px; margin: 0 0 18px; }
.story-more-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.story-more-products h3 { margin-top: 0; }
.story-more-products p { font-size: 14px; }
.context-story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 42px; margin: 0; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.cs-relationship { display: flex; gap: 15px; align-items: center; margin: 22px 0 18px; }
.cs-relationship > span:not(:nth-child(2)) { flex: 1; padding: 16px 12px; background: var(--accent-soft); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 15px; font-weight: 600; }
.cs-relationship small { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; color: var(--muted); }
.cs-relationship > span:nth-child(2) { color: var(--accent); font-size: 23px; }
.cs-records { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.cs-records span { padding: 9px; border: 1px solid var(--line); border-radius: 5px; text-align: center; font-size: 12px; }
.cs-knowledge p { font-size: 13px; }
.cs-questions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.cs-questions button { font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 10px; background: var(--paper); color: var(--ink); cursor: pointer; }
.cs-questions button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.cs-questions button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cs-pack { margin: 17px 0; padding: 16px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent-soft) 35%, var(--paper)); font-size: 13px; }
.cs-pack ul { padding-left: 19px; margin: 12px 0; line-height: 1.8; }
.cs-pack > span { display: block; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--accent-dark); }
.context-story .text-link { font-size: 12px; }
.context-story > figcaption { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.story-workspaces { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.story-workspaces h2 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.2; margin: 10px 0 14px; }
.story-workspaces p { font-size: 14px; max-width: 510px; }
.story-workspaces figure { margin: 22px 0 0; }
.story-workspaces img, .story-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.story-workspaces figcaption, .story-preview figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
.story-today-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.story-today-details h2 { font-size: 23px; }
.story-today-details p { font-size: 14px; }
@media (max-width: 960px) {
    .dc-map { gap: 10px; grid-template-columns: 1fr 22px 1fr 22px 1fr; }
    .dc-hub { padding: 14px; }
    .dc-source { padding: 11px 8px; gap: 6px; }
    .fe-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
    .story-demo, .story-crm, .story-crm-hero { gap: 25px; }
}
@media (max-width: 680px) {
    .story-hero { padding-top: 14px; }
    .story-hero h1 { font-size: clamp(29px, 8vw, 36px); }
    .story-hero-copy { font-size: 15px; }
    .story-hero .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .story-hero .hero-actions .button { font-size: 13px; padding: 12px 14px; }
    .story-ownership { font-size: 14px; margin-top: 12px; }
    .data-choice { padding: 20px 16px 16px; margin-top: 26px; }
    .dc-map { grid-template-columns: 1fr; gap: 12px; }
    .dc-source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .dc-source { flex-direction: column; padding: 5px 4px; gap: 2px; min-height: 45px; font-size: 11px; text-align: center; }
    .dc-label { margin-bottom: 6px; text-align: center; }
    .dc-connected { text-align: center; margin-top: 6px; }
    .dc-arrow { transform: rotate(90deg); font-size: 24px; height: 20px; line-height: 20px; }
    .dc-hub { padding: 12px; }
    .dc-saved { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 8px; padding: 6px 0; }
    .dc-hub-subtitle { display: none; }
    .dc-context { justify-content: center; font-size: 10px; margin-top: 6px; }
    .dc-saved > span { font-size: 10px; gap: 3px; }
    .dc-hub-title img { width: 28px; height: 28px; }
    .dc-home { margin-top: 6px; }
    .data-choice .glyph, .data-choice .glyph svg { width: 18px; height: 18px; }
    .dc-hub-title { justify-content: center; }
    .dc-hub-subtitle, .dc-home { text-align: center; justify-content: center; }
    .dc-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .dc-options button { flex-direction: column; padding: 8px 5px; gap: 4px; min-height: 80px; text-align: center; font-size: 12px; }
    .dc-options button > span:nth-child(2) span { font-size: 11px; }
    .dc-radio { display: none; }
    .dc-status { min-height: 54px; }
    .dc-caption { width: 100%; }
    .story-section-heading--split { display: block; }
    .story-section-heading--split a { display: inline-block; margin-top: 12px; }
    .story-demo, .story-crm, .story-crm-hero { grid-template-columns: 1fr; }
    .context-story, .story-workspaces, .story-today-details { grid-template-columns: 1fr; }
    .context-story { padding: 20px; gap: 26px; }
    .dc-hub-subtitle { display: block; margin: 5px 0; font-size: 11px; }
    .story-demo { gap: 24px; }
    .story-crm { padding: 23px; }
    .story-crm p { max-width: none; }
    .story-crm-features .fe-groups { grid-template-columns: 1fr; }
    .story-product-grid, .story-more-products { grid-template-columns: 1fr; }
    .fe-dialog { padding: 25px 21px; max-height: calc(100dvh - 32px); }
    .fe-dialog h2 { font-size: 25px; }
    .fe-groups { gap: 24px 18px; }
    .fe-item { gap: 7px; font-size: 12px; }
    .fe-plus { font-size: 16px; }
}
@media (max-width: 370px) { .fe-groups { grid-template-columns: 1fr; } }
