* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

header.scrolled {
    border-bottom-color: #e5e5e5;
}

.header-inner {
    max-width: 1134px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.44rem;
    font-weight: 400;
    color: #111;
    text-decoration: none;
}

.logo img {
    height: 1.44rem;
    width: auto;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111;
    color: #fff;
    padding: 9px 16px;
    font-size: 0.77rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s;
}
.header-btn:hover {
    background: #333;
    color: #fff;
}
.header-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

.hero {
    padding: 140px 0 80px;
    text-align: center;
    min-height: 100vh;
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: calc(3.5rem + 4px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    padding: 0 24px;
    color: #111;
}

.hero h1 .h1-bold {
    font-weight: 700;
}

.hero .subtitle-container {
    position: relative;
    height: 100px;
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    overflow: hidden;
}

.hero .subtitle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: calc(0.935rem + 2px);
    font-weight: 300;
    color: #757575;
    line-height: 1.7;
    transform: translateY(-100%);
    opacity: 0;
    animation: slideSubtitle 16s infinite;
}

.hero .subtitle.second {
    animation-delay: 8s;
}

@keyframes slideSubtitle {
    0% { transform: translateY(-30px); opacity: 0; }
    6% { transform: translateY(0); opacity: 1; }
    44% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(30px); opacity: 0; }
}


.product-image {
    position: relative;
    width: 100%;
    max-width: 1134px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 -4px 40px rgba(0,0,0,0.06);
}

/* Story Tabs */
.story-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    background: #f3f3f3;
    border-radius: 12px;
    padding: 8px;
    margin: 52px auto 14px;
    width: fit-content;
    border: 1px solid #e5e5e5;
}

