/* SaaS-front visual system for the static official site. */
.saas-theme {
  --paper: #f5f7f8;
  --ink: #172129;
  --muted: #596771;
  --faint: #667780;
  --line: #dfe5e8;
  --line-strong: #cbd5da;
  --surface-soft: #edf1f3;
  --green: #176a70;
  --gold: #96601f;
  --gold-light: #f7ecd9;
  --white: #ffffff;
  --panel: #edf1f3;
  --surface-raised: #ffffff;
  --teal: #176a70;
  --teal-soft: #e6f1f1;
  --accent: #96601f;
  --accent-strong: #96601f;
  --shadow: 0 16px 44px rgba(34, 50, 58, 0.08);
  --radius-control: 7px;
  --radius-card: 8px;
  --space-unit: 4px;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
}

body.saas-theme {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.saas-theme h1,
.saas-theme h2,
.saas-theme h3,
.saas-theme h4 {
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.saas-theme em,
.saas-theme :is(h1, h2, h3) em {
  color: var(--teal);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.saas-theme .cinema-scene :is(h1, h2, h3) em {
  color: var(--teal);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.saas-theme .container {
  width: min(1296px, calc(100% - clamp(40px, 10vw, 144px)));
}

.saas-theme .site-header {
  background: rgba(245, 247, 248, 0.96);
  border-color: var(--line);
  box-shadow: none;
}

.saas-theme .header-inner {
  height: 72px;
  min-height: 72px;
  gap: 22px;
}

.saas-theme .brand {
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas-theme .brand-mark {
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  fill: #ffffff;
  stroke: none;
}

.saas-theme .main-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.saas-theme .main-nav a,
.saas-theme .header-actions,
.saas-theme .header-actions .sign-in {
  color: var(--muted);
}

.saas-theme .main-nav a:hover,
.saas-theme .main-nav a[aria-current="page"],
.saas-theme .header-actions .sign-in:hover,
.saas-theme .footer-column a:hover,
.saas-theme .text-link:hover {
  color: var(--teal);
}

.saas-theme .main-nav a[aria-current="page"]::after {
  background: var(--teal);
}

.saas-theme .header-actions {
  gap: 16px;
  font-size: 12px;
}

.saas-theme .btn,
.saas-theme .btn-gold,
.saas-theme .cinema-scene .button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-control);
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  box-shadow: none;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.saas-theme .btn-sm {
  min-height: 34px;
  padding: 0 12px;
}

.saas-theme .btn:hover,
.saas-theme .btn-gold:hover,
.saas-theme .cinema-scene .button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
  transform: translateY(-1px);
}

.saas-theme .btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.saas-theme .btn-outline:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.saas-theme .btn-text {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.saas-theme .btn-text:hover {
  border-color: transparent;
  background: transparent;
  color: var(--teal);
  transform: none;
}

.saas-theme .text-link {
  border-color: currentColor;
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
}

.saas-theme .eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.saas-theme .eyebrow::before {
  width: 6px;
  height: 6px;
  background: currentColor;
}

.saas-theme :focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.saas-theme .skip-link {
  background: var(--ink);
  color: #ffffff;
}

.saas-theme .section {
  padding: 88px 0;
}

.saas-theme .section-soft {
  border-color: var(--line);
  background: var(--surface-raised);
}

.saas-theme .section-heading {
  gap: 54px;
  margin-bottom: 48px;
}

.saas-theme .section-heading h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
}

.saas-theme .section-heading > p,
.saas-theme .page-hero > p,
.saas-theme .content-panel p,
.saas-theme .content-panel li,
.saas-theme .feature-copy > p,
.saas-theme .article-card p,
.saas-theme .usecase-detail p,
.saas-theme .guide-section p,
.saas-theme .guide-section li,
.saas-theme .prose p,
.saas-theme .prose li,
.saas-theme .pricing-note,
.saas-theme .pricing-footer,
.saas-theme .table-note,
.saas-theme .download-help,
.saas-theme .download-card > p,
.saas-theme .footer-brand p,
.saas-theme .footer-column a,
.saas-theme .footer-bottom,
.saas-theme .faq-list details p {
  color: var(--muted);
}

.saas-theme .content-panel,
.saas-theme .article-card,
.saas-theme .case-card,
.saas-theme .price-card,
.saas-theme .download-card,
.saas-theme .callout,
.saas-theme .example-panel,
.saas-theme .feature-visual,
.saas-theme .script-card,
.saas-theme .dialog-illustration,
.saas-theme .dialog-tabs button,
.saas-theme .case-output {
  border-color: var(--line);
  background: var(--surface-raised);
  color: var(--ink);
}

.saas-theme .content-panel,
.saas-theme .price-card,
.saas-theme .download-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.saas-theme .feature-visual,
.saas-theme .script-card,
.saas-theme .dialog-illustration {
  border-radius: 8px;
}

.saas-theme .steps,
.saas-theme .article-grid,
.saas-theme .cases,
.saas-theme .pricing-grid,
.saas-theme .example-grid {
  gap: 16px;
}

.saas-theme .step,
.saas-theme .article-card,
.saas-theme .case-card {
  border-color: var(--line);
}

.saas-theme .step-icon {
  border-color: var(--line);
  background: var(--teal-soft);
  color: var(--teal);
}

.saas-theme .step-num,
.saas-theme .numbered-list li::before,
.saas-theme .price small,
.saas-theme .price-value small {
  color: var(--accent-strong);
}

.saas-theme .step h3,
.saas-theme .article-card h3,
.saas-theme .case-card h3,
.saas-theme .price-top h3,
.saas-theme .faq-list summary,
.saas-theme .footer-column h3,
.saas-theme .content-panel h3,
.saas-theme .download-card h2,
.saas-theme .usecase-detail h2,
.saas-theme .page-hero h1,
.saas-theme .download-layout h1,
.saas-theme .feature-copy h2,
.saas-theme .faq-layout h2,
.saas-theme .prose h2,
.saas-theme .guide-section h2 {
  color: var(--ink);
}

.saas-theme .faq-list details,
.saas-theme .faq-list details:first-child,
.saas-theme .numbered-list li,
.saas-theme .guide-section,
.saas-theme .usecase-detail,
.saas-theme .pricing-footer,
.saas-theme .footer-bottom,
.saas-theme .table-wrap,
.saas-theme .copy-download {
  border-color: var(--line);
}

.saas-theme .faq-list summary::after {
  color: var(--teal);
}

.saas-theme .article-card > .icon,
.saas-theme .feature-tags span,
.saas-theme .source-item,
.saas-theme .control-row .icon,
.saas-theme .case-output li .icon,
.saas-theme .price-list .icon,
.saas-theme .example-checkpoint,
.saas-theme .flow-dialog .icon {
  color: var(--teal);
}

.saas-theme .feature-tags span {
  border-color: #b9d4d5;
  background: var(--teal-soft);
}

.saas-theme .mini-label {
  color: #596771;
}

.saas-theme .script-line {
  border-color: var(--line);
}

.saas-theme .script-line > span {
  color: var(--accent-strong);
}

.saas-theme .script-line p {
  color: var(--muted);
}

.saas-theme .script-line mark {
  background: #d8e9e9;
  color: #173a3c;
}

.saas-theme .review-status,
.saas-theme .review-status .icon {
  color: #216843;
}

.saas-theme code {
  color: #7d3d1d;
}

.saas-theme .price-card.full {
  border-color: #153e43;
  background: #153e43;
  color: #ffffff;
}

.saas-theme .price-card.full h3,
.saas-theme .price-card.full .price,
.saas-theme .price-card.full .price small,
.saas-theme .price-card.full .price-credits,
.saas-theme .price-card.full .price-list {
  color: #ffffff;
}

.saas-theme .price-card.full .price-desc,
.saas-theme .price-card.full .plan-outcome span {
  color: #b8d4d5;
}

.saas-theme .price-card.full .btn-gold {
  border-color: #ffffff;
  background: #ffffff;
  color: #153e43;
}

.saas-theme .price-card.full .price-list .icon {
  color: #a8d5d4;
}

.saas-theme .pricing-footer,
.saas-theme .pricing-note {
  color: var(--muted);
}

.saas-theme .cta-band,
.saas-theme .final-cta {
  border-color: #d2e0e2;
  border-radius: 8px;
  background: #e6f1f1;
  color: var(--ink);
}

.saas-theme .cta-band .eyebrow,
.saas-theme .cta-aside p,
.saas-theme .final-cta p {
  color: var(--muted);
}

.saas-theme .cta-band h2 em {
  color: var(--teal);
}

.saas-theme .site-footer {
  border-color: var(--line);
  background: var(--paper);
}

.saas-theme .footer-column a:hover,
.saas-theme .footer-bottom a:hover {
  color: var(--teal);
}

/* Homepage: retain the editor illustration while using the SaaS landing rhythm. */
.saas-theme .cinema-scene {
  background: var(--paper);
}

.saas-theme .cinema-scene .wrap {
  width: min(1296px, calc(100% - clamp(40px, 10vw, 144px)));
}

.saas-theme .cinema-scene .cinema-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  min-height: min(640px, calc(100vh - 136px));
  padding: 58px 0 74px;
}

.saas-theme .cinema-scene .cinema-copy h1 {
  max-width: 680px;
  margin: 15px 0 0;
  color: var(--ink);
  font-size: clamp(52px, 4.7vw, 68px);
  font-weight: 730;
  letter-spacing: 0;
  line-height: 1.04;
}

.saas-theme .cinema-scene .cinema-copy h1 em {
  color: var(--teal);
}

.saas-theme .cinema-scene .section-top h2 em,
.saas-theme .cinema-scene .price-section h2 em,
.saas-theme .cinema-scene .final-cta h2 em {
  color: var(--teal);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
}

.saas-theme .cinema-scene .cinema-copy > p {
  max-width: 545px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.saas-theme .cinema-scene .cinema-copy > .eyebrow {
  color: var(--accent);
}

.saas-theme .cinema-scene .cinema-copy > .fine {
  color: #4d5f67;
  font-size: 11px;
}

.saas-theme .cinema-scene .actions {
  gap: 12px;
  margin-top: 30px;
}

.saas-theme .cinema-scene .button {
  min-height: 40px;
  padding: 0 14px;
}

.saas-theme .cinema-scene .text-link {
  min-height: 40px;
  padding: 0 5px;
  border: 0;
  color: var(--muted);
}

.saas-theme .cinema-scene .text-link:hover {
  color: var(--teal);
}

.saas-theme .cinema-scene .cinema-set {
  min-height: 0;
  padding: 0;
}

.saas-theme .cinema-scene .cinema-set::before {
  inset: -16px -18px -6px;
  border: 1px solid #cfe2e3;
  border-radius: 12px;
  background: #e6f1f1;
}

.saas-theme .cinema-scene .cinema-set::after {
  inset: 5% 8% 5% 5%;
  border-color: #b9d4d5;
  border-radius: 50%;
  opacity: 0.7;
}

.saas-theme .cinema-scene .editor-window {
  border-color: #cbd5da;
  border-radius: 9px;
  box-shadow: var(--shadow);
  transform: none;
}

.saas-theme .cinema-scene .demo-stage {
  min-height: 300px;
  padding: 36px;
  background: #dceeed;
}

.saas-theme .cinema-scene .sample-product {
  border-color: #dfe5e8;
  background: #ffffff;
  color: #172129;
  box-shadow: 0 14px 28px rgba(34, 50, 58, 0.12);
}

.saas-theme .cinema-scene .sample-head,
.saas-theme .cinema-scene .sample-sidebar {
  border-color: #dfe5e8;
}

.saas-theme .cinema-scene .sample-sidebar,
.saas-theme .cinema-scene .sample-overline,
.saas-theme .cinema-scene .sample-column-title {
  color: #65727c;
}

.saas-theme .cinema-scene .sample-sidebar .active {
  background: #e6f1f1;
  color: #176a70;
}

.saas-theme .cinema-scene .sample-task {
  border-color: #dfe5e8;
  background: #f8fafb;
}

.saas-theme .cinema-scene .task-tag {
  color: #176a70;
}

.saas-theme .cinema-scene .task-tag.orange {
  color: #96601f;
}

.saas-theme .cinema-scene .task-tag.green {
  color: #287853;
}

.saas-theme .cinema-scene .task-line {
  background: #cbd5da;
}

.saas-theme .cinema-scene .timeline {
  border-color: #dfe5e8;
}

.saas-theme .cinema-scene .timeline-clips span {
  background: #e6f1f1;
  color: #176a70;
}

.saas-theme .cinema-scene .timeline-wave {
  background: #e6f1f1;
}

.saas-theme .cinema-scene .timeline-wave i {
  background: #6fa7a8;
}

.saas-theme .cinema-scene .demo-controls {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.saas-theme .cinema-scene .demo-controls button[aria-pressed="true"] {
  background: var(--teal);
  color: #ffffff;
}

.saas-theme .cinema-scene .director-note {
  border-color: #b9d4d5;
  background: #ffffff;
  color: var(--teal);
  box-shadow: var(--shadow);
}

.saas-theme .cinema-scene .director-note span {
  color: var(--muted);
}

.saas-theme .cinema-scene .demo-caption {
  color: var(--muted);
}

.saas-theme .cinema-scene .user-examples-section {
  border-color: var(--line);
  background: var(--surface-raised);
}

.saas-theme .cinema-scene .user-examples-list {
  color: var(--ink);
}

.saas-theme .cinema-scene .user-example {
  border-color: var(--line);
}

.saas-theme .cinema-scene .user-example-number,
.saas-theme .cinema-scene .user-example-meta {
  color: var(--accent-strong);
}

.saas-theme .cinema-scene .user-example-meta span + span,
.saas-theme .cinema-scene .user-example-intro p,
.saas-theme .cinema-scene .user-example-video figcaption small,
.saas-theme .cinema-scene .user-example-comparison-note,
.saas-theme .cinema-scene .user-examples-note {
  color: var(--muted);
}

.saas-theme .cinema-scene .user-example-comparison-note {
  border-color: var(--line);
}

.saas-theme .cinema-scene .user-example-intro .text-link {
  color: var(--ink);
}

.saas-theme .cinema-scene .user-example-compare-arrow {
  border-color: #b9d4d5;
  background: var(--surface-raised);
  color: var(--teal);
}

.saas-theme .cinema-scene .video-frame--original {
  border-color: #cbd5da;
  background: #e9eef0;
  color: var(--ink);
}

.saas-theme .cinema-scene .video-frame--optimized {
  border-color: #b9d4d5;
  background: #e6f1f1;
  color: var(--ink);
}

.saas-theme .cinema-scene .video-frame--optimized::after {
  background: var(--teal);
  box-shadow: -60px 0 0 #83b9ba, -105px 0 0 #b9d4d5;
}

.saas-theme .cinema-scene .film-workflow {
  border-color: var(--line);
}

.saas-theme .cinema-scene .film-step,
.saas-theme .cinema-scene .film-step:last-child {
  border-color: var(--line);
}

.saas-theme .cinema-scene .film-step > span {
  color: var(--accent-strong);
}

.saas-theme .cinema-scene .film-step > svg {
  color: var(--teal);
}

.saas-theme .cinema-scene .price-section {
  border-color: var(--line);
}

.saas-theme .cinema-scene .price-list article {
  border-color: var(--teal);
}

.saas-theme .cinema-scene .price-value {
  color: var(--ink);
}

.saas-theme .cinema-scene .price-list p,
.saas-theme .cinema-scene .price-list > .fine {
  color: var(--muted);
}

.saas-theme .cinema-scene .final-cta {
  margin-block: 64px;
  border: 1px solid #d2e0e2;
  border-radius: 8px;
  background: #e6f1f1;
  color: var(--ink);
}

.saas-theme .cinema-scene .final-cta h2 {
  color: var(--ink);
}

.saas-theme .cinema-scene .final-cta h2 em {
  color: var(--teal);
}

.saas-theme .cinema-scene .final-cta p {
  color: #4d5f67;
}

/* Product, pricing, download, resources, and policy pages. */
.saas-theme .page-hero {
  padding: 74px 0 54px;
}

.saas-theme .page-hero h1 {
  color: var(--ink);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.03;
}

.saas-theme .page-hero h1 em,
.saas-theme .download-layout h1 em {
  color: var(--teal);
}

.saas-theme .page-hero > p,
.saas-theme .download-layout > div > p {
  font-size: 16px;
  line-height: 1.65;
}

.saas-theme .example-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.saas-theme .example-label {
  border-color: var(--line);
  color: var(--ink);
}

.saas-theme .example-stage {
  background: #dceeed;
}

.saas-theme .example-result .example-stage {
  background: #153e43;
}

.saas-theme .example-tracks {
  background: #153e43;
}

.saas-theme .example-tracks span {
  background: #b9d4d5;
  color: #153e43;
}

.saas-theme .example-tracks span + span {
  background: #a8d5d4;
  color: #153e43;
}

.saas-theme .example-subtitle {
  background: rgba(23, 33, 41, 0.88);
}

.saas-theme .table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  background: var(--surface-raised);
}

.saas-theme th {
  background: var(--surface-soft);
  color: var(--ink);
}

.saas-theme td,
.saas-theme th {
  border-color: var(--line);
}

.saas-theme .download-layout {
  padding: 74px 0 86px;
}

.saas-theme .download-card {
  background: var(--surface-raised);
}

.saas-theme .download-card .app-icon {
  box-shadow: var(--shadow);
}

.saas-theme .platform-notice {
  border-left-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.saas-theme .remote-download input,
.saas-theme .copy-row input {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.saas-theme .remote-download input:focus,
.saas-theme .copy-row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 106, 112, 0.12);
  outline: 0;
}

.saas-theme .callout,
.saas-theme .prose .policy-status {
  border-left-color: var(--teal);
  background: var(--teal-soft);
  color: var(--muted);
}

.saas-theme .flow-dialog {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(34, 50, 58, 0.2);
}

.saas-theme .dialog-tabs button[aria-selected="true"] {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

/* Keep the older illustration primitives inside the current light system. */
.saas-theme :is(.control-board, .case-output, .timeline-example) {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.saas-theme .control-board {
  background: var(--surface-raised);
  color: var(--ink);
}

.saas-theme .control-board .mini-label,
.saas-theme .control-row,
.saas-theme .feature-caption {
  color: var(--muted);
}

.saas-theme .control-row {
  border-color: var(--line);
}

.saas-theme .control-row .icon,
.saas-theme .control-value {
  color: var(--teal);
}

.saas-theme .mini-wave i {
  background: var(--teal);
}

.saas-theme .case-art {
  border: 1px solid var(--line);
  background: var(--teal-soft);
}

.saas-theme .case-card:nth-child(2) .case-art {
  background: #f7ecd9;
}

.saas-theme .case-card:nth-child(3) .case-art {
  background: #e9eef0;
}

.saas-theme .case-art .case-symbol {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line-strong);
  box-shadow: 9px 10px 0 rgba(23, 106, 112, 0.1);
}

.saas-theme .case-art::before,
.saas-theme .case-art::after {
  border-color: rgba(23, 106, 112, 0.14);
}

.saas-theme .case-art-label {
  color: var(--muted);
}

.saas-theme .timeline-visual {
  background: var(--surface-soft);
}

.saas-theme .timeline-example {
  background: #111312;
  border-color: rgba(255, 255, 255, 0.12);
  color: #eef0eb;
}

.saas-theme .timeline-example .timeline-badge {
  border-color: rgba(215, 181, 109, 0.38);
  color: #e0b576;
}

.saas-theme .timeline-example-track > span,
.saas-theme .timeline-example-ruler,
.saas-theme .timeline-example-foot {
  color: #aab6bc;
}

.saas-theme .track-clips i {
  background: #d7b56d;
  color: #172129;
}

.saas-theme .track-voice {
  background: #287853;
  color: #ffffff;
}

.saas-theme .track-captions i {
  border-color: #82c8c5;
  color: #d4efee;
}

.saas-theme .timeline-example-foot {
  border-color: rgba(255, 255, 255, 0.12);
}

.saas-theme .numbered-list li::before {
  color: var(--accent-strong);
}

.saas-theme .case-output,
.saas-theme .noscript-note {
  background: var(--surface-soft);
  color: var(--ink);
}

.saas-theme .flow-dialog {
  border-radius: var(--radius-card);
}

.saas-theme .dialog-tabs button {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.saas-theme .dialog-illustration {
  background: var(--surface-soft);
}

.saas-theme :is(.page-hero h1, .download-layout h1, .feature-copy h2, .usecase-detail h2, .prose h2, .dialog-step h3, .price, .case-output blockquote) {
  letter-spacing: 0;
}

.saas-theme .cinema-scene .cinema-set::after {
  display: none;
}

.saas-theme .cinema-scene .editor-window {
  border-radius: var(--radius-card);
}

.saas-theme .cinema-scene .video-frame::before {
  display: none;
  background: none;
}

@media (max-width: 1100px) {
  .saas-theme .container,
  .saas-theme .cinema-scene .wrap {
    width: calc(100% - 56px);
  }

  .saas-theme .cinema-scene .cinema-hero {
    gap: 34px;
  }
}

@media (max-width: 850px) {
  .saas-theme .header-inner {
    min-height: 62px;
    height: 62px;
  }

  .saas-theme .container,
  .saas-theme .cinema-scene .wrap {
    width: calc(100% - 40px);
  }
}

@media (max-width: 800px) {
  .saas-theme .cinema-scene .cinema-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 64px;
  }

  .saas-theme .cinema-scene .cinema-copy {
    max-width: 650px;
  }

  .saas-theme .cinema-scene .cinema-set {
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
    padding: 34px 0 10px;
  }

  .saas-theme .cinema-scene .cinema-set::before {
    inset: 0;
  }

  .saas-theme .cinema-scene .cinema-set::after {
    inset: 5% 7%;
  }

  .saas-theme .cinema-scene .demo-stage {
    min-height: 320px;
    padding-inline: 45px;
  }

  .saas-theme .cinema-scene .film-workflow {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 600px) {
  .saas-theme .main-nav a,
  .saas-theme .header-actions .btn,
  .saas-theme .cinema-scene .button {
    min-height: 44px;
  }

  .saas-theme .cinema-scene .cinema-hero {
    padding-block: 44px 42px;
  }

  .saas-theme .cinema-scene .cinema-copy h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .saas-theme .cinema-scene .cinema-copy > p {
    font-size: 15px;
  }

  .saas-theme .cinema-scene .cinema-set {
    width: calc(100% - 8px);
    padding-top: 30px;
  }

  .saas-theme .cinema-scene .demo-stage {
    min-height: 250px;
    padding: 22px 14px 35px;
  }

  .saas-theme .cinema-scene .final-cta {
    margin-block: 40px;
  }
}

/* Hero result showcase: make the finished demo the primary proof point. */
.saas-theme .cinema-scene .cinema-set--legacy {
  display: none;
}

.saas-theme .cinema-scene .cinema-set--result {
  min-width: 0;
  padding: 0;
}

.saas-theme .cinema-scene .cinema-set--result::before {
  inset: -16px -18px -10px;
  border: 1px solid #cfe2e3;
  border-radius: 12px;
  background: #e6f1f1;
}

.saas-theme .cinema-scene .result-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.saas-theme .cinema-scene .result-note span:last-child {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.saas-theme .cinema-scene .result-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #cbd5da;
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.saas-theme .cinema-scene .result-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.saas-theme .cinema-scene .result-toolbar .window-dots {
  flex: none;
}

.saas-theme .cinema-scene .result-window-title {
  min-width: 0;
  overflow: hidden;
  margin-right: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-theme .cinema-scene .result-window-title span {
  color: var(--faint);
}

.saas-theme .cinema-scene .result-status {
  flex: none;
  padding: 5px 8px;
  border: 1px solid #b9d4d5;
  border-radius: 5px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
}

.saas-theme .cinema-scene .result-view {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 18px;
  padding: 18px;
}

.saas-theme .cinema-scene .result-media {
  min-width: 0;
}

.saas-theme .cinema-scene .result-media[hidden] {
  display: none;
}

.saas-theme .cinema-scene .result-media-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.saas-theme .cinema-scene .result-media-heading small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.saas-theme .cinema-scene .result-poster {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  align-items: center;
  border: 1px solid #cbd5da;
  border-radius: 6px;
}

.saas-theme .cinema-scene .result-poster--output {
  background: #d7e9e8;
}

.saas-theme .cinema-scene .result-poster--source {
  background: #edf1f3;
}

.saas-theme .cinema-scene .result-poster-window {
  width: 78%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #cbd5da;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(34, 50, 58, 0.14);
}

.saas-theme .cinema-scene .result-poster-windowbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.saas-theme .cinema-scene .result-poster-content {
  min-height: 146px;
  padding: 24px 25px 20px;
  background: #ffffff;
}

.saas-theme .cinema-scene .result-poster-kicker {
  display: block;
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.saas-theme .cinema-scene .result-poster-content strong {
  display: block;
  max-width: 10ch;
  margin-top: 8px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.saas-theme .cinema-scene .result-poster-content p {
  max-width: 33ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.saas-theme .cinema-scene .result-poster-rail {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 8px;
}

.saas-theme .cinema-scene .result-poster-rail i {
  display: block;
  width: 34px;
  height: 3px;
  background: #83b9b9;
}

.saas-theme .cinema-scene .result-poster-play {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(23, 106, 112, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
}

.saas-theme .cinema-scene .result-poster-play .icon {
  width: 13px;
  height: 13px;
}

.saas-theme .cinema-scene .result-poster-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.saas-theme .cinema-scene .source-placeholder {
  display: grid;
  width: min(260px, 72%);
  justify-items: center;
  gap: 10px;
  margin: auto;
  padding: 24px 20px;
  border: 1px dashed #b9c6cb;
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

.saas-theme .cinema-scene .source-placeholder .icon {
  width: 27px;
  height: 27px;
  color: var(--teal);
}

.saas-theme .cinema-scene .source-placeholder strong {
  color: var(--ink);
  font-size: 15px;
}

.saas-theme .cinema-scene .source-placeholder span {
  font-size: 10px;
}

.saas-theme .cinema-scene .result-summary {
  align-self: stretch;
  padding: 29px 0 5px 2px;
}

.saas-theme .cinema-scene .result-summary-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas-theme .cinema-scene .result-summary > strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.saas-theme .cinema-scene .result-summary > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.saas-theme .cinema-scene .result-summary ul {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.saas-theme .cinema-scene .result-summary li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.saas-theme .cinema-scene .result-summary li .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--teal);
}

.saas-theme .cinema-scene .result-journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.saas-theme .cinema-scene .result-journey-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.saas-theme .cinema-scene .result-journey-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border: 1px solid #b9d4d5;
  border-radius: 5px;
  background: #ffffff;
  color: var(--teal);
}

.saas-theme .cinema-scene .result-journey-icon--source {
  border-color: var(--line-strong);
  color: var(--muted);
}

.saas-theme .cinema-scene .result-journey-icon .icon {
  width: 14px;
  height: 14px;
}

.saas-theme .cinema-scene .result-journey-item small,
.saas-theme .cinema-scene .result-journey-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-theme .cinema-scene .result-journey-item small {
  color: var(--muted);
  font-size: 9px;
}

.saas-theme .cinema-scene .result-journey-item strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 11px;
}

.saas-theme .cinema-scene .result-journey-arrow {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.saas-theme .cinema-scene .result-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
}

.saas-theme .cinema-scene .result-tabs button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.saas-theme .cinema-scene .result-tabs button[aria-selected="true"] {
  border-color: #b9d4d5;
  background: var(--teal-soft);
  color: var(--teal);
}

.saas-theme .cinema-scene .result-tabs button .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 800px) {
  .saas-theme .cinema-scene .result-view {
    grid-template-columns: 1fr;
  }

  .saas-theme .cinema-scene .result-summary {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
  }

  .saas-theme .cinema-scene .result-summary ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .saas-theme .cinema-scene .cinema-set--result::before {
    inset: 0;
  }

  .saas-theme .cinema-scene .result-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
  }

  .saas-theme .cinema-scene .result-toolbar {
    min-height: 40px;
    padding-inline: 12px;
  }

  .saas-theme .cinema-scene .result-status {
    padding: 4px 6px;
    font-size: 8px;
  }

  .saas-theme .cinema-scene .result-view {
    padding: 12px;
  }

  .saas-theme .cinema-scene .result-poster-content {
    min-height: 126px;
    padding: 18px 18px 16px;
  }

  .saas-theme .cinema-scene .result-poster-content strong {
    font-size: 23px;
  }

  .saas-theme .cinema-scene .result-poster-content p {
    font-size: 9px;
  }

  .saas-theme .cinema-scene .result-poster-play {
    left: 10px;
    bottom: 10px;
  }

  .saas-theme .cinema-scene .result-poster-note {
    right: 9px;
    bottom: 9px;
    max-width: 125px;
    font-size: 8px;
  }

  .saas-theme .cinema-scene .result-summary ul {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .saas-theme .cinema-scene .result-journey {
    gap: 7px;
    padding-inline: 12px;
  }

  .saas-theme .cinema-scene .result-journey-arrow {
    width: 14px;
    height: 14px;
  }

  .saas-theme .cinema-scene .result-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px 12px;
  }

  .saas-theme .cinema-scene .result-tabs button {
    justify-content: center;
    padding-inline: 7px;
    font-size: 10px;
  }
}

/* Product page refresh: outcome-led presentation with explicit review points. */
.saas-theme .product-page {
  overflow: hidden;
  background: var(--paper);
}

.saas-theme .product-anchor {
  display: block;
  position: relative;
  top: -86px;
  height: 0;
  visibility: hidden;
}

.saas-theme .product-page .product-hero {
  padding: 76px 0 66px;
  background: linear-gradient(135deg, #f5f7f8 0%, #edf4f3 100%);
}

.saas-theme .product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(42px, 6vw, 94px);
  align-items: center;
}

.saas-theme .product-hero-copy {
  max-width: 560px;
}

.saas-theme .product-hero-copy .eyebrow,
.saas-theme .product-control-copy .eyebrow {
  color: var(--accent);
}

.saas-theme .product-hero-copy h1 {
  max-width: 620px;
  margin-top: 17px;
  color: var(--ink);
  font-size: clamp(50px, 5.2vw, 74px);
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.saas-theme .product-hero-copy h1 em,
.saas-theme .product-section-heading h2 em,
.saas-theme .product-control-copy h2 em,
.saas-theme .product-cta h2 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.saas-theme .product-hero-lede {
  max-width: 47ch;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.saas-theme .product-hero-copy .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 31px;
}

.saas-theme .product-hero-copy .btn-text {
  min-height: 44px;
  padding-inline: 7px;
  color: var(--muted);
}

.saas-theme .product-hero-copy .btn-text:hover {
  color: var(--teal);
}

.saas-theme .product-hero-copy .flow-fallback {
  display: none;
}

.saas-theme .product-hero-note {
  margin: 21px 0 0;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.saas-theme .product-hero-proof {
  position: relative;
  min-width: 0;
}

.saas-theme .product-proof-kicker,
.saas-theme .product-proof-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.saas-theme .product-proof-kicker span:last-child,
.saas-theme .product-proof-caption span:last-child {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.saas-theme .product-proof-window {
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid #cbd5da;
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: 0 22px 60px rgba(34, 50, 58, 0.13);
}

.saas-theme .product-proof-bar {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.saas-theme .product-proof-bar > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  margin-right: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-theme .window-dots {
  display: flex;
  gap: 5px;
}

.saas-theme .window-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b2bec3;
}

.saas-theme .product-proof-status {
  flex: none;
  padding: 5px 8px;
  border: 1px solid #b9d4d5;
  border-radius: 5px;
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
}

.saas-theme .product-proof-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(160px, 0.45fr);
  gap: 15px;
  padding: 17px;
  background: #dceeed;
}

.saas-theme .product-proof-video {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 276px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid #b9d4d5;
  border-radius: 7px;
  background: #f8fbfb;
  box-shadow: 0 12px 25px rgba(34, 50, 58, 0.11);
}

.saas-theme .product-proof-video-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #dfe5e8;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.saas-theme .product-proof-video-copy {
  padding: 22px 22px 52px;
}

.saas-theme .product-proof-video-copy small {
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.saas-theme .product-proof-video-copy strong {
  display: block;
  max-width: 8ch;
  margin-top: 11px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.saas-theme .product-proof-video-copy p {
  max-width: 31ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.saas-theme .product-proof-play {
  position: absolute;
  bottom: 17px;
  left: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.saas-theme .product-proof-play .icon {
  width: 15px;
  height: 15px;
}

.saas-theme .product-proof-placeholder {
  position: absolute;
  right: 13px;
  bottom: 16px;
  color: var(--muted);
  font-size: 9px;
}

.saas-theme .product-proof-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 15px;
  border: 1px solid #cbd5da;
  border-radius: 7px;
  background: var(--surface-raised);
}

.saas-theme .product-proof-side-label {
  color: var(--accent-strong);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saas-theme .product-proof-side strong {
  margin-top: 17px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.saas-theme .product-proof-side p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.saas-theme .product-proof-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
}

.saas-theme .product-proof-check .icon {
  width: 14px;
  height: 14px;
}

.saas-theme .product-proof-timeline {
  padding: 13px 17px 15px;
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
}

.saas-theme .product-proof-ruler {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.saas-theme .product-proof-tracks {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.7fr;
  gap: 4px;
  margin-top: 9px;
}

.saas-theme .product-proof-tracks span {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
}

.saas-theme .product-proof-tracks .track-video { background: #dceeed; color: var(--teal); }
.saas-theme .product-proof-tracks .track-voice { background: #f7ecd9; color: var(--accent-strong); }
.saas-theme .product-proof-tracks .track-subtitles { background: #eef0f7; color: #4b527d; }

.saas-theme .product-proof-caption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.saas-theme .product-proof-caption span:last-child {
  font-size: 10px;
}

.saas-theme .product-proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.saas-theme .product-proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.saas-theme .product-proof-strip-grid > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 13px;
  padding: 23px 30px 25px 0;
}

.saas-theme .product-proof-strip-grid > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.saas-theme .product-proof-strip-number {
  grid-row: span 2;
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.saas-theme .product-proof-strip-grid strong {
  color: var(--ink);
  font-size: 14px;
}

.saas-theme .product-proof-strip-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.saas-theme .product-page .section {
  padding-block: 104px;
}

.saas-theme .product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 55px;
  margin-bottom: 52px;
}

.saas-theme .product-section-heading h2 {
  max-width: 700px;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(39px, 4vw, 58px);
  line-height: 1.04;
}

.saas-theme .product-section-heading > p {
  max-width: 38ch;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.saas-theme .product-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  gap: 23px;
  align-items: center;
}

.saas-theme .product-result-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
}

.saas-theme .product-result-card--output {
  border-color: #b9d4d5;
  box-shadow: var(--shadow);
}

.saas-theme .product-result-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.saas-theme .product-result-card-top small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.saas-theme .product-result-art {
  position: relative;
  display: grid;
  min-height: 224px;
  align-items: center;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 5px;
}

.saas-theme .product-result-art--source { background: #edf1f3; }
.saas-theme .product-result-art--output { background: #dceeed; }

.saas-theme .source-screen,
.saas-theme .output-screen {
  width: 73%;
  margin: auto;
  padding: 23px 19px;
  border: 1px solid #cbd5da;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 11px 22px rgba(34, 50, 58, 0.1);
}

.saas-theme .output-screen { border-color: #b9d4d5; }

.saas-theme .source-screen span,
.saas-theme .output-screen span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.saas-theme .output-screen span { color: var(--teal); }

.saas-theme .source-screen strong,
.saas-theme .output-screen strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
}

.saas-theme .source-screen-lines,
.saas-theme .output-screen-lines {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.saas-theme .source-screen-lines i,
.saas-theme .output-screen-lines i {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: #dfe5e8;
}

.saas-theme .source-screen-lines i:nth-child(1) { width: 82%; }
.saas-theme .source-screen-lines i:nth-child(2) { width: 65%; }
.saas-theme .source-screen-lines i:nth-child(3) { width: 74%; }
.saas-theme .output-screen-lines i { background: #b9d4d5; }
.saas-theme .output-screen-lines i:nth-child(1) { width: 90%; }
.saas-theme .output-screen-lines i:nth-child(2) { width: 53%; }
.saas-theme .output-screen-lines i:nth-child(3) { width: 72%; }

.saas-theme .product-result-art-label {
  position: absolute;
  right: 11px;
  bottom: 10px;
  color: var(--muted);
  font-size: 9px;
}

.saas-theme .product-result-card > p {
  min-height: 46px;
  margin: 14px 0 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.saas-theme .product-result-arrow {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--teal);
}

.saas-theme .product-result-arrow .icon { width: 24px; height: 24px; }
.saas-theme .product-result-arrow span { color: var(--muted); font-size: 9px; text-align: center; }

.saas-theme .product-workflow-section { background: var(--surface-soft); }

.saas-theme .product-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.saas-theme .product-workflow-step {
  position: relative;
  min-height: 265px;
  padding: 20px 22px 25px 0;
}

.saas-theme .product-workflow-step + .product-workflow-step {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.saas-theme .product-workflow-step > span {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.saas-theme .product-workflow-icon,
.saas-theme .product-capability-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #b9d4d5;
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--teal);
}

.saas-theme .product-workflow-icon { margin-top: 27px; }
.saas-theme .product-workflow-icon .icon,
.saas-theme .product-capability-icon .icon { width: 17px; height: 17px; }

.saas-theme .product-workflow-step h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

.saas-theme .product-workflow-step p {
  max-width: 23ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.saas-theme .product-workflow-step--checkpoint::after {
  position: absolute;
  top: -1px;
  right: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.saas-theme .product-workflow-step--checkpoint em {
  display: inline-block;
  margin-top: 17px;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.saas-theme .product-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.saas-theme .product-capability-grid article {
  min-height: 250px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
}

.saas-theme .product-capability-grid article > span {
  display: block;
  margin-top: 23px;
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.saas-theme .product-capability-grid h3 {
  margin-top: 9px;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: 0;
}

.saas-theme .product-capability-grid p {
  max-width: 34ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.saas-theme .product-control-section { background: var(--surface-soft); }

.saas-theme .product-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.saas-theme .product-control-visual { min-width: 0; }

.saas-theme .product-control-card {
  padding: 22px;
  border: 1px solid #cbd5da;
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.saas-theme .product-control-card-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.saas-theme .product-control-edit { color: var(--teal); letter-spacing: 0; }

.saas-theme .product-control-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.saas-theme .product-control-line > span {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.saas-theme .product-control-line p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.saas-theme .product-control-approved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.saas-theme .product-control-approved .icon { width: 15px; height: 15px; }

.saas-theme .product-control-tag {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.saas-theme .product-control-copy h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.03;
}

.saas-theme .product-control-copy p {
  max-width: 43ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.saas-theme .product-control-copy .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.saas-theme .product-control-copy .text-link .icon { width: 17px; height: 17px; }

.saas-theme .product-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.saas-theme .product-fit-grid article {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
}

.saas-theme .product-fit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.saas-theme .product-fit-label--muted { color: var(--muted); }
.saas-theme .product-fit-label .icon { width: 16px; height: 16px; }

.saas-theme .product-fit-grid ul {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.saas-theme .product-fit-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.saas-theme .product-fit-grid li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.saas-theme .product-fit-grid article:nth-child(2) li::before { background: var(--line-strong); }

.saas-theme .product-page .product-cta { margin-block: 0 80px; }

@media (max-width: 1000px) {
  .saas-theme .product-hero-grid { gap: 42px; }
  .saas-theme .product-proof-canvas { grid-template-columns: minmax(0, 1fr); }
  .saas-theme .product-proof-side { min-height: 0; }
  .saas-theme .product-proof-side strong { margin-top: 10px; }
  .saas-theme .product-proof-check { margin-top: 17px; }
  .saas-theme .product-section-heading { gap: 35px; }
}

@media (max-width: 800px) {
  .saas-theme .product-page .product-hero { padding-block: 58px 55px; }
  .saas-theme .product-hero-grid,
  .saas-theme .product-control-grid { grid-template-columns: 1fr; }
  .saas-theme .product-hero-copy { max-width: 680px; }
  .saas-theme .product-hero-proof { max-width: 760px; }
  .saas-theme .product-page .section { padding-block: 78px; }
  .saas-theme .product-section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 37px; }
  .saas-theme .product-section-heading > p { max-width: 55ch; }
  .saas-theme .product-result-grid { grid-template-columns: 1fr; gap: 18px; }
  .saas-theme .product-result-arrow { transform: rotate(90deg); }
  .saas-theme .product-result-card > p { min-height: 0; }
  .saas-theme .product-workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .saas-theme .product-workflow-step { min-height: 230px; }
  .saas-theme .product-workflow-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .saas-theme .product-workflow-step:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
  .saas-theme .product-capability-grid { grid-template-columns: 1fr; }
  .saas-theme .product-capability-grid article { min-height: 0; }
  .saas-theme .product-control-grid { gap: 45px; }
  .saas-theme .product-fit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .saas-theme .product-page .product-hero { padding-block: 45px 43px; }
  .saas-theme .product-hero-copy h1 { font-size: clamp(44px, 12vw, 60px); }
  .saas-theme .product-hero-lede { font-size: 15px; }
  .saas-theme .product-proof-kicker,
  .saas-theme .product-proof-caption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .saas-theme .product-proof-kicker span:last-child,
  .saas-theme .product-proof-caption span:last-child { text-align: left; }
  .saas-theme .product-proof-canvas { padding: 11px; }
  .saas-theme .product-proof-video { min-height: 250px; }
  .saas-theme .product-proof-video-copy { padding: 20px 18px 49px; }
  .saas-theme .product-proof-video-copy strong { font-size: 30px; }
  .saas-theme .product-proof-placeholder { max-width: 120px; text-align: right; }
  .saas-theme .product-proof-timeline { padding-inline: 11px; }
  .saas-theme .product-proof-strip-grid { grid-template-columns: 1fr; }
  .saas-theme .product-proof-strip-grid > div,
  .saas-theme .product-proof-strip-grid > div + div { padding: 17px 0; border-left: 0; }
  .saas-theme .product-proof-strip-grid > div + div { border-top: 1px solid var(--line); }
  .saas-theme .product-page .section { padding-block: 63px; }
  .saas-theme .product-section-heading h2 { font-size: 40px; }
  .saas-theme .product-result-card { padding: 12px; }
  .saas-theme .product-result-art { min-height: 195px; }
  .saas-theme .product-workflow-grid { grid-template-columns: 1fr; }
  .saas-theme .product-workflow-step,
  .saas-theme .product-workflow-step + .product-workflow-step { min-height: 0; padding: 22px 0; border-left: 0; }
  .saas-theme .product-workflow-step + .product-workflow-step { border-top: 1px solid var(--line-strong); }
  .saas-theme .product-workflow-icon { margin-top: 20px; }
  .saas-theme .product-control-card { padding: 17px; }
  .saas-theme .product-control-line p { font-size: 13px; }
  .saas-theme .product-page .product-cta { margin-bottom: 45px; }
}
