:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #102033;
  --muted: #5d6b7d;
  --soft: #f5f8fb;
  --soft-2: #eef7f5;
  --line: #dfe8f0;
  --teal: #078f83;
  --teal-dark: #05746b;
  --blue: #1267d6;
  --amber: #e98d25;
  --danger: #c92a2a;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.back-to-top {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 0;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 16px 34px rgba(18, 103, 214, 0.24);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  width: 46px;
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 18px 42px rgba(7, 143, 131, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav,
.section,
.footer-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 120px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.language-switcher {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
}

.language-switcher a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  min-width: 42px;
  padding: 0.55rem 0.6rem;
  text-align: center;
  text-decoration: none;
}

.language-switcher a.active {
  background: #fff;
  box-shadow: 0 1px 5px rgba(16, 32, 51, 0.1);
  color: var(--blue);
}

.nav-cta,
.btn {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
}

.nav-cta,
.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--blue);
}

.btn-strong {
  background: #eaf3ff;
  border-color: rgba(18, 103, 214, 0.42);
  box-shadow: 0 10px 24px rgba(18, 103, 214, 0.12);
  color: #0d55b3;
}

.btn-subtle {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}

.btn-linklike {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-inline: 0.25rem;
}

.btn-linklike:hover {
  color: var(--blue);
}

.menu-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: none;
  font-weight: 750;
  margin-left: auto;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
}

.hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  padding: 52px 0 50px;
}

