/* Real capture presentation and the shared 16px reading baseline. */
html { font-size: 16px; }
body { font-size: 1rem; }
.hero-description { font-size: 1rem; }
.button { font-size: 13px; }
.faq-list summary, .faq-list details p { font-size: 1rem; }
.footer-grid > div:not(.footer-brand) > a { font-size: 13px; }
.footer-brand p { font-size: 14px; }

.menu-toggle {
    width: 48px;
    height: 48px;
    gap: 5px;
    border: 0;
    background: var(--bora-red);
    transition: background .2s;
}
.menu-toggle:hover { background: #942322; }
.menu-toggle span {
    width: 19px;
    height: 2px;
    background: #fff;
    transition: transform .25s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.screenshot-carousel { position: relative; }
.dashboard-stage { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.slide-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 100px;
    padding: 0 8px 24px;
    text-align: left;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}
.slide-meta img { pointer-events: none; }
.slide-meta .product-logo { width: 125px; height: 54px; flex-shrink: 0; }
.slide-meta h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.slide-meta p { font-size: 14px; line-height: 1.7; }
.real-screenshot { margin: 0; min-width: 0; }
.screenshot-viewport {
    overflow: auto;
    max-width: 100%;
    border: 1px solid #e6e2de;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px #30251b09;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c6b7ad #f5f2ee;
}
.screenshot-viewport img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
}
.dashboard-stage .screenshot-viewport { height: clamp(440px, 46vw, 650px); }
.dashboard-stage .screenshot-viewport img { height: 100%; object-fit: contain; }
.real-screenshot figcaption { font-size: 10px; line-height: 1.8; color: #847d75; margin-top: 12px; text-align: center; }
.stage-arrow {
    position: absolute;
    top: calc(50% + 20px);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid #dfd6d0;
    border-radius: 50%;
    background: #fff;
    color: var(--bora-red);
    font-size: 25px;
    display: grid;
    place-items: center;
    transition: background .2s, border-color .2s;
}
.stage-arrow:hover { background: var(--bora-soft-red); border-color: var(--bora-red); }
.stage-previous { left: -68px; }
.stage-next { right: -68px; }
.screenshot-hint { font-size: 11px; text-align: center; margin: 18px auto 0; max-width: 620px; }
.dashboard-controls { gap: 20px; margin-top: 20px; }
.dashboard-controls button { min-height: 36px; font-size: 12px; }
.dashboard-controls .rotation-toggle { width: 36px; height: 36px; font-size: 11px; }
html:not(.js-enabled) .stage-arrow, html:not(.js-enabled) .screenshot-hint { display: none; }

/* Product pages: editorial copy, full-size media and a clear workflow rhythm. */
.product-story h1 { font-size: clamp(42px, 5.8vw, 78px); max-width: 1100px; }
.product-story h2 { max-width: 1000px; }
.product-story p:not(.eyebrow), .product-story li { font-size: 1rem; line-height: 1.85; }
.product-story .hero-description { max-width: 820px; }
.product-hero.product-story { padding-bottom: 80px; }
.product-main-visual { max-width: 1280px; }
.product-overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.product-overview h2 { font-size: clamp(34px, 3.8vw, 52px); }
.capabilities-section { background: #faf9f7; }
.product-story .product-features { margin-top: 55px; gap: 45px 40px; }
.product-story .product-features h3 { font-size: 19px; line-height: 1.4; }
.product-story .product-features p { font-size: 1rem; }
.workflow-heading { max-width: 920px; margin: 0 auto 48px; text-align: center; }
.workflow-heading > p:not(.eyebrow) { max-width: 780px; margin: 27px auto 0; }
.workflow-points { list-style: none; padding: 0; margin: 25px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 25px; }
.product-story .workflow-points li { font-size: 13px; color: #817a71; }
.workflow-points li::before { content: '·'; color: var(--bora-red); padding-right: 10px; }
.product-story .audience-grid li { font-size: 14px; }
.product-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 50px; }
.product-benefits article { border-top: 1px solid #d9c3b9; padding-top: 25px; }
.product-benefits h3 { font-size: 20px; line-height: 1.4; margin-bottom: 17px; font-weight: 600; }
.product-story .cta-section h2, .cta-section.product-story h2 { font-size: clamp(40px, 5.5vw, 72px); }

@media (min-width: 768px) {
    .product-main-visual .screenshot-viewport img,
    .product-workflow .screenshot-viewport img { width: auto; max-width: 100%; margin: auto; }
}
@media (max-width: 1200px) {
    .screenshot-carousel { padding-bottom: 68px; }
    .stage-arrow { top: auto; bottom: 0; }
    .stage-previous { left: calc(50% - 57px); }
    .stage-next { right: calc(50% - 57px); }
}
@media (max-width: 1024px) {
    .product-overview { gap: 40px; }
    .product-story .product-features { grid-template-columns: repeat(2, 1fr); }
    .product-benefits { gap: 28px; }
}
@media (max-width: 767px) {
    .menu-toggle { width: 44px; height: 44px; }
    .hero-description { font-size: 1rem; }
    .slide-meta { gap: 14px; align-items: flex-start; min-height: 125px; padding: 0 0 22px; }
    .slide-meta .product-logo { width: 84px; height: 44px; }
    .slide-meta h3 { font-size: 16px; }
    .slide-meta p { font-size: 13px; }
    .screenshot-viewport { border-radius: 16px; max-height: 560px; }
    .screenshot-viewport img { min-width: 960px; max-width: none; width: 960px; height: auto; }
    .dashboard-stage .screenshot-viewport { height: 460px; }
    .dashboard-stage .screenshot-viewport img { min-width: 780px; width: auto; max-width: none; height: 460px; }
    .stage-arrow { width: 46px; height: 46px; }
    .dashboard-controls { gap: 5px 12px; }
    .dashboard-controls button { font-size: 10px; }
    .real-screenshot figcaption { font-size: 10px; margin-top: 12px; }
    .screenshot-hint { font-size: 11px; }
    .product-story h1 { font-size: clamp(34px, 8.7vw, 48px); overflow-wrap: anywhere; }
    .product-story h2 { font-size: clamp(31px, 8vw, 38px); }
    .cta-section.product-story h2 { font-size: clamp(30px, 8vw, 44px); }
    .product-hero.product-story { padding-bottom: 48px; }
    .product-overview { grid-template-columns: 1fr; gap: 25px; }
    .product-story .product-features { grid-template-columns: 1fr; gap: 35px; margin-top: 35px; }
    .product-story .product-features h3 { font-size: 20px; }
    .workflow-heading { text-align: left; margin-bottom: 30px; }
    .workflow-heading > p:not(.eyebrow) { margin-top: 22px; }
    .workflow-points { justify-content: flex-start; gap: 9px; flex-direction: column; }
    .product-story .audience-grid { grid-template-columns: 1fr; }
    .product-benefits { grid-template-columns: 1fr; gap: 30px; margin-top: 35px; }
    .footer-brand p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .stage-arrow, .menu-toggle, .menu-toggle span { transition: none; }
}

/* Shared product hero; editorial sections retain their existing alignment. */
.product-hero.product-story { position: relative; padding-top: 110px; padding-bottom: 88px; }
.product-hero .back-link { position: absolute; top: 28px; left: 0; margin: 0; }
.product-hero-inner { text-align: center; margin-inline: auto; }
.product-hero .product-hero-logo { display: block; width: 210px; max-width: 100%; height: auto; object-position: center; margin: 0 auto 24px; }
.product-hero-copy .eyebrow { margin: 0 auto 20px; }
.product-hero .product-hero-copy h1 { max-width: 880px; margin: 0 auto; font-size: clamp(36px, 5.2vw, 74px); }
.product-hero .product-hero-copy .hero-description { max-width: 740px; margin: 28px auto 32px; }
.product-hero .product-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto; }
@media (max-width: 1024px) {
    .product-hero.product-story { padding-top: 90px; padding-bottom: 76px; }
}
@media (max-width: 767px) {
    .product-hero.product-story { padding-top: 72px; padding-bottom: 60px; }
    .product-hero .back-link { top: 20px; }
    .product-hero .product-hero-logo { width: 180px; }
    .product-hero .product-hero-copy h1 { font-size: clamp(30px, 7.6vw, 48px); overflow-wrap: normal; }
    .product-hero-copy .eyebrow { max-width: 340px; line-height: 1.7; }
    .product-hero .product-hero-copy .hero-description { margin-top: 24px; margin-bottom: 28px; }
    .product-hero .product-hero-actions .button { flex: 0 1 auto; width: auto; max-width: 100%; }
}
