:root {
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-soft: #eef1ed;
  --ink: #17201b;
  --muted: #66716b;
  --line: #d8ddd6;
  --accent: #b7192b;
  --accent-dark: #8e1220;
  --green: #1e6f57;
  --teal: #16747d;
  --amber: #a86815;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  padding: 0 min(5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #1f2723;
  color: #fff;
  border-bottom: 1px solid #111714;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.main-nav a {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  color: #dde2de;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: #fff;
  color: #1f2723;
}

.product-hero {
  min-height: auto;
  padding: 72px min(5vw, 64px) 56px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  align-items: center;
  gap: 42px;
  background: #e7ece7;
}

.turbo-hero {
  background: #edf0ea;
}

.font-hero {
  background: #edf2f2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 6.2vw, 78px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
  font-size: 18px;
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 750;
}

.primary-link {
  background: var(--accent);
  color: #fff;
}

.primary-link:hover {
  background: var(--accent-dark);
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.secondary-link:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.hero-shot {
  margin: 0;
}

.hero-shot img {
  width: 100%;
  display: block;
  border: 1px solid #cfd6cf;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 56px rgba(31, 39, 35, 0.2);
}

.compact-shot img {
  padding: 8px;
}

.hero-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.release-band {
  padding: 34px min(5vw, 64px);
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.release-info {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.release-info div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
}

.release-info dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.release-info dd {
  margin: 0;
  font-weight: 800;
  word-break: break-word;
}

.page-section {
  padding: 70px min(5vw, 64px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head p,
.wide-head p {
  color: var(--muted);
  line-height: 1.55;
}

.wide-head {
  max-width: 980px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.feature-grid,
.ui-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.feature-grid article,
.ui-map article,
.script-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.ui-map p,
.script-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.ui-map article span {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f2ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.config-section {
  background: #f8f9f6;
}

.settings-board,
.font-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(31, 39, 35, 0.1);
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.settings-tabs span {
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--surface-soft);
  font-weight: 750;
}

.settings-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.settings-content p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.font-preview {
  min-height: 430px;
  padding: 18px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: stretch;
}

.font-preview aside {
  display: grid;
  gap: 10px;
  align-content: start;
}

.font-preview aside span {
  padding: 12px;
  border-radius: 7px;
  background: var(--surface-soft);
  font-weight: 750;
}

.font-preview div {
  display: grid;
  gap: 12px;
  align-content: center;
}

.font-preview p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  font-size: clamp(28px, 4vw, 54px);
}

.page-title {
  padding: 58px min(5vw, 64px) 32px;
  background: #e7ece7;
}

.scripts-section {
  padding: 26px min(5vw, 64px) 70px;
}

.scripts-toolbar {
  position: sticky;
  top: 64px;
  z-index: 5;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 230px auto;
  gap: 12px;
  align-items: center;
  background: var(--bg);
}

.scripts-toolbar input,
.scripts-toolbar select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.script-count {
  font-weight: 800;
  white-space: nowrap;
}

.script-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.script-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.script-card-head span,
.script-source span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf2ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.script-source {
  margin-top: 12px;
}

.loading-text {
  padding: 20px;
  color: var(--muted);
}

.step-list {
  max-width: 760px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  min-height: 70px;
  padding: 0 min(5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #1f2723;
  color: #fff;
}

.site-footer a {
  color: #dce7e0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 1040px) {
  .product-hero,
  .split-section,
  .release-band {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    min-height: auto;
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }

  .product-hero,
  .page-section,
  .page-title,
  .scripts-section,
  .release-band {
    padding-inline: 16px;
  }

  .product-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .release-info,
  .feature-grid,
  .dense-grid,
  .ui-map,
  .script-grid,
  .settings-content,
  .font-preview {
    grid-template-columns: 1fr;
  }

  .scripts-toolbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Turbo Label landing page */
.turbo-home {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --success: #22c55e;
  --border: #e2e8f0;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  background: var(--bg);
  color: var(--text);
}

.turbo-home .turbo-header,
.turbo-home main,
.turbo-home .turbo-footer {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.turbo-home .turbo-header {
  position: sticky;
  top: 0;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 72px);
  background: rgba(248, 250, 252, 0.92);
  color: var(--text);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.turbo-home .turbo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.turbo-home .turbo-nav {
  gap: 4px;
}

.turbo-home .turbo-nav a {
  min-height: 38px;
  color: #475569;
  border-radius: 999px;
}

.turbo-home .turbo-nav a:hover {
  background: #e0f2fe;
  color: #075985;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.turbo-home .turbo-hero-section {
  padding: clamp(24px, 3vw, 42px) clamp(20px, 4vw, 72px) 68px;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 250, 252, 0)),
    var(--bg);
}

.turbo-hero-copy {
  max-width: 720px;
}

.turbo-home .eyebrow {
  color: #0369a1;
  letter-spacing: 0;
}

.turbo-home h1 {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 0.98;
}

.turbo-home h2 {
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
}

.turbo-home h3 {
  color: var(--text);
}

.hero-lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.58;
}

.turbo-home .primary-link,
.turbo-home .secondary-link {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
}

.turbo-home .primary-link {
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.24);
}

.turbo-home .primary-link:hover {
  background: var(--primary-dark);
}

.turbo-home .secondary-link {
  border-color: var(--border);
  color: var(--text);
}

.trust-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chips span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.hero-inline-flow {
  max-width: 680px;
  margin-top: 24px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto auto minmax(176px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.hero-flow-app {
  min-height: 76px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-flow-app img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 9px 16px rgba(15, 23, 42, 0.22);
}

.turbo-home .hero-inline-flow .file-card {
  width: 56px;
  min-height: 68px;
}

.turbo-home .hero-inline-flow .file-card img {
  width: 56px;
  height: 68px;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.14));
}

.hero-inline-flow .flow-output {
  gap: 8px;
}

.hero-inline-flow .flow-arrow {
  font-size: 22px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
}

.file-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-file-badges {
  position: absolute;
  z-index: 3;
  top: -50px;
  right: 34px;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.file-card {
  width: 82px;
  min-height: 94px;
  padding: 13px 10px;
  display: grid;
  align-content: end;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.file-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 24px solid rgba(255, 255, 255, 0.95);
  border-left: 24px solid transparent;
}

.file-card b {
  font-size: 24px;
  line-height: 1;
}

.file-card small {
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.corel-file {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.ai-file {
  color: #c2410c;
  background: #fff7ed;
  border-color: #fed7aa;
}

.pdf-file {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.turbo-home .file-card {
  width: 88px;
  min-height: 106px;
  padding: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.turbo-home .file-card::before {
  display: none;
}

.turbo-home .file-card img {
  width: 88px;
  height: 106px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.16));
}

.turbo-home .hero-file-badges .file-card {
  width: 52px;
  min-height: 63px;
}

.turbo-home .hero-file-badges .file-card img {
  width: 52px;
  height: 63px;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.18));
}

.app-mockup {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mock-topbar {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111827;
  color: #fff;
}

.mock-topbar strong {
  margin-right: auto;
  font-size: 16px;
}

.mock-topbar span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 12px;
  font-weight: 800;
}

.mock-body {
  min-width: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 16px;
  background: #eef2f7;
}

.mock-controls {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.mock-controls label {
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.mock-input,
.mock-select,
.mock-toggle {
  min-height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.mock-select {
  padding: 8px 10px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 750;
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mock-row i {
  min-height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.mock-toggle {
  width: 58px;
  position: relative;
  background: #dcfce7;
  border-color: #86efac;
}

.mock-toggle::after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  right: 5px;
  border-radius: 50%;
  background: var(--success);
}

.mock-preview {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.mock-preview-head,
.mock-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.mock-preview-head strong {
  color: #0369a1;
}

.mock-sheet {
  position: relative;
  min-height: 320px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.mock-sheet .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: #111827;
  border-style: solid;
}

.mock-sheet .c1 { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.mock-sheet .c2 { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.mock-sheet .c3 { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }
.mock-sheet .c4 { right: 12px; bottom: 12px; border-width: 0 3px 3px 0; }

.mock-sheet span {
  position: relative;
  width: calc((100% - 94px) / 3);
  height: 42px;
  margin: 0 8px 12px 0;
  top: 62px;
  left: 38px;
  display: inline-block;
  border: 1.5px solid #38bdf8;
  border-radius: 9px;
  background: #e0f2fe;
}

.mock-pricing {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.mock-pricing b {
  color: var(--text);
}

.problem-section,
.workflow-section,
.features-section,
.compat-section,
.one-screen-section,
.download-section,
.guide-section {
  padding: clamp(58px, 7vw, 92px) clamp(20px, 4vw, 72px);
}

.problem-section,
.features-section,
.one-screen-section {
  background: #fff;
}

.workflow-section,
.compat-section,
.guide-section {
  background: var(--bg);
}

.section-head {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.solution-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-grid article,
.turbo-feature-grid article,
.timeline article,
.guide-grid article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.solution-grid article {
  min-height: 245px;
}

.feature-icon,
.mini-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 900;
}

.solution-grid p,
.turbo-feature-grid p,
.timeline p,
.guide-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  min-height: 260px;
  position: relative;
}

.timeline article span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.turbo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: #f0f9ff;
}

.workflow-flow {
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 0.7fr) auto auto;
  gap: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-source,
.flow-output {
  display: flex;
  gap: 12px;
  align-items: center;
}

.flow-arrow {
  color: #94a3b8;
  font-size: 28px;
  font-weight: 800;
}

.flow-app,
.flow-dest {
  min-height: 72px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.flow-app-icon {
  min-height: 96px;
  gap: 14px;
  padding: 0 24px;
  border-radius: 24px;
}

.flow-app-icon img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.flow-dest {
  background: #f8fafc;
  color: var(--text);
}

.screenshot-stage {
  max-width: 1180px;
  margin: 34px auto 0;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot-stage img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.callout {
  position: absolute;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
}

.callout-import { top: 7%; right: 20%; }
.callout-price { top: 7%; right: 36%; background: #0369a1; }
.callout-export { top: 7%; right: 8%; background: #0284c7; }
.callout-preview { top: 42%; right: 15%; background: #16a34a; }
.callout-shape { top: 34%; left: 6%; background: #7c3aed; }
.callout-layout { top: 18%; left: 9%; }
.callout-contour { top: 56%; left: 8%; background: #db2777; }
.callout-mark { top: 72%; left: 9%; background: #c2410c; }

.download-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.license-shop-section {
  padding: clamp(58px, 7vw, 92px) clamp(20px, 4vw, 72px);
  background: #fff;
}

.license-shop {
  max-width: 1180px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.license-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.license-plan,
.license-order-card {
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.license-plan {
  min-height: 330px;
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
  background: #fff;
}

.license-plan.featured {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.license-plan h3 {
  font-size: 24px;
}

.license-plan.featured h3 {
  color: #fff;
}

.license-plan p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.license-plan.featured p {
  color: #cbd5e1;
}

.license-plan strong {
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
}

.license-plan.featured strong {
  color: #fff;
}

.license-plan-badge {
  width: fit-content;
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-plan.featured .license-plan-badge {
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
}

.license-plan-button,
.license-submit-button,
.license-copy-button,
.license-paid-button {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.license-submit-button,
.license-paid-button {
  border: 0;
}

.license-paid-button[hidden] {
  display: none;
}

.license-plan-button.is-selected {
  border-color: var(--primary);
  background: #e0f2fe;
  color: #075985;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.license-plan.featured .license-plan-button {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.license-plan.featured .license-plan-button.is-selected {
  border-color: #7dd3fc;
  background: #0ea5e9;
  color: #fff;
}

.license-submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.license-order-card {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px 22px;
  align-items: start;
  background: #f8fafc;
}

.license-form-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(220px, 290px) minmax(140px, 190px);
  gap: 14px;
  align-items: start;
}

.license-email-field {
  min-width: 0;
}

.license-selected-plan {
  min-height: 46px;
  margin-top: 27px;
  padding: 9px 12px;
  display: grid;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.license-selected-plan span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-selected-plan strong {
  color: var(--text);
  font-size: 14px;
}

.license-submit-button {
  margin-top: 27px;
}

.license-order-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 850;
}

.license-order-card input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.license-order-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13);
}

.license-form-hint,
.license-order-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.license-form-hint {
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.license-order-status {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.license-order-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.license-order-status.is-ready {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #075985;
}

.license-order-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: start;
}

.license-order-summary[hidden],
#retryLicenseQr[hidden] { display: none; }

.license-qr-frame {
  width: min(100%, 320px);
  aspect-ratio: 540 / 714;
  justify-self: center;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 8px;
}

.license-qr-frame p { padding: 20px; margin: 0; text-align: center; color: #39454e; }
.license-qr-frame p[hidden] { display: none; }
.license-qr-frame .license-qr { border: 0; border-radius: 8px; box-shadow: none; }
.license-inline-copy {
  display: block;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #075985;
  font: inherit;
  font-size: 14px;
  text-align: start;
  text-decoration: underline;
  cursor: pointer;
}
#licenseOrderForm { margin: 0; }
#licenseOrderStatus { grid-column: 1 / -1; border-radius: 8px; overflow-wrap: anywhere; }
#licenseOrderForm input, #licenseOrderForm .license-selected-plan { border-radius: 8px; }
#licenseOrderForm .license-form-hint { white-space: normal; }
#ban-quyen button, #ban-quyen a { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
#ban-quyen :focus-visible { outline: 3px solid #087c9b; outline-offset: 3px; }
#ban-quyen button:disabled { cursor: wait; opacity: .65; }
#ban-quyen * { letter-spacing: 0; }

.license-order-summary dl {
  margin: 2px 0 0;
  display: grid;
  gap: 10px;
}

.license-order-summary dl div {
  min-width: 0;
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.license-order-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-order-summary dd {
  margin: 0;
  min-width: 0;
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.license-payment-tools {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.license-qr {
  width: min(100%, 320px);
  justify-self: center;
  display: block;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.license-qr[hidden],
.license-qr-placeholder[hidden] {
  display: none;
}

.license-qr-placeholder {
  width: min(100%, 320px);
  min-height: 320px;
  padding: 24px;
  justify-self: center;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed #bae6fd;
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 18%, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  color: var(--text);
  text-align: center;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.qr-placeholder-grid {
  width: 132px;
  height: 132px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.qr-placeholder-grid span {
  border-radius: 8px;
  background: #0ea5e9;
  opacity: 0.78;
}

.qr-placeholder-grid span:nth-child(2),
.qr-placeholder-grid span:nth-child(4),
.qr-placeholder-grid span:nth-child(8) {
  background: #0f172a;
  opacity: 0.12;
}

.license-qr-placeholder strong {
  font-size: 18px;
  font-weight: 900;
}

.license-qr-placeholder small {
  color: var(--muted);
  font-weight: 750;
}

.license-order-status {
  grid-column: 1 / -1;
}

.download-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
}

.download-card h2,
.download-card .eyebrow {
  color: #fff;
}

.download-copy,
.release-notes {
  color: #cbd5e1;
  line-height: 1.62;
}

.release-notes {
  margin: 20px 0 0;
  padding-left: 20px;
}

.download-panel {
  padding: 20px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.download-panel dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.download-panel div {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.download-panel dt {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.download-panel dd {
  margin: 7px 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-weight: 850;
}

.download-panel .primary-link {
  width: 100%;
}

.release-popup-button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.release-popup-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.release-popup-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.release-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
}

.skeleton-line {
  width: 100%;
  height: 13px;
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.18), rgba(226, 232, 240, 0.42), rgba(226, 232, 240, 0.18));
  background-size: 180% 100%;
  animation: turboSkeleton 1.3s ease-in-out infinite;
}

.skeleton-line.short {
  width: 62%;
}

.skeleton-line.tiny {
  width: 92px;
}

@keyframes turboSkeleton {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.release-modal[hidden] {
  display: none;
}

.release-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.release-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
}

.release-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.35);
}

.release-modal-open {
  overflow: hidden;
}

.release-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.release-modal-panel h2 {
  margin: 0;
  padding-right: 42px;
  font-size: clamp(26px, 4vw, 38px);
}

.release-modal-date {
  margin: 10px 0 22px;
  color: var(--muted);
  font-weight: 750;
}

.release-modal-body {
  display: grid;
  gap: 16px;
}

.release-modal-section {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
}

.release-modal-section h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
}

.release-modal-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.62;
}

.release-modal-empty {
  margin: 0;
  color: var(--muted);
}

.guide-grid article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.guide-grid strong {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
}

.turbo-footer {
  padding: 44px clamp(20px, 4vw, 72px);
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  background: #0f172a;
  color: #fff;
}

.footer-brand p {
  max-width: 420px;
  color: #cbd5e1;
  line-height: 1.55;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-columns nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-columns h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
}

.footer-columns a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-columns a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .turbo-home .turbo-hero-section,
  .download-card,
  .turbo-footer {
    grid-template-columns: 1fr;
  }

  .hero-file-badges {
    position: static;
    margin-bottom: 16px;
  }

  .timeline,
  .turbo-feature-grid,
  .solution-grid,
  .license-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-flow {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .license-order-card,
  .license-form-grid,
  .license-order-summary {
    grid-template-columns: 1fr;
  }

  .license-selected-plan,
  .license-submit-button {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .turbo-home .turbo-header {
    position: static;
    min-height: auto;
    padding: 16px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .turbo-home .turbo-nav {
    width: 100%;
    padding-bottom: 4px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .header-cta {
    width: 100%;
  }

  .turbo-home .turbo-hero-section {
    grid-template-columns: 1fr;
    padding-top: 36px;
    overflow-x: hidden;
  }

  .turbo-hero-copy,
  .hero-visual,
  .app-mockup,
  .hero-actions {
    max-width: calc(100vw - 40px);
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .hero-inline-flow {
    max-width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px;
  }

  .hero-inline-flow .flow-arrow {
    transform: rotate(90deg);
  }

  .mock-preview {
    grid-template-rows: auto minmax(250px, 1fr) auto;
  }

  .timeline,
  .turbo-feature-grid,
  .solution-grid,
  .license-plans,
  .guide-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .flow-source,
  .flow-output,
  .file-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .screenshot-stage {
    padding: 0 0 14px;
  }

  .screenshot-stage img {
    border-radius: 24px 24px 12px 12px;
  }

  .callout {
    position: static;
    margin: 8px 4px 0;
  }
}

@media (max-width: 560px) {
  .turbo-home h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .turbo-home .primary-link,
  .turbo-home .secondary-link {
    width: 100%;
  }

  .turbo-home .file-card {
    width: 72px;
    min-height: 88px;
  }

  .turbo-home .file-card img {
    width: 72px;
    height: 88px;
  }

  .mock-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
  }

  .mock-topbar strong {
    width: 100%;
    margin-right: 0;
  }

  .mock-topbar span {
    padding: 6px 9px;
    font-size: 11px;
  }

  .mock-sheet span {
    width: calc((100% - 72px) / 2);
  }

  .download-panel {
    padding: 16px;
  }

  .license-order-summary dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .license-form-grid,
  .license-order-card {
    gap: 12px;
  }
}

/* TurboPDF home refresh */
:root {
  --tp-bg: #f7f9fa;
  --tp-surface: #ffffff;
  --tp-ink: #14222b;
  --tp-muted: #5b6b73;
  --tp-line: #dce5e8;
  --tp-accent: #087f9f;
  --tp-accent-dark: #075d78;
  --tp-navy: #102331;
}

[hidden] { display: none !important; }

html { scroll-padding-top: 84px; }

body.turbo-home {
  background: var(--tp-bg);
  color: var(--tp-ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

body.turbo-home .site-header {
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  gap: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--tp-ink);
  border-bottom: 1px solid var(--tp-line);
  box-shadow: 0 2px 12px rgba(20, 34, 43, 0.05);
}

body.turbo-home .turbo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tp-ink);
  font-size: 20px;
  white-space: nowrap;
}

body.turbo-home .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

body.turbo-home .turbo-nav {
  justify-content: center;
  gap: 2px;
  flex: 1;
  overflow: visible;
}

body.turbo-home .turbo-nav a {
  min-height: 38px;
  padding: 0 11px;
  color: var(--tp-muted);
  border-radius: 6px;
  font-size: 13px;
}

body.turbo-home .turbo-nav a:hover,
body.turbo-home .turbo-nav a:focus-visible {
  background: #e9f5f8;
  color: var(--tp-accent-dark);
}

body.turbo-home .header-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--tp-navy);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

body.turbo-home .header-cta:hover,
body.turbo-home .header-cta:focus-visible { background: var(--tp-accent-dark); }

.tp-menu-toggle { display: none; }

.tp-container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.tp-hero {
  background: var(--tp-bg);
  border-bottom: 1px solid var(--tp-line);
}

.tp-hero-inner {
  min-height: 700px;
  padding-top: 72px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(380px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: 56px;
}

.tp-hero-copy { min-width: 0; }

body.turbo-home .tp-hero .eyebrow,
body.turbo-home .tp-section .eyebrow,
body.turbo-home .license-shop-section .eyebrow {
  margin-bottom: 14px;
  color: var(--tp-accent);
  letter-spacing: 0.04em;
}

.tp-hero h1 {
  margin: 0;
  color: var(--tp-navy);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
}

.tp-hero-title {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--tp-ink);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.12;
}

.tp-hero-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--tp-muted);
  font-size: 18px;
  line-height: 1.65;
}

body.turbo-home .hero-actions { margin-top: 30px; }

body.turbo-home .primary-link,
body.turbo-home .secondary-link {
  min-height: 46px;
  border-radius: 7px;
  font-size: 14px;
}

body.turbo-home .primary-link {
  background: var(--tp-accent);
  color: #fff;
}

body.turbo-home .primary-link:hover,
body.turbo-home .primary-link:focus-visible { background: var(--tp-accent-dark); }

body.turbo-home .secondary-link {
  border-color: var(--tp-line);
  color: var(--tp-ink);
}

body.turbo-home .secondary-link:hover,
body.turbo-home .secondary-link:focus-visible { border-color: var(--tp-accent); color: var(--tp-accent-dark); }

.tp-proof-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-proof-line span,
.tp-workflow-note span {
  padding: 7px 10px;
  border: 1px solid var(--tp-line);
  border-radius: 6px;
  background: var(--tp-surface);
  color: var(--tp-muted);
  font-size: 12px;
  font-weight: 700;
}

.tp-hero-media { min-width: 0; margin: 0; }

.tp-hero-media img {
  width: 100%;
  max-height: 700px;
  display: block;
  object-fit: contain;
  object-position: top center;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: var(--tp-surface);
  box-shadow: 0 18px 40px rgba(20, 34, 43, 0.12);
}

.tp-hero-media figcaption {
  margin-top: 10px;
  color: var(--tp-muted);
  font-size: 13px;
  line-height: 1.45;
}

.tp-section { padding: 92px 0; }

.tp-modules-section,
.tp-features-section { background: var(--tp-surface); }

.tp-showcase-section {
  padding: 82px 0 28px;
  background: var(--tp-bg);
}

.tp-showcase-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.tp-showcase-head h2 {
  color: var(--tp-navy);
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.1;
}

.tp-showcase-head p:last-child {
  margin: 14px 0 0;
  color: var(--tp-muted);
  line-height: 1.65;
}

.tp-media-mockup {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #cbd9de;
  border-radius: 10px;
  background: var(--tp-surface);
  box-shadow: 0 18px 42px rgba(20, 34, 43, 0.12);
}

.tp-media-bar {
  min-height: 46px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--tp-navy);
  color: #d7e4e8;
}

.tp-media-bar span {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #6f8791;
}

.tp-media-bar strong {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 700;
}

.tp-media-placeholder {
  min-height: 344px;
  padding: 32px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: #edf8fa;
  color: var(--tp-muted);
  text-align: center;
}

.tp-media-placeholder strong { color: var(--tp-navy); font-size: 19px; }
.tp-media-placeholder small { color: var(--tp-muted); font-size: 13px; }

.tp-media-play {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid #9ed7e2;
  border-radius: 50%;
  background: #dff5f8;
  color: var(--tp-accent-dark);
  font-size: 22px;
}

.tp-workflow-section,
.tp-support-section { border-top: 1px solid var(--tp-line); }

.tp-section-head { max-width: 760px; margin-bottom: 34px; }

.tp-section-head h2,
body.turbo-home .license-shop-section h2 { color: var(--tp-navy); font-size: clamp(29px, 3.5vw, 44px); line-height: 1.1; }

.tp-section-head > p:last-child { margin: 16px 0 0; color: var(--tp-muted); line-height: 1.65; }

.tp-module-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tp-line);
}

.tp-module-tab {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid var(--tp-line);
  border-radius: 6px;
  background: var(--tp-surface);
  color: var(--tp-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.tp-module-tab:hover,
.tp-module-tab:focus-visible,
.tp-module-tab.is-active { border-color: var(--tp-accent); color: var(--tp-accent-dark); background: #edf9fb; }

.tp-module-panel {
  margin-top: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
  gap: 42px;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fbfdfe;
}

.tp-panel-kicker { margin: 0 0 10px; color: var(--tp-accent); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.tp-module-panel h3 { color: var(--tp-navy); font-size: 25px; }
.tp-module-panel p { margin: 14px 0 0; color: var(--tp-muted); line-height: 1.65; }
.tp-module-panel ul { margin: 0; padding: 4px 0 0 20px; color: var(--tp-muted); line-height: 2; }

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

.tp-steps article,
.tp-feature-grid article {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: var(--tp-surface);
}

.tp-steps article > span { color: var(--tp-accent); font-size: 13px; font-weight: 850; }
.tp-steps h3,
.tp-feature-grid h3 { margin-top: 20px; color: var(--tp-navy); font-size: 19px; }
.tp-steps p,
.tp-feature-grid p { margin: 10px 0 0; color: var(--tp-muted); line-height: 1.6; }

.tp-workflow-note { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-workflow-note strong { margin-right: 8px; color: var(--tp-navy); font-size: 14px; }
.tp-feature-number { color: var(--tp-accent); font-size: 13px; font-weight: 850; }

.tp-download-section { padding-top: 0; background: var(--tp-surface); }
.tp-download-card { padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 8px; background: var(--tp-navy); color: #fff; }
.tp-download-card h2 { color: #fff; font-size: clamp(29px, 3.5vw, 44px); }
.tp-download-card p:not(.eyebrow) { max-width: 660px; margin: 14px 0 0; color: #d7e4e8; line-height: 1.6; }
.tp-download-card .eyebrow { color: #8fd3df; }
.tp-download-meta { font-size: 14px; }
.tp-download-actions { min-width: 230px; display: grid; gap: 12px; justify-items: start; }
.tp-download-actions span { color: #a8c0c8; font-size: 13px; }
.tp-download-actions .primary-link { background: #2aaed0; }

.tp-support-section { background: var(--tp-bg); }
.tp-support-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.tp-support-list { display: grid; gap: 12px; }
.tp-support-list > div { padding: 18px 20px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--tp-line); }
.tp-support-list strong { color: var(--tp-accent); font-size: 13px; }
.tp-support-list p { margin: 0; color: var(--tp-muted); }

body.turbo-home .license-shop-section { padding: 92px 0; background: var(--tp-surface); border-top: 1px solid var(--tp-line); }
body.turbo-home .license-shop { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
body.turbo-home .license-plan,
body.turbo-home .license-order-card { border-color: var(--tp-line); border-radius: 8px; box-shadow: none; }
body.turbo-home .license-plan h3,
body.turbo-home .license-plan.featured h3 { color: var(--tp-navy); }
body.turbo-home .license-plan p,
body.turbo-home .license-form-hint { color: var(--tp-muted); }
body.turbo-home .license-plan strong { color: var(--tp-navy); }
body.turbo-home .license-plan.featured { background: var(--tp-navy); }
body.turbo-home .license-plan.featured h3,
body.turbo-home .license-plan.featured strong { color: #fff; }
body.turbo-home .license-plan.featured p { color: #d7e4e8; }
body.turbo-home .license-plan-button.is-selected,
body.turbo-home .license-plan.featured .license-plan-button.is-selected { border-color: var(--tp-accent); background: #e9f8fb; color: var(--tp-accent-dark); }
body.turbo-home .license-submit-button { background: var(--tp-accent); }
body.turbo-home .license-submit-button:hover { background: var(--tp-accent-dark); }

.tp-contact-section { padding-top: 62px; padding-bottom: 62px; background: var(--tp-bg); border-top: 1px solid var(--tp-line); }
.tp-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tp-contact-inner h2 { color: var(--tp-navy); font-size: clamp(26px, 3vw, 36px); }
.tp-contact-links { display: flex; flex-wrap: wrap; gap: 10px; }

body.turbo-home .turbo-footer { padding: 60px clamp(20px, 4vw, 72px); background: var(--tp-navy); }

@media (max-width: 980px) {
  .tp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .tp-hero-copy { max-width: 720px; }
  .tp-hero-media { max-width: 720px; }
  .tp-steps, .tp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-download-card, .tp-support-grid { grid-template-columns: 1fr; }
  .tp-download-card { display: grid; }
}

@media (max-width: 760px) {
  body.turbo-home .site-header { min-height: 64px; padding: 10px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
  body.turbo-home .turbo-nav { display: none; grid-column: 1 / -1; width: 100%; padding: 8px 0 0; overflow: visible; }
  body.turbo-home .turbo-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.turbo-home .turbo-nav a { justify-content: flex-start; }
  .tp-menu-toggle { width: 40px; height: 40px; padding: 9px; display: grid; gap: 4px; align-content: center; border: 1px solid var(--tp-line); border-radius: 6px; background: #fff; cursor: pointer; }
  .tp-menu-toggle span { width: 20px; height: 2px; display: block; background: var(--tp-navy); }
  body.turbo-home .header-cta { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .tp-container, body.turbo-home .license-shop { width: min(100% - 40px, 1200px); }
  .tp-hero-inner { min-height: 0; padding-top: 62px; padding-bottom: 58px; }
  .tp-section, body.turbo-home .license-shop-section { padding: 68px 0; }
  .tp-module-panel { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .tp-contact-inner { display: grid; }
  .tp-download-card { padding: 28px 24px; }
  .tp-download-actions { min-width: 0; }
}

@media (max-width: 560px) {
  .tp-hero h1 { font-size: 50px; }
  .tp-hero-title { font-size: 28px; }
  .tp-hero-lead { font-size: 16px; }
  body.turbo-home .hero-actions { display: grid; }
  body.turbo-home .hero-actions .primary-link,
  body.turbo-home .hero-actions .secondary-link,
  .tp-download-actions .primary-link { width: 100%; }
  .tp-steps, .tp-feature-grid { grid-template-columns: 1fr; }
  .tp-workflow-note { align-items: flex-start; flex-direction: column; }
  .tp-contact-links { display: grid; }
  body.turbo-home .tp-contact-links .secondary-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.tp-gallery { min-height: 0; }
.tp-gallery-stage {
  min-height: clamp(360px, 46vw, 620px);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #e7f2f4;
}

.tp-gallery-stage-content {
  min-width: 0;
  min-height: clamp(324px, 42vw, 584px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #cadde1;
  background: #f9fcfc;
}

.tp-gallery-media {
  width: 100%;
  height: 100%;
  max-height: min(584px, 42vw);
  display: block;
  object-fit: contain;
  background: #f9fcfc;
}

.tp-gallery-media[type="video"] { min-height: 320px; }
.tp-gallery-media-youtube { border: 0; aspect-ratio: 16 / 9; }

.tp-gallery-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #9ccbd3;
  border-radius: 50%;
  background: #fff;
  color: var(--tp-navy);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.tp-gallery-arrow:hover,
.tp-gallery-arrow:focus-visible { background: var(--tp-accent); color: #fff; transform: scale(1.04); }
.tp-gallery-arrow:disabled { opacity: .4; cursor: default; transform: none; }

.tp-gallery-caption {
  min-height: 70px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--tp-line);
  background: #fff;
}

.tp-gallery-caption > div { min-width: 0; display: grid; gap: 4px; }
.tp-gallery-caption strong { overflow-wrap: anywhere; color: var(--tp-navy); font-size: 16px; }
.tp-gallery-caption span { color: var(--tp-muted); font-size: 12px; }
.tp-gallery-caption > span { flex: 0 0 auto; color: var(--tp-accent-dark); font-size: 13px; font-weight: 800; }

.tp-gallery-thumbs {
  padding: 14px 16px 16px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  background: #fff;
}

.tp-gallery-thumb {
  width: 88px;
  height: 58px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #cbd9de;
  border-radius: 5px;
  background: #edf5f6;
  cursor: pointer;
}

.tp-gallery-thumb img,
.tp-gallery-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; }
.tp-gallery-thumb.is-active { border: 2px solid var(--tp-accent); }
.tp-gallery-thumb-label { position: absolute; right: 4px; bottom: 4px; padding: 3px 5px; background: rgba(15, 40, 51, .82); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.tp-gallery-thumb-empty { width: 100%; display: grid; place-items: center; color: var(--tp-muted); font-size: 13px; }

@media (max-width: 760px) {
  .tp-gallery-stage { min-height: 300px; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; padding: 10px; }
  .tp-gallery-stage-content { min-height: 280px; }
  .tp-gallery-media { max-height: 360px; }
  .tp-gallery-arrow { width: 34px; height: 34px; font-size: 16px; }
  .tp-gallery-caption { align-items: flex-start; padding: 14px; }
}

/* The gallery is an open media canvas, not a window-shaped card. */
.tp-media-mockup.tp-gallery {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tp-gallery .tp-media-bar {
  min-height: 0;
  padding: 0 0 18px;
  background: transparent;
  color: var(--tp-accent-dark);
}

.tp-gallery .tp-media-bar span { display: none; }
.tp-gallery .tp-media-bar strong { margin-left: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.tp-gallery-stage {
  min-height: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.tp-gallery-stage-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #edf5f6;
  box-shadow: 0 24px 54px rgba(20, 55, 66, .16);
}

.tp-gallery-media {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: contain;
  background: #edf5f6;
}

.tp-gallery-media-youtube { background: #0d2832; }

.tp-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(20, 55, 66, .16);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.tp-gallery-arrow:first-child { left: 18px; }
.tp-gallery-arrow:last-child { right: 18px; }
.tp-gallery-arrow:hover,
.tp-gallery-arrow:focus-visible { transform: translateY(-50%) scale(1.07); }

.tp-gallery-caption {
  min-height: 0;
  padding: 18px 0 0;
  border-top: 0;
  background: transparent;
}

.tp-gallery-caption strong { font-size: 17px; }
.tp-gallery-caption > span { font-size: 12px; }

.tp-gallery-thumbs {
  padding: 22px 2px 6px;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  background: transparent;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tp-gallery-thumbs::-webkit-scrollbar { width: 0; height: 0; display: none; }

.tp-gallery-thumb {
  width: 92px;
  height: 60px;
  overflow: visible;
  border: 0;
  border-radius: 9px;
  background: transparent;
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
}

.tp-gallery-thumb::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--tp-accent);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .24s ease, transform .24s ease;
}

.tp-gallery-thumb img,
.tp-gallery-thumb video,
.tp-gallery-thumb .tp-gallery-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 5px 13px rgba(20, 55, 66, .12);
  transition: box-shadow .24s ease;
}

.tp-gallery-thumb .tp-gallery-thumb-empty { background: #dcecef; color: var(--tp-accent-dark); font-size: 10px; letter-spacing: .05em; }
.tp-gallery-thumb:hover,
.tp-gallery-thumb:focus-visible { z-index: 2; transform: translateY(-6px) scale(1.08); }
.tp-gallery-thumb:hover img,
.tp-gallery-thumb:hover video,
.tp-gallery-thumb:hover .tp-gallery-thumb-empty,
.tp-gallery-thumb:focus-visible img,
.tp-gallery-thumb:focus-visible video,
.tp-gallery-thumb:focus-visible .tp-gallery-thumb-empty { box-shadow: 0 15px 28px rgba(20, 55, 66, .24); }
.tp-gallery-thumb.is-active { border: 0; }
.tp-gallery-thumb.is-active::after { opacity: 1; transform: scaleX(1); }
.tp-gallery-thumb.is-active img,
.tp-gallery-thumb.is-active video,
.tp-gallery-thumb.is-active .tp-gallery-thumb-empty { box-shadow: 0 0 0 2px var(--tp-accent), 0 11px 22px rgba(20, 55, 66, .2); }
.tp-gallery-thumb-label { right: 4px; bottom: 4px; border-radius: 3px; }

@media (max-width: 760px) {
  .tp-gallery-stage { aspect-ratio: 4 / 3; }
  .tp-gallery-arrow { width: 36px; height: 36px; }
  .tp-gallery-arrow:first-child { left: 10px; }
  .tp-gallery-arrow:last-child { right: 10px; }
  .tp-gallery-caption { padding: 15px 0 0; }
  .tp-gallery-thumbs { padding-top: 20px; }
}

/* TurboPDF 1.4.0 brand alignment */
.turbo-home {
  --text: #022043;
  --muted: #526177;
  --primary: #f76e35;
  --primary-dark: #d9582a;
  --border: #d9e1e9;
  --surface-soft: #f3f6f8;
  --shadow: 0 22px 54px rgba(2, 32, 67, 0.13);
}

.turbo-home .turbo-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(2, 32, 67, 0.12);
}

.turbo-home .turbo-brand {
  gap: 0;
}

.turbo-home .brand-wordmark {
  width: min(174px, 33vw);
  height: 34px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.turbo-home .turbo-nav a:hover,
.turbo-home .turbo-nav a:focus-visible {
  background: #fff1eb;
  color: #bd471d;
}

.turbo-home .header-cta,
.turbo-home .primary-link,
.turbo-home .secondary-link {
  border-radius: 6px;
}

.turbo-home .header-cta {
  background: #022043;
}

.turbo-home .header-cta:hover,
.turbo-home .header-cta:focus-visible {
  background: #f76e35;
  color: #fff;
}

.turbo-home .primary-link {
  background: #f76e35;
  box-shadow: 0 14px 30px rgba(247, 110, 53, 0.24);
}

.turbo-home .primary-link:hover,
.turbo-home .primary-link:focus-visible {
  background: #d9582a;
}

.turbo-home .tp-brand-heading {
  margin: 16px 0 20px;
  line-height: 0;
}

.turbo-home .hero-wordmark {
  width: min(476px, 100%);
  height: auto;
  display: block;
}

.turbo-home .tp-hero-title {
  color: #022043;
}

.turbo-home .tp-download-card {
  border-left: 4px solid #f76e35;
}

.turbo-home .tp-download-meta {
  color: #526177;
}

.turbo-home .tp-proof-line span,
.turbo-home .tp-workflow-note span {
  border-color: rgba(247, 110, 53, 0.38);
  color: #9d3c1a;
}

@media (max-width: 760px) {
  .turbo-home .brand-wordmark {
    width: 136px;
    height: 28px;
  }

  .turbo-home .hero-wordmark {
    width: min(330px, 100%);
  }
}

/* TurboPDF palette: navy, orange, and neutral surfaces only. */
body.turbo-home {
  --tp-bg: #f4f5f7;
  --tp-surface: #ffffff;
  --tp-ink: #16181b;
  --tp-muted: #5f6873;
  --tp-line: #d9dde2;
  --tp-accent: #f76e35;
  --tp-accent-dark: #d9582a;
  --tp-navy: #022043;
  --text: #16181b;
  --muted: #5f6873;
  --primary: #f76e35;
  --primary-dark: #d9582a;
  --border: #d9dde2;
  --surface-soft: #f4f5f7;
  --shadow: 0 22px 54px rgba(2, 32, 67, 0.13);
}

body.turbo-home .turbo-brand { gap: 10px; }

body.turbo-home .brand-app-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 32px;
}

body.turbo-home .turbo-nav a:hover,
body.turbo-home .turbo-nav a:focus-visible {
  background: #fff0ea;
  color: #d9582a;
}

body.turbo-home .header-cta:hover,
body.turbo-home .header-cta:focus-visible,
body.turbo-home .primary-link,
body.turbo-home .tp-download-actions .primary-link,
body.turbo-home .license-submit-button,
body.turbo-home .license-paid-button {
  background: #f76e35;
  color: #ffffff;
}

body.turbo-home .primary-link:hover,
body.turbo-home .primary-link:focus-visible,
body.turbo-home .tp-download-actions .primary-link:hover,
body.turbo-home .tp-download-actions .primary-link:focus-visible,
body.turbo-home .license-submit-button:hover,
body.turbo-home .license-submit-button:focus-visible,
body.turbo-home .license-paid-button:hover,
body.turbo-home .license-paid-button:focus-visible {
  background: #d9582a;
}

body.turbo-home .secondary-link:hover,
body.turbo-home .secondary-link:focus-visible {
  border-color: #f76e35;
  color: #d9582a;
}

body.turbo-home .tp-proof-line span,
body.turbo-home .tp-workflow-note span {
  border-color: rgba(247, 110, 53, 0.4);
  color: #9d3c1a;
}

body.turbo-home .tp-media-mockup,
body.turbo-home .tp-hero-media img {
  border-color: #d9dde2;
  box-shadow: 0 18px 40px rgba(2, 32, 67, 0.12);
}

body.turbo-home .tp-media-bar {
  background: #022043;
  color: #e1e5e9;
}

body.turbo-home .tp-media-bar span { background: #f76e35; }

body.turbo-home .tp-media-placeholder,
body.turbo-home .tp-gallery-stage-content,
body.turbo-home .tp-gallery-media {
  background: #f1f3f5;
}

body.turbo-home .tp-media-play {
  border-color: #f6b69d;
  background: #fff0ea;
  color: #d9582a;
}

body.turbo-home .tp-module-tab:hover,
body.turbo-home .tp-module-tab:focus-visible,
body.turbo-home .tp-module-tab.is-active {
  border-color: #f76e35;
  background: #fff0ea;
  color: #d9582a;
}

body.turbo-home .tp-module-panel { background: #fafbfc; }

body.turbo-home .tp-download-card .eyebrow { color: #f9a782; }
body.turbo-home .tp-download-card p:not(.eyebrow) { color: #dfe4e9; }
body.turbo-home .tp-download-actions span { color: #c4ccd4; }

body.turbo-home .license-plan,
body.turbo-home .license-order-card {
  border-color: #d9dde2;
}

body.turbo-home .license-plan.featured {
  border-color: #022043;
  background: #022043;
}

body.turbo-home .license-plan.featured p { color: #dfe4e9; }

body.turbo-home .license-plan-badge {
  background: #fff0ea;
  color: #9d3c1a;
}

body.turbo-home .license-plan.featured .license-plan-badge {
  background: rgba(247, 110, 53, 0.2);
  color: #ffd3c0;
}

body.turbo-home .license-plan-button.is-selected,
body.turbo-home .license-plan.featured .license-plan-button.is-selected {
  border-color: #f76e35;
  background: #fff0ea;
  color: #d9582a;
  box-shadow: 0 0 0 4px rgba(247, 110, 53, 0.12);
}

body.turbo-home .license-order-card { background: #f7f8f9; }

body.turbo-home .license-order-card input:focus {
  border-color: #f76e35;
  box-shadow: 0 0 0 4px rgba(247, 110, 53, 0.13);
}

body.turbo-home .license-order-status.is-error,
body.turbo-home .license-order-status.is-ready {
  border-color: #f6b69d;
  background: #fff0ea;
  color: #9d3c1a;
}

body.turbo-home .license-qr-placeholder {
  border-color: #f6b69d;
  background: #f7f8f9;
  box-shadow: 0 16px 34px rgba(2, 32, 67, 0.06);
}

body.turbo-home .qr-placeholder-grid { box-shadow: inset 0 0 0 1px #d9dde2; }
body.turbo-home .qr-placeholder-grid span { background: #f76e35; }
body.turbo-home .qr-placeholder-grid span:nth-child(2),
body.turbo-home .qr-placeholder-grid span:nth-child(4),
body.turbo-home .qr-placeholder-grid span:nth-child(8) {
  background: #022043;
}

body.turbo-home .tp-gallery-stage-content {
  box-shadow: 0 24px 54px rgba(2, 32, 67, 0.16);
}

body.turbo-home .tp-gallery-media-youtube { background: #16181b; }

body.turbo-home .tp-gallery-arrow {
  border-color: rgba(255, 255, 255, 0.78);
  color: #022043;
  box-shadow: 0 10px 24px rgba(2, 32, 67, 0.16);
}

body.turbo-home .tp-gallery-arrow:hover,
body.turbo-home .tp-gallery-arrow:focus-visible { background: #f76e35; }

body.turbo-home .tp-gallery-thumb img,
body.turbo-home .tp-gallery-thumb video,
body.turbo-home .tp-gallery-thumb .tp-gallery-thumb-empty {
  box-shadow: 0 5px 13px rgba(2, 32, 67, 0.12);
}

body.turbo-home .tp-gallery-thumb:hover img,
body.turbo-home .tp-gallery-thumb:hover video,
body.turbo-home .tp-gallery-thumb:hover .tp-gallery-thumb-empty,
body.turbo-home .tp-gallery-thumb:focus-visible img,
body.turbo-home .tp-gallery-thumb:focus-visible video,
body.turbo-home .tp-gallery-thumb:focus-visible .tp-gallery-thumb-empty {
  box-shadow: 0 15px 28px rgba(2, 32, 67, 0.24);
}

body.turbo-home .tp-gallery-thumb .tp-gallery-thumb-empty {
  background: #e9ecef;
  color: #d9582a;
}

body.turbo-home .tp-gallery-thumb.is-active img,
body.turbo-home .tp-gallery-thumb.is-active video,
body.turbo-home .tp-gallery-thumb.is-active .tp-gallery-thumb-empty {
  box-shadow: 0 0 0 2px #f76e35, 0 11px 22px rgba(2, 32, 67, 0.2);
}

body.turbo-home .tp-gallery-thumb-label { background: rgba(2, 32, 67, 0.84); }

body.turbo-home .footer-brand p,
body.turbo-home .footer-columns a { color: #d5dbe1; }

body.turbo-home .footer-columns a:hover { color: #f76e35; }

@media (max-width: 760px) {
  body.turbo-home .site-header { gap: 8px; }
  body.turbo-home .turbo-brand { gap: 8px; }
  body.turbo-home .brand-app-icon { width: 28px; height: 28px; flex-basis: 28px; }
  body.turbo-home .brand-wordmark { width: clamp(88px, calc(100vw - 235px), 130px); height: 28px; }
}

body.turbo-home #ban-quyen h2 { font-size: 32px; }
body.turbo-home #ban-quyen .license-submit-button { background: #aa3c16; color: #fff; }
body.turbo-home #ban-quyen .license-submit-button:hover { background: #883010; }
body.turbo-home #ban-quyen .license-plan-button.is-selected { color: #883010; box-shadow: none; }
body.turbo-home #ban-quyen .secondary-link { color: #883010; background: #fff; border-color: #c7a59a; }
body.turbo-home #ban-quyen .license-order-card input:focus { box-shadow: none; }
body.turbo-home #ban-quyen .license-order-status.is-error { background: #fff0ee; color: #962018; border-color: #e7b0aa; }
