.product-page {
    --product-ink: #111318;
    --product-muted: #5f6671;
    --product-line: rgba(17, 19, 24, 0.11);
    --product-surface: #f5f6f7;
    --product-card: #ffffff;
    --product-accent: var(--gold);
    --product-accent-dark: #203d62;
    --product-accent-soft: rgba(43, 79, 126, 0.12);
    color: var(--product-ink);
    background: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow: clip;
}

.product-page *,
.product-page *::before,
.product-page *::after {
    box-sizing: border-box;
}

.product-local-nav {
    position: sticky;
    top: 56px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--product-line);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.product-local-nav__inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.product-local-nav a {
    color: var(--product-ink);
    text-decoration: none;
}

.product-local-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.product-local-nav__brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.product-local-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.76rem;
    font-weight: 500;
}

.product-local-nav__links > a:not(.product-local-nav__cta):hover {
    color: var(--product-accent);
}

.product-local-nav .product-local-nav__cta {
    color: #ffffff;
    background: var(--product-accent);
    border-radius: 999px;
    padding: 7px 15px;
}

.product-hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 760px;
    margin: 0 auto;
    padding: 80px 0 90px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
}

.product-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
    font-size: 0.92rem;
    font-weight: 700;
}

.product-eyebrow img,
.product-final-cta > img {
    border-radius: 22.5%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.13);
}