.hero h1 {
  font-size: clamp(2.15rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 720px;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.language-note {
  background: var(--soft-2);
  border-left: 4px solid var(--teal);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 0;
  max-width: 680px;
  padding: 0.7rem 0.9rem;
}

.workflow-badge {
  background: #fff7ed;
  border: 1px solid #f3d2ad;
  border-radius: 999px;
  color: #8a4b09;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 850;
  margin: 0.45rem 0 0;
  padding: 0.42rem 0.72rem;
}

.trust-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.trust-list li,
.check-item {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.check {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.hero-visual,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  align-self: start;
  padding: 1.1rem;
}

.comparison {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
}

.doc-card {
  background: linear-gradient(180deg, #fff, #f8fbfd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.doc-label {
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 850;
  text-transform: uppercase;
}

.doc-title {
  font-size: 1.35rem;
  font-weight: 850;
  margin: 0.35rem 0 1rem;
}

.fake-lines span {
  background: #dce5ed;
  border-radius: 999px;
  display: block;
  height: 8px;
  margin: 0.65rem 0;
}

.fake-lines span:nth-child(2n) {
  width: 78%;
}

.fake-lines span:nth-child(3n) {
  width: 62%;
}

.swap {
  align-self: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  line-height: 46px;
  width: 46px;
}

.hero-proof {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin-top: 1.1rem;
  padding-top: 1rem;
}

.hero-proof li {
  list-style: none;
}

.section {
  padding: 60px 0;
}

.section.alt {
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

/* ── Live Demo shared notice bar ────────────────────────────── */
.live-demo-notice {
  padding: 28px 0 0;
}

.live-demo-notice > div {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
}

.live-demo-notice > div > span {
  color: #7a4b08;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-demo-notice > div > p {
  color: var(--muted);
  flex: 1;
  margin: 0;
  text-align: right;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}

.section-heading h2,
.page-hero h1,
.detail h1 {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.section-heading p {
  color: var(--muted);
  margin: 0.45rem 0 0;
  max-width: 680px;
}

.section-heading .section-note {
  color: #6e7b8b;
  font-size: 0.92rem;
  margin-top: 0.65rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services {
  display: grid;
  gap: 1.25rem;
}

.home-service-grid-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-service-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: center;
  max-width: 820px;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff),
    radial-gradient(circle at 18% 0%, rgba(49, 184, 170, 0.12), transparent 34%);
  padding: 1.35rem;
}

.service-card-secondary {
  background: linear-gradient(180deg, #fff, #f9fbfd);
  padding: 1.15rem;
}

.service-card h3 {
  font-size: 1.18rem;
}

.service-card-secondary h3 {
  font-size: 1.08rem;
}

.service-card p {
  margin-bottom: 0;
}

.service-card ul {
  margin-bottom: 1.1rem;
}

.service-card .card-actions {
  margin-top: auto;
  padding-top: 0.2rem;
}

.services-hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  padding-top: 72px;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.services-hero-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0.9rem 0 0;
  max-width: 670px;
}

.services-hero-copy .services-hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  font-weight: 750;
  line-height: 1.28;
  margin-top: 1rem;
}

.services-hero-panel {
  background:
    radial-gradient(circle at 18% 12%, rgba(7, 143, 131, 0.12), transparent 34%),
    linear-gradient(145deg, #ffffff, #f6f9fc);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.services-flow-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
}

.services-flow-card-main {
  min-height: 150px;
}

.services-flow-card strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.services-flow-card span:not(.icon) {
  color: var(--muted);
  font-size: 0.92rem;
}

.services-flow-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-flow-footer {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-flow-footer span {
  background: #eef7f5;
  border: 1px solid #c8e9e4;
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.7rem 0.8rem;
  text-align: center;
}

.services-map-section {
  padding-top: 28px;
}

.services-map {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem;
}

.services-map h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
  min-width: max-content;
}

.services-map-links {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}

.services-map-links a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  color: #334456;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.5rem;
  padding: 0.48rem 0.65rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.services-map-links a:hover {
  border-color: #b8c9d9;
  color: var(--blue);
  transform: translateY(-1px);
}

.services-map-links .icon {
  border-radius: 7px;
  height: 28px;
  width: 28px;
}

.services-map-links .icon svg {
  height: 15px;
  width: 15px;
}

.services-detail-grid {
  display: grid;
  gap: 1rem;
}

.services-detail-grid-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-detail-grid-support {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 900px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  scroll-margin-top: 100px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.service-detail-card:hover {
  border-color: #b8c9d9;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
  transform: translateY(-2px);
}

.service-detail-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), #fff),
    radial-gradient(circle at 18% 0%, rgba(49, 184, 170, 0.1), transparent 36%);
  padding: 1.35rem;
}

.service-detail-card-support {
  background: linear-gradient(180deg, #fff, #f9fbfd);
}

.service-detail-top {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
}

.service-detail-top h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0.08rem 0 0;
}

.service-detail-card > p {
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.service-best-for {
  background: #f8fbfd;
  border: 1px solid #e1eaf1;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
}

.service-best-for strong {
  color: var(--ink);
}

.service-detail-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.service-detail-card li {
  color: #516174;
  margin-top: 0.28rem;
}

.service-related {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.service-related span {
  color: #6b7787;
  flex-basis: 100%;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-related a {
  background: #eef7f5;
  border: 1px solid #c8e9e4;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.33rem 0.55rem;
  text-decoration: none;
}

.service-detail-card .card-actions {
  margin-top: auto;
  padding-top: 1.1rem;
}

.service-choice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-choice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.service-choice-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.service-choice-card p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.service-choice-card strong {
  color: var(--ink);
}

.service-quote-guide {
  align-items: start;
  background:
    linear-gradient(90deg, #f8fbfd, #fff),
    radial-gradient(circle at 100% 0%, rgba(18, 103, 214, 0.09), transparent 30%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  padding: 1.35rem;
}

.service-quote-guide h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 0;
}

.service-quote-guide p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.service-send-list {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-send-list li {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e1eaf1;
  border-radius: var(--radius);
  color: #516174;
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem;
}

.services-final-cta .hero-actions {
  flex: 0 0 auto;
  margin: 0;
}

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

.portfolio-notice {
  align-items: flex-start;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #506173;
  display: flex;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.55;
  margin: -1.35rem 0 1.35rem;
  max-width: 920px;
  padding: 0.85rem 1rem;
}

.portfolio-notice::before {
  align-items: center;
  background: #e8f6f4;
  border: 1px solid #c8e9e4;
  border-radius: 50%;
  color: var(--teal-dark);
  content: "i";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  height: 1.35rem;
  justify-content: center;
  margin: 0.08rem 0.65rem 0 0;
  width: 1.35rem;
}

.portfolio-featured-block {
  margin-top: 1.7rem;
}

.portfolio-categories {
  display: grid;
  gap: 2.35rem;
  margin-top: 2.55rem;
}

.portfolio-category {
  position: relative;
}

.portfolio-category::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 1rem;
  width: 56px;
}

.portfolio-category-digital::before {
  background: #247ba0;
}

.portfolio-category-document::before {
  background: #1b9a8f;
}

.portfolio-category-creator::before {
  background: #5f57b8;
}

.portfolio-category-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  max-width: 820px;
}

.portfolio-category-heading h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

.portfolio-category-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.45rem 0 0;
}

.portfolio-featured-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.portfolio-featured-grid {
  margin-top: 0.2rem;
}

.portfolio-category-document .portfolio-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.format-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.format-grid .format-card {
  grid-column: span 3;
}

.format-grid .format-card:nth-last-child(-n + 3) {
  grid-column: span 4;
}

.format-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  overflow: hidden;
}

.format-card h3 {
  font-size: 1.12rem;
  margin: 0 0 1rem;
}

.format-icon-grid {
  align-content: flex-start;
  display: grid;
  gap: 0.62rem;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  min-height: 116px;
}

.file-type-icon {
  align-items: center;
  color: #65757d;
  display: flex;
  height: 56px;
  justify-content: center;
  position: relative;
  width: 46px;
}

.file-type-icon svg {
  height: 54px;
  overflow: visible;
  width: 44px;
}

.file-type-icon__page {
  fill: color-mix(in srgb, currentColor 8%, #fff);
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.file-type-icon__fold,
.file-type-icon__line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.file-type-icon__fold {
  fill: color-mix(in srgb, currentColor 16%, #fff);
}

.file-type-icon__label {
  bottom: 8px;
  color: currentColor;
  font-size: 0.52rem;
  font-weight: 900;
  left: 3px;
  letter-spacing: 0;
  line-height: 1;
  max-width: 40px;
  overflow: hidden;
  position: absolute;
  right: 3px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-type-icon--red { color: #c83c45; }
.file-type-icon--blue { color: #2f67ad; }
.file-type-icon--green { color: #247749; }
.file-type-icon--dark { color: #253f4a; }
.file-type-icon--orange { color: #b45b1c; }
.file-type-icon--amber { color: #917018; }
.file-type-icon--teal { color: #16766d; }
.file-type-icon--indigo { color: #4b59a9; }
.file-type-icon--violet { color: #7650a8; }
.file-type-icon--purple { color: #6c4aa3; }
.file-type-icon--cyan { color: #197b91; }
.file-type-icon--gold { color: #ad7016; }
.file-type-icon--slate { color: #536a75; }
.file-type-icon--neutral { color: #65757d; }

.format-icon-grid--content {
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-type-icon {
  align-items: center;
  background: #f7fafb;
  border: 1px solid #dfe7ea;
  border-radius: 6px;
  display: flex;
  gap: 0.48rem;
  min-height: 50px;
  min-width: 0;
  padding: 0.45rem;
}

.content-type-icon__mark {
  align-items: center;
  background: #eaf5f3;
  border-radius: 5px;
  color: #166e65;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.7rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
}

.content-type-icon__eyebrow,
.content-type-icon__label {
  display: block;
  line-height: 1.15;
}

.content-type-icon__eyebrow {
  color: #7a8a91;
  font-size: 0.48rem;
  font-weight: 850;
}

.content-type-icon__label {
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 750;
  margin-top: 0.12rem;
}
.format-description {
  font-size: 0.91rem;
  line-height: 1.55;
  margin: 1rem 0;
}

.format-list {
  border-top: 1px solid #e6ecee;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: auto 0 0;
  padding-top: 0.78rem;
}

.format-source-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.55rem 0 0;
}

.format-page-intro {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 0.35rem;
  max-width: 760px;
}

.format-page-intro + .format-source-note {
  margin-bottom: 1.35rem;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0.6rem 0 0.4rem;
}

.card p,
.card li,
.small,
.detail-meta {
  color: var(--muted);
}

.problem-card {
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.problem-card h3 {
  margin-top: 0;
}

.icon {
  align-items: center;
  background: var(--soft-2);
  border: 1px solid #c8e9e4;
  border-radius: var(--radius);
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.card-icon {
  flex: 0 0 auto;
}

.card-icon svg {
  height: 21px;
  width: 21px;
}

.service-grid .card:hover,
.home-service-grid .service-card:hover,
.portfolio-card:hover {
  border-color: #b8c9d9;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
  transform: translateY(-2px);
}

.service-grid .card:hover .card-icon,
.home-service-grid .service-card:hover .card-icon,
.portfolio-card:hover .card-icon {
  background: #e7f0fb;
  border-color: #bcd5f4;
  color: var(--blue);
}

.service-grid .card:nth-child(2) .card-icon,
.home-service-grid .service-card:nth-child(2) .card-icon,
.portfolio-grid .portfolio-card:nth-child(7n + 2) .card-icon {
  background: #f2f5ff;
  border-color: #d9e1ff;
  color: #3557b8;
}

.service-grid .card:nth-child(3) .card-icon,
.home-service-grid .service-card:nth-child(3) .card-icon,
.portfolio-grid .portfolio-card:nth-child(7n + 3) .card-icon {
  background: #fff7ed;
  border-color: #f3d2ad;
  color: #9a560d;
}

.service-grid .card:nth-child(4) .card-icon,
.home-service-grid .service-card:nth-child(4) .card-icon,
.portfolio-grid .portfolio-card:nth-child(7n + 4) .card-icon {
  background: #f7f2ff;
  border-color: #ded0f4;
  color: #6d3eb2;
}

.card ul,
.clean-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
}

.portfolio-card-featured {
  background: linear-gradient(180deg, #fff, #f6fbfb);
  border-color: #cfe4e1;
  padding: 1.45rem;
}

.portfolio-card-featured h3 {
  font-size: 1.22rem;
}

.card-kicker {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-start;
  margin-bottom: 0.6rem;
}

.sample-label {
  background: #fff7ed;
  border: 1px solid #f3d2ad;
  border-radius: var(--radius);
  color: #8a4b09;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  padding: 0.35rem 0.55rem;
}

.tag {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portfolio-card > p:not(.tag) {
  margin-bottom: 1.1rem;
}

.portfolio-card-action {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  margin-top: auto;
  padding-top: 0.3rem;
}

.portfolio-card-action::after {
  content: "\2192";
  font-size: 0.95rem;
  margin-left: 0.45rem;
  transition: transform 160ms ease;
}

.portfolio-card:hover .portfolio-card-action::after {
  transform: translateX(3px);
}

.portfolio-card-saas .card-icon,
.portfolio-card-app .card-icon {
  background: #e7f6f7;
  border-color: #c6e7eb;
  color: #16768a;
}

.portfolio-card-game .card-icon {
  background: #fff4e6;
  border-color: #f1c892;
  color: #a45a0c;
}

.portfolio-card-ocr .card-icon,
.portfolio-card-pdfword .card-icon,
.portfolio-card-aireview .card-icon,
.portfolio-card-ebook .card-icon {
  background: #ecf9f1;
  border-color: #ccebd7;
  color: #207f58;
}

.portfolio-card-youtube .card-icon,
.portfolio-card-subtitles .card-icon,
.portfolio-card-ecommerce .card-icon,
.portfolio-card-email .card-icon,
.portfolio-card-cv .card-icon,
.portfolio-card-glossary .card-icon {
  background: #f4f2ff;
  border-color: #ddd8fb;
  color: #5c4bb0;
}

.process-heading {
  margin-bottom: 1.25rem;
}

.process-heading .process-intro {
  color: #34485d;
  font-weight: 750;
  margin-top: 0.75rem;
  max-width: 760px;
}

.process-showcase {
  display: grid;
  gap: 1rem;
}

.process-timeline {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}

.process-timeline::before {
  background: linear-gradient(90deg, rgba(18, 103, 214, 0.16), rgba(7, 143, 131, 0.2));
  content: "";
  height: 2px;
  left: 5%;
  position: absolute;
  right: 5%;
  top: 34px;
}

.process-step {
  background: linear-gradient(180deg, #fff, #f9fcfe);
  border: 1px solid #dce8f1;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 0.95rem;
  position: relative;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.process-step:hover {
  border-color: #b9d4ed;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.09);
  transform: translateY(-2px);
}

.process-step-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.process-step-number {
  color: rgba(16, 32, 51, 0.38);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.process-step-icon {
  background: #e7f6f7;
  border-color: #c8e9e4;
  color: var(--teal-dark);
  height: 44px;
  width: 44px;
}

.process-step-icon svg {
  height: 21px;
  width: 21px;
}

.process-step h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}

.process-step p {
  color: #596779;
  font-size: 0.92rem;
  line-height: 1.48;
  margin: 0.5rem 0 0.9rem;
}

.process-output {
  align-self: flex-start;
  background: #eef7f5;
  border: 1px solid #c8e9e4;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  margin-top: auto;
  padding: 0.38rem 0.55rem;
}

.process-companion {
  background:
    linear-gradient(135deg, #f8fbfd, #fff),
    radial-gradient(circle at 14% 0%, rgba(7, 143, 131, 0.1), transparent 32%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.9rem;
}

.process-companion-card {
  background: #fff;
  border: 1px solid #e0eaf2;
  border-radius: var(--radius);
  min-height: 96px;
  padding: 0.85rem;
  position: relative;
}

.process-companion-card span {
  color: var(--blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-companion-card p {
  color: #536273;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0.38rem 1.2rem 0 0;
}

.process-companion-card b {
  align-items: center;
  background: #e7f0fb;
  border: 1px solid #c8daf0;
  border-radius: 50%;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.9rem;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  z-index: 1;
}

.process-page-hero {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  padding: 64px 0 34px;
}

.process-page-hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 1rem;
}

.process-page-subtitle {
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.3;
  margin: 0 0 0.9rem;
  max-width: 760px;
}

.process-page-hero-copy > p:not(.process-page-subtitle) {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
}

.process-page-hero-visual {
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 103, 214, 0.16), transparent 32%),
    linear-gradient(145deg, #f8fbfd, #eef7f5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.4rem);
  position: relative;
}

.process-page-hero-visual::before {
  background: linear-gradient(90deg, rgba(18, 103, 214, 0.18), rgba(7, 143, 131, 0.2));
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
}

.process-visual-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce8f1;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.07);
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.process-visual-card span {
  color: var(--blue);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.process-visual-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.process-visual-card-delivery {
  margin-left: clamp(1rem, 5vw, 3rem);
}

.process-visual-track {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.process-visual-track .icon {
  background: #fff;
  border-color: #c8e9e4;
  box-shadow: 0 10px 22px rgba(16, 32, 51, 0.08);
  color: var(--teal-dark);
  height: 48px;
  margin: 0 auto;
  width: 48px;
}

.process-showcase-page {
  gap: 1.15rem;
}

.process-timeline-page {
  gap: 0.85rem;
}

.process-timeline-page .process-step {
  border-color: #d6e5ef;
  min-height: 286px;
  padding: 1rem;
}

.process-timeline-page .process-step p {
  font-size: 0.88rem;
}

.process-path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-path-card {
  background: linear-gradient(180deg, #fff, #f9fcfe);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.05);
  padding: 1rem;
}

.process-path-top {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.process-path-top .icon {
  background: #eef7f5;
  border-color: #c8e9e4;
  color: var(--teal-dark);
  flex: 0 0 auto;
}

.process-path-top h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0;
}

.process-path-card dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.process-path-card dl > div {
  border-top: 1px solid #e5edf4;
  padding-top: 0.7rem;
}

.process-path-card dt {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-path-card dd {
  color: #516173;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.process-ai-section {
  padding-bottom: 70px;
  padding-top: 70px;
}

.process-ai-panel {
  background:
    radial-gradient(circle at 92% 10%, rgba(18, 103, 214, 0.12), transparent 28%),
    linear-gradient(135deg, #fff, #f5f9fc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.process-ai-copy {
  align-items: flex-start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.process-ai-copy .icon {
  background: #e7f0fb;
  border-color: #c8daf0;
  color: var(--blue);
}

.process-ai-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  margin: 0;
}

.process-ai-copy p {
  color: var(--muted);
  grid-column: 2;
  margin: -0.35rem 0 0;
  max-width: 760px;
}

.process-trust-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-trust-grid article {
  background: #fff;
  border: 1px solid #dfe8f0;
  border-radius: var(--radius);
  min-height: 118px;
  padding: 0.9rem;
}

.process-trust-grid p {
  color: #34485d;
  font-weight: 750;
  line-height: 1.4;
  margin: 0.55rem 0 0;
}

.process-ai-disclaimer {
  background: #f8fbfd;
  border: 1px solid #e0eaf2;
  border-radius: var(--radius);
  color: #536273;
  font-size: 0.92rem;
  margin: 0;
  padding: 0.85rem 1rem;
}

.process-receive-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-receive-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.04);
  min-height: 112px;
  padding: 0.9rem;
}

.process-receive-list span {
  color: rgba(18, 103, 214, 0.48);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-receive-list p {
  color: #34485d;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.35rem 0 0;
}

.process-final-cta {
  align-items: center;
  background:
    linear-gradient(135deg, #102033, #173b5a),
    radial-gradient(circle at top right, rgba(7, 143, 131, 0.28), transparent 34%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.process-final-cta h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 0.7rem;
}

.process-final-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 720px;
}

.process-final-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}

.comparison-table,
.sample-table {
  border-collapse: collapse;
  width: 100%;
}

.comparison-table th,
.comparison-table td,
.sample-table th,
.sample-table td {
  border: 1px solid var(--line);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.comparison-table th,
.sample-table th {
  background: var(--soft);
}

.page-hero {
  padding: 60px 0 20px;
}

.detail {
  padding: 60px 0;
}

.detail-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 0.82fr 1.18fr;
}

.sample-landing-hero {
  padding: 64px 0 34px;
}

.sample-landing-hero > div {
  background:
    linear-gradient(135deg, rgba(238, 247, 245, 0.96), rgba(245, 249, 255, 0.92)),
    radial-gradient(circle at top right, rgba(18, 103, 214, 0.16), transparent 34%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 4vw, 3rem);
}

.sample-landing-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0.7rem 0 0.8rem;
  max-width: 820px;
}

.sample-landing-hero p {
  color: var(--muted);
  max-width: 760px;
}

.sample-landing-hero .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.landing-demo-hero {
  padding: 64px 0 28px;
}

.landing-demo-hero > div {
  background:
    linear-gradient(135deg, rgba(245, 248, 251, 0.97), rgba(238, 247, 245, 0.92)),
    radial-gradient(circle at top right, rgba(7, 143, 131, 0.14), transparent 36%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 4vw, 3rem);
}

.landing-demo-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.45rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0.7rem 0 0.8rem;
  max-width: 880px;
}

.landing-demo-hero .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.06rem, 2.1vw, 1.35rem);
  font-weight: 800;
  margin: 0 0 0.55rem;
  max-width: 820px;
}

.landing-demo-hero .demo-note {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.sample-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 0.35rem 0.65rem;
}

.sample-landing-detail {
  padding-top: 20px;
}

.sample-landing-layout {
  align-items: start;
  gap: 1.4rem;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
}

.service-overview {
  position: sticky;
  top: 96px;
}

.service-overview h2 {
  margin-top: 0;
}

.service-overview dl {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

.overview-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.overview-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.overview-item dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.overview-item dd {
  color: var(--ink);
  font-weight: 750;
  margin: 0.12rem 0 0;
}

.sample-demo {
  display: grid;
  gap: 1rem;
}

.sample-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.4vw, 1.45rem);
}

.sample-section h2 {
  margin: 0 0 0.8rem;
}

.sample-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.rich-demo {
  display: grid;
  gap: 1rem;
}

.sample-demo-paths {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sample-demo-path {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.65rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.sample-demo-path.is-strong {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  border-color: rgba(18, 103, 214, 0.28);
}

.sample-demo-path h3,
.sample-demo-path p {
  margin: 0;
}

.sample-demo-path p {
  color: var(--muted);
}

.sample-demo-path .btn {
  justify-self: start;
}

.demo-heading h2,
.toggle-header h3 {
  margin: 0;
}

.demo-heading p {
  margin-top: 0.35rem;
  max-width: 760px;
}

.demo-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-panel,
.cleanup-step,
.toggle-comparison {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.demo-panel,
.cleanup-step {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.demo-panel span,
.cleanup-step span,
.technical-format {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-panel p,
.cleanup-step p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.48;
  margin: 0;
  white-space: pre-line;
}

.demo-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.toggle-comparison {
  padding: 1rem;
}

.toggle-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.toggle-buttons {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
}

.toggle-buttons button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
}

.toggle-buttons button.active {
  background: var(--blue);
  color: #fff;
}

.toggle-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  padding: 1.1rem;
}

.toggle-panel.active {
  display: block;
}

.toggle-panel h4 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.12;
  margin: 0 0 0.55rem;
}

.toggle-panel p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
  max-width: 680px;
}

.cleanup-flow {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.technical-comparison {
  display: grid;
  gap: 0.65rem;
}

.technical-format {
  justify-self: start;
}

.technical-panel pre {
  font-size: 0.86rem;
  margin: 0;
}

.game-demo-table,
.game-demo-block {
  display: grid;
  gap: 0.85rem;
}

.game-demo-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.game-demo-heading h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 0;
}

.demo-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.demo-notes li {
  background: #eef9f7;
  border: 1px solid rgba(7, 143, 131, 0.18);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.6rem;
}

.two-column-demo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-demo-section {
  padding-top: 24px;
}

.landing-demo-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.8vw, 1.6rem);
}

.landing-demo-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.landing-demo-toolbar h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
  margin: 0.15rem 0 0;
}

.landing-demo-list {
  display: grid;
  gap: 1rem;
}

.landing-demo-pair {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.landing-demo-pair-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.landing-demo-pair h3 {
  font-size: 1rem;
  margin: 0;
}

.landing-demo-columns {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-locale-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.8rem;
  padding: clamp(0.9rem, 2vw, 1.2rem);
}

.landing-locale-panel > span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-demo-shell[data-landing-demo-view="en"] .landing-locale-pt,
.landing-demo-shell[data-landing-demo-view="pt"] .landing-locale-en {
  display: none;
}

.landing-demo-shell[data-landing-demo-view="en"] .landing-demo-columns,
.landing-demo-shell[data-landing-demo-view="pt"] .landing-demo-columns {
  grid-template-columns: minmax(0, 1fr);
}

.taskpilot-hero-card {
  border-left: 4px solid var(--blue);
  display: grid;
  gap: 0.55rem;
  padding-left: 1rem;
}

.taskpilot-brand {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  margin: 0;
}

.taskpilot-hero-card h4,
.taskpilot-pricing h4,
.taskpilot-final h4 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.taskpilot-hero-card p,
.taskpilot-pricing p,
.taskpilot-faq p,
.taskpilot-final p {
  color: var(--muted);
  margin: 0;
}

.taskpilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.taskpilot-actions span {
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 0.45rem 0.65rem;
}

.taskpilot-actions span:first-child {
  background: var(--blue);
  color: #fff;
}

.taskpilot-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.taskpilot-list li,
.taskpilot-feature-grid article,
.taskpilot-pricing article,
.taskpilot-faq article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
}

.taskpilot-list li {
  font-weight: 800;
}

.taskpilot-feature-grid,
.taskpilot-pricing > div {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taskpilot-feature-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.taskpilot-feature-grid p,
.taskpilot-pricing strong {
  color: var(--ink);
  font-weight: 850;
  margin: 0.1rem 0 0;
}

.taskpilot-price {
  color: var(--blue);
  display: block;
  font-size: 0.96rem;
  font-weight: 900;
  margin-top: 0.35rem;
}

.taskpilot-pricing {
  display: grid;
  gap: 0.85rem;
}

.taskpilot-pricing > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.taskpilot-faq {
  display: grid;
  gap: 0.7rem;
}

.taskpilot-faq h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.taskpilot-final {
  background: var(--soft-2);
  border: 1px solid rgba(7, 143, 131, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.localization-note {
  background: #fff8ef;
  border: 1px solid rgba(233, 141, 37, 0.28);
  border-radius: var(--radius);
  color: #6f4a14;
  font-size: 0.94rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
}

.comparison-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.comparison-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.comparison-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.comparison-card p {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.42;
  margin: 0;
  white-space: pre-line;
}

.comparison-card small {
  color: var(--muted);
  line-height: 1.45;
}

.comparison-card pre {
  margin: 0;
}

.comparison-card .sample-table {
  background: #fff;
  font-size: 0.9rem;
}

.saas-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(1.8rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  padding-bottom: 42px;
  padding-top: 54px;
}

.saas-live-hero-copy {
  display: grid;
  gap: 1rem;
}

.saas-live-hero-copy h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 5.8vw, 4.7rem);
  letter-spacing: 0;
  line-height: 0.99;
  margin: 0;
  max-width: 850px;
}

.saas-live-hero-copy p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.saas-live-hero-link {
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 850;
  justify-self: start;
  text-decoration: none;
}

.saas-live-hero-link:hover,
.saas-live-hero-link:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.saas-hero-visual {
  background: linear-gradient(145deg, #f9fbff, #edf8f6 48%, #f6f1ff);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 82px rgba(16, 32, 51, 0.14);
  display: grid;
  gap: 1rem;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 1.9rem);
  position: relative;
}

.saas-hero-preview-card {
  align-self: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  box-shadow: 0 22px 64px rgba(16, 32, 51, 0.14);
  display: grid;
  gap: 1.05rem;
  overflow: hidden;
  padding: 1rem;
}

.saas-hero-windowbar {
  align-items: center;
  border-bottom: 1px solid #e6edf2;
  display: flex;
  gap: 0.42rem;
  margin: -1rem -1rem 0;
  padding: 0.85rem 1rem;
}

.saas-hero-windowbar span {
  border-radius: 999px;
  height: 0.62rem;
  width: 0.62rem;
}

.saas-hero-windowbar span:first-child { background: #ff7a59; }
.saas-hero-windowbar span:nth-child(2) { background: #f4c542; }
.saas-hero-windowbar span:nth-child(3) { background: #12b5a6; }

.saas-hero-windowbar strong {
  color: #607089;
  font-size: 0.78rem;
  margin-left: 0.35rem;
}

.saas-hero-preview-nav {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.saas-hero-preview-nav strong {
  color: #07182c;
  font-size: 1rem;
  margin-right: auto;
}

.saas-hero-preview-nav span {
  color: #607089;
  font-size: 0.8rem;
  font-weight: 750;
}

.saas-hero-preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(170px, 0.92fr);
}

.saas-hero-preview-copy {
  background: linear-gradient(135deg, #07182c, #133d66 72%, #0b6363);
  border-radius: 20px;
  color: #fff;
  display: grid;
  gap: 0.72rem;
  min-height: 285px;
  padding: clamp(1.1rem, 2vw, 1.55rem);
}

.saas-hero-preview-copy span {
  color: #7fe2d8;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.saas-hero-preview-copy h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.saas-hero-preview-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.saas-hero-preview-copy b {
  align-self: end;
  background: #12b5a6;
  border-radius: 999px;
  color: #052225;
  display: inline-flex;
  font-size: 0.82rem;
  justify-self: start;
  padding: 0.68rem 0.95rem;
}

.saas-hero-dashboard-card {
  background: #f7fbff;
  border: 1px solid #e4edf4;
  border-radius: 20px;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.saas-hero-dashboard-card > span {
  color: #607089;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.saas-hero-chart {
  align-items: end;
  background: #fff;
  border: 1px solid #e4edf4;
  border-radius: 16px;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: repeat(4, 1fr);
  min-height: 118px;
  padding: 0.65rem;
}

.saas-hero-chart i {
  background: linear-gradient(180deg, #12b5a6, #133d66);
  border-radius: 999px 999px 4px 4px;
  display: block;
  min-height: 34px;
}

.saas-hero-chart i:first-child { height: 48%; }
.saas-hero-chart i:nth-child(2) { height: 72%; }
.saas-hero-chart i:nth-child(3) { height: 58%; }
.saas-hero-chart i:nth-child(4) { height: 86%; }

.saas-hero-dashboard-card ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.saas-hero-dashboard-card li {
  background: #fff;
  border: 1px solid #e4edf4;
  border-radius: 12px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 760;
  padding: 0.58rem 0.68rem;
}

.saas-hero-stat-row,
.saas-hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.saas-hero-stat-row span {
  background: #f8fbfd;
  border: 1px solid #e6edf2;
  border-radius: 16px;
  color: #607089;
  flex: 1 1 150px;
  font-size: 0.82rem;
  padding: 0.8rem;
}

.saas-hero-stat-row strong {
  color: #07182c;
  display: block;
  font-size: 1.15rem;
  line-height: 1.1;
}

.saas-hero-chip-row {
  align-self: end;
  justify-content: center;
}

.saas-hero-chip-row span {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
  color: #133d66;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.58rem 0.8rem;
}
.saas-live-stage {
  padding-top: 22px;
}

.saas-live-switcher {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.75rem;
  position: sticky;
  top: 88px;
  z-index: 6;
  backdrop-filter: blur(14px);
}

.saas-live-switcher > div:first-child {
  display: grid;
  gap: 0.1rem;
}

.saas-live-switcher strong {
  line-height: 1.2;
}

.saas-live-switcher a {
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 850;
  text-decoration: none;
}

.saas-live-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.saas-live-nav-links a:first-child {
  color: var(--muted);
}

.saas-live-nav-links .saas-live-quote-link {
  color: var(--blue);
}

.saas-live-controls button {
  min-width: 92px;
}

.taskpilot-site {
  --tp-navy: #07182c;
  --tp-ink: #101828;
  --tp-muted: #607089;
  --tp-teal: #12b5a6;
  --tp-coral: #ff7a59;
  --tp-line: #dce7f2;
  --tp-soft: #f5f9fc;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 35%, #f8fbfd 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(16, 32, 51, 0.12);
  color: var(--tp-ink);
  overflow: hidden;
}

.taskpilot-locale,
.taskpilot-compare {
  display: none;
}

.saas-live-stage[data-saas-live-view="en"] .taskpilot-locale-en,
.saas-live-stage[data-saas-live-view="pt"] .taskpilot-locale-pt,
.saas-live-stage[data-saas-live-view="compare"] .taskpilot-compare {
  display: block;
}

.tp-hero,
.tp-section,
.tp-feature,
.tp-trust,
.tp-final,
.tp-compare-hero,
.tp-compare-section {
  padding: clamp(2.2rem, 5vw, 4.6rem);
}

.tp-hero {
  background:
    linear-gradient(135deg, rgba(7, 24, 44, 0.98), rgba(12, 44, 76, 0.98) 58%, rgba(8, 75, 79, 0.96)),
    radial-gradient(circle at top right, rgba(18, 181, 166, 0.32), transparent 35%);
  color: #fff;
  min-height: min(760px, calc(100vh - 190px));
  overflow: hidden;
  position: relative;
}

.tp-hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
  pointer-events: none;
  position: absolute;
}

.tp-hero > * {
  position: relative;
  z-index: 1;
}

.tp-nav {
  align-items: center;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.tp-nav strong {
  font-size: 1.14rem;
  letter-spacing: 0;
}

.tp-nav div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tp-nav span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.tp-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
}

.tp-hero-copy {
  display: grid;
  gap: 1.15rem;
}

.tp-badge {
  align-items: center;
  background: rgba(18, 181, 166, 0.13);
  border: 1px solid rgba(153, 246, 228, 0.28);
  border-radius: 999px;
  color: #9ff4eb;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  justify-self: start;
  padding: 0.45rem 0.7rem;
}

.tp-hero h1,
.tp-compare-hero h1 {
  font-size: clamp(2.45rem, 5.2vw, 5.3rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.tp-hero p,
.tp-compare-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0;
  max-width: 640px;
}

.tp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.tp-btn {
  align-items: center;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
}

.tp-btn-primary {
  background: linear-gradient(135deg, #16d9c7, var(--tp-teal));
  color: #05201f;
}

.tp-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: #fff;
}

.tp-dashboard {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  color: var(--tp-ink);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 466px;
  overflow: hidden;
  transform: translateY(8px);
}

.tp-dashboard aside {
  background: linear-gradient(180deg, #0a213c, #07182c);
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  padding-top: 1.3rem;
}

.tp-dashboard aside span {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  height: 34px;
  width: 34px;
}

.tp-dashboard aside span:first-child {
  background: var(--tp-teal);
}

.tp-dashboard-main {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.tp-dashboard-windowbar {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  display: flex;
  gap: 0.42rem;
  min-height: 34px;
  padding: 0.35rem 0.72rem;
}

.tp-dashboard-windowbar span {
  background: #c9d7e5;
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.tp-dashboard-windowbar span:first-child {
  background: var(--tp-coral);
}

.tp-dashboard-windowbar span:nth-child(2) {
  background: #f5c451;
}

.tp-dashboard-windowbar span:nth-child(3) {
  background: var(--tp-teal);
}

.tp-dashboard-windowbar i {
  color: var(--tp-muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  margin-left: auto;
}

.tp-dashboard-top,
.tp-dashboard-bottom,
.tp-dashboard-stats {
  display: grid;
  gap: 0.85rem;
}

.tp-dashboard-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.tp-dashboard small {
  color: var(--tp-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
}

.tp-dashboard strong {
  font-size: 1.15rem;
}

.tp-avatars {
  display: flex;
}

.tp-avatars span {
  align-items: center;
  background: #e7f7f5;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #05746b;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-left: -0.45rem;
  width: 34px;
}

.tp-dashboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-dashboard-stats article,
.tp-task-card,
.tp-dashboard-bottom > div {
  background: #f8fbfd;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  padding: 0.85rem;
}

.tp-task-card.strong {
  background: #fff;
  border-color: rgba(18, 181, 166, 0.28);
  box-shadow: 0 12px 28px rgba(18, 181, 166, 0.08);
}

.tp-task-card.muted {
  opacity: 0.82;
}

.tp-dashboard-stats strong {
  font-size: 1.65rem;
}

.tp-task-card {
  display: grid;
  gap: 0.7rem;
}

.tp-task-card span {
  font-weight: 900;
}

.tp-task-card div,
.tp-timeline span {
  background: #dce7f2;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.tp-task-card i {
  background: linear-gradient(90deg, var(--tp-teal), var(--tp-coral));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.tp-dashboard-bottom {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.tp-mini-chart {
  align-items: end;
  display: flex;
  gap: 0.55rem;
  min-height: 100px;
}

.tp-mini-chart span {
  background: linear-gradient(180deg, var(--tp-coral), #ffd3c4);
  border-radius: 999px 999px 0 0;
  flex: 1;
}

.tp-mini-chart span:nth-child(1) { height: 44%; }
.tp-mini-chart span:nth-child(2) { height: 72%; }
.tp-mini-chart span:nth-child(3) { height: 58%; }
.tp-mini-chart span:nth-child(4) { height: 88%; }

.tp-timeline {
  display: grid;
  gap: 0.62rem;
}

.tp-timeline span:nth-child(2) { width: 72%; }
.tp-timeline span:nth-child(3) { width: 92%; }
.tp-timeline span:nth-child(4) { width: 54%; }

.tp-trust {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--tp-line);
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
}

.tp-trust p {
  color: var(--tp-muted);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.tp-trust > div {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-trust article,
.tp-benefits article,
.tp-plan-grid article,
.tp-faq article,
.tp-steps article,
.tp-board-mock article,
.tp-progress-mock,
.tp-compare-cards article,
.insight-grid article {
  background: #fff;
  border: 1px solid var(--tp-line, var(--line));
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.07);
}

.tp-trust article {
  padding: 1rem;
}

.tp-trust strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
}

.tp-trust span {
  color: var(--tp-muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.tp-section-heading h2,
.tp-feature h2,
.tp-final h2,
.saas-live-insights h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.ocr-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(1.8rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  padding-bottom: 42px;
  padding-top: 54px;
}

.ocr-live-copy {
  display: grid;
  gap: 1rem;
}

.ocr-live-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.15rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

.ocr-live-copy p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.ocr-hero-visual {
  background:
    radial-gradient(circle at 18% 15%, rgba(20, 184, 166, 0.14), transparent 30%),
    linear-gradient(135deg, #07182c, #0d3154 58%, #0b5a61);
  border-radius: 24px;
  box-shadow: 0 30px 78px rgba(16, 32, 51, 0.18);
  color: #fff;
  display: grid;
  min-height: 480px;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  position: relative;
}

.ocr-hero-visual::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(135deg, #000 0%, transparent 74%);
  pointer-events: none;
  position: absolute;
}

.ocr-hero-paper,
.ocr-hero-output {
  position: relative;
  z-index: 1;
}

.ocr-hero-paper {
  align-self: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.9)),
    repeating-linear-gradient(-6deg, transparent 0 14px, rgba(7, 24, 44, 0.035) 14px 15px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  color: #132338;
  display: grid;
  gap: 0.72rem;
  padding: 1.2rem;
  width: min(72%, 360px);
}

.ocr-hero-paper span,
.ocr-hero-output span {
  color: var(--teal-dark);
  font-weight: 950;
}

.ocr-hero-paper i {
  background: #d4dee9;
  border-radius: 999px;
  display: block;
  height: 10px;
}

.ocr-hero-paper i:nth-child(3) {
  width: 78%;
}

.ocr-hero-paper i:nth-child(4) {
  width: 91%;
}

.ocr-hero-paper i:nth-child(5) {
  width: 58%;
}

.ocr-hero-paper b {
  border: 2px solid rgba(255, 122, 89, 0.65);
  border-radius: 999px;
  height: 42px;
  justify-self: end;
  opacity: 0.78;
  transform: rotate(-10deg);
  width: 94px;
}

.ocr-scan-beam {
  background: linear-gradient(90deg, transparent, rgba(129, 243, 233, 0.75), transparent);
  filter: blur(0.2px);
  height: 3px;
  left: 7%;
  position: absolute;
  right: 7%;
  top: 38%;
  z-index: 2;
  animation: ocrScan 4.8s ease-in-out infinite;
}

.ocr-hero-output {
  align-self: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  color: #132338;
  justify-self: end;
  padding: 1.2rem;
  width: min(76%, 400px);
}

.ocr-hero-output p {
  border-bottom: 1px solid #e4edf5;
  color: #475569;
  font-weight: 800;
  margin: 0.72rem 0 0;
  padding-bottom: 0.52rem;
}

.ocr-hero-output div,
.ocr-file-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.ocr-hero-output em,
.ocr-file-badges span {
  background: #e9fbf8;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  padding: 0.36rem 0.55rem;
}

.ocr-hero-visual ol {
  bottom: 1rem;
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 1rem;
  z-index: 3;
}

.ocr-hero-visual li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.42rem 0.5rem;
  text-align: center;
}

@keyframes ocrScan {
  0%,
  100% {
    transform: translateY(-120px);
    opacity: 0.2;
  }
  45%,
  55% {
    opacity: 1;
  }
  50% {
    transform: translateY(132px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ocr-scan-beam {
    animation: none;
  }
}

.ocr-live-controls-section {
  padding-bottom: 0;
  padding-top: 0;
}

.ocr-live-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.55rem;
  position: sticky;
  top: 88px;
  z-index: 6;
  backdrop-filter: blur(14px);
}

.ocr-live-controls a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
}

.ocr-live-controls a:first-child {
  background: var(--teal);
  color: #fff;
}

.ocr-workflow-grid,
.ocr-transform-grid,
.ocr-chip-grid,
.ocr-quote-grid {
  display: grid;
  gap: 1rem;
}

.ocr-workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocr-workflow-grid article,
.ocr-chip-grid article,
.ocr-quote-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.06);
}

.ocr-workflow-grid article {
  display: grid;
  gap: 0.72rem;
  min-height: 238px;
  padding: 1.2rem;
}

.ocr-workflow-grid article > span {
  align-items: center;
  background: #e9fbf8;
  border-radius: 12px;
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.ocr-workflow-grid h3,
.ocr-panel-title span,
.ocr-quote-card h2 {
  margin: 0;
}

.ocr-workflow-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.ocr-transform-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ocr-panel {
  background: linear-gradient(180deg, #fff, #f8fbfd);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  position: relative;
}

.ocr-panel:not(:last-child)::after {
  align-items: center;
  background: #0f766e;
  border: 4px solid #f6fbff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
  color: #fff;
  content: "→";
  display: inline-flex;
  font-size: 1rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 2;
}

.ocr-panel-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ocr-panel-title span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.ocr-paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 255, 0.96)),
    repeating-linear-gradient(-4deg, transparent 0 16px, rgba(16, 32, 51, 0.04) 16px 17px);
  border: 1px solid #dfebf5;
  border-radius: 16px;
  display: grid;
  min-height: 295px;
  padding: 1.05rem;
  position: relative;
}

.ocr-paper::after {
  border: 2px solid rgba(255, 122, 89, 0.48);
  border-radius: 999px;
  bottom: 1.1rem;
  content: "";
  height: 38px;
  opacity: 0.8;
  position: absolute;
  right: 1rem;
  transform: rotate(-9deg);
  width: 92px;
}

.ocr-paper pre {
  color: #475569;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.ocr-panel-source {
  background: linear-gradient(180deg, #fff, #f6f8fb);
}

.ocr-panel-source .ocr-paper {
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.06), transparent 40%),
    #e9eef4;
  border-color: #d5e0eb;
  overflow: hidden;
  padding: 1.2rem;
}

.ocr-panel-source .ocr-paper::after {
  display: none;
}

.ocr-scanned-document {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 246, 237, 0.76)),
    repeating-linear-gradient(0deg, rgba(31, 41, 55, 0.045) 0 1px, transparent 1px 8px);
  border: 1px solid rgba(90, 104, 122, 0.2);
  box-shadow: 0 24px 36px rgba(16, 32, 51, 0.16);
  color: rgba(19, 35, 56, 0.72);
  display: grid;
  gap: 0.9rem;
  min-height: 255px;
  padding: 1.05rem;
  position: relative;
  transform: rotate(-1.6deg);
}

.ocr-scanned-document::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  inset: 0 auto 0 34%;
  opacity: 0.6;
  position: absolute;
  width: 22%;
}

.ocr-scan-noise {
  background:
    radial-gradient(circle at 16% 24%, rgba(15, 23, 42, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 64%, rgba(15, 23, 42, 0.1) 0 1px, transparent 2px);
  background-size: 42px 38px;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.ocr-scanned-document header,
.ocr-scanned-document dl,
.ocr-scanned-document h3,
.ocr-signature-line,
.ocr-scan-stamp {
  position: relative;
  z-index: 1;
}

.ocr-scanned-document header {
  align-items: start;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.ocr-scanned-document strong {
  color: rgba(19, 35, 56, 0.86);
  font-size: 1rem;
  font-weight: 950;
}

.ocr-scanned-document header span {
  color: rgba(71, 85, 105, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
}

.ocr-scanned-document h3 {
  color: rgba(19, 35, 56, 0.75);
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0.2rem 0 0;
}

.ocr-scanned-document dl {
  display: grid;
  gap: 0.64rem;
  margin: 0;
}

.ocr-scanned-document dl div {
  border-bottom: 1px solid rgba(71, 85, 105, 0.18);
  padding-bottom: 0.5rem;
}

.ocr-scanned-document dt {
  color: rgba(71, 85, 105, 0.74);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ocr-scanned-document dd {
  margin: 0.18rem 0 0;
}

.ocr-signature-line {
  border-bottom: 1px solid rgba(71, 85, 105, 0.34);
  height: 20px;
  margin-top: 0.2rem;
  width: 58%;
}

.ocr-scan-stamp {
  border: 2px solid rgba(255, 122, 89, 0.55);
  border-radius: 999px;
  bottom: 1rem;
  color: rgba(175, 69, 37, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  padding: 0.34rem 0.72rem;
  position: absolute;
  right: 0.9rem;
  transform: rotate(-10deg);
}

.ocr-paper-raw {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent),
    repeating-linear-gradient(0deg, rgba(255, 122, 89, 0.1) 0 1px, transparent 1px 24px),
    #fff8f4;
  border-color: rgba(255, 122, 89, 0.28);
}

.ocr-paper-raw::after {
  border-color: rgba(255, 122, 89, 0.38);
  content: "OCR";
  color: rgba(124, 63, 43, 0.42);
  display: grid;
  font-size: 0.72rem;
  font-weight: 950;
  height: 34px;
  place-items: center;
  width: 70px;
}

.ocr-paper-raw pre {
  color: #8f3f26;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.75;
}

.ocr-paper-clean {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), transparent),
    #f3fffc;
  border-color: rgba(20, 184, 166, 0.24);
}

.ocr-paper-clean::after {
  border-color: rgba(20, 184, 166, 0.55);
  content: "CLEAN";
  color: rgba(15, 118, 110, 0.44);
  display: grid;
  font-size: 0.72rem;
  font-weight: 950;
  height: 34px;
  place-items: center;
  width: 82px;
}

.ocr-paper-clean pre {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 184, 166, 0.14);
  border-radius: 12px;
  color: #0c5b55;
  font-size: 1rem;
  line-height: 1.78;
  padding: 0.9rem;
}

.ocr-improvement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.ocr-improvement-badges span {
  background: #eefcf9;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.48rem 0.7rem;
}

.ocr-delivery-layout,
.ocr-trust-panel {
  align-items: center;
  background: linear-gradient(135deg, #07182c, #0d3154 58%, #0b5a61);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.14);
  color: #fff;
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.ocr-delivery-layout h2,
.ocr-trust-panel h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
}

.ocr-delivery-layout p,
.ocr-trust-panel p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.ocr-delivery-mock {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  overflow: hidden;
  padding: 1rem;
}

.ocr-delivery-stack {
  display: grid;
  min-height: 260px;
  position: relative;
}

.ocr-delivery-doc {
  background: #fff;
  border-radius: 16px;
  color: #132338;
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
}

.ocr-delivery-doc-main {
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 3;
}

.ocr-delivery-file {
  align-items: center;
  background: rgba(233, 251, 248, 0.96);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  color: var(--teal-dark);
  display: flex;
  font-size: 0.84rem;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  position: absolute;
  right: 0.5rem;
  width: 112px;
}

.ocr-delivery-file:nth-child(2) {
  bottom: 74px;
  transform: rotate(4deg);
  z-index: 2;
}

.ocr-delivery-file:nth-child(3) {
  bottom: 36px;
  right: 1.35rem;
  transform: rotate(-3deg);
  z-index: 1;
}

.ocr-delivery-file:nth-child(4) {
  bottom: 0;
  right: 2.1rem;
  transform: rotate(2deg);
  z-index: 0;
}

.ocr-delivery-doc span {
  color: var(--teal-dark);
  font-weight: 950;
}

.ocr-delivery-doc p {
  color: #132338;
  font-weight: 950;
  margin: 0;
}

.ocr-delivery-doc i {
  background: #dce7f2;
  border-radius: 999px;
  display: block;
  height: 10px;
}

.ocr-delivery-doc i:nth-child(4) {
  width: 82%;
}

.ocr-delivery-doc i:nth-child(5) {
  width: 58%;
}

.ocr-chip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocr-chip-grid article,
.ocr-quote-grid article {
  color: var(--ink);
  font-weight: 900;
  padding: 1rem;
}

.ocr-chip-grid-soft article {
  background: #f8fbfd;
}

.ocr-trust-panel {
  background: #f7fbff;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--ink);
}

.ocr-trust-panel h2 {
  color: var(--ink);
}

.ocr-trust-panel p {
  color: var(--muted);
}

.ocr-trust-panel .check-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0;
  padding: 1rem;
}

.ocr-quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.ocr-quote-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin-bottom: 1rem;
}

.ocr-quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ocr-sample-link {
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal-dark);
  display: block;
  font-weight: 900;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

.ocr-detail-live-card {
  grid-template-columns: 1fr;
}

.tp-section-heading {
  margin-bottom: 1.4rem;
  max-width: 720px;
}

.tp-benefits {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-benefits article {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem;
}

.tp-benefits article > span {
  background: linear-gradient(135deg, var(--tp-teal), var(--tp-coral));
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(18, 181, 166, 0.18);
  height: 36px;
  width: 36px;
}

.tp-benefits h3,
.tp-plan-grid h3,
.tp-faq h3,
.tp-board-mock h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.tp-benefits p,
.tp-feature p,
.tp-plan-grid p,
.tp-faq p,
.tp-final p,
.tp-steps p,
.tp-board-mock p,
.tp-progress-mock p,
.tp-compare-cards p,
.tp-compare-cards li {
  color: var(--tp-muted);
  margin: 0;
}

.tp-feature {
  align-items: center;
  display: grid;
  gap: clamp(1.7rem, 4vw, 3.4rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
}

.tp-feature-reverse > div:first-child {
  order: 2;
}

.tp-feature p {
  font-size: 1.08rem;
  margin-top: 0.8rem;
  max-width: 560px;
}

.tp-board-mock {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-board-mock article {
  border-top: 4px solid rgba(18, 181, 166, 0.55);
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.tp-board-mock article:nth-child(2) {
  border-top-color: rgba(255, 122, 89, 0.62);
}

.tp-board-mock article:nth-child(3) {
  border-top-color: rgba(7, 24, 44, 0.45);
}

.tp-board-mock p {
  background: var(--tp-soft);
  border: 1px solid var(--tp-line);
  border-radius: 7px;
  padding: 0.7rem;
}

.tp-progress-mock {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 1.55rem;
}

.tp-progress-ring {
  align-items: center;
  background:
    radial-gradient(circle, #fff 0 54%, transparent 55%),
    conic-gradient(var(--tp-teal) 0 74%, #dce7f2 74% 100%);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(18, 181, 166, 0.14);
  display: flex;
  height: 156px;
  justify-content: center;
  width: 156px;
}

.tp-progress-ring span {
  font-size: 1.7rem;
  font-weight: 950;
}

.tp-progress-mock > div:last-child {
  display: grid;
  gap: 0.8rem;
}

.tp-progress-mock article {
  display: grid;
  gap: 0.35rem;
}

.tp-progress-mock article span {
  background: linear-gradient(90deg, var(--tp-teal), var(--tp-coral));
  border-radius: 999px;
  display: block;
  height: 10px;
}

.tp-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-steps article {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
}

.tp-steps span {
  align-items: center;
  background: var(--tp-navy);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.tp-plan-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-plan-grid article {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.tp-plan-grid article.featured {
  background: linear-gradient(180deg, #fff, #f5fdfa);
  border-color: rgba(18, 181, 166, 0.5);
  box-shadow: 0 18px 48px rgba(18, 181, 166, 0.14);
  transform: translateY(-8px);
}

.tp-plan-grid strong {
  color: var(--tp-navy);
  font-size: 1.7rem;
}

.tp-faq > div {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-faq article {
  padding: 1.15rem;
}

.tp-final {
  background:
    linear-gradient(135deg, var(--tp-navy), #123a63 68%, #0b595e);
  color: #fff;
  text-align: center;
}

.tp-final p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  margin: 0.65rem auto 1.1rem;
}

.tp-compare-hero {
  background:
    radial-gradient(circle at top right, rgba(18, 181, 166, 0.22), transparent 30%),
    linear-gradient(135deg, #0a1f38, #102f50);
  color: #fff;
}

.tp-compare-hero .sample-badge {
  margin-bottom: 1rem;
}

.tp-compare-section {
  background: #fff;
  border-bottom: 1px solid var(--tp-line);
}

.tp-compare-title span {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tp-compare-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.tp-compare-cards article {
  display: grid;
  gap: 0.65rem;
  padding: 1.15rem;
}

.tp-compare-cards strong {
  color: var(--tp-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.tp-compare-cards h3 {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.tp-compare-cards ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.tp-compare-cards small,
.tp-compare-stat-list span {
  color: var(--teal-dark);
  font-weight: 850;
}

.tp-compare-stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tp-compare-stat-list span {
  background: #e7f7f5;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
}

.saas-live-insights {
  padding-top: 44px;
}

.insight-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-grid article {
  color: var(--muted);
  font-weight: 750;
  padding: 1rem;
}

.comparison-card-wide {
  grid-column: 1 / -1;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 1.05fr);
}

.check-list {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  background: var(--soft-2);
  border: 1px solid rgba(7, 143, 131, 0.16);
  border-radius: var(--radius);
  font-weight: 750;
  padding: 0.7rem 0.8rem;
}

.mini-card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  min-height: 76px;
  padding: 0.85rem;
}

.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.format-badges span {
  background: #fff8ef;
  border: 1px solid rgba(233, 141, 37, 0.28);
  border-radius: 999px;
  color: #7a4312;
  font-size: 0.9rem;
  font-weight: 850;
  padding: 0.45rem 0.75rem;
}

.sample-final-cta h2 {
  margin: 0 0 0.45rem;
}

.sample-final-cta p {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.sample-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: 1rem;
}

.sample-block h2,
.sample-block h3 {
  margin-top: 0;
}

pre {
  background: #0f1f31;
  border-radius: var(--radius);
  color: #e9f6ff;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.cta-band {
  align-items: center;
  background: linear-gradient(90deg, #eef9f7, #f5f9ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1.5rem;
}

.cta-band .btn {
  flex: 0 0 auto;
  min-width: 188px;
  text-align: center;
}

.saas-support-cta {
  background: #fff;
}

.saas-support-cta h2,
.breakdown-live-cta h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.breakdown-live-cta {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  border-color: rgba(18, 103, 214, 0.22);
  box-shadow: 0 16px 38px rgba(18, 103, 214, 0.08);
}

.sample-start {
  align-items: center;
  display: flex;
  gap: 1.4rem;
  justify-content: space-between;
  padding: 1.5rem;
}

.sample-start h2 {
  margin: 0 0 0.45rem;
}

.sample-start p {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.app-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(1.8rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  padding-bottom: 42px;
  padding-top: 54px;
}

.app-live-copy {
  display: grid;
  gap: 1rem;
}

.app-live-copy h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.99;
  margin: 0;
  max-width: 820px;
}

.app-live-copy p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.app-hero-visual {
  align-items: center;
  background:
    radial-gradient(circle at 16% 16%, rgba(244, 114, 182, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(20, 184, 166, 0.14), transparent 32%),
    linear-gradient(145deg, #f9fbff, #eef7fb);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 82px rgba(16, 32, 51, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 520px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}

.app-hero-glow {
  background: linear-gradient(135deg, rgba(19, 61, 102, 0.1), rgba(244, 114, 182, 0.15));
  border-radius: 999px;
  filter: blur(10px);
  height: 220px;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 220px;
}

.app-hero-phone {
  position: relative;
  z-index: 1;
}

.app-hero-phone-left {
  transform: rotate(-5deg) translateX(10px);
}

.app-hero-phone-right {
  transform: rotate(4deg) translateX(-12px) translateY(-10px);
}

.flow-phone {
  background: #132338;
  border: 1px solid rgba(19, 35, 56, 0.16);
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.22);
  display: grid;
  height: 508px;
  margin: 0 auto;
  max-width: 286px;
  padding: 0.8rem;
  position: relative;
  width: 286px;
}

.flow-phone-final {
  background: linear-gradient(180deg, #133d66, #132338);
}

.flow-phone-speaker {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  height: 5px;
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 62px;
  z-index: 2;
}

.flow-phone-screen {
  background:
    radial-gradient(circle at 20% 5%, rgba(244, 114, 182, 0.16), transparent 30%),
    linear-gradient(180deg, #fff, #f7fbfd);
  border-radius: 26px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 1.15rem 0.95rem 0.9rem;
}

.flow-status {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.flow-status strong {
  color: #132338;
  font-size: 0.95rem;
}

.flow-status span {
  background: #e9fbf8;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.3rem 0.48rem;
  white-space: nowrap;
}

.flow-screen-panels {
  display: grid;
  height: 410px;
  min-height: 0;
  overflow: hidden;
}

.flow-screen-panel {
  display: none;
  min-height: 0;
}

.flow-screen-panel.active {
  display: grid;
  height: 100%;
  min-height: 0;
}

.flow-dashboard,
.flow-details,
.flow-notifications,
.flow-settings,
.flow-onboarding {
  align-content: start;
  display: grid;
  gap: 0.72rem;
  min-height: 0;
}

.flow-dashboard {
  grid-template-rows: auto minmax(68px, auto) 112px minmax(60px, auto) auto;
  height: 100%;
}

.flow-dashboard header h3,
.flow-details header h3,
.flow-onboarding h3 {
  color: #132338;
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 0.22rem;
}

.flow-dashboard header p,
.flow-details header p,
.flow-onboarding p {
  color: #607086;
  font-size: 0.84rem;
  line-height: 1.42;
  margin: 0;
}

.flow-card,
.flow-ring-card,
.flow-reminder,
.flow-progress-card,
.flow-task-row,
.flow-notifications article,
.flow-settings button {
  background: #fff;
  border: 1px solid #dce7f2;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.07);
}

.flow-card,
.flow-ring-card,
.flow-reminder,
.flow-progress-card {
  border-radius: 18px;
  display: grid;
  gap: 0.38rem;
  padding: 0.82rem;
}

.flow-card-main {
  background: linear-gradient(135deg, #fff1f7, #ecfbf8);
}

.flow-card span,
.flow-ring-card span,
.flow-reminder span,
.flow-progress-card span,
.flow-progress-card p {
  color: #607086;
  font-size: 0.78rem;
  font-weight: 850;
}

.flow-progress-card p {
  font-size: 0.72rem;
  margin: 0;
}

.flow-card strong,
.flow-card b,
.flow-ring-card b,
.flow-progress-card strong {
  color: #132338;
  font-size: 1.35rem;
}

.flow-card-row {
  display: grid;
  gap: 0.62rem;
  grid-template-columns: 0.82fr 1.18fr;
  height: 112px;
  min-height: 112px;
}

.flow-card-row > .flow-card,
.flow-card-row > .flow-progress-card {
  height: 112px;
  min-height: 112px;
  overflow: hidden;
}

.flow-ring-card {
  align-items: center;
  background:
    radial-gradient(circle at center, #fff 0 42%, transparent 43%),
    conic-gradient(#0f766e 0 72%, #dce7f2 72% 100%);
  justify-items: center;
  min-height: 112px;
}

.flow-progress-card-compact {
  align-content: center;
  gap: 0.28rem;
  grid-template-rows: auto auto 8px auto;
  min-height: 112px;
}

.flow-progress-card-compact span {
  font-size: 0.74rem;
  line-height: 1.28;
}

.flow-progress-card-compact strong {
  font-size: 1.25rem;
}

.flow-progress-card-compact p {
  line-height: 1.25;
}

.flow-reminder p {
  color: #132338;
  font-size: 0.86rem;
  font-weight: 900;
  margin: 0;
}

.flow-bottom-nav {
  background: #132338;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  font-size: 0.58rem;
  font-weight: 850;
  gap: 0.34rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  padding: 0.62rem 0.5rem;
  text-align: center;
}

.flow-bottom-nav span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.flow-bottom-nav span.active {
  color: #9df3eb;
}

.flow-progress-card i {
  background: linear-gradient(90deg, #0f766e 68%, #dce7f2 68%);
  border-radius: 999px;
  display: block;
  height: 8px;
}

.flow-task-row,
.flow-settings button {
  align-items: center;
  border-radius: 14px;
  color: #132338;
  display: flex;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.72rem;
  text-align: left;
}

.flow-task-row b,
.flow-settings b {
  color: var(--teal-dark);
}

.flow-notifications article {
  border-radius: 16px;
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem;
}

.flow-notifications article.warning {
  border-color: rgba(244, 114, 182, 0.28);
}

.flow-notifications strong {
  color: #132338;
}

.flow-notifications p {
  color: #607086;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.flow-onboarding {
  align-content: center;
  min-height: 382px;
  text-align: center;
}

.flow-orbit {
  background: radial-gradient(circle, rgba(244, 114, 182, 0.2), rgba(20, 184, 166, 0.12));
  border-radius: 999px;
  height: 132px;
  margin: 0 auto 0.25rem;
  position: relative;
  width: 132px;
}

.flow-orbit span,
.flow-orbit i,
.flow-orbit b {
  background: #fff;
  border: 1px solid #dce7f2;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.09);
  display: block;
  position: absolute;
}

.flow-orbit span {
  height: 68px;
  left: 32px;
  top: 26px;
  width: 68px;
}

.flow-orbit i {
  height: 34px;
  left: 12px;
  top: 74px;
  width: 50px;
}

.flow-orbit b {
  height: 42px;
  right: 8px;
  top: 14px;
  width: 42px;
}

.flow-onboarding button {
  background: #133d66;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  justify-self: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.app-live-controls-section {
  padding-bottom: 0;
  padding-top: 0;
}

.app-live-controls {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.55rem;
  position: sticky;
  top: 88px;
  z-index: 6;
}

.app-live-controls a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
}

.app-live-controls a:first-child {
  background: #133d66;
  color: #fff;
}

.app-demo-shell {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 114, 182, 0.11), transparent 28%),
    linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.app-demo-toolbar {
  display: grid;
  gap: 0.75rem;
}

.app-tab-controls,
.app-mode-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.app-mode-helper {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: -0.2rem 0 0;
  max-width: 720px;
}

.app-tab-controls button,
.app-mode-controls button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.58rem 0.82rem;
}

.app-tab-controls button.active,
.app-mode-controls button.active {
  background: #133d66;
  border-color: #133d66;
  color: #fff;
}

.app-mode-controls button.active {
  background: #0f766e;
  border-color: #0f766e;
}

.app-tab-controls .icon {
  background: transparent;
  border: 0;
  color: currentColor;
  height: 22px;
  width: 22px;
}

.app-tab-controls .icon svg {
  height: 18px;
  width: 18px;
}

.app-live-layout {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
}

.app-phone-compare {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-phone-column {
  display: grid;
  gap: 0.65rem;
}

.app-phone-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.app-phone-column-final .app-phone-label {
  color: var(--teal-dark);
}

.app-notes-panel,
.app-insight-grid article,
.app-deliverable-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  color: #132338;
}

.app-notes-panel {
  border-radius: 22px;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.app-notes-panel h2 {
  font-size: 1.25rem;
  margin: 0;
}

.app-notes-panel article {
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 16px;
  display: none;
  gap: 0.65rem;
  padding: 0.9rem;
}

.app-notes-panel article.active {
  display: grid;
}

.app-notes-panel article .icon {
  height: 38px;
  width: 38px;
}

.app-notes-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.app-improvement-list,
.app-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.app-improvement-list span,
.app-chip-grid span {
  align-items: center;
  background: #e9fbf8;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
  min-height: 34px;
  padding: 0.46rem 0.66rem;
}

.app-json-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-code-card {
  background: #132338;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.14);
  color: #e8f4fb;
  display: grid;
  gap: 0.8rem;
  overflow: hidden;
  padding: 1rem;
}

.app-code-card span {
  color: #9df3eb;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.app-code-card pre {
  margin: 0;
  overflow-x: auto;
}

.app-code-card code {
  color: #e8f4fb;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre;
}

.app-insights-section h2,
.app-deliverable-card h2,
.app-final-cta h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.app-insight-grid,
.app-deliverables-layout {
  display: grid;
  gap: 1rem;
}

.app-insight-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.app-insight-grid article,
.app-deliverable-card {
  border-radius: 20px;
  padding: 1.1rem;
}

.app-insight-grid article {
  display: grid;
  gap: 0.65rem;
}

.app-insight-grid h3 {
  margin: 0;
}

.app-insight-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.app-deliverables-layout {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.app-deliverable-card {
  align-content: start;
  display: grid;
  gap: 1.15rem;
}

.app-quote-card .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-final-cta {
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.2), transparent 28%),
    linear-gradient(135deg, #132338, #133d66 68%, #0f766e);
  color: #fff;
}

.app-final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.app-final-cta .hero-actions {
  justify-content: flex-end;
}

.game-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(1.8rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  padding-bottom: 42px;
  padding-top: 54px;
}

.game-live-copy {
  display: grid;
  gap: 1rem;
}

.game-live-copy h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

.game-live-copy p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.game-hero-visual,
.game-screen {
  background:
    radial-gradient(circle at 18% 16%, rgba(249, 191, 74, 0.22), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(20, 184, 166, 0.2), transparent 30%),
    linear-gradient(135deg, #151826, #24395d 55%, #0f5f68);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 32px 86px rgba(16, 32, 51, 0.2);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.game-hero-visual {
  border-radius: 26px;
  display: grid;
  gap: 1rem;
  min-height: 500px;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.game-hero-visual::before,
.game-screen::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(135deg, #000 0%, transparent 74%);
  pointer-events: none;
  position: absolute;
}

.game-hero-topbar,
.game-screen-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  position: relative;
  z-index: 1;
}

.game-hero-topbar strong,
.game-screen-header strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.game-hero-topbar span,
.game-screen-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
}

.game-hero-scene {
  align-items: center;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  min-height: 280px;
  position: relative;
  z-index: 1;
}

.crystal-emblem {
  align-items: center;
  background: radial-gradient(circle, rgba(110, 231, 220, 0.28), rgba(110, 231, 220, 0.05) 58%, transparent 70%);
  border-radius: 999px;
  display: flex;
  height: 190px;
  justify-content: center;
  margin: auto;
  position: relative;
  width: 190px;
}

.crystal-emblem span,
.game-item-icon span {
  background: linear-gradient(145deg, #effcff, #50e2d6 45%, #7b6df4);
  clip-path: polygon(50% 0, 82% 28%, 72% 78%, 50% 100%, 28% 78%, 18% 28%);
  display: block;
  filter: drop-shadow(0 0 22px rgba(110, 231, 220, 0.68));
  height: 104px;
  width: 74px;
}

.crystal-emblem-small {
  height: 96px;
  width: 96px;
}

.crystal-emblem-small span {
  height: 54px;
  width: 40px;
}

.game-hero-world {
  bottom: 1.2rem;
  display: flex;
  gap: 0.55rem;
  left: 1.2rem;
  position: absolute;
}

.game-hero-world i {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px 999px 12px 12px;
  height: 84px;
  width: 44px;
}

.game-hero-world i:nth-child(2) {
  height: 118px;
}

.game-hero-world i:nth-child(3) {
  height: 68px;
}

.game-quest-mini,
.game-dialogue-mini,
.game-status-card,
.game-content-frame,
.game-notes-panel,
.game-insight-grid article,
.game-deliverable-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  color: #132338;
}

.game-quest-mini {
  border-radius: 18px;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.game-quest-mini span,
.game-status-card span,
.game-store-card span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.game-quest-mini p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.game-dialogue-mini {
  align-self: end;
  border-radius: 18px;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.game-dialogue-mini p {
  color: #3f4f62;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

.game-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

.game-hero-pills span {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 950;
  padding: 0.42rem 0.58rem;
}

.game-hero-pills span.active {
  background: #ffe6a3;
  border-color: rgba(255, 230, 163, 0.8);
  color: #3b2605;
}

.game-live-controls-section {
  padding-bottom: 0;
  padding-top: 0;
}

.game-live-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.55rem;
  position: sticky;
  top: 88px;
  z-index: 6;
  backdrop-filter: blur(14px);
}

.game-live-controls a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
}

.game-live-controls a:first-child {
  background: #133d66;
  color: #fff;
}

.game-demo-shell {
  background:
    radial-gradient(circle at 10% 0%, rgba(20, 184, 166, 0.11), transparent 28%),
    linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 0.9rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
}

.game-demo-toolbar {
  display: grid;
  gap: 0.75rem;
}

.game-tab-controls,
.game-mode-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.game-tab-controls button,
.game-mode-controls button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.58rem 0.82rem;
}

.game-tab-controls button.active,
.game-mode-controls button.active {
  background: #133d66;
  border-color: #133d66;
  color: #fff;
}

.game-tab-controls .icon {
  background: transparent;
  border: 0;
  color: currentColor;
  height: 22px;
  width: 22px;
}

.game-tab-controls .icon svg {
  height: 18px;
  width: 18px;
}

.game-mode-controls button.active {
  background: #0f766e;
  border-color: #0f766e;
}

.game-live-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.62fr);
}

.game-screen {
  border-radius: 22px;
  display: grid;
  gap: 0.72rem;
  grid-template-rows: auto minmax(150px, 0.72fr) auto;
  min-height: 455px;
  padding: clamp(0.8rem, 1.8vw, 1rem);
}

.game-screen > * {
  position: relative;
  z-index: 1;
}

.game-screen-stage {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.46fr);
  min-height: 150px;
  max-height: 190px;
  position: relative;
}

.game-avatar-stack {
  bottom: 0.45rem;
  display: flex;
  gap: 0.45rem;
  left: 0.65rem;
  position: absolute;
}

.game-avatar-stack span {
  background: linear-gradient(180deg, #ffe6a3, #d98d3f);
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px 999px 12px 12px;
  height: 62px;
  width: 34px;
}

.game-avatar-stack span:nth-child(2) {
  background: linear-gradient(180deg, #a8fff4, #4baea6);
  height: 56px;
}

.game-status-card {
  border-radius: 16px;
  display: grid;
  gap: 0.24rem;
  justify-self: end;
  padding: 0.72rem;
}

.game-content-frame {
  border-radius: 18px;
  display: grid;
  min-height: 176px;
  padding: clamp(0.68rem, 1.55vw, 0.85rem);
}

.game-content-panel {
  display: none;
}

.game-content-panel.active {
  display: grid;
}

.game-menu-list {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-menu-list button {
  background: #f6f9fc;
  border: 1px solid #dce7f2;
  border-radius: 12px;
  color: #132338;
  font-weight: 900;
  min-height: 42px;
  padding: 0.58rem 0.68rem;
  text-align: left;
}

.game-menu-list button.primary {
  background: linear-gradient(135deg, #ffe6a3, #f4b553);
  border-color: #e7a63e;
}

.game-dialogue-box,
.game-quest-card,
.game-item-card,
.game-tutorial-list,
.game-store-card {
  align-content: center;
  display: grid;
  gap: 0.58rem;
}

.game-dialogue-box p {
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  display: grid;
  gap: 0.22rem;
  margin: 0;
  padding: 0.68rem 0.75rem;
}

.game-dialogue-box strong,
.game-item-card h3,
.game-quest-card .title {
  color: #132338;
}

.game-dialogue-box span,
.game-quest-card p,
.game-item-card p,
.game-store-card p,
.game-tutorial-list li {
  color: #425167;
  line-height: 1.55;
}

.game-quest-card p {
  background: #f8fbfd;
  border-left: 4px solid #0f766e;
  margin: 0;
  padding: 0.58rem 0.72rem;
}

.game-quest-card .title {
  border-left-color: #f4b553;
  font-weight: 950;
}

.game-item-card {
  align-items: center;
  grid-template-columns: 96px minmax(0, 1fr);
}

.game-item-icon {
  align-items: center;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15), rgba(19, 61, 102, 0.06));
  border: 1px solid #dce7f2;
  border-radius: 18px;
  display: flex;
  height: 96px;
  justify-content: center;
  width: 96px;
}

.game-item-icon span {
  height: 52px;
  width: 38px;
}

.game-item-card h3,
.game-store-card h3 {
  margin: 0 0 0.35rem;
}

.game-item-card p,
.game-item-card strong,
.game-store-card p {
  margin: 0;
}

.game-item-card strong {
  color: var(--teal-dark);
}

.game-tutorial-list {
  counter-reset: tutorial;
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-tutorial-list li {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  display: flex;
  gap: 0.65rem;
  padding: 0.62rem 0.72rem;
}

.game-tutorial-list li::before {
  align-items: center;
  background: #133d66;
  border-radius: 999px;
  color: #fff;
  content: counter(tutorial);
  counter-increment: tutorial;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.game-store-card {
  background: linear-gradient(180deg, #f8fbfd, #fff);
  border: 1px solid #dce7f2;
  border-radius: 18px;
  padding: 0.82rem;
}

.game-notes-panel {
  align-content: start;
  border-radius: 20px;
  display: grid;
  gap: 0.72rem;
  padding: 0.9rem;
}

.game-notes-panel h2 {
  font-size: 1.12rem;
  margin: 0;
}

.game-notes-panel article {
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 16px;
  display: none;
  gap: 0.55rem;
  padding: 0.78rem;
}

.game-notes-panel article.active {
  display: grid;
}

.game-notes-panel article .icon {
  height: 34px;
  width: 34px;
}

.game-notes-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.game-improvement-list,
.game-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.game-improvement-list[hidden] {
  display: none;
}

.game-improvement-list span,
.game-chip-grid span {
  background: #e9fbf8;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  padding: 0.36rem 0.52rem;
}

.game-chip-grid {
  gap: 0.62rem;
}

.game-chip-grid span {
  align-items: center;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
  min-height: 36px;
  padding: 0.5rem 0.72rem;
}

.game-insights-section h2,
.game-deliverable-card h2,
.game-final-cta h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.game-insight-grid,
.game-deliverables-layout {
  display: grid;
  gap: 1rem;
}

.game-insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-insight-grid article,
.game-deliverable-card {
  border-color: var(--line);
  border-radius: 20px;
  padding: 1.1rem;
}

.game-insight-grid article {
  display: grid;
  gap: 0.65rem;
}

.game-insight-grid h3 {
  margin: 0;
}

.game-insight-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.game-deliverables-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: stretch;
}

.game-deliverable-card {
  display: grid;
  align-content: start;
  gap: 1.15rem;
}

.game-quote-card .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-final-cta {
  background:
    radial-gradient(circle at top right, rgba(255, 230, 163, 0.22), transparent 28%),
    linear-gradient(135deg, #132338, #133d66 68%, #0f766e);
  color: #fff;
}

.game-final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.game-final-cta .hero-actions {
  justify-content: flex-end;
}

.contact-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.contact-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.contact-card h2 {
  color: var(--teal-dark);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 1.15rem;
}

.contact-actions {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-action-card {
  align-items: center;
  background: linear-gradient(180deg, #fff, var(--soft-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 1rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-action-card:hover,
.contact-action-card:focus-visible {
  background: linear-gradient(180deg, #fff, rgba(7, 143, 131, 0.08));
  border-color: var(--teal);
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.contact-action-icon {
  align-items: center;
  background: rgba(7, 143, 131, 0.1);
  border-radius: var(--radius);
  color: var(--teal-dark);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.contact-action-icon svg {
  height: 24px;
  width: 24px;
}

.contact-action-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.contact-action-copy strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.22;
}

.contact-action-secondary {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.25vw, 0.86rem);
  font-weight: 650;
  line-height: 1.3;
}

.contact-email-address {
  overflow-wrap: normal;
  word-break: normal;
}

.contact-action-chevron {
  align-items: center;
  color: var(--teal-dark);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  opacity: 0.72;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  width: 28px;
}

.contact-action-chevron svg {
  height: 20px;
  width: 20px;
}

.contact-action-card:hover .contact-action-chevron,
.contact-action-card:focus-visible .contact-action-chevron {
  opacity: 1;
  transform: translateX(2px);
}

.contact-quote-block {
  border-top: 1px solid var(--line);
  margin-top: 1.35rem;
  padding-top: 1.2rem;
}

.contact-quote-block h3 {
  margin-top: 0;
}

.contact-quote-block p {
  margin-bottom: 0;
}

.contact-disclaimer {
  align-items: flex-start;
  background: var(--soft);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  display: flex;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
}

.contact-disclaimer span {
  color: var(--blue);
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.contact-disclaimer svg {
  height: 18px;
  width: 18px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.live-demos-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 44px;
  padding-top: 68px;
}

.live-demos-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.live-demos-hero p {
  color: var(--muted);
  margin: 0.8rem 0 0;
  max-width: 760px;
}

.live-demos-hero .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 720;
  line-height: 1.45;
}

.live-demos-hero-visual {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, 74px);
  transform: rotate(3deg);
}

.live-demos-hero-visual span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.09);
  color: var(--teal-dark);
  display: flex;
  height: 74px;
  justify-content: center;
}

.live-demos-hero-visual span:nth-child(2) {
  color: var(--blue);
  transform: translateY(12px);
}

.live-demos-hero-visual span:nth-child(3) {
  color: #9a560d;
  transform: translateY(-8px);
}

.live-demos-hero-visual span:nth-child(4) {
  color: #207f58;
  transform: translateY(4px);
}

.live-demos-hero-visual svg {
  height: 30px;
  width: 30px;
}

.live-demos-showcase {
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

.live-demo-grid,
.home-live-demo-grid {
  display: grid;
  gap: 1rem;
}

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

.home-live-demo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.live-demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1.22fr);
  min-height: 320px;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.live-demo-card:hover {
  border-color: #b8c9d9;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
  transform: translateY(-3px);
}

.live-demo-card-body {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.live-demo-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0.8rem 0 0.55rem;
}

.live-demo-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.live-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1rem;
}

.live-demo-tags span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #425167;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.32rem 0.55rem;
}

.live-demo-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.live-demo-card-actions .btn {
  min-height: 40px;
  padding: 0.62rem 0.82rem;
}

.live-demo-related-link,
.live-demo-index-link {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.live-demo-related-link:hover,
.live-demo-index-link:hover {
  text-decoration: underline;
}

.live-demo-preview {
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.demo-preview-bar {
  display: flex;
  gap: 5px;
}

.demo-preview-bar i {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.live-demo-preview-saas {
  background: linear-gradient(145deg, #0f6877, #0f94a0);
  padding: 1rem;
}

.demo-preview-saas-copy {
  display: grid;
  gap: 0.55rem;
  margin-top: 2.2rem;
}

.demo-preview-saas-copy span {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  height: 10px;
  width: 88%;
}

.demo-preview-saas-copy span:nth-child(2) {
  height: 7px;
  opacity: 0.62;
  width: 68%;
}

.demo-preview-saas-copy b {
  background: #ffd275;
  border-radius: 4px;
  height: 24px;
  margin-top: 0.3rem;
  width: 76px;
}

.demo-preview-saas-cards {
  bottom: 1rem;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: repeat(3, 1fr);
  left: 1rem;
  position: absolute;
  right: 1rem;
}

.demo-preview-saas-cards span {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 4px;
  height: 54px;
}

.live-demo-preview-app {
  align-items: center;
  background: linear-gradient(160deg, #e9f6f7, #dbeaff);
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.demo-preview-phone {
  background: #102033;
  border: 3px solid #102033;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(16, 32, 51, 0.18);
  height: 238px;
  padding: 9px;
  width: 128px;
}

.demo-preview-phone::before {
  background: #102033;
  border-radius: 99px;
  content: "";
  display: block;
  height: 4px;
  margin: -3px auto 7px;
  width: 34px;
}

.demo-preview-phone > div {
  background: #fff;
}

.demo-preview-app-head {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem;
}

.demo-preview-app-head i {
  background: var(--teal);
  border-radius: 50%;
  height: 17px;
  width: 17px;
}

.demo-preview-app-head span,
.demo-preview-app-card span {
  background: #dfe8f0;
  border-radius: 99px;
  display: block;
  height: 5px;
}

.demo-preview-app-head span {
  width: 52px;
}

.demo-preview-app-card {
  border-radius: 6px;
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem;
  padding: 0.7rem;
}

.demo-preview-app-card b {
  color: var(--blue);
  font-size: 1.5rem;
}

.demo-preview-app-card b::after {
  content: "72%";
}

.demo-preview-app-card span:last-child {
  width: 70%;
}

.demo-preview-app-grid {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr 1fr;
  margin: 0.35rem;
}

.demo-preview-app-grid i {
  background: #fff;
  border-radius: 5px;
  height: 54px;
}

.live-demo-preview-game {
  background: #102a46;
  position: relative;
}

.demo-preview-game-sky {
  background: linear-gradient(#1b5676, #2d806e 62%, #173f38 63%);
  height: 68%;
  overflow: hidden;
  position: relative;
}

.demo-preview-game-sky i {
  background: #9ae6d6;
  border-radius: 50% 50% 42% 58%;
  bottom: 16px;
  height: 42px;
  position: absolute;
  width: 24px;
}

.demo-preview-game-sky i:nth-child(1) { left: 18%; }
.demo-preview-game-sky i:nth-child(2) { left: 46%; transform: scale(1.4); }
.demo-preview-game-sky i:nth-child(3) { right: 14%; transform: scale(0.8); }

.demo-preview-game-dialogue {
  background: rgba(8, 21, 36, 0.95);
  border: 1px solid rgba(255, 210, 117, 0.45);
  bottom: 0.8rem;
  display: grid;
  gap: 0.4rem;
  left: 0.75rem;
  padding: 0.65rem;
  position: absolute;
  right: 0.75rem;
}

.demo-preview-game-dialogue b,
.demo-preview-game-dialogue span {
  background: #ffd275;
  border-radius: 99px;
  height: 5px;
}

.demo-preview-game-dialogue b { width: 35%; }
.demo-preview-game-dialogue span { background: rgba(255, 255, 255, 0.72); width: 92%; }
.demo-preview-game-dialogue span:last-child { width: 66%; }

.live-demo-preview-ocr {
  align-items: center;
  background: linear-gradient(145deg, #e9f5ee, #edf5fb);
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 1rem;
}

.demo-preview-document {
  background: #fff;
  border: 1px solid #cad7e2;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 0.48rem;
  height: 182px;
  padding: 1rem 0.75rem;
  transform: rotate(-3deg);
  width: 82px;
}

.demo-preview-document i {
  background: #cfd8df;
  border-radius: 99px;
  height: 5px;
}

.demo-preview-document-source i:nth-child(odd) {
  transform: translateX(5px) rotate(2deg);
}

.demo-preview-document-clean {
  border-top: 4px solid var(--teal);
  transform: rotate(3deg);
}

.demo-preview-document-clean i {
  background: #9fc7c1;
}

.demo-preview-arrow {
  color: var(--teal-dark);
  font-weight: 900;
}

.live-demo-card-compact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.live-demo-card-compact .live-demo-preview {
  flex: 0 0 124px;
  min-height: 124px;
}

.live-demo-card-compact .live-demo-card-body {
  flex: 1;
  padding: 1.1rem;
}

.live-demo-card-compact h3 {
  font-size: 1.05rem;
  margin-top: 0.7rem;
}

.live-demo-card-compact p {
  font-size: 0.9rem;
}

.live-demo-card-compact .demo-preview-phone {
  border-radius: 12px;
  height: 104px;
  padding: 5px;
  width: 58px;
}

.live-demo-card-compact .demo-preview-phone::before {
  margin-bottom: 3px;
  width: 18px;
}

.live-demo-card-compact .demo-preview-app-head,
.live-demo-card-compact .demo-preview-app-card,
.live-demo-card-compact .demo-preview-app-grid {
  transform: scale(0.48);
  transform-origin: top left;
  width: 200%;
}

.live-demo-card-compact .demo-preview-app-card { margin-top: -7px; }
.live-demo-card-compact .demo-preview-app-grid { margin-top: -25px; }
.live-demo-card-compact .demo-preview-document { height: 94px; padding: 0.55rem 0.4rem; width: 48px; }
.live-demo-card-compact .demo-preview-saas-copy { margin-top: 1rem; }
.live-demo-card-compact .demo-preview-saas-cards span { height: 28px; }

.live-demos-cta h2 {
  margin: 0;
}

.live-demos-cta p {
  color: var(--muted);
  margin: 0.35rem 0 0;
  max-width: 760px;
}

.live-demo-index-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .hero,
  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .service-overview {
    position: static;
  }

  .comparison-cards,
  .cleanup-flow,
  .demo-grid,
  .landing-demo-columns,
  .insight-grid,
  .mini-card-grid,
  .two-column-demo,
  .sample-demo-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-demo-columns {
    grid-template-columns: 1fr;
  }

  .tp-hero-grid,
  .tp-trust,
  .tp-feature,
  .tp-progress-mock {
    grid-template-columns: 1fr;
  }

  .services-hero,
  .app-live-hero,
  .app-live-layout,
  .app-deliverables-layout,
  .service-quote-guide {
    grid-template-columns: 1fr;
  }

  .services-hero-panel {
    max-width: 620px;
  }

  .services-map {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-map-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-detail-grid-primary,
  .service-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-detail-grid-primary .service-detail-card:first-child {
    grid-column: 1 / -1;
  }

  .tp-feature-reverse > div:first-child {
    order: 0;
  }

  .tp-dashboard {
    min-height: 380px;
    transform: none;
  }

  .service-grid,
  .portfolio-grid,
  .problem-grid,
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-grid .format-card,
  .format-grid .format-card:nth-last-child(-n + 3) {
    grid-column: auto;
  }

  .format-grid .format-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 0.5rem);
    width: 100%;
  }

  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-page-hero {
    grid-template-columns: 1fr;
  }

  .process-page-hero-visual {
    max-width: 660px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    min-height: 220px;
  }

  .process-timeline-page .process-step {
    min-height: 250px;
  }

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

  .process-receive-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-service-grid-primary,
  .home-service-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .home-service-grid-primary .service-card:first-child {
    grid-column: 1 / -1;
  }

  .format-grid .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .app-hero-visual {
    max-width: 760px;
  }

  .app-json-grid,
  .app-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-cta {
    display: none;
  }

  .nav {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .back-to-top {
    bottom: 18px;
    height: 42px;
    right: 18px;
    width: 42px;
  }

  .nav,
  .section,
  .footer-grid {
    width: min(100% - 28px, 1160px);
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .nav {
    flex-wrap: wrap;
  }

  .language-switcher {
    margin-left: auto;
    order: 2;
  }

  .menu-toggle {
    order: 3;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    margin: 0 0 1rem;
    align-items: stretch;
    order: 4;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-top: 1px solid var(--line);
    padding: 0.7rem 0;
  }

  .hero {
    gap: 2rem;
    padding-top: 44px;
  }

  .comparison,
  .comparison-cards,
  .cleanup-flow,
  .demo-grid,
  .hero-proof,
  .trust-list,
  .service-grid,
  .services-detail-grid-primary,
  .services-detail-grid-support,
  .service-choice-grid,
  .service-send-list,
  .home-service-grid-primary,
  .home-service-grid-secondary,
  .portfolio-grid,
  .portfolio-category-document .portfolio-category-grid,
  .problem-grid,
  .format-grid,
  .mini-card-grid,
  .sample-demo-paths,
  .split-section {
    grid-template-columns: 1fr;
  }

  .process-timeline,
  .process-companion,
  .process-path-grid,
  .process-trust-grid,
  .process-receive-list {
    grid-template-columns: 1fr;
  }

  .process-page-hero {
    gap: 1.5rem;
    padding-top: 44px;
  }

  .process-page-hero-copy h1 {
    font-size: clamp(2.35rem, 14vw, 3.35rem);
  }

  .process-page-hero-copy .hero-actions,
  .process-final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .process-page-hero-visual::before {
    height: 2px;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  .process-visual-card-delivery {
    margin-left: 0;
  }

  .process-visual-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    min-height: auto;
  }

  .process-timeline-page .process-step {
    min-height: auto;
  }

  .process-companion-card {
    min-height: auto;
  }

  .process-ai-copy {
    grid-template-columns: 1fr;
  }

  .process-ai-copy p {
    grid-column: auto;
    margin-top: 0;
  }

  .process-trust-grid article,
  .process-receive-list article {
    min-height: auto;
  }

  .process-final-cta {
    grid-template-columns: 1fr;
  }

  .ocr-live-hero,
  .app-live-hero,
  .app-live-layout,
  .app-deliverables-layout,
  .game-live-hero,
  .game-live-layout,
  .game-deliverables-layout,
  .ocr-delivery-layout,
  .ocr-trust-panel {
    grid-template-columns: 1fr;
  }

  .ocr-hero-visual {
    max-width: 720px;
  }

  .game-hero-visual {
    max-width: 760px;
  }

  .app-hero-visual {
    max-width: 760px;
  }

  .app-json-grid,
  .app-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ocr-transform-grid {
    grid-template-columns: 1fr;
  }

  .ocr-panel:not(:last-child)::after {
    bottom: -25px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
  }

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

  .process-companion-card b {
    bottom: -21px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
  }

  .home-service-grid-primary .service-card:first-child {
    grid-column: auto;
  }

  .services-detail-grid-primary .service-detail-card:first-child {
    grid-column: auto;
  }

  .services-hero {
    gap: 1.6rem;
    padding-top: 44px;
  }

  .services-hero-panel,
  .service-quote-guide {
    padding: 1rem;
  }

  .services-flow-row,
  .services-flow-footer {
    grid-template-columns: 1fr;
  }

  .services-map-links,
  .services-map-links a,
  .service-detail-card .card-actions,
  .services-final-cta .hero-actions {
    width: 100%;
  }

  .services-map-links {
    grid-template-columns: 1fr;
  }

  .services-map-links a {
    justify-content: flex-start;
  }

  .format-grid .card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .format-grid .format-card:last-child:nth-child(odd) {
    max-width: none;
  }

  .sample-landing-hero {
    padding-top: 36px;
  }

  .swap {
    justify-self: center;
    transform: rotate(90deg);
  }

  .section-heading,
  .portfolio-category-heading,
  .cta-band,
  .game-demo-heading,
  .live-demo-notice > div,
  .landing-demo-toolbar,
  .saas-live-switcher,
  .sample-start,
  .toggle-header,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-demo-notice p {
    text-align: left;
  }

  .ocr-live-hero {
    gap: 1.5rem;
    padding-top: 38px;
  }

  .game-live-hero {
    gap: 1.5rem;
    padding-top: 38px;
  }

  .app-live-hero {
    gap: 1.5rem;
    padding-top: 38px;
  }

  .ocr-live-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .game-live-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .app-live-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .ocr-hero-visual {
    min-height: 430px;
    padding: 1rem;
  }

  .game-hero-visual {
    min-height: 440px;
    padding: 1rem;
  }

  .app-hero-visual {
    gap: 0.8rem;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1rem;
  }

  .app-hero-phone-left,
  .app-hero-phone-right {
    transform: none;
  }

  .app-hero-phone-left {
    display: none;
  }

  .ocr-hero-paper,
  .ocr-hero-output {
    width: 100%;
  }

  .ocr-hero-output {
    margin-bottom: 2.7rem;
  }

  .ocr-hero-visual ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ocr-live-controls {
    position: static;
  }

  .app-live-controls,
  .game-live-controls,
  .ocr-live-controls {
    position: static;
  }

  .app-live-controls a,
  .game-live-controls a,
  .ocr-live-controls a {
    flex: 1 1 auto;
    text-align: center;
  }

  .ocr-workflow-grid,
  .ocr-transform-grid,
  .ocr-chip-grid,
  .ocr-quote-grid,
  .app-phone-compare,
  .app-json-grid,
  .app-insight-grid,
  .app-quote-card .check-list,
  .game-insight-grid,
  .game-quote-card .check-list {
    grid-template-columns: 1fr;
  }

  .app-phone-column {
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .app-tab-controls button,
  .app-mode-controls button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .game-screen {
    grid-template-rows: auto minmax(130px, auto) auto;
    min-height: 0;
  }

  .game-screen-stage,
  .game-hero-scene,
  .game-item-card {
    grid-template-columns: 1fr;
  }

  .game-status-card {
    justify-self: stretch;
  }

  .game-menu-list {
    grid-template-columns: 1fr;
  }

  .game-chip-grid {
    gap: 0.52rem;
  }

  .game-chip-grid span {
    font-size: 0.86rem;
    min-height: 34px;
    padding: 0.48rem 0.66rem;
  }

  .game-tab-controls button,
  .game-mode-controls button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .ocr-transform-grid .ocr-panel-clean {
    grid-column: auto;
  }

  .ocr-workflow-grid article {
    min-height: auto;
  }

  .ocr-paper {
    min-height: 0;
  }

  .ocr-delivery-layout,
  .ocr-trust-panel,
  .ocr-quote-card {
    border-radius: 18px;
    padding: 1rem;
  }

  .landing-view-controls,
  .saas-live-controls,
  .toggle-buttons {
    width: 100%;
  }

  .demo-notes {
    justify-content: flex-start;
  }

  .landing-view-controls button,
  .saas-live-controls button,
  .toggle-buttons button {
    flex: 1 1 auto;
  }

  .saas-live-switcher {
    position: static;
  }

  .tp-hero,
  .tp-section,
  .tp-feature,
  .tp-trust,
  .tp-final,
  .tp-compare-hero,
  .tp-compare-section {
    padding: 1.25rem;
  }

  .tp-hero {
    min-height: 0;
  }

  .tp-nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .tp-dashboard {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 0;
  }

  .tp-dashboard-main {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .tp-dashboard-windowbar {
    min-height: 30px;
    padding: 0.28rem 0.55rem;
  }

  .tp-dashboard-windowbar i {
    font-size: 0.68rem;
  }

  .tp-dashboard aside span {
    height: 28px;
    width: 28px;
  }

  .tp-dashboard-stats,
  .tp-dashboard-bottom,
  .tp-trust > div,
  .tp-benefits,
  .tp-board-mock,
  .tp-steps,
  .tp-plan-grid,
  .tp-faq > div,
  .tp-compare-cards,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .tp-progress-ring {
    height: 136px;
    width: 136px;
  }

  .tp-plan-grid article.featured {
    transform: none;
  }

  .tp-actions,
  .tp-btn {
    width: 100%;
  }

  .taskpilot-feature-grid,
  .taskpilot-pricing > div {
    grid-template-columns: 1fr;
  }

  .sample-final-cta .btn,
  .landing-demo-hero .btn,
  .sample-landing-hero .btn,
  .service-overview .btn {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .home-live-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-demo-card {
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 720px) {
  .live-demos-hero {
    grid-template-columns: 1fr;
    padding-bottom: 34px;
    padding-top: 44px;
  }

  .live-demos-hero-visual {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none;
    width: 100%;
  }

  .live-demos-hero-visual span,
  .live-demos-hero-visual span:nth-child(n) {
    height: 58px;
    transform: none;
  }

  .live-demo-grid,
  .home-live-demo-grid {
    grid-template-columns: 1fr;
  }

  .live-demo-card {
    grid-template-columns: 1fr;
  }

  .live-demo-preview {
    min-height: 172px;
  }

  .live-demo-card-compact .live-demo-preview {
    min-height: 132px;
  }

  .live-demo-card-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .live-demo-card-actions .btn {
    width: 100%;
  }

  .live-demo-index-link {
    white-space: normal;
  }
}
/* AI translation review live demo */
.live-demo-preview-ai {
  align-items: stretch;
  background: linear-gradient(145deg, #eef3f8, #e8f7f4);
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr 28px 1fr;
  padding: 1rem;
}

.demo-preview-ai-column {
  background: #fff;
  border: 1px solid #d5e0e9;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.08);
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.65rem;
}

.demo-preview-ai-column span {
  background: #c9d6e1;
  height: 8px;
  width: 52%;
}

.demo-preview-ai-column i {
  background: #e2e8ee;
  height: 6px;
}

.demo-preview-ai-column.is-raw i:nth-child(3) {
  background: #f2c5ba;
  width: 82%;
}

.demo-preview-ai-column.is-final {
  border-top: 4px solid var(--teal);
}

.demo-preview-ai-column.is-final i {
  background: #abd4cd;
}

.demo-preview-ai-marks {
  align-content: center;
  display: grid;
  gap: 0.48rem;
  justify-items: center;
}

.demo-preview-ai-marks b {
  background: #e6a34a;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.home-live-demo-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-live-demo-grid > .live-demo-card {
  grid-column: span 2;
}

.home-live-demo-grid > .live-demo-card:nth-last-child(2):nth-child(4) {
  grid-column: 2 / span 2;
}

.home-live-demo-grid > .live-demo-card:last-child:nth-child(5) {
  grid-column: 4 / span 2;
}

.ai-review-hero {
  align-items: center;
  background: #fff;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  padding-bottom: 54px;
  padding-top: 54px;
}

.ai-review-hero h1 {
  background: none;
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  letter-spacing: 0;
  line-height: 1.0;
  margin: 0;
}

.ai-review-hero .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 760;
  line-height: 1.4;
  margin: 1.1rem 0 0;
}

.ai-review-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  line-height: 1.65;
  max-width: 650px;
}

.ai-review-workspace {
  align-self: stretch;
  background: linear-gradient(145deg, #e4f1ec, #ecf6f3 55%, #e8f4f0);
  border: 1px solid #c4d9d3;
  border-radius: 20px;
  box-shadow: 0 28px 68px rgba(22, 55, 48, 0.13);
  min-height: 380px;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.ai-review-workspace-head {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  display: flex;
  gap: 0.38rem;
  padding: 0.65rem 0.85rem;
  position: relative;
}

.ai-review-workspace-head > span {
  background: #cbd6df;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.ai-review-workspace-head > span:nth-child(2) { background: #e6a34a; }
.ai-review-workspace-head > span:nth-child(3) { background: var(--teal); }

.ai-review-workspace-head b {
  color: #425167;
  font-size: 0.78rem;
  margin-left: auto;
}

.ai-review-workspace-panels {
  align-items: stretch;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 38px 1fr;
  margin-top: 1rem;
}

.ai-review-workspace-panels article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  display: grid;
  gap: 0.7rem;
  min-height: 222px;
  padding: 1rem;
}

.ai-review-workspace-panels small {
  color: #516174;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-review-workspace-panels i {
  background: #c9d9d5;
  border-radius: 4px;
  height: 7px;
}

.ai-review-workspace-panels .is-raw i:nth-child(3) {
  background: linear-gradient(transparent 45%, #f7d9b0 45%);
  width: 91%;
}

.ai-review-workspace-panels .is-final {
  background: rgba(244, 251, 249, 0.92);
  border-color: #b8ddd6;
}

.ai-review-workspace-panels .is-final i {
  background: #8ec5be;
  border-radius: 4px;
}

.ai-review-workspace-marks {
  align-content: center;
  color: #b66d16;
  display: grid;
  font-weight: 950;
  gap: 1rem;
  justify-items: center;
}

.ai-review-workspace-marks span:nth-child(2) {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.ai-review-workspace-badges,
.ai-review-improvement-badges,
.ai-review-content-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-review-workspace-badges {
  margin-top: 0.85rem;
}

.ai-review-workspace-badges span,
.ai-review-improvement-badges span,
.ai-review-content-chips span {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(200, 225, 218, 0.9);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.35rem 0.6rem;
}

.ai-review-controls-section {
  padding-bottom: 12px;
  padding-top: 0;
}

.ai-review-controls {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.55rem;
  position: sticky;
  top: 86px;
  z-index: 5;
}

.ai-review-controls a {
  border-radius: 999px;
  color: var(--ink);
  flex: 1;
  font-size: 0.87rem;
  font-weight: 850;
  padding: 0.7rem 0.85rem;
  text-align: center;
  text-decoration: none;
}

.ai-review-controls a:first-child {
  background: #1d594b;
  color: #fff;
}

.ai-review-controls a:hover,
.ai-review-controls a:focus-visible {
  background: var(--soft);
  color: var(--teal-dark);
}

.ai-review-controls a:first-child:hover,
.ai-review-controls a:first-child:focus-visible {
  background: #174d41;
  color: #fff;
}

.ai-review-demo-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.1);
  overflow: hidden;
  padding: clamp(1rem, 2.8vw, 1.6rem);
}

.ai-review-demo-heading {
  align-items: end;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ai-review-demo-heading h2,
.ai-review-layers-section h2,
.ai-review-deliverables-section h2,
.ai-review-trust-section h2,
.ai-review-final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.ai-review-demo-heading p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.ai-review-tabs {
  background: #f0f4f8;
  border: 1px solid #dce5ed;
  border-radius: 999px;
  display: flex;
  gap: 0.28rem;
  padding: 0.32rem;
}

.ai-review-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #516174;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 38px;
  padding: 0.55rem 0.72rem;
}

.ai-review-tabs button.active {
  background: #1d594b;
  box-shadow: 0 3px 10px rgba(16, 32, 51, 0.12);
  color: #fff;
}

.ai-review-tab-panel {
  display: none;
  margin-top: 1.35rem;
}

.ai-review-tab-panel.active {
  display: block;
}

.ai-review-comparison-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-review-comparison-card {
  border: 1px solid #d9e2ea;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 1.2rem;
}

.ai-review-comparison-card-source { background: #f8fafc; }
.ai-review-comparison-card-raw { background: #fffaf4; border-color: #ead4b6; }
.ai-review-comparison-card-final { background: #f4fbf9; border-color: #acd6ce; }

.ai-review-column-label {
  color: #516174;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-review-comparison-card p {
  color: #26374b;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 1.1rem 0;
}

.ai-review-comparison-card mark {
  background: linear-gradient(transparent 58%, #f3c98f 58%);
  color: inherit;
  padding: 0 0.08em;
}

.ai-review-improvement-badges {
  margin-top: auto;
}

.ai-review-improvement-badges span {
  font-size: 0.68rem;
}

.ai-review-note-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(16, 32, 51, 0.06);
  color: var(--ink);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 0.8rem;
  padding: 1rem 1.1rem;
}

.ai-review-note-card .icon {
  background: #eef8f6;
  border-radius: 10px;
  color: var(--teal-dark);
  height: 42px;
  width: 42px;
}

.ai-review-note-card h3 {
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 0.3rem;
}

.ai-review-note-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.ai-review-layer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.ai-review-layer-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  display: grid;
  gap: 0.65rem;
  min-height: 190px;
  padding: 1.3rem;
}

.ai-review-layer-grid article > span {
  background: #eef8f6;
  border: 1px solid #c4d9d4;
  border-radius: 6px;
  color: var(--teal-dark);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 950;
  padding: 0.22rem 0.52rem;
  width: fit-content;
}

.ai-review-layer-grid h3 {
  margin: 0.35rem 0 0.1rem;
}

.ai-review-layer-grid p,
.ai-review-trust-section p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.ai-review-deliverables-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ai-review-checklist-card,
.ai-review-best-card {
  align-content: start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.ai-review-checklist-card > .icon,
.ai-review-best-card > .icon {
  height: 46px;
  width: 46px;
}

.ai-review-checklist-card .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-review-content-chips span {
  background: #eef8f6;
  border: 1px solid #c4d9d4;
  border-radius: 999px;
  color: #315d52;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.58rem 0.88rem;
}

.ai-review-trust-section {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  color: var(--ink);
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  padding: clamp(2.5rem, 5vw, 4rem);
}

.ai-review-trust-section p {
  color: var(--muted);
  margin-top: 0.8rem;
}

.ai-review-trust-section ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-review-trust-section li {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
}

.ai-review-trust-section li .icon {
  background: #eef8f6;
  border-radius: 8px;
  color: var(--teal-dark);
  flex: 0 0 auto;
  height: 32px;
  width: 32px;
}

.ai-review-final-cta {
  background: linear-gradient(135deg, #0e3229, #1d594b 65%, #2d7465);
  border: none;
  color: #fff;
  margin-top: 70px;
}

.ai-review-final-cta h2 { color: #fff; }

.ai-review-final-cta p { color: rgba(255, 255, 255, 0.76); }

.ai-review-final-cta .hero-actions { justify-content: flex-end; }

.ai-review-final-cta .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.ai-review-final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.ai-review-detail-live-card .sample-demo-path {
  background: linear-gradient(135deg, #f4fbf9, #f3f7fb);
}

@media (max-width: 920px) {
  .home-live-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-live-demo-grid > .live-demo-card,
  .home-live-demo-grid > .live-demo-card:nth-last-child(2):nth-child(4),
  .home-live-demo-grid > .live-demo-card:last-child:nth-child(5) {
    grid-column: auto;
  }

  .home-live-demo-grid > .live-demo-card:last-child:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 0.5rem);
    width: 100%;
  }

  .ai-review-hero,
  .ai-review-trust-section {
    grid-template-columns: 1fr;
  }

  .ai-review-workspace {
    max-width: 680px;
  }

  .ai-review-demo-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .ai-review-tabs {
    border-radius: var(--radius);
    overflow-x: auto;
    width: 100%;
  }

  .ai-review-tabs button {
    border-radius: var(--radius);
    flex: 1 0 auto;
  }
}

@media (max-width: 720px) {
  .home-live-demo-grid > .live-demo-card:last-child:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }

  .ai-review-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
  }

  .ai-review-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .ai-review-workspace {
    min-height: 326px;
    padding: 0.75rem;
  }

  .ai-review-workspace-panels {
    grid-template-columns: 1fr 26px 1fr;
  }

  .ai-review-workspace-panels article {
    min-height: 190px;
    padding: 0.72rem;
  }

  .ai-review-workspace-badges span:nth-child(n + 4) {
    display: none;
  }

  .ai-review-controls {
    top: 72px;
  }

  .ai-review-controls a {
    font-size: 0.75rem;
    padding: 0.62rem 0.35rem;
  }

  .ai-review-comparison-grid,
  .ai-review-layer-grid,
  .ai-review-deliverables-grid {
    grid-template-columns: 1fr;
  }

  .ai-review-comparison-card {
    min-height: 0;
  }

  .ai-review-note-card {
    grid-template-columns: 1fr;
  }

  .ai-review-checklist-card .check-list {
    grid-template-columns: 1fr;
  }

  .ai-review-final-cta .hero-actions,
  .ai-review-final-cta .btn {
    width: 100%;
  }
}

/* Business email translation live demo */
.live-demo-preview-email {
  background: #eaf3f8;
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 1rem;
}

.demo-preview-email-sidebar {
  background: #123047;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 0.5rem;
}

.demo-preview-email-sidebar i {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.demo-preview-email-message {
  background: #fff;
  border: 1px solid #d6e1e9;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.demo-preview-email-message span,
.demo-preview-email-message b {
  background: #d8e2ea;
  border-radius: 99px;
  display: block;
  height: 6px;
}

.demo-preview-email-message .demo-preview-email-subject {
  background: #2b657e;
  height: 9px;
  margin-bottom: 0.5rem;
  width: 72%;
}

.demo-preview-email-message b:nth-of-type(2) { width: 88%; }
.demo-preview-email-message b:nth-of-type(3) { width: 62%; }
.demo-preview-email-message em {
  background: #d9f0eb;
  border-left: 3px solid var(--teal);
  height: 30px;
  margin-top: auto;
}

.email-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.8rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  min-height: 650px;
  padding-bottom: 70px;
  padding-top: 72px;
}

.email-live-copy h1 {
  font-size: clamp(3rem, 6vw, 5.45rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.email-live-copy .hero-subtitle {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
  margin: 1.35rem 0 0;
  max-width: 650px;
}

.email-hero-description {
  color: #536b76;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0.75rem 0 0;
  max-width: 620px;
}

.email-hero-visual {
  background:
    radial-gradient(circle at 12% 18%, rgba(7, 143, 131, 0.12), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(18, 103, 214, 0.09), transparent 32%),
    linear-gradient(145deg, #eef8f6, #e5f3f8);
  border: 1px solid #c8dee7;
  border-radius: 24px;
  box-shadow: 0 28px 72px rgba(16, 48, 71, 0.18);
  overflow: hidden;
  padding: 1.25rem;
}

.email-hero-window {
  background: #fff;
  border: 1px solid #cbdbe4;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.11);
}

.email-hero-windowbar,
.email-client-toolbar {
  align-items: center;
  background: #f5f8fa;
  border-bottom: 1px solid #dce5eb;
  color: #546675;
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
}

.email-hero-windowbar i,
.email-window-dots i {
  background: #c4d0d8;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.email-hero-windowbar i:first-child,
.email-window-dots i:first-child { background: #e48875; }
.email-hero-windowbar i:nth-child(2),
.email-window-dots i:nth-child(2) { background: #e6b963; }
.email-hero-windowbar i:nth-child(3),
.email-window-dots i:nth-child(3) { background: #6eb99f; }
.email-hero-windowbar span { margin-left: 0.45rem; }

.email-hero-columns {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  min-height: 390px;
  padding: 1rem;
}

.email-hero-message {
  border: 1px solid #dbe4ea;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.email-hero-message > span {
  color: #687988;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.email-hero-message h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 1.1rem 0 0.8rem;
}

.email-hero-message p {
  color: #536575;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.email-hero-message.is-rough { background: #f7f9fa; }
.email-hero-message.is-final {
  background: #f1fbf8;
  border-color: #b9ddd4;
}

.email-hero-message b {
  align-items: center;
  color: #19715f;
  display: flex;
  font-size: 0.72rem;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.email-hero-message b svg { height: 16px; width: 16px; }
.email-hero-transform {
  align-items: center;
  color: var(--teal-dark);
  display: flex;
  justify-content: center;
}
.email-hero-transform svg { height: 21px; width: 21px; }

.email-workstation-section { padding-top: 72px; }
.email-demo-heading { max-width: 800px; }
.email-demo-heading h2,
.email-process-section h2,
.email-types-section h2,
.email-benefits-section h2,
.email-quote-card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin: 0;
}
.email-demo-heading p,
.email-quote-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.8rem 0 0;
}

.email-control-stack {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
  padding: 1rem 0;
}

.email-control-group {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 130px minmax(0, 1fr);
}

.email-control-group > span {
  color: #5a6977;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.email-scenario-tabs,
.email-direction-tabs,
.email-version-tabs {
  display: flex;
  gap: 0.45rem;
  min-width: 0;
}

.email-scenario-tabs button,
.email-direction-tabs button,
.email-version-tabs button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #536575;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 780;
  gap: 0.4rem;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.email-scenario-tabs button:hover,
.email-direction-tabs button:hover,
.email-version-tabs button:hover { background: #f3f7f9; }
.email-scenario-tabs button.active,
.email-direction-tabs button.active,
.email-version-tabs button.active {
  background: #e9f6f4;
  border-color: #b9ddd6;
  color: var(--teal-dark);
}
.email-scenario-tabs .icon,
.email-scenario-tabs svg { height: 16px; width: 16px; }

.email-direction-tabs {
  background: #f3f7f8;
  border: 1px solid #dce7e9;
  border-radius: 10px;
  padding: 0.25rem;
  width: fit-content;
}

.email-direction-tabs button { min-width: 190px; }

.email-workstation-layout {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.email-client-shell {
  background: #fff;
  border: 1px solid #cfdce4;
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(16, 32, 51, 0.12);
  min-width: 0;
  overflow: hidden;
}

.email-client-toolbar { justify-content: space-between; }
.email-window-dots,
.email-toolbar-actions { display: flex; gap: 0.35rem; }
.email-client-toolbar > span { align-items: center; display: flex; gap: 0.4rem; }
.email-client-toolbar svg { height: 15px; width: 15px; }
.email-toolbar-actions i {
  background: #ccd8e0;
  display: block;
  height: 7px;
  width: 18px;
}

.email-client-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 570px;
}

.email-folder-rail {
  align-items: center;
  background: #123047;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 0.6rem;
}

.email-folder-rail span {
  align-items: center;
  color: #b9cad5;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.email-folder-rail span.active { background: #1e8290; color: #fff; }
.email-folder-rail svg { height: 17px; width: 17px; }
.email-message-stage { min-width: 0; position: relative; }
.email-message-panel { display: none; min-height: 100%; }
.email-message-panel.active { display: block; }

.email-message-meta {
  border-bottom: 1px solid #e1e8ed;
  margin: 0;
  padding: 1.3rem 1.5rem;
}

.email-message-meta > div {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 38px;
}

.email-message-meta dt {
  color: #71808c;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.email-message-meta dd {
  align-items: center;
  color: #243747;
  display: flex;
  font-size: 0.88rem;
  font-weight: 680;
  gap: 0.55rem;
  margin: 0;
  min-width: 0;
}

.email-avatar {
  align-items: center;
  background: #dff2ef;
  border-radius: 50%;
  color: #186c61;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 0.68rem;
  height: 30px;
  justify-content: center;
}

.email-message-content {
  color: #33495a;
  font-size: 0.96rem;
  line-height: 1.72;
  min-height: 290px;
  padding: 1.5rem;
}
.email-message-content p { margin: 0; }
.email-paragraph-gap { display: block; height: 0.9rem; }
.email-message-actions {
  border-top: 1px solid #e5ebef;
  display: flex;
  gap: 0.55rem;
  padding: 1rem 1.5rem;
}
.email-message-actions button {
  background: #fff;
  border: 1px solid #cad8e1;
  color: #4c6172;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 780;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
}

.email-improvement-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  padding: 1.45rem;
}
.email-improvement-panel > .icon {
  align-items: center;
  background: #e4f7f3;
  border-radius: 999px;
  color: var(--teal-dark);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.email-improvement-panel > .icon svg { height: 21px; width: 21px; }
.email-improvement-panel h3 { font-size: 1.35rem; margin: 1.1rem 0 0.55rem; }
.email-improvement-panel > p { color: #59706f; font-size: 0.88rem; line-height: 1.6; margin: 0; }
.email-note-set { display: none; margin-top: 1.25rem; }
.email-note-set.active { display: block; }
.email-note-set .check-list { display: grid; gap: 0.65rem; margin: 0; }
.email-note-set .check-list li { background: #f8fbfd; border: 1px solid #dce7f2; border-radius: 10px; font-size: 0.84rem; padding: 0.75rem; }

.email-process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.email-process-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
}
.email-process-num {
  align-items: center;
  background: #e4f7f3;
  border-radius: 999px;
  color: var(--teal-dark);
  display: flex;
  font-size: 0.82rem;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.email-process-grid h3 { font-size: 1.05rem; margin: 0; }
.email-process-grid p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: 0; }

.email-types-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.email-types-card h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}
.email-type-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.email-type-chips span {
  align-items: center;
  background: #e9fbf8;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 880;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
}
.email-type-chips svg { color: var(--teal-dark); height: 16px; width: 16px; }

.email-benefits-section h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}
.email-benefits-section .section-heading p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.65rem 0 0;
}
.email-benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.email-benefits-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
}
.email-benefits-grid h3 { font-size: 1.08rem; margin: 0; }
.email-benefits-grid p { color: var(--muted); line-height: 1.55; margin: 0; }

.email-quote-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.email-quote-card > div > .icon {
  align-items: center;
  background: #e4f7f3;
  border-radius: 999px;
  color: var(--teal-dark);
  display: flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 46px;
}
.email-quote-card .icon svg { height: 23px; width: 23px; }
.email-quote-card .check-list { display: grid; gap: 0.65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.email-quote-card .check-list li { background: #f8fbfd; border: 1px solid #dce7f2; border-radius: 10px; font-size: 0.86rem; min-height: 54px; padding: 0.8rem; }
.email-final-cta {
  background:
    radial-gradient(circle at top right, rgba(18, 103, 214, 0.18), transparent 28%),
    linear-gradient(135deg, #132338, #133d66 68%, #0f766e);
  border: none;
  border-radius: 16px;
  color: #fff;
}
.email-final-cta h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.email-final-cta p { color: rgba(255, 255, 255, 0.76); }
.email-final-cta .hero-actions { justify-content: flex-end; margin: 0; }
.email-final-cta .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.email-final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .email-live-hero { grid-template-columns: 1fr; min-height: 0; }
  .email-hero-visual { max-width: 760px; }
  .email-workstation-layout { grid-template-columns: 1fr; }
  .email-improvement-panel { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .email-improvement-panel h3 { margin-top: 0; }
  .email-improvement-panel > p,
  .email-note-set { grid-column: 2; }
  .email-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .email-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .email-live-hero { gap: 1.6rem; padding-bottom: 46px; padding-top: 42px; }
  .email-live-copy h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .email-live-copy .hero-actions,
  .email-final-cta .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .email-live-copy .btn,
  .email-final-cta .btn { width: 100%; }
  .email-hero-visual { padding: 0.65rem; }
  .email-hero-columns { grid-template-columns: 1fr; min-height: 0; }
  .email-hero-transform { min-height: 42px; transform: rotate(90deg); }
  .email-hero-message { min-height: 235px; }
  .email-control-group { align-items: start; grid-template-columns: 1fr; }
  .email-scenario-tabs,
  .email-direction-tabs,
  .email-version-tabs { margin-right: -14px; overflow-x: auto; padding-bottom: 0.4rem; scroll-snap-type: x proximity; }
  .email-scenario-tabs button,
  .email-direction-tabs button,
  .email-version-tabs button { flex: 0 0 auto; scroll-snap-align: start; }
  .email-direction-tabs { box-sizing: border-box; margin-right: 0; max-width: 100%; width: 100%; }
  .email-direction-tabs button { min-width: 178px; }
  .email-client-body { grid-template-columns: 42px minmax(0, 1fr); min-height: 0; }
  .email-folder-rail { padding-inline: 0.25rem; }
  .email-folder-rail span { height: 30px; width: 30px; }
  .email-client-toolbar > span { font-size: 0.68rem; }
  .email-message-meta { padding: 1rem; }
  .email-message-meta > div { align-items: start; grid-template-columns: 1fr; gap: 0.2rem; padding: 0.3rem 0; }
  .email-message-content { font-size: 0.9rem; min-height: 0; padding: 1rem; }
  .email-message-actions { padding: 0.8rem 1rem; }
  .email-improvement-panel { display: block; }
  .email-improvement-panel > p,
  .email-note-set { grid-column: auto; }
  .email-process-grid,
  .email-benefits-grid { grid-template-columns: 1fr; }
  .email-quote-card { gap: 1.5rem; grid-template-columns: 1fr; padding: 1rem; }
  .email-quote-card .check-list { grid-template-columns: 1fr; }
  .email-type-chips span { width: 100%; }
}
/* PDF to Word conversion live demo */
.pdf-word-controls {
  align-items: center;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
}

.pdf-word-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  padding-bottom: 48px;
  padding-top: 54px;
}

.pdf-word-hero-copy {
  display: grid;
  gap: 1rem;
}

.pdf-word-hero-copy h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.15rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.pdf-word-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 650px;
}

.pdf-word-hero-visual {
  align-items: center;
  background: linear-gradient(145deg, #eef7f7, #eaf1fb 55%, #f9fbfd);
  border: 1px solid #d6e4ec;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(16, 32, 51, 0.14);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  min-height: 470px;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2rem);
  position: relative;
}

.pdf-word-hero-visual::before {
  background: linear-gradient(rgba(18, 103, 214, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 103, 214, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
  position: absolute;
}

.pdf-word-hero-file,
.pdf-word-process {
  position: relative;
  z-index: 1;
}

.pdf-word-hero-file {
  background: #fff;
  border: 1px solid #cbd9e5;
  box-shadow: 0 20px 44px rgba(16, 32, 51, 0.15);
  display: grid;
  gap: 0.65rem;
  min-height: 320px;
  padding: 1rem;
}

.pdf-word-hero-file.is-pdf {
  transform: rotate(-3deg);
}

.pdf-word-hero-file.is-docx {
  border-top: 5px solid var(--teal);
  transform: rotate(2deg);
}

.pdf-word-hero-file > span,
.pdf-word-document-toolbar span,
.pdf-word-delivery-page > span,
.demo-preview-pdfword-file span {
  align-items: center;
  background: #d94141;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 950;
  justify-content: center;
  min-height: 25px;
  padding: 0.25rem 0.45rem;
  width: fit-content;
}

.pdf-word-hero-file.is-docx > span,
.pdf-word-document.is-final .pdf-word-document-toolbar span,
.pdf-word-delivery-page > span,
.demo-preview-pdfword-file.is-docx span {
  background: var(--blue);
}

.pdf-word-hero-file strong {
  font-size: 0.82rem;
  line-height: 1.25;
}

.pdf-word-hero-file h3 {
  font-size: 1rem;
  margin: 0.35rem 0 0;
}

.pdf-word-hero-file > i {
  background: #d6e0e9;
  border-radius: 999px;
  height: 7px;
}

.pdf-word-hero-file.is-pdf > i:nth-of-type(2) {
  margin-left: 12px;
  width: 80%;
}

.pdf-word-mini-table {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
}

.pdf-word-mini-table b {
  background: #dbe3ea;
  height: 25px;
}

.pdf-word-mini-table.is-clean {
  border: 1px solid #badbd6;
  gap: 0;
}

.pdf-word-mini-table.is-clean b {
  background: #eef9f7;
  border: 1px solid #d1e9e5;
}

.pdf-word-process {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.pdf-word-process > span {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(7, 143, 131, 0.24);
  color: #fff;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.pdf-word-process svg {
  height: 25px;
  width: 25px;
}

.pdf-word-process strong {
  color: #30445a;
  font-size: 0.8rem;
}

.pdf-word-process div {
  display: flex;
  gap: 5px;
}

.pdf-word-process i {
  background: var(--teal);
  border-radius: 50%;
  height: 6px;
  opacity: 0.35;
  width: 6px;
}

.pdf-word-controls-section {
  padding-bottom: 0;
  padding-top: 0;
}

.pdf-word-controls {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  justify-content: center;
  position: sticky;
  top: 88px;
  z-index: 6;
}

.pdf-word-controls a,
.pdf-word-view-switcher button {
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
}

.pdf-word-controls a:first-child,
.pdf-word-view-switcher button.active {
  background: var(--teal);
  color: #fff;
}

.pdf-word-transformation {
  padding-top: 72px;
}

.pdf-word-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pdf-word-section-heading > div:first-child {
  max-width: 760px;
}

.pdf-word-section-heading > div:first-child > span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pdf-word-section-heading h2,
.pdf-word-deliverables-layout h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  margin: 0.35rem 0 0;
}

.pdf-word-section-heading p,
.pdf-word-deliverables-layout p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.pdf-word-view-switcher {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  gap: 0.25rem;
  padding: 0.3rem;
}

.pdf-word-stage-grid {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdf-word-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.06);
  display: grid;
  gap: 1rem;
  opacity: 0.72;
  padding: 1rem;
  position: relative;
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.pdf-word-stage.active {
  border-color: rgba(7, 143, 131, 0.6);
  box-shadow: 0 22px 52px rgba(7, 143, 131, 0.13);
  opacity: 1;
  transform: translateY(-5px);
}

.pdf-word-stage:not(:last-child)::after {
  align-items: center;
  background: var(--teal);
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  content: "→";
  display: flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 2;
}

.pdf-word-stage-top {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}

.pdf-word-stage-top > span {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 950;
}

.pdf-word-stage-top h3 {
  font-size: 1.05rem;
  margin: 0;
}

.pdf-word-stage-description {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.pdf-word-document {
  background: #e8edf3;
  border: 1px solid #d5dfe8;
  border-radius: 8px;
  display: grid;
  min-height: 430px;
  overflow: hidden;
}

.pdf-word-document-toolbar {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #d7e0e8;
  display: flex;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.5rem 0.65rem;
}

.pdf-word-document-toolbar i {
  background: #cbd6e0;
  border-radius: 3px;
  height: 14px;
  width: 22px;
}

.pdf-word-document-page {
  align-self: stretch;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.12);
  font-size: 0.72rem;
  margin: 0.8rem;
  min-width: 0;
  padding: 1rem;
  position: relative;
}

.pdf-word-document-page small {
  color: var(--teal-dark);
  font-weight: 900;
}

.pdf-word-document-page h4 {
  font-size: 1rem;
  line-height: 1.15;
  margin: 0.35rem 0 0.5rem;
}

.pdf-word-document-page p {
  line-height: 1.4;
  margin: 0.45rem 0;
}

.pdf-word-document-page table {
  border-collapse: collapse;
  font-size: 0.58rem;
  margin: 0.65rem 0;
  table-layout: fixed;
  width: 100%;
}

.pdf-word-document-page th,
.pdf-word-document-page td {
  border: 1px solid #cfd9e2;
  overflow-wrap: anywhere;
  padding: 0.28rem;
  text-align: left;
}

.pdf-word-document-page th {
  background: #eaf6f4;
}

.pdf-word-document.is-source .pdf-word-document-page {
  color: #52606f;
  transform: rotate(-0.7deg);
}

.pdf-word-document.is-source .pdf-word-document-page p:nth-of-type(2) {
  letter-spacing: 0.02em;
  word-spacing: 0.18em;
}

.pdf-word-document.is-source table {
  border-collapse: separate;
  border-spacing: 2px;
}

.pdf-word-lock {
  background: #fff0f0;
  border: 1px solid #efbcbc;
  border-radius: 4px;
  color: #a72c2c;
  font-size: 0.62rem;
  font-weight: 950;
  padding: 0.25rem 0.4rem;
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
  text-transform: uppercase;
}

.pdf-word-cursor {
  animation: pdfWordCursor 1s steps(1) infinite;
  background: var(--blue);
  height: 15px;
  left: 1rem;
  position: absolute;
  top: 3.15rem;
  width: 2px;
}

@keyframes pdfWordCursor {
  50% { opacity: 0; }
}

.pdf-word-cleanup-panel {
  align-content: center;
  background: linear-gradient(155deg, #0d2c46, #0a5e65);
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  min-height: 430px;
  padding: 1rem;
}

.pdf-word-cleanup-panel div {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #fff;
  display: flex;
  gap: 0.7rem;
  padding: 0.8rem;
}

.pdf-word-cleanup-panel span {
  align-items: center;
  background: #93e4d8;
  border-radius: 50%;
  color: #0b4f50;
  display: flex;
  flex: 0 0 auto;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.pdf-word-cleanup-panel p {
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0;
}

.pdf-word-structure-section,
.pdf-word-deliverables-section {
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

.pdf-word-structure-grid,
.pdf-word-chip-grid {
  display: grid;
  gap: 0.9rem;
}

.pdf-word-structure-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdf-word-structure-grid article,
.pdf-word-chip-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pdf-word-structure-grid article {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  min-height: 100px;
  padding: 1rem;
}

.pdf-word-structure-grid .icon {
  align-items: center;
  background: #e6f7f4;
  border-radius: 7px;
  color: var(--teal-dark);
  display: flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.pdf-word-structure-grid svg {
  height: 21px;
  width: 21px;
}

.pdf-word-structure-grid h3 {
  font-size: 1rem;
  margin: 0;
}

.pdf-word-before-after {
  align-items: center;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
}

.pdf-word-list-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}

.pdf-word-list-card.is-before {
  background: #fff8f7;
  border-color: #f0d5d0;
}

.pdf-word-list-card.is-after {
  background: #f1faf7;
  border-color: #cce8df;
}

.pdf-word-list-card > span {
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pdf-word-list-card ul {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.pdf-word-list-card li {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
}

.pdf-word-list-card li b {
  font-weight: 700;
}

.pdf-word-list-card.is-before li {
  color: #9f3a32;
}

.pdf-word-list-card.is-after li {
  color: #17705e;
}

.pdf-word-list-card li b {
  color: var(--ink);
}

.pdf-word-change-arrow {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.pdf-word-change-arrow svg {
  height: 22px;
  width: 22px;
}

.pdf-word-deliverables-layout {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
}

.pdf-word-deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.pdf-word-deliverable-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 0.45rem 0.65rem;
}

.pdf-word-delivery-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 360px;
  position: relative;
}

.pdf-word-delivery-page {
  background: #fff;
  border: 1px solid #cbd9e5;
  border-top: 5px solid var(--blue);
  box-shadow: 0 26px 60px rgba(16, 32, 51, 0.16);
  display: grid;
  gap: 0.55rem;
  min-height: 290px;
  padding: 1.2rem;
  transform: rotate(-2deg);
  width: min(72%, 330px);
}

.pdf-word-delivery-page small {
  color: var(--teal-dark);
  font-weight: 900;
}

.pdf-word-delivery-page h3 {
  margin: 0;
}

.pdf-word-delivery-page > i {
  background: #d8e1e9;
  border-radius: 99px;
  height: 8px;
}

.pdf-word-delivery-page > div {
  border: 1px solid #badbd6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
}

.pdf-word-delivery-page b {
  background: #eff9f7;
  border-right: 1px solid #d2eae5;
  height: 54px;
}

.pdf-word-file-stack {
  display: grid;
  gap: 0.55rem;
  margin-left: -1rem;
  position: relative;
  z-index: 2;
}

.pdf-word-file-stack span {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.7rem 0.85rem;
}

.pdf-word-chip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pdf-word-chip-grid article {
  align-items: center;
  display: flex;
  font-weight: 850;
  justify-content: center;
  min-height: 76px;
  padding: 0.9rem;
  text-align: center;
}

.pdf-word-quote-card {
  align-items: start;
  background: linear-gradient(135deg, #102f49, #0b6268);
  border-radius: 16px;
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(1.3rem, 4vw, 2rem);
}

.pdf-word-quote-card > div {
  display: grid;
  gap: 0.8rem;
}

.pdf-word-quote-card .icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.pdf-word-quote-card svg {
  height: 22px;
  width: 22px;
}

.pdf-word-quote-card h2 {
  margin: 0;
}

.pdf-word-quote-card .check-list {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.pdf-word-quote-card .check-list li {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  padding: 0.65rem 0.75rem;
}

.pdf-word-final-cta {
  background: linear-gradient(135deg, #eef8f6, #edf3fa);
}

.pdf-word-final-cta .hero-actions {
  justify-content: flex-end;
}

.pdf-word-detail-live-card .sample-demo-path {
  background: linear-gradient(135deg, #f1faf8, #f2f6fb);
}

.live-demo-preview-pdfword {
  align-items: center;
  background: linear-gradient(145deg, #e9f6f4, #e7eef8);
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 1rem;
}

.demo-preview-pdfword-file {
  background: #fff;
  border: 1px solid #cbd7e1;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.1);
  display: grid;
  gap: 0.45rem;
  height: 180px;
  padding: 0.75rem;
  transform: rotate(-3deg);
  width: 84px;
}

.demo-preview-pdfword-file.is-docx {
  border-top: 4px solid var(--blue);
  transform: rotate(3deg);
}

.demo-preview-pdfword-file i {
  background: #d7e0e8;
  border-radius: 99px;
  height: 5px;
}

.demo-preview-pdfword-file.is-docx i {
  background: #a9d1ca;
}

.live-demo-card-compact .demo-preview-pdfword-file {
  height: 94px;
  padding: 0.45rem;
  width: 48px;
}

.home-live-demo-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-live-demo-grid > .live-demo-card {
  grid-column: span 3;
}

.home-live-demo-grid > .live-demo-card:nth-child(5):nth-last-child(3) { grid-column: 2 / span 3; }
.home-live-demo-grid > .live-demo-card:nth-child(6):nth-last-child(2) { grid-column: 5 / span 3; }
.home-live-demo-grid > .live-demo-card:nth-child(7):last-child { grid-column: 8 / span 3; }

@media (max-width: 980px) {
  .pdf-word-hero,
  .pdf-word-deliverables-layout {
    grid-template-columns: 1fr;
  }

  .pdf-word-hero-visual {
    max-width: 760px;
  }

  .pdf-word-stage-grid {
    grid-template-columns: 1fr;
  }

  .pdf-word-stage:not(:last-child)::after {
    bottom: -25px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
  }

  .pdf-word-document,
  .pdf-word-cleanup-panel {
    min-height: 360px;
  }

  .pdf-word-structure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-live-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-live-demo-grid > .live-demo-card,
  .home-live-demo-grid > .live-demo-card:nth-child(5):nth-last-child(3),
  .home-live-demo-grid > .live-demo-card:nth-child(6):nth-last-child(2),
  .home-live-demo-grid > .live-demo-card:nth-child(7):last-child {
    grid-column: auto;
  }

  .home-live-demo-grid > .live-demo-card:nth-child(7):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 0.5rem);
    width: 100%;
  }
}

@media (max-width: 720px) {
  .pdf-word-section-heading,
  .pdf-word-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-word-hero {
    gap: 1.5rem;
    padding-top: 38px;
  }

  .pdf-word-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .pdf-word-hero-copy .hero-actions,
  .pdf-word-final-cta .hero-actions,
  .pdf-word-hero-copy .btn,
  .pdf-word-final-cta .btn {
    width: 100%;
  }

  .pdf-word-hero-visual {
    gap: 0.65rem;
    grid-template-columns: 1fr 64px 1fr;
    min-height: 360px;
    padding: 0.85rem;
  }

  .pdf-word-hero-file {
    min-height: 245px;
    padding: 0.7rem;
  }

  .pdf-word-hero-file strong {
    font-size: 0.68rem;
  }

  .pdf-word-process > span {
    height: 42px;
    width: 42px;
  }

  .pdf-word-process strong {
    font-size: 0.65rem;
  }

  .pdf-word-controls {
    position: static;
  }

  .pdf-word-controls a {
    flex: 1 1 auto;
    text-align: center;
  }

  .pdf-word-section-heading {
    align-items: stretch;
  }

  .pdf-word-view-switcher {
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pdf-word-view-switcher button {
    width: 100%;
  }

  .pdf-word-structure-grid,
  .pdf-word-chip-grid,
  .pdf-word-quote-card,
  .pdf-word-quote-card .check-list {
    grid-template-columns: 1fr;
  }

  .pdf-word-before-after {
    grid-template-columns: 1fr;
  }

  .pdf-word-change-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .pdf-word-deliverables-layout {
    gap: 1.5rem;
  }

  .pdf-word-delivery-visual {
    min-height: 320px;
  }

  .home-live-demo-grid > .live-demo-card:nth-child(7):last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-word-cursor {
    animation: none;
  }

  .pdf-word-stage {
    transition: none;
  }
}
/* Ebook / PDF translation live demo */
.ebook-live-controls {
  align-items: center;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.65rem;
}

.ebook-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  padding-bottom: 72px;
  padding-top: 58px;
}

.ebook-live-hero-copy h1 {
  font-size: clamp(3rem, 5.2vw, 5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1.15rem;
}

.ebook-live-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 620px;
}

.ebook-hero-visual {
  background: #edf4f1;
  border: 1px solid #ccd8d4;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(20, 50, 44, 0.16);
  min-height: 500px;
  overflow: hidden;
  padding: 2.25rem;
  position: relative;
}

.ebook-cover {
  background: #183f38;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 38px rgba(16, 39, 34, .22);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 300px;
  justify-content: flex-end;
  left: 1.6rem;
  padding: 1.35rem;
  position: absolute;
  top: 3rem;
  transform: rotate(-5deg);
  width: 205px;
  z-index: 2;
}

.ebook-cover::before {
  background: #d7aa62;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ebook-cover small,
.ebook-cover span,
.ebook-open-spread span,
.ebook-hero-glossary > span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebook-cover strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.02;
  margin: 0.6rem 0;
}

.ebook-cover span {
  color: #e7bf7c;
  left: 1.35rem;
  position: absolute;
  top: 1.35rem;
}

.ebook-cover p {
  color: #c7d9d4;
  font-size: 0.68rem;
  margin: 0;
}

.ebook-open-spread {
  display: grid;
  filter: drop-shadow(0 22px 26px rgba(37, 62, 56, .14));
  grid-template-columns: 1fr 1fr;
  margin-left: 120px;
  margin-top: 70px;
  position: relative;
  transform: rotate(2deg);
  z-index: 1;
}

.ebook-open-spread article {
  background: #fff;
  min-height: 315px;
  padding: 2.25rem 1.4rem 1.4rem;
  position: relative;
}

.ebook-open-spread article:first-child {
  border-radius: 8px 0 0 8px;
  box-shadow: inset -12px 0 20px rgba(35, 55, 50, .06);
}

.ebook-open-spread article:last-child {
  border-radius: 0 8px 8px 0;
  box-shadow: inset 12px 0 20px rgba(35, 55, 50, .06);
}

.ebook-open-spread span {
  color: #738079;
}

.ebook-open-spread h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.15;
  margin: 1rem 0;
}

.ebook-open-spread i,
.ebook-delivery-pages i {
  background: #d8dfdc;
  display: block;
  height: 4px;
  margin-bottom: 0.42rem;
  width: 100%;
}

.ebook-open-spread i:nth-of-type(2) { width: 88%; }
.ebook-open-spread i:nth-of-type(3) { width: 72%; }
.ebook-open-spread p {
  color: #63706b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.55;
  margin-top: 1.4rem;
}

.ebook-hero-glossary {
  background: #fff;
  border: 1px solid #d5dfdc;
  bottom: 1.25rem;
  box-shadow: 0 14px 30px rgba(27, 55, 48, .12);
  display: grid;
  gap: .3rem .7rem;
  grid-template-columns: 1fr 1fr;
  padding: .8rem 1rem;
  position: absolute;
  right: 1.25rem;
  width: 220px;
  z-index: 3;
}

.ebook-hero-glossary > span {
  color: #28745e;
  grid-column: 1 / -1;
}

.ebook-hero-glossary b,
.ebook-hero-glossary em {
  font-size: .7rem;
  font-style: normal;
}

.ebook-hero-glossary em { color: #63706b; }

.ebook-live-controls-section {
  padding-bottom: 18px;
  padding-top: 0;
}

.ebook-live-controls {
  background: #fff;
  gap: .35rem;
  margin: 0 auto;
  max-width: 520px;
  position: sticky;
  top: 84px;
  z-index: 8;
}

.ebook-live-controls a,
.ebook-tab-list button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  padding: .62rem .95rem;
  text-decoration: none;
}

.ebook-live-controls a:first-child,
.ebook-tab-list button.active {
  background: #173f37;
  color: #fff;
}

.ebook-translation-section,
.ebook-checks-section,
.ebook-best-section {
  padding-top: 70px;
}

.ebook-section-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.ebook-section-heading > div {
  max-width: 760px;
}

.ebook-section-heading span,
.ebook-terminology-copy > span {
  color: #28745e;
  display: block;
  font-size: .74rem;
  font-weight: 800;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.ebook-section-heading h2,
.ebook-terminology-copy h2,
.ebook-deliverables-layout h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: .7rem;
}

.ebook-section-heading p,
.ebook-terminology-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.ebook-tab-list {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: .35rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: .65rem;
}

.ebook-tab-list button {
  flex: 0 0 auto;
}

.ebook-comparison-panel { display: none; }
.ebook-comparison-panel.active { display: block; }

.ebook-page-comparison {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebook-reading-page {
  background: #fff;
  border: 1px solid #d9dfdc;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 44, 38, 0.09);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.ebook-reading-page::before {
  background: #b8c4c0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ebook-reading-page.is-literal { background: #fbfaf7; }
.ebook-reading-page.is-literal::before { background: #c99a54; }
.ebook-reading-page.is-final::before { background: #2b8b6c; }

.ebook-reading-page > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ebook-reading-page > div span {
  color: #56635f;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ebook-reading-page small {
  color: #9aa49f;
  font-family: Georgia, "Times New Roman", serif;
}

.ebook-reading-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 2.3rem 0 1.25rem;
}

.ebook-reading-page p {
  color: #3f4946;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.ebook-reading-page footer {
  align-items: center;
  display: flex;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.ebook-reading-page footer i {
  background: #d9dfdc;
  height: 1px;
  flex: 1;
}

.ebook-reading-page footer b {
  color: #89948f;
  font-size: .65rem;
}

.ebook-translation-note {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-left: 3px solid #2b8b6c;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 6px 20px rgba(16, 32, 51, 0.08);
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
}

.ebook-translation-note > span {
  color: #28745e;
  flex: 0 0 auto;
  width: 22px;
}

.ebook-translation-note svg { width: 100%; }
.ebook-translation-note strong { font-size: .82rem; }
.ebook-translation-note p { color: #52615d; line-height: 1.55; margin: .3rem 0 0; }

.ebook-improvement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}

.ebook-improvement-badges span,
.ebook-deliverable-list span,
.ebook-delivery-formats span {
  background: #fff;
  border: 1px solid #cfded9;
  border-radius: 999px;
  color: #315d50;
  font-size: .76rem;
  font-weight: 800;
  padding: .46rem .68rem;
}

.ebook-terminology-section,
.ebook-deliverables-section {
  background: #f3f7f5;
  box-shadow: 0 0 0 100vmax #f3f7f5;
  clip-path: inset(0 -100vmax);
  margin-top: 70px;
  padding-bottom: 78px;
  padding-top: 78px;
}

.ebook-terminology-layout,
.ebook-deliverables-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
}

.ebook-glossary-card {
  border: 1px solid #d6e0dc;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(31, 57, 50, .08);
  overflow: hidden;
}

.ebook-glossary-table-wrap {
  background: #fff;
  overflow-x: auto;
}

.ebook-glossary-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.ebook-glossary-table th,
.ebook-glossary-table td {
  border-bottom: 1px solid #e2e8e5;
  padding: .9rem 1rem;
  text-align: left;
  vertical-align: top;
}

.ebook-glossary-table th {
  background: #173f37;
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
}

.ebook-glossary-table td {
  color: #58635f;
  font-size: .84rem;
  line-height: 1.45;
}

.ebook-glossary-table td:first-child { color: #24312d; font-weight: 800; }
.ebook-glossary-table td.preferred { color: #207f5d; font-weight: 800; }

.ebook-check-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebook-check-grid article {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(16, 32, 51, 0.06);
  display: flex;
  gap: .9rem;
  min-height: 84px;
  padding: 1rem 1.2rem;
}

.ebook-check-grid article > span {
  color: #28745e;
  flex: 0 0 auto;
  width: 25px;
}

.ebook-check-grid svg { width: 100%; }
.ebook-check-grid h3 { font-size: 1rem; margin: 0; }

.ebook-preview-section { padding-bottom: 76px; padding-top: 76px; }
.ebook-flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebook-flow-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 180px;
  padding: 1.25rem 1.4rem;
}

.ebook-flow-grid article > span {
  color: #2b8b6c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.ebook-flow-grid h3 { font-size: 1.05rem; margin: 1.3rem 0 .5rem; }
.ebook-flow-grid p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0; }

.ebook-deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.2rem;
}

.ebook-delivery-visual {
  min-height: 390px;
  position: relative;
}

.ebook-delivery-cover {
  background: #183f38;
  box-shadow: 0 20px 42px rgba(20, 50, 42, .22);
  color: #fff;
  height: 310px;
  left: 0;
  padding: 1.5rem;
  position: absolute;
  top: 18px;
  transform: rotate(-5deg);
  width: 210px;
  z-index: 2;
}

.ebook-delivery-cover > span {
  color: #e7bf7c;
  font-size: .68rem;
  font-weight: 800;
}

.ebook-delivery-cover small { display: block; font-size: .65rem; margin-top: 7rem; text-transform: uppercase; }
.ebook-delivery-cover h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.05; margin: .5rem 0; }
.ebook-delivery-cover p { color: #c7d9d4; font-size: .72rem; }

.ebook-delivery-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  left: 150px;
  position: absolute;
  top: 55px;
  width: calc(100% - 150px);
}

.ebook-delivery-pages article {
  background: #fff;
  border: 1px solid #d8dfdc;
  min-height: 260px;
  padding: 1.4rem 1rem;
}

.ebook-delivery-pages h4 { font-family: Georgia, "Times New Roman", serif; font-size: .92rem; margin: 2.5rem 0 1rem; }
.ebook-delivery-pages span { color: #8c9792; font-size: .7rem; }
.ebook-delivery-pages i:nth-of-type(2) { width: 90%; }
.ebook-delivery-pages i:nth-of-type(3) { width: 75%; }

.ebook-delivery-formats {
  bottom: 15px;
  display: flex;
  gap: .45rem;
  position: absolute;
  right: 10px;
  z-index: 3;
}

.ebook-best-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.ebook-best-grid article {
  background: #eef5f2;
  border: 1px solid #c8ddd7;
  border-radius: 999px;
  color: #2a5244;
  font-size: .88rem;
  font-weight: 800;
  padding: .65rem 1.4rem;
}

.ebook-quote-card {
  background: #fff;
  border: 1px solid #cbded8;
  box-shadow: 0 22px 50px rgba(27, 66, 57, .09);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
}

.ebook-quote-intro {
  background: #f0f7f4;
  border-right: 1px solid #d0e4de;
  color: var(--ink);
  padding: clamp(2rem, 4vw, 3.4rem);
}

.ebook-quote-label {
  align-items: center;
  color: #28745e;
  display: flex;
  font-size: .76rem;
  font-weight: 850;
  gap: .65rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ebook-quote-card .icon { color: #28745e; display: inline-flex; width: 30px; }
.ebook-quote-card svg { width: 100%; }
.ebook-quote-card h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.1;
  margin: 1.25rem 0 1rem;
}

.ebook-quote-intro > p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.ebook-quote-checklist {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.4rem);
}

.ebook-quote-card .check-list {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.ebook-quote-card .check-list li {
  align-items: center;
  background: #f4f8f6;
  border: 1px solid #d4e3de;
  color: #263b35;
  display: flex;
  font-size: 1rem;
  line-height: 1.45;
  min-height: 72px;
  padding: 1rem 1.1rem;
}

.ebook-quote-card .check-list .check {
  align-items: center;
  background: #dcece6;
  border-radius: 50%;
  color: #146d5e;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: .78rem;
  height: 26px;
  justify-content: center;
  margin-right: .75rem;
}

.ebook-quote-note {
  align-items: flex-start;
  border-top: 1px solid #dce7e3;
  color: #526660;
  display: flex;
  font-size: .9rem;
  gap: .65rem;
  line-height: 1.55;
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
}

.ebook-quote-note span {
  color: #168070;
  display: inline-flex;
  flex: 0 0 20px;
  margin-top: .05rem;
  width: 20px;
}
.ebook-final-cta {
  background: linear-gradient(135deg, #102033, #173f37 65%, #0f6655);
  border-color: transparent;
  color: #fff;
}

.ebook-final-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.ebook-final-cta p { color: rgba(255, 255, 255, 0.76); }
.ebook-final-cta .hero-actions { justify-content: flex-end; }
.ebook-detail-live-card .sample-demo-path { border-color: #b9d4cc; }

.live-demo-preview-ebook {
  align-items: center;
  background: #e7efec;
  display: flex;
  gap: .55rem;
  justify-content: center;
}

.demo-preview-ebook-cover {
  background: #183f38;
  box-shadow: 0 12px 22px rgba(20, 50, 42, .2);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 130px;
  justify-content: flex-end;
  padding: .55rem;
  transform: rotate(-5deg);
  width: 76px;
}

.demo-preview-ebook-cover span { color: #e7bf7c; font-size: .55rem; font-weight: 800; }
.demo-preview-ebook-cover b { background: #fff; height: 16px; margin: .45rem 0; width: 55px; }
.demo-preview-ebook-cover i { background: #8aaca2; height: 4px; width: 42px; }
.demo-preview-ebook-pages { display: grid; filter: drop-shadow(0 10px 14px rgba(34,55,49,.12)); grid-template-columns: 1fr 1fr; transform: rotate(3deg); }
.demo-preview-ebook-pages article { background: #fff; height: 105px; padding: .55rem .4rem; width: 54px; }
.demo-preview-ebook-pages b { background: #57736a; display: block; height: 7px; margin-bottom: .8rem; width: 36px; }
.demo-preview-ebook-pages i { background: #d1d9d6; display: block; height: 3px; margin-bottom: .3rem; }

@media (max-width: 980px) {
  .ebook-live-hero,
  .ebook-terminology-layout,
  .ebook-deliverables-layout { grid-template-columns: 1fr; }
  .ebook-live-hero { gap: 2rem; }
  .ebook-hero-visual { max-width: 760px; width: 100%; }
  .ebook-page-comparison { grid-template-columns: 1fr; }
  .ebook-reading-page { min-height: 290px; }
  .ebook-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebook-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebook-delivery-visual { max-width: 650px; width: 100%; }
}

@media (max-width: 720px) {
  .ebook-section-heading,
  .ebook-final-cta { align-items: flex-start; flex-direction: column; }
  .ebook-live-hero { grid-template-columns: minmax(0, 1fr); padding-top: 38px; }
  .ebook-live-hero-copy h1 { font-size: clamp(2.45rem, 13vw, 3.55rem); }
  .ebook-live-hero-copy .hero-actions,
  .ebook-live-hero-copy .btn,
  .ebook-final-cta .hero-actions,
  .ebook-final-cta .btn { width: 100%; }
  .ebook-hero-visual { min-height: 390px; padding: 1rem; }
  .ebook-cover { height: 225px; left: .8rem; padding: .9rem; top: 1.8rem; width: 145px; }
  .ebook-cover strong { font-size: 1.15rem; }
  .ebook-cover small { font-size: .52rem; }
  .ebook-cover p { font-size: .52rem; }
  .ebook-open-spread { margin-left: 78px; margin-top: 58px; }
  .ebook-open-spread article { min-height: 245px; padding: 1.2rem .65rem; }
  .ebook-open-spread h3 { font-size: .7rem; margin: .7rem 0; }
  .ebook-open-spread p { font-size: .52rem; }
  .ebook-hero-glossary { bottom: .75rem; right: .75rem; width: 180px; }
  .ebook-live-controls { position: static; }
  .ebook-live-controls a { flex: 1 1 auto; padding: .58rem .45rem; text-align: center; }
  .ebook-tab-list { margin-left: 0; margin-right: 0; max-width: 100%; padding-left: 0; padding-right: 0; }
  .ebook-reading-page { min-height: 320px; padding: 1.2rem; }
  .ebook-reading-page h3 { margin-top: 1.7rem; }
  .ebook-terminology-section,
  .ebook-deliverables-section { padding-bottom: 58px; padding-top: 58px; }
  .ebook-check-grid,
  .ebook-flow-grid,
  .ebook-quote-card { grid-template-columns: 1fr; }
  .ebook-quote-card .check-list { grid-template-columns: 1fr; }
  .ebook-quote-intro {
    border-bottom: 1px solid #d0e4de;
    border-right: 0;
    padding: 1.7rem;
  }
  .ebook-quote-checklist { padding: 1.7rem; }
  .ebook-quote-card .check-list li { min-height: 0; padding: 1rem; }
  .ebook-flow-grid article { min-height: 140px; }
  .ebook-delivery-visual { min-height: 340px; }
  .ebook-delivery-cover { height: 245px; width: 165px; }
  .ebook-delivery-cover small { margin-top: 4.5rem; }
  .ebook-delivery-cover h3 { font-size: 1.2rem; }
  .ebook-delivery-pages { left: 112px; width: calc(100% - 112px); }
  .ebook-delivery-pages article { min-height: 205px; padding: .8rem .55rem; }
  .ebook-delivery-pages h4 { font-size: .66rem; margin-top: 1.8rem; }
}
/* Ecommerce product page live demo */
.ecommerce-live-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding-top: clamp(3.8rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.ecommerce-live-hero-copy { max-width: 590px; }
.ecommerce-live-hero-copy h1 { max-width: 12ch; font-size: clamp(2.65rem, 5vw, 4.6rem); line-height: .98; }
.ecommerce-live-hero-copy > p:not(.hero-subtitle) { max-width: 58ch; color: #49645d; }

.ecommerce-hero-product {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(260px, 1.05fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #c8ddd7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(24, 67, 57, .16);
}

.ecommerce-hero-product-media {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 2rem;
  background: linear-gradient(145deg, #e6f2ee, #f8fbfa);
}

.ecommerce-hero-product-media img {
  width: 100%;
  max-width: 270px;
  height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 25px 24px rgba(22, 57, 49, .18));
}

.ecommerce-hero-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.2rem);
}

.ecommerce-hero-product-copy > span,
.ecommerce-section-heading span,
.ecommerce-localize-layout > div > span {
  color: #2f7465;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ecommerce-hero-product-copy h2 { margin: .7rem 0 .75rem; font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.1; }
.ecommerce-rating, .ecommerce-product-rating { color: #d4774e; font-size: .88rem; letter-spacing: .04em; }
.ecommerce-rating b, .ecommerce-product-rating b { color: #4f665f; font-weight: 650; letter-spacing: 0; }
.ecommerce-hero-product-copy > strong { margin: .4rem 0 1rem; color: #163d34; font-size: 1.65rem; }
.ecommerce-hero-product-copy ul { display: grid; gap: .55rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: #365b52; }
.ecommerce-hero-product-copy li::before { content: "✓"; margin-right: .55rem; color: #31816e; font-weight: 800; }
.ecommerce-hero-product-copy button,
.ecommerce-product-cta {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #1d594b;
  color: #fff;
  font: inherit;
  font-size: .94rem;
  font-weight: 800;
  cursor: pointer;
}
.ecommerce-hero-product-copy small { margin-top: .65rem; color: #657a74; text-align: center; }

.ecommerce-live-controls-section { padding-top: 0; padding-bottom: 2rem; }
.ecommerce-live-controls {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 620px;
  padding: .5rem .65rem;
}
.ecommerce-live-controls a { border-radius: 999px; color: var(--ink); flex: 1; font-size: .88rem; font-weight: 800; padding: .62rem .95rem; text-align: center; text-decoration: none; }
.ecommerce-live-controls a:hover { background: #f0f7f4; color: var(--ink); }

#ecommerce-demo, #ecommerce-benefits, #ecommerce-deliverables { scroll-margin-top: 120px; }
.ecommerce-demo-section { padding-top: clamp(4rem, 8vw, 7rem); }
.ecommerce-section-heading { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.ecommerce-section-heading > div { max-width: 760px; }
.ecommerce-section-heading h2 { margin: .45rem 0 .7rem; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; }
.ecommerce-section-heading p { margin: 0; color: #557069; font-size: 1.04rem; }

.ecommerce-demo-shell {
  overflow: hidden;
  border: 1px solid #c8dcd6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 62, 53, .12);
}

.ecommerce-demo-toolbar { padding: 1rem; border-bottom: 1px solid #dbe9e4; background: #f8fbfa; }
.ecommerce-scenario-tabs,
.ecommerce-mode-toggle { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin; }
.ecommerce-scenario-tabs { padding-bottom: .85rem; margin-bottom: .85rem; border-bottom: 1px solid #dce9e5; }
.ecommerce-scenario-tabs button,
.ecommerce-mode-toggle button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: .62rem .9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.ecommerce-scenario-tabs button:hover,
.ecommerce-mode-toggle button:hover { color: #173f36; background: #edf6f3; }
.ecommerce-scenario-tabs button.active { color: #fff; background: #1d594b; border-color: #1d594b; }
.ecommerce-mode-toggle button { border-color: #d1e3dd; background: #fff; }
.ecommerce-mode-toggle button.active { border-color: #d4774e; color: #8e4224; background: #fff3ed; }

.ecommerce-demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 650px; }
.ecommerce-product-stage { position: relative; min-width: 0; padding: 1.25rem; background: #eaf2ef; }
.ecommerce-product-panel { display: none; height: 100%; min-height: 600px; overflow: hidden; border: 1px solid #c8d9d4; border-radius: 7px; background: #fff; box-shadow: 0 14px 38px rgba(28, 64, 55, .08); }
.ecommerce-product-panel.active { display: flex; flex-direction: column; }
.ecommerce-product-browserbar { display: flex; align-items: center; gap: .4rem; min-height: 38px; padding: 0 .85rem; border-bottom: 1px solid #e1ebe8; background: #f7faf9; }
.ecommerce-product-browserbar > span { width: 8px; height: 8px; border-radius: 50%; background: #c8d8d3; }
.ecommerce-product-browserbar b { margin-left: .55rem; color: #7b8d88; font-size: .69rem; font-weight: 650; }
.ecommerce-product-page { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); flex: 1; min-height: 0; }
.ecommerce-product-media { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 1.5rem; background: linear-gradient(145deg, #e7f2ef, #f8fbfa); }
.ecommerce-product-media > span { align-self: flex-start; color: #37675c; font-size: .72rem; font-weight: 800; }
.ecommerce-product-media img { width: min(100%, 230px); height: 350px; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(27, 62, 54, .17)); }
.ecommerce-product-media > div { display: flex; gap: .5rem; }
.ecommerce-product-media i { width: 34px; height: 4px; border-radius: 4px; background: #c9dcd6; }
.ecommerce-product-media i:first-child { background: #2f7465; }
.ecommerce-product-content { min-width: 0; padding: clamp(1.8rem, 4vw, 3.5rem); overflow: auto; }
.ecommerce-product-kicker { display: inline-block; margin-bottom: .7rem; color: #2f7465; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ecommerce-product-content h3 { max-width: 18ch; margin: 0 0 .65rem; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.08; }
.ecommerce-product-subtitle, .ecommerce-detail-description { color: #536b64; line-height: 1.65; }
.ecommerce-product-price { display: block; margin: 1rem 0; color: #153e34; font-size: 1.8rem; }
.ecommerce-product-benefits, .ecommerce-detail-bullets { display: grid; gap: .7rem; padding: 0; list-style: none; color: #34564e; }
.ecommerce-product-benefits li::before { content: "✓"; margin-right: .55rem; color: #2c816d; font-weight: 800; }
.ecommerce-product-cta { margin-top: .7rem; }
.ecommerce-product-micro { display: block; margin-top: .7rem; color: #6a7d77; text-align: center; }
.ecommerce-detail-description { max-width: 52ch; }
.ecommerce-detail-bullets { margin: 1.4rem 0; }
.ecommerce-detail-bullets li { display: flex; gap: .65rem; align-items: flex-start; }
.ecommerce-detail-bullets span { color: #2c816d; font-weight: 900; }
.ecommerce-included { padding: 1rem; border-left: 3px solid #d4774e; background: #fff5f0; color: #694334; font-weight: 650; }
.ecommerce-spec-list { margin: 1.2rem 0 0; }
.ecommerce-spec-list > div { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #e2ebe8; }
.ecommerce-spec-list dt { color: #617770; font-size: .83rem; font-weight: 750; }
.ecommerce-spec-list dd { margin: 0; color: #1f4b40; font-weight: 700; }
.ecommerce-faq-list { display: grid; margin-top: 1rem; border-top: 1px solid #dbe7e3; }
.ecommerce-faq-list details { padding: .85rem 0; border-bottom: 1px solid #dbe7e3; }
.ecommerce-faq-list summary { display: flex; justify-content: space-between; gap: 1rem; color: #234c42; font-weight: 750; cursor: pointer; list-style: none; }
.ecommerce-faq-list summary span { color: #d4774e; font-size: 1.2rem; }
.ecommerce-faq-list p { margin: .65rem 0 0; color: #5b706a; line-height: 1.55; }
.ecommerce-review-list { display: grid; gap: .8rem; margin-top: 1.2rem; }
.ecommerce-review-list article { padding: 1rem; border: 1px solid #d8e6e1; border-radius: 6px; background: #fbfdfc; }
.ecommerce-review-list span { color: #d4774e; font-size: .77rem; letter-spacing: .06em; }
.ecommerce-review-list h4 { margin: .45rem 0 .3rem; font-size: 1rem; }
.ecommerce-review-list p { margin: 0; color: #516b63; line-height: 1.55; }
.ecommerce-review-list small { display: block; margin-top: .65rem; color: #71847e; font-weight: 750; }
.ecommerce-shipping-copy { display: grid; gap: .7rem; margin: 1rem 0; }
.ecommerce-shipping-copy article { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start; padding: .85rem; border: 1px solid #dbe8e4; border-radius: 6px; }
.ecommerce-shipping-copy svg { width: 22px; color: #2e7464; }
.ecommerce-shipping-copy p { margin: 0; color: #48645c; line-height: 1.5; }
.ecommerce-shipping-timeline { display: grid; gap: .6rem; margin: 1rem 0; padding: 0; list-style: none; }
.ecommerce-shipping-timeline li { display: flex; align-items: center; gap: .7rem; color: #315a50; font-weight: 700; }
.ecommerce-shipping-timeline span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e1f0eb; color: #1d594b; font-size: .75rem; }
.ecommerce-reassurance { padding: .9rem; background: #1d594b; color: #fff; border-radius: 6px; font-size: .82rem; font-weight: 750; text-align: center; }

.ecommerce-notes-panel { padding: 1.5rem; border-left: 1px solid var(--line); background: #fff; }
.ecommerce-notes-heading { display: flex; gap: .7rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ecommerce-notes-heading .icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #dff0eb; color: #256454; }
.ecommerce-notes-heading svg { width: 20px; }
.ecommerce-notes-heading h3 { margin: 0; font-size: 1.05rem; }
.ecommerce-notes-panel article { display: none; padding-top: 1.2rem; }
.ecommerce-notes-panel article.active { display: block; }
.ecommerce-notes-panel article p { color: var(--muted); line-height: 1.65; }
.ecommerce-notes-panel article div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ecommerce-notes-panel article span { padding: .5rem .75rem; border: 1px solid #cfe2dc; border-radius: 999px; background: #f0f7f4; color: #2f6659; font-size: .76rem; font-weight: 750; }

.ecommerce-breakdown-section { padding-top: clamp(5rem, 9vw, 8rem); }
.ecommerce-breakdown-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ecommerce-breakdown-card { overflow: hidden; border: 1px solid #d2e2dd; border-radius: 8px; background: #fff; }
.ecommerce-breakdown-card h3 { margin: 0; padding: 1rem 1.1rem; border-bottom: 1px solid #dbe7e3; background: #f5faf8; font-size: 1rem; }
.ecommerce-breakdown-card > div { min-height: 118px; padding: 1rem 1.1rem; border-bottom: 1px solid #e2ebe8; }
.ecommerce-breakdown-card > div:last-child { border: 0; }
.ecommerce-breakdown-card span { color: #71847e; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ecommerce-breakdown-card p { margin: .55rem 0 0; color: #3d5c54; line-height: 1.55; }
.ecommerce-breakdown-card .is-literal { background: #fff8f4; }
.ecommerce-breakdown-card .is-final { background: #edf7f3; }
.ecommerce-breakdown-card .is-final span { color: #216a58; }

.ecommerce-benefits-section { padding-top: clamp(5rem, 9vw, 8rem); }
.ecommerce-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ecommerce-benefit-grid article { padding: 1.35rem; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px rgba(16, 32, 51, 0.06); }
.ecommerce-benefit-grid .icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 8px; background: #dceee8; color: #286655; }
.ecommerce-benefit-grid svg { width: 21px; }
.ecommerce-benefit-grid h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.ecommerce-benefit-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.ecommerce-localize-section { padding-top: clamp(4rem, 8vw, 7rem); }
.ecommerce-localize-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 3rem; align-items: start; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #c8ddd7; border-radius: 14px; background: #f0f7f4; color: var(--ink); }
.ecommerce-localize-layout h2 { margin: .5rem 0 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.ecommerce-localize-layout > div > span { color: #28745e; }
.ecommerce-localize-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.ecommerce-localize-list span { padding: .65rem 1rem; border: 1px solid #c8ddd7; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #2a5244; font-size: .86rem; font-weight: 800; text-align: center; }

.ecommerce-deliverables-section { padding-top: clamp(5rem, 9vw, 8rem); }
.ecommerce-deliverables-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid #c8ddd7; border-radius: 14px; background: #f4faf7; }
.ecommerce-deliverables-layout h2 { margin: .7rem 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.ecommerce-deliverables-layout p { color: #506b63; }
.ecommerce-deliverable-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1.4rem; }
.ecommerce-deliverable-list span { padding: .75rem; border-bottom: 1px solid #cfe1db; color: #315d52; font-weight: 700; }
.ecommerce-delivery-visual { position: relative; min-height: 390px; }
.ecommerce-delivery-sheet { position: absolute; inset: 0 18% 20px 0; padding: 1.3rem; border: 1px solid #ccdcd7; border-radius: 7px; background: #fff; box-shadow: 0 20px 45px rgba(25, 64, 55, .13); transform: rotate(-2deg); }
.ecommerce-delivery-sheet > div:first-child { display: flex; align-items: center; gap: .6rem; padding-bottom: .85rem; border-bottom: 1px solid #dbe7e3; }
.ecommerce-delivery-sheet > div:first-child span { display: grid; place-items: center; width: 28px; height: 28px; background: #1d594b; color: #fff; font-weight: 850; }
.ecommerce-delivery-sheet > div:first-child b { flex: 1; font-size: .85rem; }
.ecommerce-delivery-sheet > div:first-child em { color: #d4774e; font-size: .72rem; font-style: normal; font-weight: 800; }
.ecommerce-delivery-sheet > p { margin: 1.5rem 0 1rem; color: #173f36; font-size: 1.4rem; font-weight: 800; }
.ecommerce-delivery-sheet > i { display: block; width: 80%; height: 7px; margin: .55rem 0; background: #dce8e4; }
.ecommerce-delivery-sheet > i:nth-of-type(2) { width: 95%; }
.ecommerce-delivery-sheet > i:nth-of-type(3) { width: 68%; }
.ecommerce-delivery-rows { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1.3rem; }
.ecommerce-delivery-rows b { height: 52px; border: 1px solid #d8e5e1; background: #f5faf8; }
.ecommerce-delivery-formats { position: absolute; right: 0; bottom: 0; display: grid; gap: .55rem; }
.ecommerce-delivery-formats span { display: grid; place-items: center; width: 78px; height: 54px; border-radius: 5px; background: #1d594b; color: #fff; font-size: .77rem; font-weight: 850; box-shadow: 0 9px 22px rgba(27, 68, 58, .16); }
.ecommerce-delivery-formats span:nth-child(2) { background: #2f7465; }
.ecommerce-delivery-formats span:nth-child(3) { background: #d4774e; }
.ecommerce-delivery-formats span:nth-child(4) { background: #49645d; }

.ecommerce-quote-section { padding-top: clamp(5rem, 9vw, 8rem); }
.ecommerce-quote-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); overflow: hidden; border: 1px solid #c8ddd7; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(24, 66, 57, .08); }
.ecommerce-quote-intro { padding: clamp(2rem, 5vw, 4rem); background: #f0f7f4; border-right: 1px solid #d0e4de; color: var(--ink); }
.ecommerce-quote-label { display: flex; align-items: center; gap: .6rem; color: #28745e; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.ecommerce-quote-label .icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: #dff0eb; color: #256454; }
.ecommerce-quote-label svg { width: 18px; }
.ecommerce-quote-intro h2 { margin: 1.2rem 0 .8rem; color: var(--ink); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.ecommerce-quote-intro p { margin: 0; color: var(--muted); line-height: 1.7; }
.ecommerce-quote-checklist { padding: clamp(2rem, 5vw, 4rem); }
.ecommerce-quote-checklist .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; }
.ecommerce-quote-checklist .check-list li { min-height: 68px; padding: .9rem; border: 1px solid #d7e5e1; border-radius: 6px; background: #f8fbfa; font-size: .98rem; line-height: 1.45; }
.ecommerce-quote-note { display: flex; gap: .7rem; align-items: flex-start; margin: 1.3rem 0 0; padding-top: 1.2rem; border-top: 1px solid #dce7e4; color: #4f6961; line-height: 1.55; }
.ecommerce-quote-note svg { flex: 0 0 auto; width: 21px; color: #2f7465; }
.ecommerce-final-cta {
  background: linear-gradient(135deg, #102033, #173f37 65%, #0f6655);
  border-color: transparent;
  color: #fff;
  margin-top: clamp(4rem, 8vw, 7rem);
}
.ecommerce-final-cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.ecommerce-final-cta p { color: rgba(255, 255, 255, 0.76); }
.ecommerce-final-cta .hero-actions { justify-content: flex-end; }

.live-demo-preview-ecommerce { display: grid; grid-template-columns: .8fr 1.2fr; padding: 1rem; background: #e8f3ef; }
.demo-preview-ecommerce-product { display: grid; place-items: center; }
.demo-preview-ecommerce-product img { width: 100%; height: 125px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(22,58,49,.17)); }
.demo-preview-ecommerce-copy { display: flex; flex-direction: column; justify-content: center; gap: .45rem; }
.demo-preview-ecommerce-copy span { width: 45%; height: 6px; background: #6f978d; }
.demo-preview-ecommerce-copy b { width: 90%; height: 18px; background: #244f44; }
.demo-preview-ecommerce-copy i { width: 78%; height: 6px; background: #aec7c0; }
.demo-preview-ecommerce-copy i:nth-of-type(2) { width: 58%; }
.demo-preview-ecommerce-copy button { width: 72%; height: 24px; border: 0; border-radius: 3px; background: #d4774e; }

@media (max-width: 1000px) {
  .ecommerce-live-hero { grid-template-columns: 1fr; }
  .ecommerce-live-hero-copy h1 { max-width: 15ch; }
  .ecommerce-hero-product { max-width: 760px; }
  .ecommerce-demo-layout { grid-template-columns: 1fr; }
  .ecommerce-notes-panel { border-top: 1px solid var(--line); border-left: 0; }
  .ecommerce-notes-panel article div { max-width: 720px; }
  .ecommerce-breakdown-grid, .ecommerce-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecommerce-localize-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ecommerce-deliverables-layout { grid-template-columns: 1fr; }
  .ecommerce-delivery-visual { max-width: 560px; width: 100%; }
}

@media (max-width: 720px) {
  .ecommerce-live-hero { padding-top: 3.5rem; gap: 2.3rem; }
  .ecommerce-live-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .ecommerce-hero-product { grid-template-columns: 1fr; min-height: auto; }
  .ecommerce-hero-product-media { min-height: 330px; }
  .ecommerce-hero-product-media img { height: 300px; }
  .ecommerce-live-controls { width: 100%; }
  .ecommerce-live-controls a { padding-inline: .5rem; font-size: .82rem; }
  .ecommerce-demo-toolbar { padding: .8rem; }
  .ecommerce-product-stage { padding: .65rem; }
  .ecommerce-product-panel { min-height: 760px; }
  .ecommerce-product-page { grid-template-columns: 1fr; }
  .ecommerce-product-media { min-height: 285px; padding: 1rem; }
  .ecommerce-product-media img { height: 240px; }
  .ecommerce-product-content { padding: 1.5rem; overflow: visible; }
  .ecommerce-product-content h3 { font-size: 1.75rem; }
  .ecommerce-product-browserbar b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ecommerce-breakdown-grid, .ecommerce-benefit-grid { grid-template-columns: 1fr; }
  .ecommerce-localize-layout { padding: 2rem 1.3rem; }
  .ecommerce-localize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecommerce-deliverables-layout { padding: 2rem 1.3rem; }
  .ecommerce-deliverable-list { grid-template-columns: 1fr; }
  .ecommerce-delivery-visual { min-height: 330px; }
  .ecommerce-delivery-sheet { right: 50px; }
  .ecommerce-delivery-formats span { width: 58px; height: 44px; }
  .ecommerce-quote-card { grid-template-columns: 1fr; }
  .ecommerce-quote-intro { border-bottom: 1px solid #d0e4de; border-right: 0; padding: 1.7rem; }
  .ecommerce-quote-checklist { padding: 2rem 1.3rem; }
  .ecommerce-quote-checklist .check-list { grid-template-columns: 1fr; }
  .ecommerce-quote-checklist .check-list li { min-height: 58px; }
}

@media (max-width: 440px) {
  .ecommerce-localize-list { grid-template-columns: 1fr; }
  .ecommerce-product-panel { min-height: 800px; }
  .ecommerce-delivery-visual { min-height: 290px; }
  .ecommerce-delivery-sheet { inset: 0 42px 12px 0; padding: 1rem; }
  .ecommerce-delivery-formats { gap: .35rem; }
  .ecommerce-delivery-formats span { width: 48px; height: 38px; font-size: .65rem; }
}
/* YouTube script live demo */
.youtube-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr);
  padding-bottom: 72px;
  padding-top: 58px;
}
.youtube-live-hero-copy { max-width: 610px; }
.youtube-live-hero-copy h1 {
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: .98;
  margin-bottom: 1.15rem;
  max-width: 13ch;
}
.youtube-live-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 620px;
}
.youtube-hero-visual {
  align-self: stretch;
  align-items: center;
  background: #e9f0ed;
  border: 1px solid #c8ddd7;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(24, 67, 57, .16);
  display: flex;
  min-height: 500px;
  overflow: hidden;
  padding: 2.25rem;
  position: relative;
}
.yt-workflow-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}
.yt-workflow-step {
  background: #fff;
  border: 1px solid #d5dfdc;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(27, 55, 48, .12);
  padding: 1rem 1.15rem;
  position: relative;
}
.yt-step-source {
  background: #fbfdfc;
  border-color: #d5dfdc;
}
.yt-step-localized {
  border-color: #2b8b6c;
  box-shadow: 0 18px 38px rgba(16, 39, 34, .16);
}
.yt-step-caption {
  background: #102d28;
  border-color: #1a4038;
}
.yt-step-label {
  color: #2d7465;
  display: block;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: .45rem;
  text-transform: uppercase;
}
.yt-step-source .yt-step-label { color: #5d8c82; }
.yt-step-caption .yt-step-label { color: #7dbfb0; }
.yt-step-text {
  color: #153e34;
  font-size: clamp(.9rem, 1.45vw, 1.02rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.yt-step-source .yt-step-text { color: #4f665f; font-weight: 600; }
.yt-lang-badge {
  background: #d2e8e2;
  border-radius: 4px;
  color: #2d7465;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .2rem .5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}
.yt-step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .7rem;
}
.yt-step-chips span {
  background: #e8f4f0;
  border: 1px solid #d5e5df;
  border-radius: 999px;
  color: #1d5a4f;
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .7rem;
}
.yt-caption-frame { margin-top: .6rem; }
.yt-caption-play {
  align-items: center;
  background: #173f36;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  min-height: 90px;
}
.yt-caption-play .icon,
.yt-caption-play svg { color: rgba(255,255,255,.7); width: 34px; }
.yt-caption-text-row {
  align-items: flex-start;
  display: flex;
  gap: .6rem;
  margin-top: .65rem;
}
.yt-cc-badge {
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  color: #b0d5cc;
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .4rem;
}
.yt-caption-text-row p {
  color: #c8e5df;
  font-size: .82rem;
  line-height: 1.5;
  margin: 0;
}
.yt-caption-timeline {
  display: flex;
  gap: .25rem;
  margin-top: .7rem;
}
.yt-caption-timeline i {
  background: rgba(255,255,255,.18);
  border-radius: 2px;
  flex: 1;
  height: 4px;
}
.yt-caption-timeline i:first-child { background: #efc77f; flex: 1.8; }
.yt-caption-timeline i:nth-child(2) { background: rgba(255,255,255,.35); }
.yt-workflow-arrow {
  align-items: center;
  color: #b0cec8;
  display: flex;
  justify-content: center;
  padding: .3rem 0;
}
.yt-workflow-arrow svg { width: 20px; }
.youtube-section-heading span,
.youtube-localize-layout > div > span {
  color: #2d7465;
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.youtube-live-controls-section { padding-bottom: 18px; padding-top: 0; }
.youtube-live-controls {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.08);
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 620px;
  padding: .5rem .65rem;
  position: sticky;
  top: 84px;
  z-index: 8;
}
.youtube-live-controls a {
  border-radius: 999px;
  color: var(--ink);
  flex: 1;
  font-size: .88rem;
  font-weight: 800;
  padding: .62rem .95rem;
  text-align: center;
  text-decoration: none;
}
.youtube-live-controls a:hover { background: #f0f7f4; color: var(--ink); }
#youtube-script-demo, #youtube-creator-notes, #youtube-deliverables { scroll-margin-top: 120px; }
.youtube-demo-section,
.youtube-matters-section,
.youtube-deliverables-section,
.youtube-quote-section { padding-top: 70px; }
.youtube-section-heading { display: flex; justify-content: space-between; margin-bottom: 1.6rem; }
.youtube-section-heading > div { max-width: 780px; }
.youtube-section-heading h2,
.youtube-localize-layout h2,
.youtube-deliverables-layout h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin: .45rem 0 .7rem;
}
.youtube-section-heading p { color: #557069; font-size: 1.04rem; margin: 0; }
.youtube-demo-shell {
  background: #fff;
  border: 1px solid #c8dcd6;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(23, 62, 53, .12);
  overflow: hidden;
}
.youtube-demo-toolbar { background: #f8fbfa; border-bottom: 1px solid #dbe9e4; padding: 1rem; }
.youtube-direction-group {
  align-items: center;
  border-bottom: 1px solid #dce9e5;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .85rem;
  padding-bottom: .85rem;
}
.youtube-control-label {
  color: #6b8e84;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.youtube-direction-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.youtube-direction-toggle button {
  background: #fff;
  border: 1px solid #cfe2dc;
  border-radius: 20px;
  color: #355f55;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  padding: .52rem 1rem;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.youtube-direction-toggle button:hover { background: #e8f3ef; border-color: #afd6cb; }
.youtube-direction-toggle button.active { background: #1d594b; border-color: #1d594b; color: #fff; }
.youtube-tab-list,
.youtube-mode-toggle { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin; }
.youtube-tab-list { border-bottom: 1px solid #dce9e5; margin-bottom: .85rem; padding-bottom: .85rem; }
.youtube-tab-list button,
.youtube-mode-toggle button {
  background: #fff;
  border: 1px solid #d1e3dd;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  min-height: 40px;
  padding: .58rem .85rem;
}
.youtube-tab-list button.active { background: #1d594b; border-color: #1d594b; color: #fff; }
.youtube-mode-toggle button.active { background: #fff3ed; border-color: #d4774e; color: #8e4224; }
.youtube-workspace-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 610px; }
.youtube-workspace-stage { background: #eef4f2; min-width: 0; padding: 1.25rem; }
.youtube-workspace-panel {
  background: #fff;
  border: 1px solid #c8d9d4;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(28, 64, 55, .08);
  display: none;
  min-height: 560px;
  overflow: hidden;
}
.youtube-workspace-panel.active { display: flex; flex-direction: column; }
.youtube-workspace-browserbar { align-items: center; background: #f7faf9; border-bottom: 1px solid #e1ebe8; display: flex; gap: .4rem; min-height: 38px; padding: 0 .85rem; }
.youtube-workspace-browserbar > span { background: #c8d8d3; border-radius: 50%; height: 8px; width: 8px; }
.youtube-workspace-browserbar b { color: #7b8d88; font-size: .7rem; margin-left: .55rem; }
.youtube-workspace-content { display: grid; gap: 1rem; grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr); padding: clamp(1rem, 3vw, 2rem); }
.youtube-video-preview { background: #183f38; border-radius: 12px; color: #fff; display: grid; min-height: 260px; padding: 1rem; place-items: center; text-align: center; }
.youtube-video-preview svg { width: 48px; }
.youtube-video-preview b { color: #b8d9cf; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.youtube-video-preview p { font-weight: 850; line-height: 1.3; margin: 0; }
.youtube-editor-panel { border: 1px solid #d9e6e2; border-radius: 12px; padding: clamp(1.2rem, 3vw, 2rem); }
.youtube-editor-panel span { color: #2c7163; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.youtube-editor-panel h3 { color: #153e34; font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.12; margin: .65rem 0 1.2rem; }
.youtube-editor-lines i { background: #dbe7e3; border-radius: 4px; display: block; height: 7px; margin: .55rem 0; width: 100%; }
.youtube-editor-lines i:nth-child(2) { width: 86%; }
.youtube-editor-lines i:nth-child(3) { width: 64%; }
.youtube-caption-strip { align-items: center; background: #102d28; border-radius: 6px; color: #fff; display: flex; gap: .8rem; grid-column: 1 / -1; padding: .85rem 1rem; }
.youtube-caption-strip span { background: #efc77f; border-radius: 4px; color: #102d28; font-weight: 900; padding: .25rem .4rem; }
.youtube-caption-strip p { line-height: 1.45; margin: 0; }
.youtube-timeline { align-items: center; display: grid; gap: .45rem; grid-column: 1 / -1; grid-template-columns: 1.2fr .7fr 1fr .8fr .6fr; }
.youtube-timeline i { background: #bad3cc; border-radius: 999px; height: 9px; }
.youtube-timeline i:nth-child(2), .youtube-timeline i:nth-child(4) { background: #d7aa62; }
.youtube-notes-panel { background: #fff; border-left: 1px solid var(--line); padding: 1.5rem; }
.youtube-notes-heading { align-items: center; border-bottom: 1px solid #dce8e4; display: flex; gap: .7rem; padding-bottom: 1rem; }
.youtube-notes-heading .icon { background: #dff0eb; border-radius: 8px; color: #256454; display: grid; height: 38px; place-items: center; width: 38px; }
.youtube-notes-heading svg { width: 20px; }
.youtube-notes-heading h3 { font-size: 1.05rem; margin: 0; }
.youtube-notes-panel article { display: none; padding-top: 1.2rem; }
.youtube-notes-panel article.active { display: block; }
.youtube-notes-panel article p { color: var(--muted); line-height: 1.65; }
.youtube-notes-panel article div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.youtube-notes-panel article span { background: #f0f7f4; border: 1px solid #cfe2dc; border-radius: 999px; color: #2f6659; font-size: .76rem; font-weight: 800; padding: .5rem .75rem; }
.youtube-matters-grid { display: grid; gap: 1rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.youtube-matters-grid article { background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px rgba(16, 32, 51, 0.06); padding: 1.35rem; }
.youtube-matters-grid .icon { background: #dceee8; border-radius: 8px; color: #286655; display: grid; height: 40px; margin-bottom: 1rem; place-items: center; width: 40px; }
.youtube-matters-grid svg { width: 21px; }
.youtube-matters-grid h3 { font-size: 1rem; line-height: 1.25; margin: 0; }
.youtube-localize-section { padding-top: 70px; }
.youtube-localize-layout { align-items: start; background: #f0f7f4; border: 1px solid #c8ddd7; border-radius: 14px; color: var(--ink); display: grid; gap: 3rem; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); padding: clamp(2rem, 5vw, 4rem); }
.youtube-localize-layout h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: .5rem 0 0; }
.youtube-localize-layout > div > span { color: #28745e; }
.youtube-localize-list { display: grid; gap: .65rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.youtube-localize-list span { background: rgba(255, 255, 255, 0.9); border: 1px solid #c8ddd7; border-radius: 999px; color: #2a5244; font-size: .86rem; font-weight: 800; padding: .65rem 1rem; text-align: center; }
.youtube-deliverables-layout { align-items: center; background: #f4faf7; border: 1px solid #c8ddd7; border-radius: 14px; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); padding: clamp(2rem, 5vw, 4.5rem); }
.youtube-deliverable-list { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
.youtube-deliverable-list span { border-bottom: 1px solid #cfe1db; color: #315d52; font-weight: 750; padding: .75rem; }
.youtube-delivery-visual { min-height: 360px; position: relative; }
.youtube-delivery-doc { background: #fff; border: 1px solid #ccdcd7; border-radius: 12px; box-shadow: 0 20px 45px rgba(25, 64, 55, .13); inset: 0 16% 28px 0; padding: 1.4rem; position: absolute; transform: rotate(-2deg); }
.youtube-delivery-doc > span { color: #2e7464; font-size: .72rem; font-weight: 900; }
.youtube-delivery-doc h3 { color: #173f36; font-size: 1.45rem; line-height: 1.08; margin: 1rem 0; }
.youtube-delivery-doc i { background: #dce8e4; display: block; height: 7px; margin: .55rem 0; width: 88%; }
.youtube-delivery-doc i:nth-of-type(2) { width: 74%; }
.youtube-delivery-doc i:nth-of-type(3) { width: 96%; }
.youtube-delivery-doc div { display: flex; gap: .55rem; margin-top: 1.3rem; }
.youtube-delivery-doc b { background: #eef6f3; border: 1px solid #d5e5df; border-radius: 999px; color: #2f6659; font-size: .78rem; padding: .45rem .9rem; }
.youtube-delivery-caption { background: #102d28; border-radius: 7px; bottom: 0; color: #fff; padding: 1rem; position: absolute; right: 0; width: 235px; }
.youtube-delivery-caption span { color: #efc77f; font-weight: 900; }
.youtube-delivery-caption p { font-size: .86rem; line-height: 1.45; margin: .4rem 0 0; }
.youtube-quote-card { background: #fff; border: 1px solid #c8ddd7; border-radius: 14px; box-shadow: 0 18px 50px rgba(24, 66, 57, .08); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); overflow: hidden; }
.youtube-quote-intro { background: #f0f7f4; border-right: 1px solid #d0e4de; color: var(--ink); padding: clamp(2rem, 5vw, 4rem); }
.youtube-quote-label { align-items: center; color: #28745e; display: flex; font-size: .76rem; font-weight: 800; gap: .6rem; text-transform: uppercase; letter-spacing: .07em; }
.youtube-quote-label .icon { background: #dff0eb; border: 1.5px solid #b5d9ce; border-radius: 8px; color: #1a5445; display: grid; height: 38px; place-items: center; width: 38px; }
.youtube-quote-label svg { width: 20px; height: 20px; }
.youtube-quote-intro h2 { color: var(--ink); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 1.2rem 0 .8rem; }
.youtube-quote-checklist { padding: clamp(2rem, 5vw, 4rem); }
.youtube-quote-checklist .check-list { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; }
.youtube-quote-checklist .check-list li { background: #f8fbfa; border: 1px solid #d7e5e1; border-radius: 8px; font-size: .98rem; line-height: 1.45; min-height: 68px; padding: .9rem; }
.youtube-quote-note { align-items: flex-start; border-top: 1px solid #dce7e4; color: #4f6961; display: flex; gap: .7rem; line-height: 1.55; margin: 1.3rem 0 0; padding-top: 1.2rem; }
.youtube-quote-note svg { color: #2f7465; flex: 0 0 auto; width: 21px; }
.youtube-final-cta {
  background: linear-gradient(135deg, #102033, #173f37 65%, #0f6655);
  border-color: transparent;
  color: #fff;
  margin-top: clamp(4rem, 8vw, 7rem);
}
.youtube-final-cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.youtube-final-cta p { color: rgba(255, 255, 255, 0.76); }
.youtube-final-cta .hero-actions { justify-content: flex-end; }
.live-demo-preview-youtube { background: #102d28; display: grid; grid-template-columns: 1.1fr .9fr; padding: 1rem; position: relative; }
.demo-preview-youtube-video { background: linear-gradient(135deg, #183f38, #d7aa62); border-radius: 6px; min-height: 92px; position: relative; }
.demo-preview-youtube-video span { border-bottom: 16px solid transparent; border-left: 24px solid #fff; border-top: 16px solid transparent; height: 0; left: 50%; position: absolute; top: 50%; transform: translate(-40%, -50%); width: 0; }
.demo-preview-youtube-video b { background: rgba(0,0,0,.28); border-radius: 2px; bottom: 8px; height: 9px; position: absolute; right: 8px; width: 38px; }
.demo-preview-youtube-script { display: grid; gap: .45rem; padding-left: .8rem; place-content: center; }
.demo-preview-youtube-script i { background: #dce8e4; border-radius: 3px; height: 7px; width: 70px; }
.demo-preview-youtube-script i:nth-child(2) { width: 52px; }
.demo-preview-youtube-script i:nth-child(3) { background: #efc77f; width: 62px; }
.demo-preview-youtube-caption { background: rgba(255,255,255,.82); border-radius: 4px; bottom: .8rem; height: 15px; left: 1.3rem; position: absolute; width: 92px; }
@media (max-width: 1000px) {
  .youtube-live-hero { grid-template-columns: 1fr; }
  .youtube-hero-visual { align-self: auto; max-width: 760px; width: 100%; }
  .youtube-workspace-layout { grid-template-columns: 1fr; }
  .youtube-notes-panel { border-left: 0; border-top: 1px solid var(--line); }
  .youtube-matters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .youtube-localize-layout,
  .youtube-deliverables-layout { grid-template-columns: 1fr; }
  .youtube-delivery-visual { max-width: 560px; width: 100%; }
}
@media (max-width: 720px) {
  .youtube-section-heading,
  .youtube-final-cta { align-items: flex-start; flex-direction: column; }
  .youtube-live-hero { padding-top: 3.5rem; }
  .youtube-live-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.45rem); max-width: 14ch; }
  .youtube-hero-visual { min-height: 0; padding: 1.2rem; }
  .yt-caption-play { min-height: 70px; }
  .youtube-live-controls { flex-wrap: wrap; width: 100%; }
  .youtube-live-controls a { flex: 1 1 auto; padding-inline: .6rem; }
  .youtube-demo-toolbar { padding: .8rem; }
  .youtube-workspace-stage { padding: .65rem; }
  .youtube-workspace-panel { min-height: 700px; }
  .youtube-workspace-content { grid-template-columns: 1fr; padding: 1rem; }
  .youtube-caption-strip,
  .youtube-timeline { grid-column: auto; }
  .youtube-video-preview { min-height: 210px; }
  .youtube-matters-grid,
  .youtube-localize-list,
  .youtube-deliverable-list,
  .youtube-quote-card,
  .youtube-quote-checklist .check-list { grid-template-columns: 1fr; }
  .youtube-quote-intro { border-bottom: 1px solid #d0e4de; border-right: 0; }
  .youtube-localize-layout,
  .youtube-deliverables-layout,
  .youtube-quote-intro,
  .youtube-quote-checklist { padding: 2rem 1.3rem; }
  .youtube-delivery-visual { min-height: 315px; }
  .youtube-delivery-doc { inset: 0 42px 16px 0; }
  .youtube-delivery-caption { width: 190px; }
  .youtube-final-cta .hero-actions,
  .youtube-final-cta .btn,
  .youtube-live-hero-copy .hero-actions,
  .youtube-live-hero-copy .btn { width: 100%; }
}
@media (max-width: 440px) {
  .yt-step-text { font-size: .9rem; }
  .yt-lang-badge { position: static; display: inline-block; margin-top: .65rem; }
  .youtube-delivery-caption { left: 36px; right: auto; width: calc(100% - 36px); }
  .youtube-delivery-doc { inset: 0 20px 40px 0; padding: 1rem; }
}

/* ── Subtitle Translation Live Demo ────────────────────────────── */
.sub-live-hero {
  align-items: center;
  background: #fff;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  padding-bottom: 72px;
  padding-top: 58px;
}
.sub-live-hero-copy { max-width: 610px; }
.sub-live-hero-copy h1 {
  background: none;
  color: var(--ink);
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1.0;
  margin-bottom: 1.15rem;
  max-width: 13ch;
}
.sub-live-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 620px;
}
.sub-hero-visual {
  align-items: center;
  align-self: stretch;
  background: linear-gradient(145deg, #e4f1ec, #ebf4f0 55%, #e7f3ee);
  border: 1px solid #c8dcd7;
  border-radius: 20px;
  box-shadow: 0 28px 68px rgba(22,55,48,.13);
  display: flex;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 2rem;
}
.sub-hero-container {
  align-items: stretch;
  display: flex;
  flex-direction: row;
  gap: 0;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}
.sub-hero-step {
  background: #fff;
  border: 1px solid #d5dfdc;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(27,55,48,.12);
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  position: relative;
}
.sub-hero-srt {
  background: #0e2b26;
  border-color: #174038;
}
.sub-hero-video {
  background: #fbfdfc;
  border-color: #2b8b6c;
  box-shadow: 0 18px 38px rgba(16,39,34,.16);
}
.sub-hero-checks {
  background: #fff;
  border-color: #d5dfdc;
}
.sub-hero-label {
  color: #2d7465;
  display: block;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.sub-hero-srt .sub-hero-label { color: #7dbfb0; }
.sub-hero-checks .sub-hero-label { color: #5d8c82; }
.sub-srt-block { display: flex; flex-direction: column; gap: .18rem; }
.sub-srt-num { color: rgba(255,255,255,.35); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .68rem; }
.sub-srt-timing { color: #efc77f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .66rem; }
.sub-srt-text { color: #d4ece6; font-size: .84rem; font-weight: 650; line-height: 1.45; white-space: pre-line; }
.sub-video-frame { display: flex; flex-direction: column; gap: .4rem; }
.sub-video-screen {
  align-items: center;
  background: #173f36;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  min-height: 78px;
}
.sub-video-screen .icon,
.sub-video-screen svg {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  color: rgba(255,255,255,.95);
  padding: 9px;
  stroke-width: 2.2;
  width: 42px;
}
.sub-video-caption {
  background: #102d28;
  border-radius: 5px;
  color: #d9eee8;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.45;
  padding: .35rem .55rem;
  text-align: center;
}
.sub-video-bar { display: flex; gap: .25rem; }
.sub-video-bar i { background: #bad3cc; border-radius: 2px; flex: 1; height: 4px; }
.sub-video-bar i:first-child { background: #efc77f; flex: 1.7; }
.sub-hero-badge-list { display: flex; flex-direction: column; gap: .4rem; }
.sub-hero-badge-list span {
  background: #e8f4f0;
  border: 1px solid #d5e5df;
  border-radius: 6px;
  color: #1d5a4f;
  font-size: .68rem;
  font-weight: 750;
  padding: .3rem .6rem;
}
.sub-hero-arrow {
  align-items: center;
  color: #b0cec8;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 0 .3rem;
}
.sub-hero-arrow svg { width: 18px; }
.sub-live-controls-section { padding-bottom: 18px; padding-top: 0; }
.sub-live-controls {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16,32,51,.08);
  display: flex;
  gap: .45rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 640px;
  padding: .55rem;
  position: sticky;
  top: 84px;
  z-index: 8;
}
.sub-live-controls a {
  border-radius: 999px;
  color: var(--ink);
  flex: 1;
  font-size: .84rem;
  font-weight: 800;
  padding: .68rem .9rem;
  text-align: center;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.sub-live-controls a:first-child,
.sub-live-controls a:hover { background: #1d594b; color: #fff; }
#subtitle-demo, #subtitle-readability, #subtitle-deliverables { scroll-margin-top: 120px; }
.sub-demo-section,
.sub-matters-section,
.sub-deliverables-section,
.sub-quote-section { padding-top: 70px; }
.sub-section-heading { display: flex; justify-content: space-between; margin-bottom: 1.6rem; }
.sub-section-heading > div { max-width: 780px; }
.sub-section-heading span,
.sub-checks-layout > div:first-child span,
.sub-localize-layout > div:first-child span,
.sub-deliverables-layout .sample-label {
  color: #2d7465;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.sub-section-heading h2,
.sub-checks-layout > div:first-child h2,
.sub-localize-layout > div:first-child h2,
.sub-deliverables-layout h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin: .45rem 0 .7rem;
}
.sub-section-heading p { color: #557069; font-size: 1.04rem; margin: 0; }
.sub-demo-shell {
  background: #fff;
  border: 1px solid #cfe1dc;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(24,66,57,.1);
  overflow: hidden;
}
.sub-demo-toolbar {
  background: #f4f9f7;
  border-bottom: 1px solid #dbe9e4;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.1rem;
}
.sub-tab-list,
.sub-mode-toggle { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin; }
.sub-tab-list { border-bottom: 1px solid #dce9e5; padding-bottom: .85rem; }
.sub-tab-list button,
.sub-mode-toggle button {
  background: #fff;
  border: 1px solid #d2e2dd;
  border-radius: 999px;
  color: #4f6961;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  padding: .55rem .95rem;
  transition: background .15s, border-color .15s, color .15s;
}
.sub-tab-list button.active { background: #1d594b; border-color: #1d594b; color: #fff; }
.sub-mode-toggle button.active { background: #f5ede2; border-color: #d7aa62; color: #5c4420; }
.sub-tab-list button:hover:not(.active),
.sub-mode-toggle button:hover:not(.active) { background: #f0f8f5; border-color: #2d7465; color: #2d7465; }
.sub-workspace-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 610px; }
.sub-workspace-stage { background: #eef4f2; min-width: 0; padding: 1.25rem; }
.sub-workspace-panel {
  background: #fff;
  border: 1px solid #c8d9d4;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(28,64,55,.08);
  display: none;
  min-height: 560px;
  overflow: hidden;
}
.sub-workspace-panel.active { display: flex; flex-direction: column; }
.sub-workspace-browserbar {
  align-items: center;
  background: #f7faf9;
  border-bottom: 1px solid #e1ebe8;
  display: flex;
  gap: .4rem;
  min-height: 38px;
  padding: 0 .85rem;
}
.sub-workspace-browserbar span { background: #c8d8d3; border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
.sub-workspace-browserbar b { color: #7b8d88; font-size: .7rem; font-weight: 800; margin-left: auto; }
.sub-workspace-content { display: grid; gap: 1rem; grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr); padding: clamp(1rem, 3vw, 2rem); }
.sub-video-preview {
  align-items: center;
  background: #183f38;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
  min-height: 260px;
  padding: 1rem;
  text-align: center;
}
.sub-video-preview .icon,
.sub-video-preview svg {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  color: rgba(255,255,255,.95);
  padding: 12px;
  stroke-width: 2.2;
  width: 58px;
}
.sub-video-preview b { color: #b8d9cf; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.sub-video-caption-overlay {
  background: rgba(0,0,0,.7);
  border-radius: 6px;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: 28ch;
  padding: .45rem .75rem;
  white-space: pre-line;
}
.sub-timeline { display: flex; gap: .25rem; margin-top: .3rem; width: 100%; }
.sub-timeline i { background: rgba(255,255,255,.16); border-radius: 2px; flex: 1; height: 4px; }
.sub-timeline i:first-child { background: #efc77f; flex: 1.7; }
.sub-timeline i:nth-child(2) { background: rgba(255,255,255,.33); }
.sub-srt-editor {
  background: #0f2521;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
}
.sub-srt-editor-header {
  align-items: center;
  background: #17352e;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: .5rem;
  min-height: 40px;
  padding: .55rem .9rem;
}
.sub-srt-editor-header .icon,
.sub-srt-editor-header svg { color: #7dbfb0; width: 15px; }
.sub-srt-editor-header span:nth-child(2) { color: #9ec9bf; flex: 1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; }
.sub-file-badge { background: rgba(45,116,101,.4); border-radius: 4px; color: #7dbfb0; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: .15rem .4rem; }
.sub-srt-content { display: flex; flex-direction: column; gap: .24rem; padding: 1rem; }
.sub-srt-index { color: rgba(255,255,255,.3); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; }
.sub-srt-time { color: #efc77f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; margin-bottom: .2rem; }
.sub-srt-body { color: #c8e5df; font-size: .9rem; font-weight: 650; line-height: 1.55; white-space: pre-line; }
.sub-srt-transcript .sub-srt-body { color: #a8cec8; font-style: italic; }
.sub-notes-panel { background: #f8fbfa; border-left: 1px solid #d9e6e2; display: flex; flex-direction: column; padding: 1.5rem; }
.sub-notes-heading { align-items: center; border-bottom: 1px solid #dce8e4; display: flex; gap: .7rem; padding-bottom: 1rem; }
.sub-notes-heading .icon { background: #dff0eb; border-radius: 8px; color: #256454; display: grid; height: 38px; place-items: center; width: 38px; }
.sub-notes-heading svg { height: 20px; width: 20px; }
.sub-notes-heading h3 { color: #173f36; font-size: 1.05rem; margin: 0; }
.sub-notes-panel article { display: none; padding-top: 1.2rem; }
.sub-notes-panel article.active { display: block; }
.sub-notes-panel article p { color: #49645d; font-size: .94rem; line-height: 1.65; margin: 0; }
.sub-notes-panel article div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sub-notes-panel article span { background: #fff; border: 1px solid #cfe2dc; border-radius: 999px; color: #2f6659; font-size: .76rem; font-weight: 800; padding: .45rem .75rem; }
.sub-matters-section,
.sub-checks-section,
.sub-deliverables-section { background: #f4faf7; }
.sub-matters-grid { display: grid; gap: 1rem; grid-template-columns: repeat(5, minmax(0,1fr)); margin-top: 1.8rem; }
.sub-matters-grid article { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 48px rgba(16,32,51,.12); display: grid; gap: .65rem; padding: 1.1rem; }
.sub-matters-grid .icon { background: #dceee8; border-radius: 10px; color: #286655; display: grid; height: 40px; place-items: center; width: 40px; }
.sub-matters-grid svg { width: 21px; }
.sub-matters-grid h3 { color: #153e34; font-size: 1rem; line-height: 1.25; margin: 0; }
.sub-checks-layout,
.sub-localize-layout {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
}
.sub-checks-layout,
.sub-localize-layout {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16,32,51,.1);
  padding: clamp(2rem, 5vw, 4rem);
}
.sub-localize-section { background: #fff; border-top: 1px solid #e4eeea; padding-top: 70px; }
.sub-localize-layout { background: rgba(255,255,255,.96); }
.sub-checks-layout > div:first-child h2,
.sub-localize-layout > div:first-child h2 { color: #173f36; max-width: 18ch; }
.sub-checks-list { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.sub-checks-list span,
.sub-localize-list span {
  background: #f0faf6;
  border: 1px solid #d5e5df;
  border-radius: 999px;
  color: #315d52;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
  padding: .65rem 1rem;
}
.sub-localize-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.sub-deliverables-layout {
  align-items: center;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16,32,51,.1);
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
  padding: clamp(2rem, 5vw, 4.5rem);
}
.sub-deliverable-list { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
.sub-deliverable-list span { border-bottom: 1px solid #cfe1db; color: #315d52; font-weight: 750; padding: .75rem; }
.sub-delivery-visual { min-height: 360px; position: relative; }
.sub-delivery-doc {
  background: #fff;
  border: 1px solid #ccdcd7;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(25,64,55,.13);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  inset: 0 16% 28px 0;
  padding: 1.4rem;
  position: absolute;
  transform: rotate(-2deg);
}
.sub-delivery-doc span { color: #2e7464; font-size: .72rem; font-weight: 900; letter-spacing: .06em; width: fit-content; }
.sub-delivery-doc h3 { color: #173f36; font-size: 1.45rem; line-height: 1.08; margin: .35rem 0 .5rem; }
.sub-delivery-doc i { background: #dce8e4; display: block; height: 7px; margin: .1rem 0; width: 88%; }
.sub-delivery-doc i:nth-of-type(2) { width: 74%; }
.sub-delivery-doc i:nth-of-type(3) { width: 96%; }
.sub-delivery-doc div { display: flex; gap: .55rem; margin-top: 1rem; }
.sub-delivery-doc b { background: #eef6f3; border: 1px solid #d5e5df; border-radius: 6px; color: #2f6659; font-size: .78rem; padding: .65rem; }
.sub-delivery-caption { background: #102d28; border-radius: 10px; bottom: 0; box-shadow: 0 14px 30px rgba(16,39,34,.2); padding: 1rem; position: absolute; right: 0; width: 235px; }
.sub-cc-badge { color: #efc77f; display: inline-block; font-size: .76rem; font-weight: 900; margin-bottom: .4rem; }
.sub-delivery-caption p { color: #d9eee8; font-size: .86rem; line-height: 1.45; margin: 0; }
.sub-quote-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(24,66,57,.1);
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  overflow: hidden;
}
.sub-quote-intro { background: linear-gradient(145deg, #1a4d42, #1e5c50); border-radius: 18px 0 0 18px; color: #fff; padding: clamp(2rem, 5vw, 4rem); }
.sub-quote-label { align-items: center; color: #9dd4c6; display: flex; font-size: .76rem; font-weight: 850; gap: .6rem; letter-spacing: .07em; margin-bottom: 1.2rem; text-transform: uppercase; }
.sub-quote-label .icon { background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.45); border-radius: 8px; color: #fff; display: grid; height: 36px; place-items: center; width: 36px; }
.sub-quote-label svg { height: 18px; width: 18px; }
.sub-quote-intro h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 0; max-width: 12ch; }
.sub-quote-checklist { padding: clamp(2rem, 5vw, 4rem); }
.sub-quote-checklist .check-list { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0; padding: 0; }
.sub-quote-checklist .check-list li { background: #f4faf8; border: 1px solid #d0e5df; border-radius: 10px; font-size: .98rem; line-height: 1.45; min-height: 68px; padding: .9rem; }
.sub-quote-note { align-items: flex-start; border-top: 1px solid #dce7e4; color: #4f6961; display: flex; font-size: .94rem; gap: .7rem; line-height: 1.55; margin: 1.3rem 0 0; padding-top: 1.2rem; }
.sub-quote-note span,
.sub-quote-note svg { color: #2f7465; flex: 0 0 auto; width: 21px; }
.sub-final-cta {
  background: linear-gradient(135deg, #0e3229, #1d594b 65%, #2d7465);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  margin-top: 70px;
}
.sub-final-cta h2 { color: #fff; }
.sub-final-cta p { color: rgba(255,255,255,.76); }
.sub-final-cta .hero-actions { justify-content: flex-end; }
.sub-final-cta .btn-secondary { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.sub-final-cta .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.subtitle-detail-live-card .sample-demo-path { background: #f4faf7; border: 1px solid #c4dbd5; border-left: 3px solid #2d7465; }
@media (max-width: 1000px) {
  .sub-live-hero { grid-template-columns: 1fr; }
  .sub-hero-visual { align-self: auto; max-width: 760px; min-height: 0; width: 100%; }
  .sub-hero-container { flex-direction: column; }
  .sub-hero-step { flex: none; }
  .sub-hero-arrow svg { transform: rotate(90deg); }
  .sub-workspace-layout { grid-template-columns: 1fr; }
  .sub-notes-panel { border-left: 0; border-top: 1px solid #d9e6e2; }
  .sub-matters-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sub-checks-layout,
  .sub-localize-layout,
  .sub-deliverables-layout { grid-template-columns: 1fr; }
  .sub-delivery-visual { max-width: 560px; width: 100%; }
  .sub-live-controls { flex-wrap: wrap; width: 100%; }
  .sub-live-controls a { flex: 1 1 auto; padding-inline: .6rem; }
}
@media (max-width: 720px) {
  .sub-section-heading,
  .sub-final-cta { align-items: flex-start; flex-direction: column; }
  .sub-live-hero { padding-top: 3.5rem; }
  .sub-live-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.45rem); max-width: 14ch; }
  .sub-hero-visual { padding: 1.2rem; }
  .sub-video-screen { min-height: 68px; }
  .sub-demo-toolbar { padding: .8rem; }
  .sub-workspace-stage { padding: .65rem; }
  .sub-workspace-panel { min-height: 700px; }
  .sub-workspace-content { grid-template-columns: 1fr; padding: 1rem; }
  .sub-video-preview { min-height: 210px; }
  .sub-matters-grid,
  .sub-checks-list,
  .sub-deliverable-list,
  .sub-quote-card,
  .sub-quote-checklist .check-list { grid-template-columns: 1fr; }
  .sub-checks-layout,
  .sub-localize-layout,
  .sub-deliverables-layout,
  .sub-quote-intro,
  .sub-quote-checklist { padding: 2rem 1.3rem; }
  .sub-delivery-visual { min-height: 315px; }
  .sub-delivery-doc { inset: 0 42px 16px 0; }
  .sub-delivery-caption { width: 190px; }
  .sub-final-cta .hero-actions,
  .sub-final-cta .btn,
  .sub-live-hero-copy .hero-actions,
  .sub-live-hero-copy .btn { width: 100%; }
}
@media (max-width: 440px) {
  .sub-srt-text { font-size: .85rem; }
  .sub-delivery-caption { left: 36px; right: auto; width: calc(100% - 36px); }
  .sub-delivery-doc { inset: 0 20px 40px 0; padding: 1rem; }
}

/* =====================================================
   CV + LinkedIn Translation Live Demo
   ===================================================== */

.cv-live-controls,
.cv-demo-shell,
.cv-quote-card { max-width: 1200px; }

.cv-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.25rem);
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  padding-bottom: 4.5rem;
  padding-top: 4rem;
}
.cv-live-hero-copy { max-width: 650px; }
.cv-live-hero-copy h1 {
  color: var(--ink);
  font-size: clamp(3rem, 5.2vw, 5rem);
  letter-spacing: 0;
  line-height: .98;
  margin-bottom: 1rem;
}
.cv-live-hero-copy .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  margin-bottom: 1rem;
}
.cv-live-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cv-hero-visual {
  background:
    radial-gradient(circle at 18% 18%, rgba(7,143,131,.10), transparent 32%),
    radial-gradient(circle at 84% 78%, rgba(215,170,98,.09), transparent 30%),
    linear-gradient(145deg, #f5f9fc, #eaf3ef);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(16, 32, 51, .14);
  min-height: 500px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.cv-hero-visual::before {
  background: linear-gradient(180deg, rgba(16,32,51,.05), rgba(16,32,51,0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.cv-workflow-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  min-height: 100%;
  position: relative;
}
.cv-workflow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16,32,51,.1);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 118px;
  padding: 1.1rem 1.15rem;
  position: relative;
}
.cv-step-source { margin-right: 19%; }
.cv-step-polished { margin-left: 11%; margin-right: 6%; }
.cv-step-profile { margin-left: 24%; min-height: 185px; }
.cv-workflow-arrow {
  align-self: center;
  color: #9f7a3f;
  display: grid;
  height: 26px;
  place-items: center;
  transform: rotate(90deg);
}
.cv-step-label {
  color: var(--teal);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cv-step-text {
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}
.cv-lang-badge {
  align-self: flex-start;
  background: #132338;
  border-radius: 5px;
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  margin-top: auto;
  padding: .22rem .55rem;
}
.cv-step-chips,
.cv-profile-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.cv-step-chips span,
.cv-profile-chips span {
  background: #f5ede2;
  border: 1px solid #ddb97a;
  border-radius: 999px;
  color: #5e4621;
  font-size: .71rem;
  font-weight: 800;
  padding: .28rem .65rem;
}
.cv-profile-card {
  background: #132338;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(16,32,51,.2);
  color: #fff;
  display: grid;
  gap: .8rem;
  grid-template-columns: auto minmax(0,1fr);
  padding: 1rem;
}
.cv-profile-avatar,
.cv-preview-avatar,
.cv-delivery-profile > span {
  background: #d7aa62;
  border-radius: 50%;
  color: #1a2e28;
  font-weight: 900;
  text-align: center;
}
.cv-profile-avatar { font-size: .8rem; height: 38px; line-height: 38px; width: 38px; }
.cv-profile-info b { color: #fff; display: block; font-size: .92rem; margin-bottom: .18rem; }
.cv-profile-info,
.cv-profile-info span,
.cv-step-text,
.cv-preview-name,
.cv-preview-name span,
.cv-editor-panel > p,
.cv-delivery-profile > p {
  min-width: 0;
  overflow-wrap: anywhere;
}
.cv-profile-info span { color: #9fb4d8; font-size: .78rem; line-height: 1.4; }
.cv-profile-chips { grid-column: 1 / -1; }

.cv-live-controls-section {
  padding-bottom: 1rem;
  padding-top: 0;
  position: sticky;
  top: 84px;
  z-index: 5;
}
.cv-live-controls {
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(16,32,51,.08);
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin: 0 auto;
  overflow-x: auto;
  padding: .5rem;
  scrollbar-width: thin;
}
.cv-live-controls a {
  border-radius: 12px;
  color: var(--ink);
  flex: 1 1 0;
  font-size: .88rem;
  font-weight: 800;
  min-width: max-content;
  padding: .75rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: background .14s ease, color .14s ease;
  white-space: nowrap;
}
.cv-live-controls a:first-child,
.cv-live-controls a:hover { background: #133d66; color: #fff; }

.cv-demo-section,
.cv-matters-section,
.cv-deliverables-section,
.cv-quote-section,
.cv-localize-section { padding-top: 70px; }
#cv-linkedin-demo,
#cv-career-notes,
#cv-deliverables { scroll-margin-top: 120px; }
.cv-section-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}
.cv-section-heading > div { max-width: 800px; }
.cv-section-heading span,
.cv-localize-layout > div > span {
  color: var(--teal);
  display: block;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: .45rem;
  text-transform: uppercase;
}
.cv-section-heading h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.06;
  margin-bottom: .65rem;
}
.cv-section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  margin: 0;
}

.cv-demo-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(16,32,51,.10);
  margin: 0 auto;
  overflow: hidden;
}
.cv-demo-toolbar {
  background: #f5f8fb;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
}
.cv-tab-list,
.cv-version-toggle {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.cv-tab-list {
  border-bottom: 1px solid var(--line);
  margin-bottom: .85rem;
  padding-bottom: .85rem;
}
.cv-tab-list button,
.cv-version-toggle button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  padding: .58rem .9rem;
  transition: background .12s ease, color .12s ease, border-color .12s ease, transform .12s ease;
  white-space: nowrap;
}
.cv-tab-list button:hover,
.cv-version-toggle button:hover { background: #f5f8fb; border-color: var(--line); }
.cv-tab-list button.active { background: #133d66; border-color: #133d66; color: #fff; }
.cv-version-toggle button.active { background: #f5ede2; border-color: #d7aa62; color: #5c4420; }
.cv-direction-group {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .85rem;
  padding-bottom: .85rem;
}
.cv-control-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cv-direction-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.cv-direction-toggle button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  padding: .52rem 1rem;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.cv-direction-toggle button:hover { background: #f5f8fb; border-color: var(--line); }
.cv-direction-toggle button.active { background: #0f766e; border-color: #0f766e; color: #fff; }

.cv-workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 560px;
}
.cv-workspace-stage {
  background: var(--soft);
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.4rem);
}
.cv-workspace-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16,32,51,.08);
  display: none;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
.cv-workspace-panel.active { display: flex; }
.cv-workspace-browserbar {
  align-items: center;
  background: #f5f8fb;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: .4rem;
  min-height: 42px;
  padding: 0 1rem;
}
.cv-workspace-browserbar > span { background: #c8d8e8; border-radius: 50%; height: 8px; width: 8px; }
.cv-workspace-browserbar b { color: var(--muted); font-size: .72rem; font-weight: 850; margin-left: .55rem; }
.cv-workspace-content {
  display: grid;
  flex: 1;
  gap: 1rem;
  grid-template-columns: 205px minmax(0, 1fr);
  padding: clamp(1rem, 3vw, 1.6rem);
}
.cv-profile-preview {
  align-items: flex-start;
  background: linear-gradient(155deg, #132338, #1a3050);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 300px;
  padding: 1.25rem 1rem;
}
.cv-preview-avatar { font-size: .88rem; height: 42px; line-height: 42px; width: 42px; }
.cv-preview-name b { color: #fff; display: block; font-size: .94rem; margin-bottom: .2rem; }
.cv-preview-name span { color: #9fb4d8; font-size: .76rem; line-height: 1.35; }
.cv-preview-divider { background: rgba(255,255,255,.15); height: 1px; margin: .45rem 0; width: 100%; }
.cv-preview-section-label {
  background: rgba(215,170,98,.25);
  border: 1px solid rgba(215,170,98,.35);
  border-radius: 5px;
  color: #eac98a;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.25;
  padding: .28rem .58rem;
  text-transform: uppercase;
}
.cv-editor-panel {
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.cv-editor-panel > span {
  color: var(--teal);
  display: block;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .07em;
  margin-bottom: .8rem;
  text-transform: uppercase;
}
.cv-editor-panel > p {
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.68;
  margin: 0 0 1.1rem;
}
.cv-editor-panel > p.is-polished { color: var(--ink); font-weight: 650; }
.cv-improvement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.cv-improvement-chips span {
  background: #e9fbf8;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 850;
  padding: .32rem .72rem;
}
.cv-editor-lines i { background: #dfe8f0; border-radius: 4px; display: block; height: 7px; margin: .55rem 0; width: 100%; }
.cv-editor-lines i:nth-child(2) { width: 82%; }
.cv-editor-lines i:nth-child(3) { width: 58%; }

.cv-notes-panel {
  background: rgba(255,255,255,.96);
  border-left: 1px solid var(--line);
  padding: 1.6rem;
}
.cv-notes-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: .7rem;
  margin-bottom: .2rem;
  padding-bottom: 1.1rem;
}
.cv-notes-heading .icon {
  background: #e9fbf8;
  border-radius: 10px;
  color: var(--teal-dark);
  display: grid;
  flex: 0 0 auto;
  height: 40px;
  place-items: center;
  width: 40px;
}
.cv-notes-heading svg { width: 20px; }
.cv-notes-heading h3 { color: var(--ink); font-size: 1.05rem; line-height: 1.2; margin: 0; }
.cv-notes-panel article { display: none; padding-top: 1.2rem; }
.cv-notes-panel article.active { display: block; }
.cv-notes-panel article p { color: var(--muted); line-height: 1.65; margin-top: 0; }
.cv-notes-panel article div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cv-notes-panel article span {
  background: #e9fbf8;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 850;
  padding: .42rem .8rem;
}

.cv-matters-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cv-matters-grid article {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16,32,51,.10);
  display: grid;
  gap: .65rem;
  padding: 1.4rem;
}
.cv-matters-grid .icon {
  background: #e9fbf8;
  border-radius: 10px;
  color: var(--teal-dark);
  display: grid;
  height: 42px;
  place-items: center;
  width: 42px;
}
.cv-matters-grid svg { width: 22px; }
.cv-matters-grid h3 { color: var(--ink); font-size: 1rem; line-height: 1.3; margin: 0; }

.cv-localize-layout {
  align-items: start;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16,32,51,.10);
  color: var(--ink);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  padding: clamp(2rem, 5vw, 4rem);
}
.cv-localize-layout h2 { color: var(--ink); margin-bottom: 0; }
.cv-localize-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.cv-localize-list span {
  align-items: center;
  background: #e9fbf8;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.25;
  min-height: 38px;
  padding: .5rem 1.1rem;
}

.cv-deliverables-layout {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
}
.cv-deliverables-layout h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.cv-deliverable-list {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cv-deliverable-list span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.45;
  padding: .78rem .95rem;
}
.cv-delivery-visual {
  min-height: 320px;
  position: relative;
}
.cv-delivery-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  bottom: 0;
  box-shadow: 0 22px 48px rgba(16,32,51,.12);
  left: 0;
  padding: 1.5rem;
  position: absolute;
  right: 54px;
  top: 0;
}
.cv-delivery-doc > span {
  background: var(--teal-dark);
  border-radius: 5px;
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  padding: .24rem .58rem;
}
.cv-delivery-doc h3 { color: var(--ink); font-size: 1.08rem; line-height: 1.25; margin: .8rem 0 1rem; }
.cv-delivery-doc i { background: #dfe8f0; border-radius: 4px; display: block; height: 7px; margin: .55rem 0; }
.cv-delivery-doc i:nth-child(4) { width: 75%; }
.cv-delivery-doc i:nth-child(5) { width: 55%; }
.cv-delivery-doc > div { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.cv-delivery-doc > div b {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--teal-dark);
  font-size: .72rem;
  padding: .25rem .55rem;
}
.cv-delivery-profile {
  background: linear-gradient(145deg, #132338, #1a3050);
  border-radius: 14px;
  bottom: -14px;
  box-shadow: 0 20px 48px rgba(16,32,51,.22);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.2rem;
  position: absolute;
  right: 0;
  top: 34px;
  width: 185px;
}
.cv-delivery-profile > span { font-size: .8rem; height: 36px; line-height: 36px; width: 36px; }
.cv-delivery-profile > b { color: #fff; display: block; font-size: .85rem; font-weight: 850; }
.cv-delivery-profile > p { color: #9fb4d8; font-size: .7rem; line-height: 1.45; margin: 0; }

.cv-quote-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16,32,51,.10);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  margin: 0 auto;
  overflow: hidden;
}
.cv-quote-intro {
  background: var(--soft);
  border-right: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cv-quote-label {
  align-items: center;
  background: #e9fbf8;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 999px;
  color: var(--teal-dark);
  display: flex;
  font-size: .78rem;
  font-weight: 850;
  gap: .5rem;
  padding: .42rem .9rem;
  width: fit-content;
}
.cv-quote-label .icon {
  background: rgba(7,143,131,.12);
  border-radius: 50%;
  color: var(--teal-dark);
  display: grid;
  height: 26px;
  place-items: center;
  width: 26px;
}
.cv-quote-label svg { width: 14px; }
.cv-quote-intro h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.15;
  margin: 0;
}
.cv-quote-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cv-quote-checklist .check-list {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cv-quote-checklist .check-list li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .78rem 1rem;
}
.cv-quote-note {
  align-items: flex-start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  font-size: .9rem;
  gap: .6rem;
  line-height: 1.55;
  padding: 1rem 1.1rem;
}
.cv-quote-note svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; width: 18px; }

.cv-final-cta {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(18,103,214,.18), transparent 28%),
    linear-gradient(135deg, #132338, #133d66 68%, #0f766e);
  border: none;
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(16, 32, 51, .22);
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}
.cv-final-cta h2 { color: #fff; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.cv-final-cta p { color: rgba(255,255,255,.76); margin: 0; }
.cv-final-cta .hero-actions { flex-shrink: 0; justify-content: flex-end; }
.cv-final-cta > div:first-child { max-width: 640px; }
.cv-final-cta .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.cv-final-cta .btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}
.cv-detail-live-card { margin-top: 1rem; }

/* =====================================================
   CV Demo – Responsive
   ===================================================== */
@media (max-width: 1100px) {
  .cv-live-hero { grid-template-columns: 1fr; }
  .cv-hero-visual { max-width: 720px; width: 100%; }
  .cv-matters-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-deliverables-layout { grid-template-columns: 1fr; }
  .cv-delivery-visual { max-width: 520px; min-height: 300px; }
}
@media (max-width: 960px) {
  .cv-workspace-layout,
  .cv-localize-layout,
  .cv-quote-card { grid-template-columns: 1fr; }
  .cv-quote-intro { border-bottom: 1px solid #d0e8e0; border-right: 0; }
  .cv-notes-panel { border-left: 0; border-top: 1px solid #d4e6e0; }
  .cv-matters-grid,
  .cv-deliverable-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-live-controls { flex-wrap: wrap; width: 100%; }
  .cv-live-controls a { flex: 1 1 auto; padding-inline: .7rem; }
}
@media (max-width: 720px) {
  .cv-live-hero { padding-bottom: 3.5rem; padding-top: 3.25rem; }
  .cv-live-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.45rem); }
  .cv-hero-visual { min-height: 0; padding: 1rem; }
  .cv-step-source,
  .cv-step-polished,
  .cv-step-profile { margin-left: 0; margin-right: 0; }
  .cv-workflow-step { min-height: auto; }
  .cv-profile-card { grid-template-columns: 1fr; }
  .cv-live-controls-section { top: 72px; }
  .cv-demo-toolbar { padding: .85rem; }
  .cv-workspace-stage { padding: .65rem; }
  .cv-workspace-content { grid-template-columns: 1fr; padding: 1rem; }
  .cv-profile-preview { min-height: 140px; }
  .cv-editor-panel { min-height: 250px; }
  .cv-matters-grid,
  .cv-deliverable-list,
  .cv-quote-checklist .check-list { grid-template-columns: 1fr; }
  .cv-localize-layout,
  .cv-quote-intro,
  .cv-quote-checklist { padding: 2rem 1.3rem; }
  .cv-delivery-visual { min-height: 320px; }
  .cv-delivery-doc { inset: 0 42px 28px 0; padding: 1.1rem; }
  .cv-delivery-profile { bottom: 0; top: auto; width: 170px; }
  .cv-final-cta { align-items: flex-start; flex-direction: column; }
  .cv-final-cta .hero-actions,
  .cv-final-cta .btn,
  .cv-live-hero-copy .hero-actions,
  .cv-live-hero-copy .btn { width: 100%; }
}
@media (max-width: 440px) {
  .cv-live-controls a { font-size: .82rem; }
  .cv-tab-list button,
  .cv-version-toggle button,
  .cv-direction-toggle button { font-size: .78rem; padding: .5rem .72rem; }
  .cv-delivery-doc { inset: 0 20px 56px 0; }
  .cv-delivery-profile { width: 160px; }
}

/* ============================================================
   GLOSSARY / TERMINOLOGY LIVE DEMO
   ============================================================ */

/* Live demo card preview (in demo index / home grid) */
.live-demo-preview-glossary {
  align-items: stretch;
  background: linear-gradient(135deg, #f0f6f3, #e6f0ec);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  justify-content: center;
  padding: 1.2rem 1.4rem;
}
.demo-preview-glossary-row {
  align-items: center;
  background: #fff;
  border: 1px solid #cdddd8;
  border-radius: 6px;
  display: flex;
  gap: .6rem;
  padding: .5rem .75rem;
}
.demo-preview-glossary-term {
  background: #daeae4;
  border-radius: 3px;
  display: block;
  flex: 1;
  height: 10px;
}
.demo-preview-glossary-chip {
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 700;
  height: 16px;
  letter-spacing: .01em;
  padding: 0 .55rem;
  white-space: nowrap;
  width: 54px;
}
.demo-preview-glossary-chip.is-approved { background: #d5f0e5; }
.demo-preview-glossary-chip.is-keep { background: #dde9ff; }

/* Glossary / Terminology Live Demo */
.glossary-live-hero {
  align-items: center;
  display: grid;
  gap: clamp(2.2rem, 5vw, 4.6rem);
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  padding-bottom: clamp(3.8rem, 7vw, 5.8rem);
  padding-top: clamp(3.8rem, 7vw, 5.6rem);
}
.glossary-live-hero-copy {
  max-width: 620px;
}
.glossary-live-hero-copy h1 {
  color: #153e34;
  font-size: clamp(2.8rem, 5.7vw, 4.9rem);
  letter-spacing: 0;
  line-height: .97;
  margin-bottom: 1.05rem;
}
.glossary-live-hero-copy .hero-subtitle {
  color: #214d43;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  font-weight: 650;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.glossary-live-hero-copy > p:not(.hero-subtitle) {
  color: #516a63;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 2.1rem;
  max-width: 58ch;
}

.glossary-hero-visual {
  background:
    radial-gradient(circle at top left, rgba(218, 239, 230, .95), transparent 34%),
    linear-gradient(145deg, #fbfdfc 0%, #eef6f2 100%);
  border: 1px solid #cddfda;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(25, 58, 51, .16);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
}
.glossary-hero-visual::before {
  background: linear-gradient(90deg, #1a5940, #2b7b61);
  border-radius: 999px;
  box-shadow:
    18px 0 0 rgba(26, 89, 64, .22),
    36px 0 0 rgba(26, 89, 64, .12);
  content: "";
  height: 8px;
  left: 1.35rem;
  position: absolute;
  top: 1rem;
  width: 38px;
}
.glossary-hero-snippet,
.glossary-hero-decisions,
.glossary-hero-table {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(205, 224, 218, .95);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(24, 61, 52, .08);
  position: relative;
  z-index: 1;
}
.glossary-hero-snippet {
  margin-top: 1.35rem;
  padding: 1.15rem 1.2rem;
}
.glossary-hero-snippet-label {
  color: #4a7266;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: .58rem;
  text-transform: uppercase;
}
.glossary-hero-snippet p {
  color: #263f38;
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}
.glossary-hero-snippet mark,
.glossary-source-snippet mark {
  background: linear-gradient(180deg, rgba(200, 236, 223, .1) 5%, rgba(177, 226, 207, .84) 94%);
  border-radius: 4px;
  color: inherit;
  padding: 0 .18em;
}
.glossary-hero-arrow {
  color: #6a8c82;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.glossary-hero-decisions {
  display: flex;
  flex-direction: column;
  gap: .58rem;
  padding: 1rem;
}
.glossary-hero-term {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid #e3efeb;
  border-radius: 9px;
  display: grid;
  gap: .35rem .55rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  min-height: 44px;
  padding: .58rem .65rem;
}
.glossary-hero-term-en,
.glossary-hero-term-pt,
.glossary-hero-table-row span:not([class]) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.glossary-hero-term-en {
  color: #37574e;
  font-size: .84rem;
  font-weight: 700;
}
.glossary-hero-arrow-inline {
  color: #71938a;
  font-size: .86rem;
  font-weight: 800;
}
.glossary-hero-term-pt {
  color: #1a5940;
  font-size: .84rem;
  font-weight: 800;
}
.glossary-hero-table {
  overflow: hidden;
}
.glossary-hero-table-row {
  align-items: center;
  display: grid;
  gap: .55rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  padding: .62rem .9rem;
}
.glossary-hero-table-row + .glossary-hero-table-row {
  border-top: 1px solid #e8f0ed;
}
.glossary-hero-table-row.is-header {
  background: #edf5f2;
  color: #4a7266;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.glossary-hero-table-row span:not([class]) {
  color: #2d4d44;
  font-size: .84rem;
  line-height: 1.35;
}

.glossary-chip {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .01em;
  line-height: 1.1;
  min-height: 24px;
  padding: .24rem .62rem;
  white-space: nowrap;
}
.glossary-chip.is-approved { background: #d5f0e5; color: #1a5940; }
.glossary-chip.is-keepEn { background: #dde9ff; color: #1a3d7a; }
.glossary-chip.is-contextSpecific { background: #fff3d0; color: #7a5000; }
.glossary-chip.is-reviewBrand { background: #f4e8ff; color: #5c1f8a; }
.glossary-chip.is-context { background: #fff3d0; color: #7a5000; }

.glossary-live-anchors {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e1ece8;
  box-shadow: 0 10px 24px rgba(22, 57, 49, .04);
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding: .68rem clamp(1rem, 5vw, 3rem);
  position: sticky;
  scroll-margin-top: 80px;
  top: 64px;
  z-index: 10;
}
.glossary-live-anchors a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #285f53;
  font-size: .875rem;
  font-weight: 750;
  padding: .48rem .95rem;
  text-decoration: none;
  transition: background .16s, border-color .16s, color .16s;
  white-space: nowrap;
}
.glossary-live-anchors a:hover {
  background: #eef5f2;
  border-color: #d3e4de;
  color: #153e34;
}

#glossary-demo,
#glossary-consistency-notes,
#glossary-deliverables {
  scroll-margin-top: 130px;
}

.glossary-demo-shell {
  background: #f6faf8;
  border: 1px solid #d2e2dc;
  border-radius: 16px;
  box-shadow: 0 24px 58px rgba(24, 61, 52, .1);
  margin: 0 auto;
  max-width: 1200px;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
}
.glossary-demo-controls {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dbe8e3;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1rem;
  padding: .8rem;
}
.glossary-context-tabs,
.glossary-view-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
}
.glossary-context-tabs {
  width: 100%;
}
.glossary-context-tabs button,
.glossary-view-buttons button {
  background: #f3f8f6;
  border: 1px solid #d4e4df;
  border-radius: 999px;
  color: #285f53;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.25;
  min-height: 38px;
  padding: .52rem .95rem;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.glossary-context-tabs button:hover,
.glossary-view-buttons button:hover {
  background: #e8f3ef;
  border-color: #bad3ca;
  transform: translateY(-1px);
}
.glossary-context-tabs button.active,
.glossary-view-buttons button.active {
  background: #1a5940;
  border-color: #1a5940;
  box-shadow: 0 10px 20px rgba(26, 89, 64, .18);
  color: #fff;
}
.glossary-view-buttons {
  background: #edf5f2;
  border: 1px solid #d8e8e2;
  border-radius: 999px;
  padding: .28rem;
}
.glossary-view-buttons button {
  background: transparent;
  border-color: transparent;
  font-size: .8rem;
  min-height: 34px;
  padding: .42rem .82rem;
}

.glossary-demo-workspace {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
}
.glossary-panels-area {
  min-width: 0;
}
.glossary-panel {
  display: none;
}
.glossary-panel.active {
  display: block;
}

.glossary-source-snippet {
  background: #fff;
  border: 1px solid #d4e4df;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(24, 61, 52, .07);
  margin-bottom: 1rem;
  padding: clamp(1.15rem, 2vw, 1.55rem);
}
.glossary-source-label {
  color: #4a7266;
  display: block;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  margin-bottom: .72rem;
  text-transform: uppercase;
}
.glossary-source-snippet p {
  color: #243f37;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  margin: 0;
}
.glossary-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .65rem;
}
.glossary-highlight-pill {
  background: #fff;
  border: 1px solid #b9ddcd;
  border-radius: 999px;
  box-shadow: 0 9px 18px rgba(26, 89, 64, .06);
  color: #1a5940;
  font-size: .84rem;
  font-weight: 750;
  padding: .38rem .8rem;
}

.glossary-decision-cards {
  display: grid;
  gap: .85rem;
}
.glossary-decision-card {
  background: #fff;
  border: 1px solid #d4e4df;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(24, 61, 52, .06);
  padding: 1.05rem 1.15rem;
}
.glossary-decision-card-head {
  align-items: center;
  display: grid;
  gap: .45rem .65rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  margin-bottom: .62rem;
}
.glossary-decision-en,
.glossary-decision-pt {
  min-width: 0;
  overflow-wrap: anywhere;
}
.glossary-decision-en {
  color: #4a5e58;
  font-size: .93rem;
  font-weight: 700;
}
.glossary-decision-arrow {
  color: #71938a;
  font-size: .92rem;
  font-weight: 800;
}
.glossary-decision-pt {
  color: #1a5940;
  font-size: .93rem;
  font-weight: 820;
}
.glossary-decision-note {
  color: #536963;
  font-size: .9rem;
  line-height: 1.62;
  margin: 0;
}

.glossary-table-wrap {
  background: #fff;
  border: 1px solid #d4e4df;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(24, 61, 52, .07);
  overflow-x: auto;
}
.glossary-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}
.glossary-table th {
  background: #edf5f2;
  border-bottom: 1px solid #d4e4df;
  color: #285f53;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .035em;
  padding: .9rem 1rem;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.glossary-table td {
  border-bottom: 1px solid #e8f0ed;
  color: #2d4d44;
  font-size: .9rem;
  line-height: 1.55;
  padding: .86rem 1rem;
  vertical-align: top;
}
.glossary-table tr:last-child td {
  border-bottom: none;
}
.glossary-table-en {
  font-weight: 750;
}
.glossary-table-pt {
  color: #1a5940;
  font-weight: 820;
}
.glossary-table-context {
  color: #6b8a82;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.glossary-table-note {
  color: #536963;
  max-width: 300px;
}
.glossary-table-status {
  white-space: nowrap;
}

.glossary-notes-area {
  align-self: stretch;
  background: #173f35;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(22, 57, 49, .16);
  color: #eaf5f0;
  padding: 1.25rem 1.25rem 1.35rem;
}
.glossary-notes-panel {
  display: none;
}
.glossary-notes-panel.active {
  display: block;
}
.glossary-notes-panel h4 {
  color: #bfe7d7;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .045em;
  margin: 0 0 .95rem;
  text-transform: uppercase;
}
.glossary-notes-panel ul {
  display: flex;
  flex-direction: column;
  gap: .72rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.glossary-notes-panel li {
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #eaf5f0;
  font-size: .88rem;
  line-height: 1.58;
  padding: .75rem .82rem;
}

.glossary-consistency-section .mini-card-grid article,
.glossary-deliverables-section .mini-card-grid article {
  border-color: #d4e4df;
}
.glossary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.glossary-pills span {
  background: #f5faf8;
  border: 1px solid #c2d9d2;
  border-radius: 999px;
  color: #214d43;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  padding: .5rem 1rem;
}

.glossary-quote-card {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(26, 89, 64, .08), rgba(255, 255, 255, .8)),
    #f6faf8;
  border: 1px solid #d4e5df;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(24, 61, 52, .08);
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}
.glossary-quote-card h2 {
  color: #153e34;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.18;
  margin-bottom: 1.15rem;
}
.glossary-quote-card .check-list {
  display: grid;
  gap: .72rem .9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
.glossary-quote-card .check-list li {
  background: #fff;
  border: 1px solid #dbe8e3;
  border-radius: 10px;
  color: #2d4d44;
  font-size: .94rem;
  line-height: 1.45;
  padding: .72rem .78rem .72rem 2rem;
}
.glossary-quote-note {
  color: #4a7266;
  font-size: .92rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.glossary-final-cta {
  align-items: center;
  background: linear-gradient(135deg, #173f35, #23624e);
  color: #eaf5f0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
}
.glossary-final-cta h2 {
  color: #fff;
}
.glossary-final-cta p {
  color: rgba(234, 245, 240, .86);
}
.glossary-final-cta .btn-secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
}
.cta-band-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: .85rem;
}

.glossary-detail-live-card .sample-demo-path.is-strong {
  background: linear-gradient(135deg, #f0f8f5, #e6f2ec);
  border: 1px solid #c2d9d2;
}

@media (max-width: 1020px) {
  .glossary-live-hero {
    grid-template-columns: 1fr;
    padding-bottom: 3.8rem;
    padding-top: 3.6rem;
  }
  .glossary-live-hero-copy {
    max-width: 760px;
  }
  .glossary-hero-visual {
    min-height: auto;
  }
  .glossary-demo-workspace {
    grid-template-columns: 1fr;
  }
  .glossary-notes-area {
    order: -1;
  }
  .glossary-live-anchors {
    top: 60px;
  }
}
@media (max-width: 720px) {
  .glossary-live-hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
  .glossary-live-hero-copy .hero-actions,
  .glossary-live-hero-copy .btn {
    width: 100%;
  }
  .glossary-hero-visual {
    border-radius: 13px;
    padding: 1rem;
  }
  .glossary-hero-term,
  .glossary-decision-card-head {
    align-items: start;
    grid-template-columns: 1fr;
  }
  .glossary-hero-arrow-inline,
  .glossary-decision-arrow {
    display: none;
  }
  .glossary-hero-table-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .glossary-hero-table-row.is-header {
    display: none;
  }
  .glossary-demo-shell {
    border-radius: 12px;
    margin-inline: -.15rem;
  }
  .glossary-context-tabs,
  .glossary-view-buttons {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: .15rem;
  }
  .glossary-context-tabs button,
  .glossary-view-buttons button {
    flex: 0 0 auto;
    font-size: .8rem;
    padding: .46rem .78rem;
  }
  .glossary-quote-card .check-list {
    grid-template-columns: 1fr;
  }
  .glossary-final-cta {
    align-items: stretch;
    flex-direction: column;
  }
  .cta-band-actions {
    width: 100%;
  }
  .cta-band-actions .btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .glossary-live-anchors {
    padding-inline: 1rem;
  }
  .glossary-source-snippet,
  .glossary-decision-card,
  .glossary-notes-area {
    padding: 1rem;
  }
  .glossary-quote-card {
    padding: 1.25rem 1rem;
  }
  .glossary-chip {
    max-width: 100%;
    white-space: normal;
  }
}


/* Premium Glossary live-demo polish aligned with App UI demo */
.glossary-live-hero {
  gap: clamp(1.8rem, 5vw, 4rem);
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  padding-bottom: 42px;
  padding-top: 54px;
}

.glossary-live-hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 660px;
}

.glossary-live-hero-copy h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 4.8rem);
  line-height: .99;
  margin: 0;
  max-width: 820px;
}

.glossary-live-hero-copy .hero-subtitle {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.45;
  margin: 0;
}

.glossary-live-hero-copy > p:not(.hero-subtitle) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.glossary-hero-visual {
  background:
    radial-gradient(circle at 14% 12%, rgba(15, 118, 110, .13), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(244, 114, 182, .11), transparent 28%),
    linear-gradient(145deg, #f9fbff, #eef7fb);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 82px rgba(16, 32, 51, .14);
  gap: .8rem;
  min-height: 520px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.glossary-hero-visual::before {
  background: linear-gradient(90deg, #133d66, #0f766e);
  box-shadow: 18px 0 0 rgba(19, 61, 102, .16), 36px 0 0 rgba(15, 118, 110, .12);
  left: clamp(1.25rem, 3vw, 2rem);
  top: clamp(1.15rem, 2.6vw, 1.8rem);
}

.glossary-hero-snippet,
.glossary-hero-decisions,
.glossary-hero-table {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .1);
}

.glossary-hero-snippet {
  margin-top: 1.65rem;
  padding: 1.25rem 1.35rem;
}

.glossary-hero-snippet-label,
.glossary-source-label,
.glossary-section-kicker,
.glossary-quote-label {
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.glossary-hero-snippet p {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.65;
}

.glossary-hero-term {
  background: #f8fbfd;
  border-color: #dce7f2;
  border-radius: 14px;
  min-height: 50px;
  padding: .72rem .8rem;
}

.glossary-hero-table-row.is-header {
  background: #f5f8fb;
  color: var(--muted);
}

.glossary-chip {
  border: 1px solid rgba(15, 118, 110, .14);
  min-height: 26px;
}

.glossary-chip.is-approved { background: #e9fbf8; color: var(--teal-dark); }
.glossary-chip.is-keepEn { background: #eef4ff; color: #133d66; }
.glossary-chip.is-contextSpecific,
.glossary-chip.is-context { background: #fff7e8; color: #74501f; }
.glossary-chip.is-reviewBrand { background: #fff0f7; color: #8b3563; }

.glossary-demo-section,
.glossary-consistency-section,
.glossary-helps-section,
.glossary-deliverables-section,
.glossary-quote-section,
.glossary-include-section {
  padding-top: 70px;
}

.glossary-demo-shell {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 114, 182, .09), transparent 28%),
    linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, .1);
  display: grid;
  gap: 1rem;
  max-width: none;
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.glossary-demo-controls {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: .75rem;
  margin: 0;
  padding: 0;
}

.glossary-context-tabs button,
.glossary-view-buttons button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 900;
  min-height: 42px;
  padding: .58rem .82rem;
}

.glossary-context-tabs button:hover,
.glossary-view-buttons button:hover {
  background: #f8fbfd;
  border-color: var(--line);
  transform: none;
}

.glossary-context-tabs button.active {
  background: #133d66;
  border-color: #133d66;
  box-shadow: none;
  color: #fff;
}

.glossary-view-buttons {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: .45rem;
  padding: 0;
}

.glossary-view-buttons button.active {
  background: #0f766e;
  border-color: #0f766e;
  box-shadow: none;
  color: #fff;
}

.glossary-demo-workspace {
  align-items: stretch;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
}

.glossary-panels-area {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 520px;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.glossary-source-snippet,
.glossary-decision-card,
.glossary-table-wrap {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 32, 51, .08);
}

.glossary-source-snippet p {
  color: var(--ink);
}

.glossary-highlight-pill,
.glossary-pills span,
.glossary-deliverable-list span,
.glossary-notes-panel li {
  background: #e9fbf8;
  border: 1px solid rgba(15, 118, 110, .16);
  color: var(--teal-dark);
  font-weight: 900;
}

.glossary-table th {
  background: #f5f8fb;
  color: var(--muted);
}

.glossary-notes-area {
  align-self: stretch;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .12);
  color: var(--ink);
  display: grid;
  padding: 1rem;
}

.glossary-notes-panel h4 {
  color: var(--ink);
  font-size: 1.22rem;
  letter-spacing: 0;
  margin-bottom: .9rem;
  text-transform: none;
}

.glossary-notes-panel ul {
  gap: .7rem;
}

.glossary-notes-panel li {
  background: #f8fbfd;
  border-color: #dce7f2;
  border-radius: 16px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  padding: .9rem;
}

.glossary-proof-grid,
.glossary-card-grid {
  display: grid;
  gap: 1rem;
}

.glossary-proof-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.glossary-proof-grid article,
.glossary-card-grid article,
.glossary-include-card,
.glossary-deliverables-card,
.glossary-file-preview {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .12);
  color: var(--ink);
}

.glossary-proof-grid article {
  display: grid;
  gap: .65rem;
  padding: 1.1rem;
}

.glossary-proof-grid .icon {
  background: #e9fbf8;
  border: 1px solid rgba(15, 118, 110, .16);
  color: var(--teal-dark);
  height: 42px;
  width: 42px;
}

.glossary-proof-grid svg {
  height: 21px;
  width: 21px;
}

.glossary-proof-grid h3,
.glossary-card-grid h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}

.glossary-include-card {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  padding: clamp(2rem, 5vw, 4rem);
}

.glossary-include-card h2,
.glossary-deliverables-card h2,
.glossary-quote-card h2,
.glossary-final-cta h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: .45rem 0 0;
}

.glossary-pills {
  gap: .6rem;
}

.glossary-pills span {
  border-radius: 999px;
  font-size: .9rem;
  min-height: 36px;
  padding: .55rem .8rem;
}

.glossary-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.glossary-card-grid article {
  display: grid;
  gap: .65rem;
  min-height: 118px;
  padding: 1rem;
}

.glossary-card-grid article > span {
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.glossary-deliverables-layout {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
}

.glossary-deliverables-card {
  align-content: start;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.glossary-deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: .52rem;
}

.glossary-deliverable-list span {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .86rem;
  line-height: 1.25;
  min-height: 34px;
  padding: .46rem .66rem;
}

.glossary-file-preview {
  align-content: start;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 118, 110, .12), transparent 32%),
    #fff;
  display: grid;
  gap: .75rem;
  overflow: hidden;
  padding: 1rem;
}

.glossary-file-header {
  display: flex;
  gap: .45rem;
}

.glossary-file-header span,
.glossary-file-row b {
  background: #132338;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  padding: .34rem .62rem;
}

.glossary-file-row {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  display: grid;
  gap: .55rem;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) auto;
  padding: .75rem;
}

.glossary-file-row span {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
}

.glossary-file-row.is-header {
  background: #f5f8fb;
}

.glossary-file-row.is-header span {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.glossary-file-row b {
  background: #e9fbf8;
  color: var(--teal-dark);
  justify-self: start;
}

.glossary-file-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-top: .35rem;
  padding-top: 1rem;
}

.glossary-quote-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(24, 66, 57, .1);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  padding: 0;
}

.glossary-quote-intro {
  background: linear-gradient(145deg, #132338, #133d66);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
}

.glossary-quote-label {
  align-items: center;
  color: #9df3eb;
  display: flex;
  gap: .6rem;
  margin-bottom: 1.2rem;
}

.glossary-quote-label .icon {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  height: 36px;
  width: 36px;
}

.glossary-quote-intro h2 {
  color: #fff;
  margin: 0;
  max-width: 12ch;
}

.glossary-quote-checklist {
  padding: clamp(2rem, 5vw, 4rem);
}

.glossary-quote-card .check-list {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.glossary-quote-card .check-list li {
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 12px;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.45;
  min-height: 64px;
  padding: .9rem .9rem .9rem 2.35rem;
}

.glossary-quote-note {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: .94rem;
  font-style: normal;
  line-height: 1.55;
  margin: 1.3rem 0 0;
  padding-top: 1.2rem;
}

.glossary-final-cta {
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, .2), transparent 28%),
    linear-gradient(135deg, #132338, #133d66 68%, #0f766e);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(16, 32, 51, .14);
}

.glossary-final-cta h2 {
  color: #fff;
  margin: 0;
}

.glossary-final-cta .cta-band-actions {
  justify-content: flex-end;
}

.glossary-final-cta .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.glossary-final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .7);
}

@media (max-width: 1020px) {
  .glossary-demo-workspace,
  .glossary-deliverables-layout,
  .glossary-include-card,
  .glossary-quote-card {
    grid-template-columns: 1fr;
  }

  .glossary-notes-area {
    order: -1;
  }

  .glossary-proof-grid,
  .glossary-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .glossary-live-hero {
    padding-top: 3.5rem;
  }

  .glossary-hero-visual {
    border-radius: 22px;
  }

  .glossary-panels-area {
    min-height: 0;
    padding: .75rem;
  }

  .glossary-proof-grid,
  .glossary-card-grid,
  .glossary-quote-card .check-list {
    grid-template-columns: 1fr;
  }

  .glossary-include-card,
  .glossary-deliverables-card,
  .glossary-quote-intro,
  .glossary-quote-checklist {
    padding: 2rem 1.3rem;
  }

  .glossary-file-row {
    grid-template-columns: 1fr;
  }

  .glossary-final-cta .hero-actions,
  .glossary-final-cta .btn,
  .glossary-live-hero-copy .hero-actions,
  .glossary-live-hero-copy .btn {
    width: 100%;
  }
}
/* ── Showcase (marketplace-safe portfolio view) ──────────────────────── */
.showcase-notice {
  background: var(--color-surface, #f8f8f6);
  border-left: 3px solid var(--color-accent, #2563eb);
  padding: 0.85rem 1.25rem;
  margin: 0 auto;
  max-width: var(--max-width, 1100px);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  font-size: 0.9rem;
  color: var(--color-text-muted, #555);
}

.showcase-notice p {
  margin: 0;
  line-height: 1.5;
}

.showcase-cta-band {
  background: var(--color-surface, #f8f8f6);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  text-align: center;
  border: 1px solid var(--color-border, #e5e5e5);
}

.showcase-cta-band p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.showcase-footer-note {
  margin-top: 0.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--color-text-muted, #888);
}

@media (max-width: 720px) {
  .showcase-cta-band {
    padding: 1.25rem 1rem;
  }
}

/* ── Showcase mini-site (marketplace-safe private demo gallery) ─────────── */
body.showcase-page .site-header,
body.showcase-page .footer,
body.showcase-page [data-back-to-top] {
  display: none !important;
}

.showcase-page {
  min-height: 100vh;
  background: var(--color-bg, #fff);
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg, #fff);
  border-bottom: 1px solid var(--color-border, #e5e5e5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.showcase-topbar-brand {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text, #111);
  letter-spacing: -0.01em;
}

.showcase-topbar-back {
  font-size: 0.875rem;
  color: var(--color-accent, #2563eb);
  text-decoration: none;
  font-weight: 500;
}

.showcase-topbar-back:hover {
  text-decoration: underline;
}

.showcase-hero {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem;
}

.showcase-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text, #111);
}

.showcase-hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted, #555);
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
}

.showcase-safe-notice {
  max-width: var(--max-width, 1100px);
  margin: 0 auto 1rem;
  padding: 0.85rem 1.25rem;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  background: var(--color-surface, #f8f8f6);
  border-left: 3px solid var(--color-accent, #2563eb);
  font-size: 0.875rem;
  color: var(--color-text-muted, #555);
}

.showcase-safe-notice p {
  margin: 0;
  line-height: 1.5;
}

.showcase-section {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 0;
}

.showcase-section-inner {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.showcase-section:last-of-type .showcase-section-inner {
  border-bottom: none;
}

.showcase-section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted, #777);
  margin: 0 0 1.25rem;
}

.showcase-demo-grid-section {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.showcase-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.showcase-demo-card {
  background: var(--color-surface, #f8f8f6);
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.showcase-demo-card h2,
.showcase-demo-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text, #111);
  line-height: 1.3;
}

.showcase-demo-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted, #555);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.showcase-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.showcase-demo-tags span {
  border: 1px solid rgba(11, 95, 90, 0.18);
  border-radius: 999px;
  color: #0b5f5a;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.32rem 0.48rem;
}
.showcase-demo-btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent, #2563eb);
  color: #fff;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.15s;
}

.showcase-demo-btn:hover {
  background: var(--color-accent-dark, #1d4ed8);
}

.showcase-footer-band {
  max-width: var(--max-width, 1100px);
  margin: 2rem auto 0;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--color-border, #e5e5e5);
  text-align: center;
}

.showcase-footer-band p {
  margin: 0;
  font-size: 0.825rem;
  color: var(--color-text-muted, #888);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .showcase-topbar {
    padding: 0.6rem 1rem;
  }
  .showcase-demo-grid {
    grid-template-columns: 1fr;
  }
  .showcase-section {
    padding-top: 1.25rem;
  }
}

/* demo-proof-section — shared "why this works" section across Live Demo pages */
.demo-proof-section .section-heading {
  margin-bottom: 2rem;
}

.demo-proof-section .section-heading p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0.5rem 0 0;
  max-width: 56ch;
}

.demo-proof-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.demo-proof-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(16, 32, 51, 0.07);
  color: #132338;
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem 1.2rem;
}

.demo-proof-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.demo-proof-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 700px) {
  .demo-proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .demo-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .saas-live-hero {
    grid-template-columns: 1fr;
  }

  .saas-hero-visual {
    max-width: 760px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .saas-live-hero {
    gap: 1.5rem;
    padding-top: 38px;
  }

  .saas-live-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .saas-live-hero-copy .hero-actions,
  .saas-live-hero-copy .btn {
    width: 100%;
  }

  .saas-hero-visual {
    min-height: 0;
    padding: 1rem;
  }

  .saas-hero-preview-grid {
    grid-template-columns: 1fr;
  }

  .saas-hero-preview-copy {
    min-height: 0;
  }

  .saas-hero-preview-nav span:nth-of-type(2) {
    display: none;
  }
}
/* ===========================================
   SHARED LIVE DEMO SUB-NAVIGATION
   =========================================== */

/* Section wrapper used for new-style subnavs (SaaS, Email).
   Existing demos keep sticky on the nav element directly. */
.live-demo-subnav-section {
  padding-bottom: 0;
  padding-top: 0;
  position: sticky;
  top: 84px;
  z-index: 8;
}

/* Glossary subnav moved from bare div into a proper section wrapper */
.glossary-live-controls-section {
  padding-bottom: 0;
  padding-top: 0;
}

/* Shared visual for ALL live-demo subnavs.
   Added alongside the service-specific class on each <nav>.
   Rules here override service-specific colors/radii that differ
   from the App UI standard (same specificity, later in file wins). */
.live-demo-subnav {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(16, 32, 51, .08);
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin: 0 auto;
  overflow-x: auto;
  padding: .5rem;
  scrollbar-width: thin;
}

.live-demo-subnav a {
  border-radius: 12px;
  color: var(--ink);
  flex: 1 1 0;
  font-size: .88rem;
  font-weight: 800;
  min-width: max-content;
  padding: .75rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: background .14s ease, color .14s ease;
  white-space: nowrap;
}

/* Active state: navy, consistent across all demos */
.live-demo-subnav a:first-child,
.live-demo-subnav a.is-active,
.live-demo-subnav a:hover,
.live-demo-subnav a:focus-visible {
  background: #133d66;
  color: #fff;
}

/* Scroll targets — add margin-top for demos that were missing it */
#app-demo, #app-json, #app-deliverables,
#game-demo, #game-insights, #game-deliverables,
#ocr-transformation, #ocr-workflow, #ocr-delivery,
#pdf-word-transformation, #pdf-word-structure, #pdf-word-deliverables,
#ebook-translation-demo, #ebook-terminology, #ebook-deliverables,
#ai-review-demo, #ai-review-notes, #ai-review-deliverables,
#saas-demo, #saas-notes, #saas-deliverables,
#email-demo, #email-notes, #email-deliverables {
  scroll-margin-top: 140px;
}

@media (max-width: 640px) {
  .live-demo-subnav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .live-demo-subnav a {
    flex: 1 1 auto;
    padding-inline: .7rem;
  }
}

/* Final responsive guard for glossary live-demo polish */
@media (max-width: 1020px) {
  .glossary-live-hero {
    grid-template-columns: 1fr;
  }

  .glossary-hero-visual {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .glossary-live-hero,
  .glossary-hero-visual,
  .glossary-demo-shell,
  .glossary-panels-area,
  .glossary-notes-area,
  .glossary-include-card,
  .glossary-deliverables-card,
  .glossary-file-preview,
  .glossary-quote-card,
  .glossary-final-cta {
    min-width: 0;
  }
}

/* Standardized live-demo client deliverables module */
.client-receives-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  scroll-margin-top: 132px;
}

.client-receives-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 64px rgba(16, 32, 51, 0.12);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 3rem);
}

.client-receives-copy {
  display: grid;
  gap: 1rem;
}

.client-receives-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.client-receives-checklist {
  display: grid;
  gap: 0.68rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-receives-checklist li {
  align-items: flex-start;
  background: #f8fbfd;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  color: #31475f;
  display: flex;
  font-size: 0.94rem;
  font-weight: 800;
  gap: 0.55rem;
  line-height: 1.45;
  padding: 0.72rem 0.82rem;
}

.client-receives-checklist li::before {
  align-items: center;
  background: #dff8f4;
  border-radius: 999px;
  color: var(--teal-dark);
  content: "✓";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  line-height: 1;
  margin-top: 0.03rem;
  width: 22px;
}

.client-receives-visual {
  min-width: 0;
}

.client-mock {
  background: linear-gradient(145deg, #f8fbfd, #eef8f6);
  border: 1px solid #d6e7e8;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 18px 44px rgba(19, 61, 102, 0.12);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.client-mock-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.client-mock-header span {
  color: #52677a;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.client-mock-header b,
.client-receives-chips span {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 30px;
  padding: 0.38rem 0.58rem;
}

.client-receives-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.client-saas-preview,
.client-doc-preview,
.client-email-preview,
.client-phone-preview,
.client-dialogue-preview,
.client-review-columns article,
.client-game-table {
  background: #ffffff;
  border: 1px solid #dce7f2;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.08);
}

.client-saas-preview {
  display: grid;
  gap: 0.68rem;
  padding: 1rem;
}

.client-saas-preview h3 {
  color: #132338;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.16;
  margin: 0 0 0.2rem;
}

.client-saas-preview div {
  align-items: center;
  display: grid;
  gap: 0.42rem;
  grid-template-columns: 88px 1fr 0.55fr;
}

.client-saas-preview strong {
  color: #133d66;
  font-size: 0.82rem;
}

.client-saas-preview i,
.client-doc-preview p,
.client-mini-table i {
  background: #dce7f2;
  border-radius: 999px;
  display: block;
  height: 9px;
}

.client-app-preview {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) 140px;
}

.client-app-preview pre {
  background: #132338;
  border-radius: 18px;
  color: #e8f4fb;
  margin: 0;
  min-width: 0;
  overflow: auto;
  padding: 1rem;
}

.client-app-preview code {
  color: #e8f4fb;
  font-size: 0.78rem;
  line-height: 1.7;
  white-space: pre;
}

.client-phone-preview {
  align-content: start;
  display: grid;
  gap: 0.65rem;
  min-height: 210px;
  padding: 0.9rem;
}

.client-phone-preview strong {
  color: #132338;
}

.client-phone-preview p {
  background: #fff4e8;
  border-radius: 14px;
  color: #7a471a;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0;
  padding: 0.7rem;
}

.client-phone-preview button,
.client-email-preview button {
  background: #0f766e;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
}

.client-game-table {
  display: grid;
  overflow: hidden;
}

.client-game-table div {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 0.8fr 1fr;
  padding: 0.75rem 0.85rem;
}

.client-game-table div:first-child {
  background: #132338;
  color: #dff8f4;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.client-game-table div + div {
  border-top: 1px solid #dce7f2;
}

.client-game-table span {
  color: #52677a;
  font-size: 0.82rem;
}

.client-game-table strong {
  color: #132338;
  font-size: 0.9rem;
}

.client-dialogue-preview {
  background: #132338;
  color: #fff;
  padding: 0.9rem;
}

.client-dialogue-preview strong {
  color: #9df3eb;
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.client-dialogue-preview p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  margin: 0;
}

.client-doc-preview {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.client-doc-preview h3 {
  color: #132338;
  margin: 0;
}

.client-doc-preview p:nth-of-type(1) { width: 82%; }
.client-doc-preview p:nth-of-type(2) { width: 64%; }
.client-doc-preview p:nth-of-type(3) { width: 72%; }

.client-mini-table {
  border: 1px solid #dce7f2;
  border-radius: 12px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.72rem;
}

.client-review-columns {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-review-columns article {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.client-review-columns span {
  color: #52677a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.client-review-columns p {
  color: #132338;
  font-weight: 850;
  line-height: 1.45;
  margin: 0;
}

.client-correction-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.client-correction-notes span {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.38rem 0.58rem;
}

.client-email-preview {
  display: grid;
  gap: 0.78rem;
  padding: 1rem;
}

.client-email-preview div {
  display: grid;
  gap: 0.24rem;
}

.client-email-preview strong {
  color: #52677a;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.client-email-preview span,
.client-email-preview p {
  color: #132338;
  line-height: 1.45;
  margin: 0;
}

.app-scope-layout,
.app-quote-layout,
.game-scope-layout,
.game-quote-layout {
  grid-template-columns: 1fr;
}

.app-quote-section,
.game-quote-section,
.ai-review-quote-section,
.email-quote-prep-section {
  padding-top: 0;
}

@media (max-width: 900px) {
  .client-receives-card,
  .client-app-preview,
  .client-review-columns {
    grid-template-columns: 1fr;
  }

  .client-receives-checklist {
    grid-template-columns: 1fr;
  }

  .client-phone-preview {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .client-receives-card {
    border-radius: 18px;
    padding: 1rem;
  }

  .client-saas-preview div,
  .client-game-table div {
    grid-template-columns: 1fr;
  }

  .client-mock-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Project Estimator utility */
.estimator-page {
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 34%);
  padding-bottom: 4rem;
}

.estimator-page-showcase {
  background: #fff;
}

.estimator-shell {
  margin: 0 auto;
  max-width: 1100px;
  width: min(1100px, calc(100% - 32px));
}

.estimator-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2rem;
}

.estimator-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.estimator-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  margin: 1rem 0 0;
  max-width: 760px;
}

.estimator-input-panel,
.estimator-results {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.07);
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.estimator-panel-heading {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.estimator-panel-heading h2 {
  margin-top: 0;
}

.estimator-panel-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.estimator-textarea-label,
.estimator-file-label {
  color: var(--ink);
  display: block;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.estimator-textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: block;
  min-height: clamp(260px, 38vh, 430px);
  padding: 1rem;
  resize: vertical;
  width: 100%;
}

.estimator-textarea:focus,
.estimator-upload input:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 103, 214, 0.14);
  outline: none;
}

.estimator-upload {
  background: var(--soft);
  border: 1px dashed #bdd0df;
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: 1rem;
}

.estimator-upload input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  max-width: 100%;
  padding: 0.7rem;
  width: 100%;
}

.estimator-file-name,
.estimator-note,
.estimator-formats,
.estimator-error,
.estimator-copy-status {
  font-size: 0.92rem;
  margin: 0.7rem 0 0;
}

.estimator-file-name {
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.estimator-note {
  color: var(--muted);
}

.estimator-formats {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.estimator-error {
  color: var(--danger);
  font-weight: 750;
}

.estimator-results-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.estimator-stat-card {
  background: #f9fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 1rem;
}

.estimator-stat-card span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.estimator-stat-card strong {
  color: var(--ink);
  display: block;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  line-height: 1.1;
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
}

.estimator-stat-card.is-pricing-source {
  background: #f0f6ff;
  border-color: rgba(30, 101, 214, 0.55);
  box-shadow: 0 10px 24px rgba(30, 101, 214, 0.09);
}

.estimator-stat-card.is-pricing-source span,
.estimator-stat-card.is-pricing-source strong {
  color: var(--blue);
}
.estimator-string-note {
  background: #fff9ef;
  border: 1px solid rgba(233, 141, 37, 0.28);
  border-radius: var(--radius);
  color: #75500e;
  padding: 0.8rem 0.9rem;
}

.estimator-content-type,
.estimator-structured-field {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.estimator-content-type[hidden],
.estimator-structured-field[hidden] {
  display: none;
}

.estimator-content-type span,
.estimator-structured-field > span {
  color: var(--ink);
  font-weight: 800;
}

.estimator-structured-instruction {
  background: #f0f6ff;
  border: 1px solid rgba(30, 101, 214, 0.24);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 850;
  margin: 0;
  padding: 0.8rem 0.9rem;
}

.estimator-structured-options {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 34rem);
}

.estimator-structured-controls {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 34rem);
}

.estimator-structured-controls input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 3px);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.estimator-structured-controls div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.estimator-structured-controls .btn {
  padding: 0.55rem 0.75rem;
}

.estimator-structured-list {
  display: grid;
  gap: 0.55rem;
}

.estimator-structured-list.has-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.estimator-checkbox-row[hidden] {
  display: none;
}

.estimator-checkbox-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 3px);
  color: var(--ink);
  display: flex;
  gap: 0.65rem;
  font-weight: 750;
  padding: 0.65rem 0.75rem;
}

.estimator-checkbox-row input {
  accent-color: var(--blue);
  height: 1rem;
  width: 1rem;
}

.estimator-checkbox-row span {
  overflow-wrap: anywhere;
}

.estimator-structured-warning:empty {
  display: none;
}

.estimator-content-type-options {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
}

.estimator-content-type-options button {
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 3px);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
}

.estimator-content-type-options button.is-active {
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 32, 51, 0.08);
  color: var(--blue);
}

.estimator-price-card {
  background: #f4fbf9;
  border: 1px solid rgba(7, 143, 131, 0.22);
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: 1rem;
}

.estimator-price-card span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.estimator-price-card strong {
  color: var(--ink);
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.65rem);
  line-height: 1.05;
  margin-top: 0.45rem;
}

.estimator-price-card .estimator-price-method {
  background: #fff;
  border: 1px solid rgba(30, 101, 214, 0.14);
  border-radius: calc(var(--radius) - 2px);
  color: var(--blue);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.75rem;
  padding: 0.45rem 0.6rem;
}
.estimator-price-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0.65rem 0 0;
}

.estimator-actions,
.estimator-contact-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.estimator-actions button {
  cursor: pointer;
}

.estimator-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.estimator-copy-status {
  color: var(--teal-dark);
  font-weight: 800;
}

.estimator-contact,
.estimator-safe-notice {
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
}

.estimator-contact {
  align-items: center;
  background: #eef7f5;
  border: 1px solid rgba(7, 143, 131, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.estimator-contact h2 {
  margin: 0 0 0.45rem;
}

.estimator-contact p,
.estimator-contact ul {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.estimator-contact ul {
  padding-left: 1.2rem;
}

.estimator-safe-notice {
  background: var(--soft);
  border-left: 3px solid var(--blue);
  color: var(--muted);
}

.estimator-safe-notice p {
  margin: 0;
}

.live-demo-tool-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.live-demo-tool-card h2 {
  font-size: 1.28rem;
  margin: 0.65rem 0 0.35rem;
}

.live-demo-tool-card p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 860px) {
  .estimator-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimator-contact,
  .live-demo-tool-card {
    grid-template-columns: 1fr;
  }

  .estimator-contact-actions,
  .live-demo-tool-card .btn {
    justify-content: flex-start;
  }

  .estimator-content-type {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .estimator-shell {
    width: min(100% - 24px, 1100px);
  }

  .estimator-results-grid {
    grid-template-columns: 1fr;
  }

  .estimator-actions .btn,
  .estimator-contact-actions .btn,
  .live-demo-tool-card .btn {
    width: 100%;
  }

  .estimator-content-type-options {
    width: 100%;
  }

  .estimator-content-type-options button {
    flex: 1 1 0;
  }
}