.story-tab {

    font-size: 0.9rem;
    font-weight: 450;
    color: #444;
    background: none;
    border: none;
    padding: 13px 30px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.story-tab.active {
    color: #111;
    font-weight: 550;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.story-tab:hover:not(.active) {
    color: #333;
    background: rgba(255, 255, 255, 0.5);
}

.fake-input {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 560px;
    background: rgba(32, 32, 32, 0.75);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.fake-input-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fake-input-icon img {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.fake-input-text {
    flex: 1;
    position: relative;
    height: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.fake-input-text span {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: calc(0.9rem + 2px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    white-space: nowrap;
    line-height: 20px;
}

.story-typing-text::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1.1em;
    background: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.fake-input-send {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fake-input-send.pulse {
    transform: scale(1.12);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.fake-input-send svg {
    width: 16px;
    height: 16px;
}

/* ===========================================
   STORY ANIMATION — TWO-ZONE SPATIAL LAYOUT
   =========================================== */

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 68px;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
    display: flex;
    padding: 3% 3.5% 2%;
    gap: 5%;
    text-align: left;
}

.story-zone-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 12px;
    overflow: hidden;
}

.story-zone-right {
    width: 34%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    padding-top: 4px;
    overflow: hidden;
}

/* --- Integration Logo Trail (top-left) --- */
.story-logo-trail {
    position: absolute;
    top: 3%;
    left: 3.5%;
    display: flex;
    gap: 6px;
    z-index: 20;
    align-items: center;
}

.story-logo-trail-item {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(18, 18, 20, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-logo-trail-item.visible {
    opacity: 1;
    transform: scale(1);
}

.story-logo-trail-item img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

/* --- Base animation for all elements --- */
.story-el {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.story-el.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- User Message (right zone, persists) --- */
.story-user-msg {
    background: rgba(245, 245, 245, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    border-bottom-right-radius: 5px;
    padding: 12px 16px;
    color: rgba(30, 30, 30, 0.9);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Agent Message (left zone) --- */
.story-agent-msg {
    background: rgba(18, 18, 20, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border-bottom-left-radius: 5px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 92%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    filter: blur(6px);
}

.story-agent-msg.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.story-agent-label {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.story-agent-label img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

/* --- Action Pill (left zone) --- */
.story-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(18, 18, 20, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
}

.story-action.completed {
    border-color: rgba(74, 222, 128, 0.15);
}

.story-action-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.story-action-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-action-text-wrap {
    overflow: hidden;
    height: 1.15em;
}

.story-action-text-slider {
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-action-text-slider.slide-up {
    transform: translateY(-50%);
}

.story-action-text {
    white-space: nowrap;
    height: 1.15em;
    line-height: 1.15em;
    flex-shrink: 0;
}

.story-action-status {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-spinner {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    animation: storySpinner 0.8s linear infinite;
}

.story-check {
    color: #4ade80;
    font-size: 0.8rem;
    line-height: 1;
    animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes storySpinner {
    to { transform: rotate(360deg); }
}

@keyframes checkPop {
    0% { opacity: 0; transform: scale(0.4); }
    60% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

.story-check-svg {
    overflow: visible;
}

.story-check-path {
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    animation: checkDraw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

/* --- Data Table (left zone) --- */
.story-data-table {
    background: rgba(18, 18, 20, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 0;
    max-width: 92%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.story-data-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.story-data-row.story-data-header {

    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
    margin-bottom: 2px;
}

.story-data-row span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-data-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 600;
    color: #fff;
    flex: 0 0 20px;
    letter-spacing: 0;
}

.story-data-row .story-data-icon-spacer {
    flex: 0 0 20px;
}

.story-data-row .story-data-ellipsis {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    font-size: 0.75rem;
}

.story-data-more {
    padding: 6px 16px 4px;

    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Draft / Email Composer (left zone) --- */
.story-draft {
    background: rgba(18, 18, 20, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0;
    max-width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.story-draft-header {
    padding: 10px 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.story-draft-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.story-draft-field:last-child {
    border-bottom: none;
}

.story-draft-label {

    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    min-width: 38px;
}

.story-draft-value {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-draft-body {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 14px;
    min-height: 36px;
}

.story-draft-actions {
    display: flex;
    gap: 8px;
    padding: 8px 14px;
}

.story-draft-btn {
    flex: 1;
    padding: 7px 0;
    border-radius: 8px;

    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.story-draft-btn.edit {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-draft-btn.send {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.story-draft-btn.send svg {
    width: 10px;
    height: 10px;
}

.story-draft-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 14px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.story-draft-nav {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.story-draft-nav svg {
    width: 12px;
    height: 12px;
}

.story-draft-count {

    font-size: 0.62rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.06em;
}

/* --- Email List (left zone) --- */
.story-email-list {
    background: rgba(18, 18, 20, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 2px 0;
    max-width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.story-email-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-family: 'Work Sans', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.story-email-item:last-of-type {
    border-bottom: none;
}

.story-email-item.urgent {
    background: rgba(245, 158, 11, 0.04);
}

.story-email-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.story-email-content {
    flex: 1;
    min-width: 0;
}

.story-email-sender {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

.story-email-subject {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
    line-height: 1.3;
}

.story-email-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.story-email-time {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.story-email-urgent-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.story-email-more {
    padding: 6px 14px 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    letter-spacing: 0.02em;
}

/* --- File Card (left zone) --- */
.story-file-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 18, 20, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    max-width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.story-file-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.story-file-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-file-info {
    font-family: 'Work Sans', sans-serif;
}

.story-file-name {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 3px;
}

.story-file-meta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Calendar View (left zone) --- */
.story-calendar {
    background: rgba(18, 18, 20, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 0;
    max-width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.story-cal-title {

    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.story-cal-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.story-cal-time {
    width: 38px;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 500;
}

.story-cal-event {
    flex: 1;
}

.story-cal-slot.busy .story-cal-event {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2px 8px;
    color: rgba(255, 255, 255, 0.5);
}

.story-cal-slot.available {
    color: #4ade80;
}

.story-cal-slot.available .story-cal-event {
    font-weight: 500;
}

/* --- Ticket Stats (left zone) --- */
.story-ticket-stats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(18, 18, 20, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
}

.story-ticket-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.88);
}

.story-ticket-stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.story-ticket-stat-count {
    font-weight: 600;
    font-size: 0.72rem;
}

.story-ticket-stat-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
}

/* --- Ticket Review Card (left zone) --- */
.story-ticket-review {
    background: rgba(18, 18, 20, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    max-width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.story-ticket-review.visible {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease;
}

.story-ticket-review.approved {
    border-color: rgba(74, 222, 128, 0.3);
}

.story-ticket-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    padding: 12px 14px 3px;
    line-height: 1.4;
}

.story-ticket-customer {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    padding: 0 14px 8px;
}

.story-ticket-reply-section {
    padding: 8px 14px;
}

.story-ticket-reply-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.3s ease;
}

.story-ticket-actions {
    display: flex;
    gap: 8px;
    padding: 8px 14px;
}

.story-ticket-btn {
    flex: 1;
    padding: 7px 0;
    border-radius: 8px;

    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.story-ticket-btn.decline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-ticket-btn.approve {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.story-ticket-btn.approve.approved {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.25);
}

/* --- Ticket Flashcard Counter --- */
.story-ticket-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 14px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.story-ticket-nav {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.story-ticket-nav svg {
    width: 12px;
    height: 12px;
}

.story-ticket-count {

    font-size: 0.62rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.06em;
}

/* --- Thinking Dots --- */
.story-thinking {
    padding: 8px 14px;
    align-self: flex-start;
}

.thinking-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 14px;
}

.thinking-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: thinkPulse 1.4s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes thinkPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.2); }
}

/* --- Collapsed Lines (minimized content markers) --- */
.story-collapsed-line {
    width: 144px;
    height: 4px;
    border-radius: 2px;
    background: rgba(18, 18, 20, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.story-collapsed-line.visible {
    transform: scaleX(1);
    opacity: 1;
}

.main-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 20px;
}

h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: #444; }
ul { margin: 1rem 0 1rem 1.5rem; color: #444; }
li { margin-bottom: 0.5rem; }
a { color: #0066cc; }

.cta-buttons {
    margin-bottom: 120px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #111;
    color: #fff;
    padding: 13px 22px;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s;
}
.download-btn:hover {
    background: #333;
    color: #fff;
}
.download-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.waitlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #555;
    padding: 13px 18px;
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: background 0.2s, border-color 0.2s;
}
.waitlist-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}
.waitlist-btn svg {
    width: 16px;
    height: 16px;
}


/* ===========================================
   CLEAN SECTIONS
   =========================================== */

.section {
    max-width: 1134px;
    margin: 0 auto;
    padding: 120px 24px;
}

.section-label {

    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #757575;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2.75rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    color: #111;
    margin-bottom: 24px;
}

.section-text {

    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    max-width: 640px;
}

/* Problem Section */
.problem-section {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.problem-section .section-inner {
    max-width: 1134px;
    margin: 0 auto;
    padding: 120px 24px;
}

.target-audience {
    font-family: 'Instrument Serif', serif;
    font-size: 2.59rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
    color: #111;
    margin-bottom: 48px;
}

.target-audience span {
    color: #666;
}

.solution-headline {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    font-style: italic;
    font-weight: 400;
    color: #111;
    margin: 64px 0 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-item {
    background: #fff;
    padding: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-item:hover {
    border-color: #ddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-item h3 {

    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h3::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 2px;
    flex-shrink: 0;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    padding-left: 18px;
}

/* Comparison Section */
.comparison-section {
    text-align: center;
    padding-top: 80px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.comparison-col {
    padding: 48px;
}

.comparison-col:first-child {
    background: #f9f9f9;
    border-right: 1px solid #e5e5e5;
}

.comparison-col h3 {

    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #757575;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-logo {
    width: 16px;
    height: 16px;
    opacity: 0.4;
}

.comparison-col:last-child .comparison-logo {
    opacity: 0.7;
}

.comparison-col:last-child h3 {
    color: #111;
}

.comparison-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-col li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.comparison-col:first-child li { color: #757575; }
.comparison-col li:last-child { border-bottom: none; }

.comparison-col li::before {
    content: "×";
    font-size: 1rem;
    font-weight: 500;
    color: #ccc;
    flex-shrink: 0;
    margin-top: 1px;
}

.comparison-col:last-child li::before {
    content: "✓";
    color: #22c55e;
}

/* Tools Section - Animated Beam */
.tools-section {
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.beam-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 48px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.beam-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    z-index: 10;
}

.beam-col.left { align-items: flex-start; }
.beam-col.center { align-items: center; }
.beam-col.right { align-items: flex-end; }

.beam-cols-right {
    display: flex;
    gap: 16px;
    z-index: 10;
}

.beam-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px -8px rgba(0,0,0,0.15);
    padding: 10px;
}

.beam-circle.large {
    width: 64px;
    height: 64px;
    padding: 12px;
}

.beam-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.beam-circle svg {
    width: 100%;
    height: 100%;
}

/* Animated beams SVG */
.beam-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.beam-path {
    fill: none;
    stroke: #e5e5e5;
    stroke-width: 2;
}

.beam-animated {
    fill: none;
    stroke: url(#beam-gradient);
    stroke-width: 2;
    stroke-dasharray: 30 200;
    stroke-linecap: round;
}

.beam-animated.b1 { animation: beamMove 3s ease-in-out infinite; }
.beam-animated.b2 { animation: beamMove 3s ease-in-out infinite 0.4s; }
.beam-animated.b3 { animation: beamMove 3s ease-in-out infinite 0.8s; }
.beam-animated.b4 { animation: beamMove 3s ease-in-out infinite 1.2s; }
.beam-animated.b5 { animation: beamMove 3s ease-in-out infinite 1.6s; }
.beam-animated.b6 {
    stroke-dasharray: 30 200;
    animation: beamMove 3s ease-in-out infinite 0.2s;
}
.beam-animated.b7 { animation: beamMove 3s ease-in-out infinite 0.3s; }
.beam-animated.b8 { animation: beamMove 3s ease-in-out infinite 0.7s; }
.beam-animated.b9 { animation: beamMove 3s ease-in-out infinite 1.1s; }
.beam-animated.b10 { animation: beamMove 3s ease-in-out infinite 1.5s; }
.beam-animated.b11 { animation: beamMove 3s ease-in-out infinite 1.9s; }

@keyframes beamMove {
    0% { stroke-dashoffset: 230; }
    100% { stroke-dashoffset: 0; }
}

@keyframes beamMoveLeft {
    0% { stroke-dashoffset: -220; }
    100% { stroke-dashoffset: 0; }
}

.tools-more {
    margin-top: 32px;
    font-size: 0.9rem;
    color: #757575;
}

.tools-description {

    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
    max-width: 560px;
    margin: 16px auto 0;
}

.tools-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 64px auto 0;
}

.tools-feature {
    text-align: center;
}

.tools-feature-title {

    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.tools-feature-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: #111;
    text-align: center;
}

.cta-section .section-title { color: #fff; }
.cta-section .section-text { color: rgba(255,255,255,0.65); margin: 0 auto; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #111;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 40px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.cta-btn svg { width: 18px; height: 18px; }

/* Teams Section - Base */
.teams-section {
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.teams-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-top: 12px;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 48px auto 0;
}

.teams-item h3 {

    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.teams-item p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #666;
}

.teams-cta {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}

.teams-cta:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

/* VERSION A1: Shadow Only - Clean floating cards */
.teams-v-a1 {
    background: #fff;
}

.teams-v-a1 .teams-item {
    text-align: left;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.teams-v-a1 .teams-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.teams-v-a1 .teams-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
}

.teams-v-a1 .teams-icon svg {
    width: 100%;
    height: 100%;
    stroke: #111;
    stroke-width: 1.5;
}

.teams-v-a1 .teams-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.teams-v-a1 .teams-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* VERSION A2: Minimal Line - Top border accent */
.teams-v-a2 {
    background: #fafafa;
}

.teams-v-a2 .teams-grid {
    gap: 20px;
}

.teams-v-a2 .teams-item {
    text-align: left;
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    border-top: 2px solid #111;
    transition: all 0.2s ease;
}

.teams-v-a2 .teams-item:hover {
    background: #fcfcfc;
}

.teams-v-a2 .teams-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.teams-v-a2 .teams-icon svg {
    width: 100%;
    height: 100%;
    stroke: #111;
    stroke-width: 1.5;
}

.teams-v-a2 .teams-item h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.teams-v-a2 .teams-item p {
    font-size: 0.875rem;
    color: #666;
}

/* VERSION A3: Horizontal Cards - Icon left, text right */
.teams-v-a3 {
    background: #fff;
}

.teams-v-a3 .teams-grid {
    gap: 16px;
    max-width: 900px;
}

.teams-v-a3 .teams-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.teams-v-a3 .teams-item:hover {
    background: #f5f5f5;
    border-color: #e8e8e8;
}

.teams-v-a3 .teams-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.teams-v-a3 .teams-icon svg {
    width: 100%;
    height: 100%;
    stroke: #333;
    stroke-width: 1.5;
}

.teams-v-a3 .teams-text {
    flex: 1;
}

.teams-v-a3 .teams-text h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.teams-v-a3 .teams-text p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* VERSION A4: Trust & Control - Split layout with security panel */
.teams-v-a4 {
    background: #f7f7f2;
    text-align: left;
}

.teams-v-a4 .teams-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    margin-top: 24px;
}

.teams-v-a4 .teams-copy {
    text-align: left;
}

.teams-v-a4 .teams-subtitle {
    margin-bottom: 24px;
}

.teams-v-a4 .teams-list {
    list-style: none;
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.teams-v-a4 .teams-list li {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ececec;
    padding: 16px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.teams-v-a4 .teams-list-title {
    display: block;

    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.teams-v-a4 .teams-list-text {
    display: block;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.teams-v-a4 .teams-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teams-v-a4 .teams-panel {
    background: #0f0f0f;
    color: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}

.teams-v-a4 .teams-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 60%);
    opacity: 0.7;
}

.teams-v-a4 .teams-panel-header {

    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.teams-v-a4 .teams-panel-body {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.teams-v-a4 .teams-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.06);
    padding: 10px 12px;
    border-radius: 10px;
}

.teams-v-a4 .teams-toggle {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: #2f2f2f;
    position: relative;
}

.teams-v-a4 .teams-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #bfbfbf;
    transition: transform 0.2s;
}

.teams-v-a4 .teams-toggle.on {
    background: #1f6a45;
}

.teams-v-a4 .teams-toggle.on::after {
    transform: translateX(16px);
    background: #d8ffea;
}

.teams-v-a4 .teams-toggle.off {
    background: #5a1f1f;
}

.teams-v-a4 .teams-toggle.off::after {
    background: #f6c0c0;
}

.teams-v-a4 .teams-audit {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px;
    position: relative;
    z-index: 1;
}

.teams-v-a4 .teams-audit-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.teams-v-a4 .teams-audit-item {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.teams-v-a4 .teams-audit-item:last-child {
    border-bottom: 0;
}

.teams-v-a4 .teams-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teams-v-a4 .teams-badges span {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
    border-radius: 999px;
}

/* VERSION A5: Time to Impact - Timeline + metrics */
.teams-v-a5 {
    background: #fff;
}

.teams-v-a5 .teams-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.teams-v-a5 .teams-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 48px auto 0;
    max-width: 1080px;
}

.teams-v-a5 .teams-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #111 0%, #777 45%, #ddd 100%);
}

.teams-v-a5 .teams-step {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    position: relative;
}

.teams-v-a5 .teams-step-marker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.teams-v-a5 .teams-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    box-shadow: 0 0 0 4px #fff;
}

.teams-v-a5 .teams-step-pill {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 8px;
    border-radius: 999px;
}

.teams-v-a5 .teams-step h3 {

    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #111;
}

.teams-v-a5 .teams-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.teams-v-a5 .teams-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 32px auto 0;
}

.teams-v-a5 .teams-metric {
    background: #111;
    color: #fff;
    padding: 20px;
    border-radius: 14px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.teams-v-a5 .teams-metric::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 60%);
}

.teams-v-a5 .metric-value {
    font-family: 'Instrument Serif', serif;
    font-size: 1.6rem;
    font-style: italic;
    display: block;
    margin-bottom: 6px;
    position: relative;
}

.teams-v-a5 .metric-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    position: relative;
}

@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .teams-v-a1 .teams-item,
    .teams-v-a2 .teams-item {
        text-align: center;
    }

    .teams-v-a1 .teams-icon,
    .teams-v-a2 .teams-icon {
        margin: 0 auto 16px;
    }

    .teams-v-a3 .teams-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .teams-v-a3 .teams-icon {
        margin: 0;
    }

    .teams-v-a3 .teams-text {
        text-align: center;
    }

    .teams-v-a4 {
        text-align: center;
    }

    .teams-v-a4 .teams-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .teams-v-a4 .teams-copy {
        text-align: left;
    }

    .teams-v-a5 .teams-timeline {
        grid-template-columns: 1fr;
    }

    .teams-v-a5 .teams-timeline::before {
        display: none;
    }

    .teams-v-a5 .teams-metrics {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    max-width: 1134px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    margin-right: 32px;
    transition: color 0.2s;
}

.footer-links a:hover { color: #111; }

.footer-team {
    display: flex;
    gap: 32px;
}

.footer-person {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-person a {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.footer-person a:hover { color: #111; }

.footer-copy {
    font-size: 0.8rem;
    color: #757575;
    margin: 0;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero .subtitle,
    .beam-animated {
        animation: none !important;
    }

    .hero .subtitle:first-child {
        opacity: 1;
        transform: translateY(0);
    }

    .story-typing-text::after {
        animation: none;
        opacity: 1;
    }

    .story-el {
        transition: none !important;
    }

    .story-spinner,
    .thinking-dots span {
        animation: none !important;
    }

    .thinking-dots span { opacity: 0.5; }

    .story-check {
        animation: none !important;
        opacity: 1;
        transform: scale(1);
    }

    .story-check-path {
        animation: none !important;
        stroke-dashoffset: 0;
    }

    .story-action-text-slider {
        transition: none !important;
    }
}

/* Responsive - merged media queries */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; padding: 0 16px; }
    .hero .subtitle-container { height: 120px; padding: 0 16px; }
    .cta-buttons { padding: 0 16px; flex-wrap: wrap; }
    .waitlist-btn { font-size: 0.75rem; padding: 11px 14px; }
    .product-image { padding: 0 16px; }
    .header-inner { padding: 10px 16px; }
    .fake-input {
        bottom: 12px;
        width: 92%;
        padding: 8px 10px;
        gap: 8px;
    }
    .fake-input-icon { width: 16px; height: 16px; }
    .fake-input-icon img { width: 16px; height: 16px; }
    .fake-input-text { font-size: 0.72rem; height: 16px; }
    .fake-input-text span { font-size: 0.72rem; line-height: 16px; }
    .fake-input-send { width: 26px; height: 26px; }
    .fake-input-send svg { width: 12px; height: 12px; }

    .story-tabs {
        margin: 0 auto 8px;
        padding: 3px;
        border-radius: 8px;
        width: auto;
        max-width: calc(100% - 32px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .story-tabs::-webkit-scrollbar {
        display: none;
    }
    .story-tab {
        font-size: 0.68rem;
        padding: 6px 10px;
    }

    .product-image img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: top center;
    }

    .story-overlay {
        bottom: 36px;
        padding: 6px 8px 4px;
        gap: 6px;
    }

    .story-logo-trail {
        top: 6px;
        left: 8px;
        gap: 3px;
    }
    .story-logo-trail-item {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }
    .story-logo-trail-item img {
        width: 9px;
        height: 9px;
    }

    .story-zone-left {
        gap: 4px;
        padding-top: 2px;
    }

    .story-zone-right {
        width: 32%;
        gap: 4px;
        padding-top: 2px;
    }

    .story-user-msg {
        font-size: 0.65rem;
        padding: 6px 8px;
    }

    .story-agent-msg {
        font-size: 0.65rem;
        padding: 6px 8px;
    }

    .story-action {
        font-size: 0.62rem;
        padding: 4px 8px;
        gap: 5px;
    }

    .story-action-icon {
        width: 12px;
        height: 12px;
    }

    .story-data-table,
    .story-email-list,
    .story-calendar {
        max-width: 100%;
    }

    .story-data-row {
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    .story-data-icon {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
        font-size: 0.42rem;
    }

    .story-data-row .story-data-icon-spacer {
        flex: 0 0 12px;
    }

    .story-data-row .story-data-ellipsis {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .story-draft-header {
        padding: 4px 8px 3px;
    }
    .story-draft-label {
        font-size: 0.5rem;
        min-width: 24px;
    }
    .story-draft-value {
        font-size: 0.58rem;
    }
    .story-draft-body {
        font-size: 0.58rem;
        padding: 4px 8px;
    }
    .story-draft-actions {
        padding: 4px 8px;
        gap: 4px;
    }
    .story-draft-btn {
        font-size: 0.55rem;
        padding: 4px 0;
    }
    .story-draft-counter {
        gap: 6px;
        padding: 3px 8px 4px;
    }
    .story-draft-nav {
        width: 12px;
        height: 12px;
    }
    .story-draft-nav svg {
        width: 8px;
        height: 8px;
    }
    .story-draft-count {
        font-size: 0.48rem;
    }

    .story-email-item {
        padding: 4px 8px;
        gap: 5px;
    }
    .story-email-avatar {
        width: 16px;
        height: 16px;
        font-size: 0.4rem;
    }
    .story-email-sender {
        font-size: 0.58rem;
    }
    .story-email-subject {
        font-size: 0.5rem;
    }
    .story-email-meta {
        gap: 3px;
    }
    .story-email-time {
        font-size: 0.48rem;
    }
    .story-email-urgent-dot {
        width: 4px;
        height: 4px;
    }
    .story-email-more {
        padding: 3px 8px 4px;
        font-size: 0.5rem;
    }

    .story-cal-slot {
        font-size: 0.58rem;
    }

    .story-agent-label {
        font-size: 0.52rem;
    }

    .story-ticket-stats {
        gap: 5px;
        padding: 4px 8px;
    }
    .story-ticket-stat {
        font-size: 0.58rem;
        gap: 3px;
    }
    .story-ticket-stat-dot {
        width: 4px;
        height: 4px;
    }
    .story-ticket-stat-count {
        font-size: 0.58rem;
    }
    .story-ticket-stat-label {
        font-size: 0.52rem;
    }
    .story-ticket-review {
        max-width: 100%;
    }
    .story-ticket-title {
        font-size: 0.62rem;
        padding: 6px 8px 2px;
    }
    .story-ticket-customer {
        font-size: 0.52rem;
        padding: 0 8px 4px;
    }
    .story-ticket-reply-section {
        padding: 4px 8px;
    }
    .story-ticket-reply-text {
        font-size: 0.55rem;
        line-height: 1.4;
    }
    .story-ticket-actions {
        padding: 4px 8px 6px;
        gap: 4px;
    }
    .story-ticket-btn {
        font-size: 0.55rem;
        padding: 4px 0;
    }
    .story-ticket-counter {
        gap: 6px;
        padding: 3px 8px 4px;
    }
    .story-ticket-nav {
        width: 12px;
        height: 12px;
    }
    .story-ticket-nav svg {
        width: 8px;
        height: 8px;
    }
    .story-ticket-count {
        font-size: 0.48rem;
    }

    .story-collapsed-line {
        height: 2px;
        width: 48px;
    }

    .section, .problem-section .section-inner { padding: 80px 20px; }
    .section-title { font-size: 2rem; }
    .target-audience { font-size: 1.73rem; margin-bottom: 32px; }
    .solution-headline { font-size: 2.25rem; margin: 48px 0 40px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-item { padding: 24px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .comparison-col:first-child { border-right: none; border-bottom: 1px solid #e5e5e5; }
    .comparison-col { padding: 32px 24px; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { margin: 0 12px; }
    .footer-team { justify-content: center; }

    .tools-features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .beam-container {
        height: 260px;
        max-width: 100%;
        padding: 0 10px;
    }
    .beam-circle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    .beam-circle.large {
        width: 44px;
        height: 44px;
        padding: 8px;
    }
    .beam-cols-right {
        gap: 6px;
    }
    .beam-col {
        gap: 6px;
    }

}