.product-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--product-ink);
    font-size: clamp(3.4rem, 7.2vw, 6.8rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.product-hero__intro {
    max-width: 620px;
    margin: 34px 0 0;
    color: var(--product-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.58;
}

.product-hero__actions,
.product-final-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.product-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.product-button:hover {
    transform: translateY(-1px);
}

.product-button--primary {
    color: #ffffff;
    background: var(--product-accent);
}

.product-button--primary:hover {
    color: #ffffff;
    background: var(--product-accent-dark);
}

.product-button--secondary {
    color: var(--product-ink);
    background: transparent;
    border-color: var(--product-line);
}

.product-button--secondary:hover {
    color: var(--product-ink);
    border-color: rgba(17, 19, 24, 0.28);
    background: rgba(17, 19, 24, 0.035);
}

.product-availability {
    margin: 16px 0 0;
    color: #818792;
    font-size: 0.78rem;
}

.product-hero__visual {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.product-hero__visual::before {
    content: "";
    position: absolute;
    width: min(580px, 100%);
    aspect-ratio: 1;
    z-index: -3;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 24%, rgba(255,255,255,0.9), transparent 21%),
        linear-gradient(145deg, #e8eef6 4%, #b9c9dd 52%, #607da5 100%);
    box-shadow: 0 50px 100px rgba(43, 79, 126, 0.2);
}

.product-orbit {
    position: absolute;
    z-index: -2;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    pointer-events: none;
}

.product-orbit--one {
    width: 490px;
    height: 260px;
    transform: rotate(-22deg);
}

.product-orbit--two {
    width: 390px;
    height: 520px;
    transform: rotate(32deg);
}

.product-phone {
    width: min(310px, 64vw);
    padding: 9px;
    border: 2px solid #272a30;
    border-radius: 48px;
    background: #0f1115;
    box-shadow: 0 38px 85px rgba(12, 22, 25, 0.38);
    transform: rotate(2.5deg);
}

.product-phone img {
    display: block;
    width: 100%;
    border-radius: 39px;
}

.product-phone--preview {
    min-height: 594px;
    padding: 28px 17px 22px;
    color: #f5f7fa;
    background: #11151b;
    overflow: hidden;
}

.product-phone-preview__status {
    padding: 0 8px 24px;
    display: flex;
    justify-content: space-between;
    color: #c9cfd7;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

.product-phone-preview__header {
    padding: 14px 12px 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-phone-preview__header small {
    color: #8f99a6;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-phone-preview__header strong {
    font-size: 1.45rem;
    letter-spacing: -0.035em;
}

.product-phone-preview__rows {
    display: grid;
    gap: 9px;
}

.product-phone-preview__row {
    min-height: 72px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    background: #1c222a;
}

.product-phone-preview__row > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-phone-preview__row strong {
    overflow: hidden;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-phone-preview__row small {
    color: #99a2ad;
    font-size: 0.66rem;
}

.product-phone-preview__row em {
    flex: 0 0 auto;
    padding: 4px 8px;
    color: #e8d5a5;
    border-radius: 999px;
    background: rgba(196, 159, 77, 0.16);
    font-size: 0.61rem;
    font-style: normal;
    font-weight: 700;
}

.product-floating-card {
    position: absolute;
    width: 190px;
    padding: 17px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(23, 34, 38, 0.2);
    font-size: 0.78rem;
}

.product-floating-card strong {
    font-size: 0.98rem;
}

.product-floating-card span:last-child {
    opacity: 0.72;
}

.product-floating-card__label {
    margin-bottom: 6px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.product-floating-card--slate {
    top: 20%;
    left: 0;
    color: #ffffff;
    background: rgba(31, 39, 46, 0.94);
    transform: rotate(-5deg);
}

.product-floating-card--light {
    right: 0;
    bottom: 18%;
    color: var(--product-ink);
    background: rgba(255, 255, 255, 0.94);
    transform: rotate(4deg);
}

.product-status-dot {
    width: 9px;
    height: 9px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--product-accent);
    box-shadow: 0 0 0 5px var(--product-accent-soft);
}

.product-intro,
.product-platforms__heading {
    width: min(800px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
}

.product-intro {
    padding: 120px 0 100px;
}

.product-section-label {
    margin: 0 0 16px;
    color: var(--product-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-intro h2,
.product-chapter h2,
.product-collaboration h2,
.product-platforms h2,
.product-export h2,
.product-final-cta h2 {
    margin: 0;
    color: var(--product-ink);
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.052em;
    line-height: 1.03;
}

.product-intro > p:last-child,
.product-platforms__heading > p:last-child {
    max-width: 650px;
    margin: 26px auto 0;
    color: var(--product-muted);
    font-size: 1.08rem;
}

.product-chapter {
    width: min(1180px, calc(100% - 48px));
    min-height: 690px;
    margin: 0 auto;
    padding: 105px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: clamp(54px, 9vw, 130px);
    border-top: 1px solid var(--product-line);
}

.product-chapter--reverse .product-chapter__copy {
    order: 2;
}

.product-chapter--reverse .product-chapter__visual {
    order: 1;
}

.product-chapter__copy > p:not(.product-section-label),
.product-collaboration__copy > p:not(.product-section-label),
.product-export > div:first-child > p:not(.product-section-label) {
    margin: 26px 0 0;
    color: var(--product-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.product-check-list {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
    color: #353b44;
    font-size: 0.91rem;
}

.product-check-list li {
    position: relative;
    padding-left: 27px;
}

.product-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--product-accent);
    font-weight: 700;
}

.product-chapter__visual {
    min-width: 0;
}

.product-scene-board {
    overflow: hidden;
    border: 1px solid var(--product-line);
    border-radius: 26px;
    background: var(--product-card);
    box-shadow: 0 30px 80px rgba(18, 28, 32, 0.11);
}

.product-scene-board {
    transform: rotate(1.2deg);
}

.product-scene-board__header {
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    background: #1d242a;
}

.product-scene-board__header div {
    display: grid;
    gap: 4px;
}

.product-scene-board__header span {
    color: #9aa5ae;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.product-scene-board__header strong {
    font-size: 0.98rem;
}

.product-scene-board__header .product-count {
    padding: 6px 10px;
    color: #d9e7ea;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    letter-spacing: 0;
}

.product-shot-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-shot-rows li {
    min-height: 84px;
    padding: 17px 22px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--product-line);
}

.product-shot-rows li:last-child {
    border-bottom: 0;
}

.product-shot-rows li.is-selected {
    background: var(--product-accent-soft);
}

.product-shot-label {
    color: var(--product-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-shot-rows li > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.product-shot-rows strong {
    overflow: hidden;
    font-size: 0.87rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-shot-rows small {
    color: #858c95;
    font-size: 0.73rem;
}

.product-pill {
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}

.product-pill {
    min-width: 36px;
    padding: 5px 8px;
    color: #4f5963;
    background: #eef0f2;
    text-align: center;
}

.product-keyframes {
    min-height: 430px;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
    border-radius: 30px;
    background: #161a1f;
    box-shadow: 0 34px 80px rgba(15, 18, 22, 0.2);
}

.product-keyframe {
    position: relative;
    aspect-ratio: 0.76;
    padding: 14px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    color: rgba(255,255,255,0.72);
    background:
        linear-gradient(to top, rgba(0,0,0,0.74), transparent 48%),
        linear-gradient(145deg, #53657e 0%, #29364a 52%, #111927 100%);
    font-size: 0.66rem;
}

.product-keyframe.is-final {
    border-color: rgba(90, 159, 230, 0.72);
    box-shadow: 0 0 0 2px rgba(43, 79, 126, 0.28);
}

.product-keyframe::before {
    content: "";
    position: absolute;
    inset: 22% -20% auto;
    height: 1px;
    background: rgba(255,255,255,0.12);
    transform: rotate(-22deg);
}

.product-keyframe__number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0,0,0,0.4);
    font-size: 0.63rem;
    font-weight: 700;
}

.product-keyframe__person {
    position: absolute;
    left: 50%;
    bottom: 20%;
    border-radius: 45% 45% 12% 12%;
    background: #0a0e10;
    transform: translateX(-50%);
}

.product-keyframe__person::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -38%;
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #0a0e10;
    transform: translateX(-50%);
}

.product-keyframe__person--small {
    width: 24%;
    height: 25%;
}

.product-keyframe__person--medium {
    width: 36%;
    height: 38%;
}

.product-keyframe__person--large {
    width: 55%;
    height: 58%;
}

/* Faithful, static excerpts from the authenticated Masterbook web UI. */
.webui-window,
.webui-sheet {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.webui-view-toolbar {
    min-height: 72px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.webui-view-toolbar h3 {
    margin: 0;
    flex: 0 0 auto;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
}

.webui-view-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.webui-button {
    min-height: 30px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: #ffffff;
    background: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.webui-button--outline {
    color: var(--gold);
    background: transparent;
}

.webui-checkbox {
    margin-right: 3px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    white-space: nowrap;
}

.webui-checkbox > span {
    width: 14px;
    height: 14px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--bg-primary);
}

.webui-scene-list {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.webui-scene-row {
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
}

.webui-scene-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.webui-scene-heading strong {
    min-width: 28px;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
}

.webui-scene-heading span {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.webui-scene-heading svg {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--text-faint);
}

.webui-chip-list {
    margin: 5px 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.webui-breakdown-chip {
    padding: 3px 9px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.webui-breakdown-chip svg {
    flex: 0 0 auto;
}

.webui-breakdown-chip.bc-cast {
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.12);
}

.webui-breakdown-chip.bc-props {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.12);
}

.webui-breakdown-chip.bc-setDressing {
    color: #a16207;
    background: rgba(234, 179, 8, 0.12);
}

.webui-breakdown-chip.bc-wardrobe {
    color: #db2777;
    background: rgba(236, 72, 153, 0.12);
}

.webui-breakdown-chip.bc-vehicles {
    color: #4b5563;
    background: rgba(107, 114, 128, 0.12);
}

.webui-breakdown-chip.bc-weapons {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.12);
}

.webui-sheet {
    width: min(460px, 100%);
    margin: 0 auto;
}

.webui-sheet__header {
    min-height: 72px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}

.webui-sheet__header > div {
    display: grid;
    gap: 2px;
}

.webui-sheet__header strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.webui-sheet__header span {
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

.webui-close {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    opacity: 0.55;
}

.webui-close::before,
.webui-close::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 1px;
    background: var(--text-primary);
    transform: rotate(45deg);
}

.webui-close::after {
    transform: rotate(-45deg);
}

.webui-sheet__body {
    min-height: 385px;
    padding: 20px;
    background: var(--bg-sidebar);
}

.webui-quick-add {
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-faint);
    background: var(--bg-primary);
    font-size: 0.9rem;
}

.webui-section {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
}

.webui-section:last-child {
    margin-bottom: 0;
}

.webui-section__header {
    padding: 8px 16px 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.webui-section__row {
    min-height: 40px;
    padding: 6px 10px 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 500;
}

.webui-section__row > span:first-child {
    flex: 1;
    min-width: 0;
}

.webui-kebab {
    width: 29px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 6px;
    color: var(--text-muted);
}

.webui-window--assets .webui-view-toolbar {
    min-height: 68px;
}

.webui-table-wrap {
    margin: 0 16px 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.webui-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 0.85rem;
}

.webui-table th {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    background: var(--bg-table-header);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.webui-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.webui-table tr:last-child td {
    border-bottom: 0;
}

.webui-table td:first-child {
    width: 36%;
    font-weight: 500;
}

.webui-table td:last-child {
    color: var(--text-secondary);
}

.webui-collaboration {
    padding: 0;
    overflow: hidden;
    border-color: var(--border);
    border-radius: 10px;
    background: var(--bg-sidebar);
    box-shadow: var(--shadow-md);
}

.webui-collaboration__topbar {
    min-height: 56px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 0.86rem;
}

.webui-presence-stack {
    display: flex;
    align-items: center;
}

.webui-presence-stack .webui-access-avatar {
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border: 2px solid var(--bg-primary);
    font-size: 0.58rem;
}

.webui-presence-stack .webui-access-avatar:first-child {
    margin-left: 0;
}

.webui-collaboration__body {
    padding: 22px;
}

.webui-access-heading {
    padding: 0 0 5px 16px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.webui-access-section {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
}

.webui-access-row {
    min-height: 61px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
}

.webui-access-row:first-child {
    border-top: 0;
}

.webui-access-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #ffffff;
    background: #6b7280;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 700;
}

.webui-access-avatar--plum {
    background: #80566b;
}

.webui-access-avatar--blue {
    background: #526e94;
}

.webui-access-avatar--slate {
    background: #6b7280;
}

.webui-access-avatar i {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 11px;
    height: 11px;
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
    background: #34c759;
}

.webui-access-identity {
    min-width: 0;
    display: grid;
    flex: 1;
}

.webui-access-identity strong {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webui-access-identity small,
.webui-access-badge {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.product-collaboration {
    margin-top: 40px;
    padding: 130px max(24px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    align-items: center;
    gap: clamp(54px, 9vw, 130px);
    background: var(--product-surface);
}

.product-typing-heading {
    display: grid;
    justify-items: start;
}

.product-typing-heading__line {
    display: block;
    white-space: nowrap;
}

.product-typing-heading__word {
    display: inline-block;
    color: var(--product-accent);
    white-space: nowrap;
}

.product-typing-heading.is-typing-ready .product-typing-heading__word {
    clip-path: inset(0 100% 0 0);
}

.product-typing-heading.is-typing .product-typing-heading__word {
    animation: product-type-once 1.1s steps(10, end) 120ms forwards;
}

@keyframes product-type-once {
    to {
        clip-path: inset(0 0 0 0);
    }
}

.product-collaboration__visual {
    padding: 32px;
    border: 1px solid rgba(17,19,24,0.08);
    border-radius: 28px;
    background: rgba(255,255,255,0.7);
}

.product-collaboration__visual.webui-collaboration {
    padding: 0;
    border-color: var(--border);
    border-radius: 10px;
    background: var(--bg-sidebar);
    box-shadow: none;
}

.product-people {
    margin-bottom: 24px;
    display: flex;
}

.product-people span {
    width: 42px;
    height: 42px;
    margin-left: -8px;
    display: grid;
    place-items: center;
    border: 3px solid var(--product-surface);
    border-radius: 50%;
    color: #ffffff;
    background: #405e87;
    font-size: 0.64rem;
    font-weight: 700;
}

.product-people span:first-child {
    margin-left: 0;
    background: #80566b;
}

.product-people span:nth-child(2) {
    background: #526e94;
}

.product-people span:nth-child(3) {
    background: #415f8b;
}

.product-people span:last-child {
    color: #6f7780;
    background: #e3e6e9;
}

.product-activity-card {
    overflow: hidden;
    border: 1px solid var(--product-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(30, 40, 45, 0.08);
}

.product-activity-card > div {
    padding: 19px 20px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border-bottom: 1px solid var(--product-line);
}

.product-activity-card > div:last-child {
    border-bottom: 0;
}

.product-activity-card p {
    margin: 0;
    color: #49515a;
    font-size: 0.78rem;
}

.product-activity-card small {
    display: block;
    margin-top: 3px;
    color: #9aa0a8;
    font-size: 0.66rem;
}

.product-activity-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #526e94;
    font-size: 0.57rem;
    font-weight: 700;
}

.product-activity-avatar.is-teal {
    background: #2b4f7e;
}

.product-activity-avatar.is-plum {
    background: #80566b;
}

.product-platforms {
    padding: 135px 24px 145px;
}

.product-platforms--compact {
    padding-top: 115px;
    padding-bottom: 120px;
}

.product-platform-grid {
    width: min(1040px, 100%);
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.product-platform-grid--five {
    width: min(1180px, 100%);
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-platform-grid article {
    min-height: 230px;
    padding: 24px 32px;
    border-left: 1px solid var(--product-line);
}

.product-platform-grid article:first-child {
    border-left: 0;
}

.product-platform-grid h3 {
    margin: 26px 0 8px;
    font-size: 1rem;
}

.product-platform-grid p {
    margin: 0;
    color: var(--product-muted);
    font-size: 0.79rem;
}

.product-platform-grid--six {
    width: min(900px, 100%);
    margin-top: 58px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-platform-grid--compact article {
    min-height: 136px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.product-platform-grid--six article:nth-child(3n + 1) {
    border-left: 0;
}

.product-platform-grid--six article:nth-child(n + 4) {
    border-top: 1px solid var(--product-line);
}

.product-platform-grid--compact h3 {
    margin: 10px 0 0;
    line-height: 1.3;
}

.product-platform-icon-stage {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.product-platform-grid--compact .product-platform-icon-stage {
    justify-content: center;
}

.product-platform-icon {
    position: relative;
    display: block;
    border: 2px solid #3f4851;
    background: #edf0f2;
}

.product-platform-icon::after {
    content: "";
    position: absolute;
    background: var(--product-accent);
}

.product-platform-icon--phone {
    width: 27px;
    height: 46px;
    border-radius: 7px;
}

.product-platform-icon--phone::after {
    width: 9px;
    height: 2px;
    left: 7px;
    bottom: 3px;
    border-radius: 2px;
}

.product-platform-icon--tablet {
    width: 48px;
    height: 38px;
    border-radius: 6px;
}

.product-platform-icon--tablet::after {
    width: 12px;
    height: 2px;
    left: 16px;
    bottom: 3px;
    border-radius: 2px;
}

.product-platform-android-icon {
    display: block;
    width: 52px;
    height: 52px;
}

.product-platform-icon--desktop {
    width: 50px;
    height: 33px;
    border-radius: 5px 5px 3px 3px;
}

.product-platform-icon--desktop::before {
    content: "";
    position: absolute;
    width: 58px;
    height: 5px;
    left: -6px;
    bottom: -8px;
    border: 2px solid #3f4851;
    border-radius: 1px 1px 5px 5px;
    background: #edf0f2;
}

.product-platform-icon--desktop::after {
    width: 100%;
    height: 3px;
    left: 0;
    bottom: 0;
}

.product-platform-icon--web {
    width: 54px;
    height: 40px;
    border-radius: 5px;
}

.product-platform-icon--web::before {
    content: "•••";
    position: absolute;
    top: -1px;
    left: 5px;
    color: #777f87;
    font-size: 0.5rem;
    letter-spacing: 1px;
}

.product-platform-icon--web::after {
    width: 100%;
    height: 2px;
    left: 0;
    top: 9px;
}

.product-platform-icon--vision-pro {
    display: block;
    width: 64px;
    height: auto;
    color: #3f4851;
    fill: #edf0f2;
}

.product-export {
    width: min(1180px, calc(100% - 48px));
    min-height: 560px;
    margin: 0 auto 130px;
    padding: 80px clamp(34px, 7vw, 90px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 70px;
    overflow: hidden;
    border-radius: 34px;
    color: #ffffff;
    background: #1b2227;
}

.product-export h2 {
    color: #ffffff;
}

.product-export .product-section-label {
    color: #8db9e8;
}

.product-export > div:first-child > p:not(.product-section-label) {
    color: rgba(255,255,255,0.63);
}

.product-paper-stack {
    position: relative;
    min-height: 360px;
}

.product-paper {
    position: absolute;
    inset: 20px 20px 0 60px;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    color: #171a1e;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
    transform: rotate(4deg);
}

.product-paper--back {
    inset: 5px 55px 18px 20px;
    background: #cfd7d9;
    box-shadow: none;
    transform: rotate(-7deg);
}

.product-paper span {
    color: #788087;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.product-paper strong {
    margin: 8px 0 28px;
    font-size: 1.3rem;
}

.product-paper__line {
    width: 82%;
    height: 8px;
    margin-top: 17px;
    border-radius: 4px;
    background: #d9dde0;
}

.product-paper__line.is-wide {
    width: 100%;
    height: 12px;
    background: #2b4f7e;
}

.product-paper__line.is-short {
    width: 54%;
}

.product-suite-card {
    position: relative;
    width: min(1180px, calc(100% - 48px));
    min-height: 520px;
    margin: 0 auto 130px;
    padding: clamp(54px, 8vw, 82px);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(46px, 8vw, 92px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 12%, rgba(90, 159, 230, 0.18), transparent 34%),
        #0f1115;
    box-shadow: 0 30px 80px rgba(15, 17, 21, 0.2);
}

.product-suite-card::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(90, 159, 230, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.product-suite-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 82px));
    justify-content: center;
    gap: 12px;
}

.product-suite-grid img {
    width: 82px;
    height: 82px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22.37%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
    object-fit: cover;
}

.product-suite-card__copy {
    position: relative;
    z-index: 1;
}

.product-suite-card h2 {
    max-width: 460px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.55rem, 5.4vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.product-suite-card p {
    max-width: 430px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.02rem;
    line-height: 1.65;
}

.product-final-cta {
    padding: 110px 24px 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--product-surface);
}

.product-final-cta h2 {
    margin-top: 30px;
}

.product-final-cta > p {
    margin: 18px 0 0;
    color: var(--product-muted);
    font-size: 1rem;
}

.product-final-cta__actions {
    justify-content: center;
}

.product-final-cta__actions > a:first-child {
    display: block;
    line-height: 0;
}

.product-final-cta__actions img {
    width: 180px;
    height: auto;
}

@media (max-width: 960px) {
    .product-hero,
    .product-chapter,
    .product-collaboration {
        grid-template-columns: 1fr;
    }

    .product-hero {
        padding-top: 70px;
        text-align: center;
    }

    .product-hero__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-hero__visual {
        width: min(650px, 100%);
        margin: 0 auto;
    }

    .product-chapter,
    .product-collaboration {
        gap: 58px;
    }

    .product-chapter--reverse .product-chapter__copy,
    .product-chapter--reverse .product-chapter__visual {
        order: initial;
    }

    .product-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-platform-grid article:nth-child(odd) {
        border-left: 0;
    }

    .product-platform-grid article:nth-child(n + 3) {
        padding-top: 40px;
        border-top: 1px solid var(--product-line);
    }

    .product-platform-grid--six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-platform-grid--six article:nth-child(odd) {
        border-left: 1px solid var(--product-line);
    }

    .product-platform-grid--six article:nth-child(3n + 1) {
        border-left: 0;
    }

    .product-platform-grid--six article:nth-child(n + 3) {
        padding-top: 20px;
        border-top: 0;
    }

    .product-platform-grid--six article:nth-child(n + 4) {
        border-top: 1px solid var(--product-line);
    }

    .product-suite-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .product-suite-card__copy {
        display: grid;
        justify-items: center;
    }
}

@media (max-width: 700px) {
    .product-local-nav {
        top: 56px;
    }

    .product-local-nav__inner {
        width: min(100% - 28px, 1180px);
    }

    .product-local-nav__links > a:not(.product-local-nav__cta) {
        display: none;
    }

    .product-hero,
    .product-chapter,
    .product-export {
        width: min(100% - 32px, 1180px);
    }

    .product-hero {
        min-height: auto;
        padding: 58px 0 80px;
    }

    .product-eyebrow {
        margin-bottom: 28px;
    }

    .product-hero h1 {
        font-size: clamp(3.15rem, 15vw, 5rem);
    }

    .product-hero__intro {
        margin-top: 26px;
        font-size: 1rem;
    }

    .product-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .product-hero__actions .product-button {
        width: 100%;
    }

    .product-hero__visual {
        min-height: 510px;
    }

    .product-hero__visual::before {
        width: 430px;
        max-width: 100%;
    }

    .product-orbit--one {
        width: 390px;
    }

    .product-orbit--two {
        width: 310px;
        height: 430px;
    }

    .product-phone {
        width: 230px;
        border-radius: 38px;
    }

    .product-phone img {
        border-radius: 30px;
    }

    .product-floating-card {
        width: 154px;
        padding: 13px 14px;
        font-size: 0.65rem;
    }

    .product-floating-card strong {
        font-size: 0.8rem;
    }

    .product-floating-card--slate {
        top: 16%;
        left: -2%;
    }

    .product-floating-card--light {
        right: -2%;
        bottom: 14%;
    }

    .product-intro {
        padding: 90px 0 80px;
    }

    .product-intro,
    .product-platforms__heading {
        width: min(100% - 32px, 800px);
    }

    .product-chapter {
        min-height: 0;
        padding: 78px 0;
    }

    .product-scene-board__header {
        padding: 21px 20px;
    }

    .product-shot-rows li {
        padding: 15px;
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }

    .webui-view-toolbar {
        padding: 15px;
        align-items: flex-start;
        flex-direction: column;
    }

    .webui-view-actions {
        justify-content: flex-start;
    }

    .webui-checkbox {
        width: 100%;
    }

    .webui-scene-list {
        padding: 0 10px 10px;
    }

    .webui-scene-row {
        padding: 12px;
    }

    .webui-sheet__body {
        min-height: 0;
        padding: 16px;
    }

    .webui-table-wrap {
        margin: 0 10px 10px;
    }

    .webui-table th,
    .webui-table td {
        padding-right: 11px;
        padding-left: 11px;
    }

    .webui-collaboration__body {
        padding: 15px;
    }

    .webui-access-row {
        padding-right: 12px;
        padding-left: 12px;
        gap: 9px;
    }

    .webui-access-avatar {
        width: 36px;
        height: 36px;
    }

    .webui-access-identity small {
        display: none;
    }

    .product-keyframes {
        min-height: 350px;
        padding: 18px;
        gap: 8px;
    }

    .product-keyframe {
        padding: 9px;
        border-radius: 11px;
        font-size: 0.52rem;
    }

    .product-keyframe__number {
        top: 8px;
        left: 8px;
        width: 18px;
        height: 18px;
    }

    .product-collaboration {
        margin-top: 20px;
        padding: 90px 16px;
    }

    .product-collaboration__visual {
        padding: 18px;
    }

    .product-platforms {
        padding: 95px 16px 105px;
    }

    .product-platforms--compact {
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .product-platform-grid {
        margin-top: 48px;
        grid-template-columns: 1fr;
    }

    .product-platform-grid article {
        min-height: 0;
        padding: 32px 8px;
        border-top: 1px solid var(--product-line);
        border-left: 0;
    }

    .product-platform-grid--six {
        width: min(520px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-platform-grid--six article {
        min-height: 124px;
        padding: 18px 12px;
        border-top: 1px solid var(--product-line);
        border-left: 1px solid var(--product-line);
    }

    .product-platform-grid--six article:nth-child(odd) {
        border-left: 0;
    }

    .product-platform-grid--six article:nth-child(-n + 2) {
        padding-top: 18px;
        border-top: 0;
    }

    .product-platform-grid--six h3 {
        margin-top: 8px;
        font-size: 0.9rem;
    }

    .product-platform-grid article:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .product-platform-grid article:last-child {
        padding-bottom: 0;
    }

    .product-platform-grid--six article:first-child {
        padding-top: 18px;
    }

    .product-platform-grid--six article:last-child {
        padding-bottom: 18px;
    }

    .product-export {
        min-height: 0;
        margin-bottom: 90px;
        padding: 65px 28px;
        grid-template-columns: 1fr;
        gap: 35px;
        border-radius: 25px;
    }

    .product-suite-card {
        width: min(100% - 32px, 1180px);
        min-height: 0;
        margin-bottom: 90px;
        padding: 56px 24px;
        gap: 42px;
        border-radius: 26px;
    }

    .product-suite-grid {
        grid-template-columns: repeat(3, minmax(0, 72px));
        gap: 10px;
    }

    .product-suite-grid img {
        width: 72px;
        height: 72px;
    }

    .product-suite-card h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .product-suite-card p {
        margin-top: 18px;
        font-size: 0.94rem;
    }

    .product-paper-stack {
        min-height: 310px;
    }

    .product-paper {
        inset: 15px 5px 0 38px;
    }

    .product-paper--back {
        inset: 10px 38px 12px 4px;
    }

    .product-final-cta {
        padding: 90px 20px 105px;
    }

    .product-final-cta__actions {
        flex-direction: column;
    }

    .product-final-cta__actions .product-button {
        min-width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-button {
        transition: none;
    }

    .product-typing-heading.is-typing-ready .product-typing-heading__word {
        clip-path: none;
        animation: none;
    }
}

@media (prefers-color-scheme: dark) {
    .product-page {
        --product-ink: #f1f3f4;
        --product-muted: #a7adb5;
        --product-line: rgba(255, 255, 255, 0.11);
        --product-surface: #17191c;
        --product-card: #202327;
        --product-accent: var(--gold);
        --product-accent-dark: #79b5f0;
        --product-accent-soft: rgba(90, 159, 230, 0.18);
        background: #101214;
    }

    .product-local-nav {
        background: rgba(16, 18, 20, 0.88);
    }

    .product-local-nav .product-local-nav__cta {
        color: #10243a;
    }

    .product-button--primary {
        color: #10243a;
    }

    .product-button--primary:hover {
        color: #10243a;
    }

    .product-button--secondary {
        color: var(--product-ink);
    }

    .product-button--secondary:hover {
        color: var(--product-ink);
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.25);
    }

    .product-check-list {
        color: #d4d8dc;
    }

    .product-shot-rows small {
        color: #9199a2;
    }

    .product-pill {
        color: #cad0d6;
        background: #34393e;
    }

    .product-collaboration__visual {
        background: rgba(255,255,255,0.035);
    }

    .product-people span {
        border-color: var(--product-surface);
    }

    .product-people span:last-child {
        color: #c1c6cc;
        background: #34383d;
    }

    .product-activity-card {
        background: #202327;
    }

    .product-activity-card p {
        color: #c0c5cb;
    }

    .product-platform-icon {
        border-color: #bdc3c9;
        background: #34393e;
    }

    .product-platform-icon--desktop::before {
        border-color: #bdc3c9;
        background: #34393e;
    }

    .product-platform-icon--vision-pro {
        color: #bdc3c9;
        fill: #34393e;
    }
}
