@font-face {
  font-family: "Google Sans";
  src:
    url("/static/fonts/google-sans/GoogleSans-VariableFont-latin-vietnamese.woff2") format("woff2"),
    url("/static/fonts/google-sans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src:
    url("/static/fonts/google-sans/GoogleSans-Italic-VariableFont-latin-vietnamese.woff2") format("woff2"),
    url("/static/fonts/google-sans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #C1282D;
  --ink: #171717;
  --muted: #6b7280;
  --line: #e5e7eb;
  --admin-bg: #f4f6f8;
  --admin-surface: #ffffff;
  --admin-sidebar: #10131a;
  --admin-sidebar-soft: #181d27;
  --admin-text: #161a22;
  --admin-muted: #677084;
  --admin-line: #e2e7ef;
  --admin-shadow: 0 20px 60px rgba(16, 19, 26, .08);
  --font-admin: "Google Sans", Arial, sans-serif;
  --font-public: "Google Sans", Arial, sans-serif;
  font-family: var(--font-public);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-public); }
html {
  background: #ffffff;
  color: #0f172a;
  scrollbar-color: var(--red) #f1f5f9;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-track-piece {
  background: transparent;
}
::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 999px var(--red);
}
::-webkit-scrollbar-thumb:hover {
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 999px #a91f25;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  background: transparent;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track-piece,
body::-webkit-scrollbar-track-piece {
  background: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { font-weight: 800; color: var(--red); }
nav { display: flex; gap: 20px; color: #374151; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 48px 8vw;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 55%, #f3f4f6 100%);
}
.hero-copy { max-width: 760px; }
.eyebrow { color: var(--red); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 800; }
h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1; margin: 12px 0 18px; }
h2 { font-size: 22px; line-height: 1.2; }
p { line-height: 1.7; color: #4b5563; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary { background: white; color: var(--red); }
.page, .article { max-width: 1120px; margin: 0 auto; padding: 56px 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 18px; background: white; }
.card img { margin: -18px -18px 16px; width: calc(100% + 36px); aspect-ratio: 16/9; object-fit: cover; }
.cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin: 24px 0; }
.summary { font-size: 18px; }
.content { white-space: pre-wrap; line-height: 1.8; }
.rich-content {
  white-space: normal;
  color: #263142;
  font-size: 16px;
  line-height: 1.78;
}

.rich-content > *:first-child { margin-top: 0; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content p {
  margin: 0 0 18px;
  color: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
}
.rich-content p + p { margin-top: 4px; }
.rich-content p + :where(ul, ol, blockquote, .tableWrapper, figure, img),
.rich-content :where(ul, ol, blockquote, .tableWrapper, figure, img) + p {
  margin-top: 18px;
}
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  margin: 36px 0 12px;
  padding-bottom: 6px;
  color: #111827;
  line-height: 1.22;
  font-weight: 700;
}
.rich-content :where(h2, h3, h4, h5, h6) + :where(p, ul, ol, blockquote, .tableWrapper, figure, img) {
  margin-top: 0;
  padding-top: 10px;
}
.rich-content :where(h2, h3) + :where(p, ul, ol, blockquote, .tableWrapper, figure, img) {
  padding-top: 14px;
}
.rich-content :where(h2, h3, h4, h5, h6) + :where(h2, h3, h4, h5, h6) {
  margin-top: 22px;
}
.rich-content p + h2,
.rich-content ul + h2,
.rich-content ol + h2,
.rich-content blockquote + h2,
.rich-content .tableWrapper + h2,
.rich-content figure + h2,
.rich-content img + h2 {
  margin-top: 42px;
}
.rich-content p + h3,
.rich-content ul + h3,
.rich-content ol + h3,
.rich-content blockquote + h3,
.rich-content .tableWrapper + h3,
.rich-content figure + h3,
.rich-content img + h3,
.rich-content p + h4,
.rich-content ul + h4,
.rich-content ol + h4,
.rich-content blockquote + h4,
.rich-content .tableWrapper + h4,
.rich-content figure + h4,
.rich-content img + h4 {
  margin-top: 36px;
}
.rich-content p + h5,
.rich-content ul + h5,
.rich-content ol + h5,
.rich-content blockquote + h5,
.rich-content .tableWrapper + h5,
.rich-content figure + h5,
.rich-content img + h5,
.rich-content p + h6,
.rich-content ul + h6,
.rich-content ol + h6,
.rich-content blockquote + h6,
.rich-content .tableWrapper + h6,
.rich-content figure + h6,
.rich-content img + h6 {
  margin-top: 36px;
}
.rich-content h2 { font-size: 30px; }
.rich-content h3 { font-size: 25px; }
.rich-content h4 { font-size: 21px; }
.rich-content h5 { font-size: 18px; }
.rich-content h6 {
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}
.rich-content strong { font-weight: 700; color: #111827; }
.rich-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rich-content ul,
.rich-content ol {
  margin: 0 0 18px;
  max-width: none;
}

.rich-content ol {
  counter-reset: rich-ol-item;
  list-style: none;
  padding-left: 0;
}

.rich-content ul {
  list-style: disc outside;
  padding-left: 1.5rem;
}

.rich-content li {
  margin: 7px 0;
  max-width: none;
}

.rich-content ol > li {
  counter-increment: rich-ol-item;
  display: block;
  padding-left: 1.55rem;
  position: relative;
}

.rich-content ol > li::before {
  content: counter(rich-ol-item) ".";
  color: currentColor;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  left: -0.35rem;
  position: absolute;
  text-align: right;
  width: 1.45rem;
}

.rich-content ol > li[value]::before {
  content: attr(value) ".";
}

.rich-content ul > li {
  padding-left: 0.15rem;
}

.rich-content li::marker {
  color: currentColor;
  font-size: 1em;
  font-weight: 700;
}
.rich-content li > p {
  margin: 0;
}
.rich-content li[data-heading="2"],
.rich-content li:has(> h2) { font-size: 30px; font-weight: 700; line-height: 1.22; }
.rich-content li[data-heading="3"],
.rich-content li:has(> h3) { font-size: 25px; font-weight: 700; line-height: 1.22; }
.rich-content li[data-heading="4"],
.rich-content li:has(> h4) { font-size: 21px; font-weight: 700; line-height: 1.22; }
.rich-content li[data-heading="5"],
.rich-content li:has(> h5) { font-size: 18px; font-weight: 700; line-height: 1.22; }
.rich-content li[data-heading="6"],
.rich-content li:has(> h6) {
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
}
.rich-content li > :where(h2, h3, h4, h5, h6) {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
.rich-content blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  background: #fff7f7;
  color: #374151;
}
.rich-content blockquote p { margin: 0; }
.rich-content figure { margin: 28px 0; }
.rich-content img {
  width: auto;
  max-width: min(100%, 800px);
  height: auto;
  margin: 28px auto;
  border-radius: 8px;
}
.rich-content p + img,
.rich-content img + p,
.rich-content p + figure,
.rich-content figure + p {
  margin-top: 28px;
}
.rich-content td img,
.rich-content th img {
  max-width: 100%;
  margin: 8px auto;
}
.rich-content figcaption {
  margin-top: -12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.rich-content .tableWrapper {
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: var(--red) transparent;
  scrollbar-width: thin;
}
.rich-content .tableWrapper::-webkit-scrollbar {
  height: 10px;
  background: transparent;
}
.rich-content .tableWrapper::-webkit-scrollbar-track {
  border-radius: 999px;
  background: transparent;
}
.rich-content .tableWrapper::-webkit-scrollbar-track-piece {
  background: transparent;
}
.rich-content .tableWrapper::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.rich-content .tableWrapper::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 999px var(--red);
}
.rich-content .tableWrapper::-webkit-scrollbar-thumb:hover {
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 999px #a91f25;
}
.rich-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}
.rich-content th,
.rich-content td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.rich-content th {
  background: #f7f8fb;
  color: #111827;
  font-weight: 700;
}

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #f8fafc; }
.login-shell { display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 420px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 8px; }
label { display: grid; gap: 8px; margin: 16px 0; font-weight: 700; }
input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.alert { border: 1px solid #fecaca; background: #fff1f2; color: #b91c1c; padding: 10px 12px; border-radius: 8px; }
.alert.success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.cms-toast-region {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.cms-toast {
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  animation: cmsToastIn .18s ease-out;
}
.cms-toast.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}
.cms-toast.is-leaving { animation: cmsToastOut .18s ease-in forwards; }
@keyframes cmsToastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cmsToastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}
.admin-nav { background: #111827; color: white; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-nav a, .admin-nav button { color: white; background: transparent; border: 0; text-align: left; font: inherit; cursor: pointer; }
.admin-nav a.is-active { color: #bfdbfe; font-weight: 700; }
.admin-main { padding: 32px; }
.session-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
}
.session-banner[hidden] { display: none; }
.session-banner strong,
.session-banner span { color: inherit; }
.session-banner.is-expired {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}
.session-dialog p {
  color: #374151;
}
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metrics div { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.metrics strong { display: block; font-size: 36px; color: var(--red); }
.metrics span { color: var(--muted); }
.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin: 18px 0;
}
.inline-check { display: flex; align-items: center; gap: 8px; }
.inline-check input { width: auto; height: auto; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 920px; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { font-size: 12px; text-transform: uppercase; color: var(--muted); background: #f9fafb; }
.row-form { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(140px, 1fr)); }
.row-actions { display: flex; gap: 8px; align-items: flex-start; }
.inline-form { display: inline; }
.button.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.button.danger { border-color: #dc2626; background: #dc2626; }
.button.secondary { background: white; color: var(--red); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tree-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.tree-panel-head h2 {
  margin: 2px 0 0;
  font-size: 22px;
}
.tree-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.tree-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.folder-tree {
  position: relative;
  display: grid;
  gap: 30px;
  min-width: 0;
  padding: 16px 0 8px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-gutter: stable;
}
.folder-tree::before { display: none; }
.folder-tree-level {
  --level: 0;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: start;
  min-width: 100%;
  width: max-content;
  overflow: visible;
  padding-bottom: 4px;
}
.folder-tree-level:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(193, 39, 45, .22);
}
.folder-tree-level:not(:first-child)::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(193, 39, 45, .24);
}
.folder-tree-node {
  --level: 0;
  position: relative;
  flex: 0 0 220px;
  width: auto;
  min-width: 0;
  margin-left: 0;
  padding-left: 0;
}
.folder-tree-level:has(.folder-tree-node:nth-child(5)) .folder-tree-node { flex-basis: 196px; }
.folder-tree-level:has(.folder-tree-node:nth-child(7)) .folder-tree-node { flex-basis: 150px; }
.folder-tree-level:has(.folder-tree-node:nth-child(9)) .folder-tree-node { flex-basis: 128px; }
.folder-tree-level:has(.folder-tree-node:nth-child(13)) .folder-tree-node { flex-basis: 108px; }
.folder-tree-node::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 1px;
  height: 16px;
  background: rgba(193, 39, 45, .24);
}
.folder-tree-level[data-level="0"] .folder-tree-node::before { display: none; }
.folder-node-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.folder-node-card:hover,
.folder-node-card:focus {
  border-color: rgba(193, 39, 45, .32);
  box-shadow: 0 14px 34px rgba(193, 39, 45, .10);
  outline: none;
}
.folder-tree-node[data-level="0"] > .folder-node-card {
  border-color: rgba(193, 39, 45, .20);
  background: linear-gradient(180deg, #fffafa, #fff);
}
.folder-node-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--red);
}
.folder-node-icon svg,
.folder-node-edit svg {
  width: 16px;
  height: 16px;
}
.folder-node-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.folder-node-copy strong {
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-node-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-node-status {
  display: inline-flex;
  align-items: center;
  grid-column: 2;
  justify-self: start;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.folder-node-status.is-on {
  background: #ecfdf5;
  color: #047857;
}
.folder-node-status.is-off {
  background: #fff7ed;
  color: #c2410c;
}
.folder-node-edit {
  position: absolute;
  right: 8px;
  top: 8px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(193, 39, 45, .16);
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .16s ease, transform .16s ease;
}
.folder-tree-node:hover .folder-node-edit,
.folder-tree-node:focus-within .folder-node-edit,
.folder-node-card:hover .folder-node-edit,
.folder-node-card:focus .folder-node-edit {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.tree-edit-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  width: min(360px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid rgba(193, 39, 45, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}
.folder-tree-node.is-editing { z-index: 25; }
.folder-tree-node.is-editing > .tree-edit-popover { display: block; }
.tree-edit-popover::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 26px;
  width: 14px;
  height: 14px;
  border-left: 1px solid rgba(193, 39, 45, .18);
  border-top: 1px solid rgba(193, 39, 45, .18);
  background: #fff;
  transform: rotate(45deg);
}
.tree-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tree-edit-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}
.tree-edit-form label:nth-child(3),
.tree-edit-form label:nth-child(4),
.tree-edit-form label:nth-child(5),
.tree-edit-form label:nth-child(6) {
  grid-column: 1 / -1;
}
.tree-edit-form .inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tree-popover-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.tree-popover-actions form { margin: 0; }
.filter-form, .batch-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
}
select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: white;
}
textarea { min-height: 96px; resize: vertical; }
.large-text { min-height: 280px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.muted { color: var(--muted); font-size: 13px; margin-top: 4px; }
.status-pill { display: inline-flex; border-radius: 999px; background: #f3f4f6; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.table-foot { padding: 0 14px 14px; }
.post-form { display: grid; gap: 18px; }
.post-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
}
.editor-main,
.editor-side {
  display: grid;
  gap: 18px;
}
.editor-side {
  position: sticky;
  top: 18px;
}
.form-section.compact-panel {
  grid-template-columns: 1fr;
}
.form-section.compact-panel label,
.form-section.compact-panel .sticky-actions,
.form-section.compact-panel .ebook-pdf-panel,
.form-section.compact-panel .author-auto-card,
.form-section.compact-panel .author-override-panel {
  grid-column: 1 / -1;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.editor-toolbar button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  cursor: pointer;
  font-weight: 700;
}
.rich-textarea {
  min-height: 420px;
}

.richtext-box {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--admin-line);
  background: #f7f8fb;
}

.rich-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  color: var(--admin-text);
  cursor: pointer;
}

.rich-button:hover,
.rich-button:focus {
  border-color: #c8d0dc;
  background: #eef2f7;
  outline: 0;
}

.rich-button.is-active,
.rich-button[aria-pressed="true"] {
  border-color: rgba(193, 39, 45, .46);
  background: #fff1f2;
  color: var(--red);
}

.rich-button svg {
  width: 17px;
  height: 17px;
}

.rich-toolbar-divider {
  width: 1px;
  min-height: 34px;
  margin: 0 2px;
  background: #e2e7ef;
}

.rich-editor-frame {
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  background: #fff;
}

.rich-editor-content {
  min-height: 520px;
  max-height: 70vh;
  padding: 22px;
  outline: 0;
}

.rich-editor-content .is-empty::before {
  content: attr(data-placeholder);
  float: left;
  height: 0;
  color: #a5adba;
  pointer-events: none;
}

.rich-editor-content img.ProseMirror-selectednode {
  outline: 2px solid rgba(100, 116, 139, .34);
}

.rich-editor-content .selectedCell::after {
  background: rgba(100, 116, 139, .14);
}

.rich-editor-content .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: -2px;
  width: 4px;
  background: rgba(100, 116, 139, .38);
  pointer-events: none;
}

.rich-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid var(--admin-line);
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 600;
}

.rich-source-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.editor-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
}

.post-editor > .editor-actions {
  position: static;
  padding: 14px 0 0;
  background: transparent;
}
.seo-card-preview {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f9fafb;
}
.seo-card-preview strong {
  color: #1d4ed8;
  overflow-wrap: anywhere;
}
.seo-card-preview span {
  color: #047857;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.seo-card-preview p {
  margin: 0;
  color: #374151;
  font-size: 13px;
}

[x-cloak] {
  display: none !important;
}

.section-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2 {
  margin-bottom: 4px;
}

.section-head p {
  margin: 0;
}

.tab-strip {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f7f8fb;
}

.tab-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--admin-muted);
  font: 600 13px/1 var(--font-admin);
  cursor: pointer;
  white-space: nowrap;
}

.tab-button:hover,
.tab-button.is-active {
  background: #fff;
  color: var(--admin-text);
  box-shadow: 0 6px 16px rgba(16, 19, 26, .08);
}

.post-edit-tabs .tab-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-edit-tabs label:has(textarea),
.post-edit-tabs label:has(.image-url-field),
.post-edit-tabs .seo-card-preview {
  grid-column: 1 / -1;
}

.image-url-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.image-url-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f7f8fb;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
}

.image-url-preview img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.image-url-preview.is-empty {
  border-style: dashed;
}

.image-url-field.is-avatar .image-url-preview,
.image-url-field.is-icon .image-url-preview {
  width: 112px;
  min-height: 112px;
}

.image-url-field.is-avatar .image-url-preview img,
.image-url-field.is-icon .image-url-preview img {
  object-fit: contain;
}

.author-auto-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f9fafb;
}

.author-avatar-preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.author-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-auto-card h3 {
  margin: 0 0 3px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.author-auto-card strong {
  display: block;
  overflow: hidden;
  color: var(--admin-text);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-auto-card p {
  margin: 4px 0 0;
  line-height: 1.45;
}

.author-override-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px dashed var(--admin-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.author-override-panel summary {
  cursor: pointer;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
}

.author-override-panel[open] summary {
  margin-bottom: 10px;
  color: var(--admin-text);
}

.ebook-pdf-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(193, 40, 45, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff7f7, #fff);
}

.ebook-pdf-panel > .muted {
  margin: 0;
}

.ebook-pdf-panel h3 {
  margin: 0;
  color: #111827;
  font-size: 15px;
}

.ebook-pdf-current {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.ebook-pdf-current strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 14px;
}

.ebook-pdf-current span,
.ebook-pdf-current a {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 700;
}

.ebook-pdf-current a {
  color: var(--red);
  text-decoration: none;
}

.ebook-pdf-current.is-empty {
  border-style: dashed;
}

.ebook-pdf-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.ebook-pdf-actions .button {
  width: 100%;
  min-width: 0;
}

.ebook-pdf-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  overflow: hidden;
  border: 1px dashed rgba(193, 40, 45, 0.36);
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ebook-pdf-upload:hover,
.ebook-pdf-upload:focus-within {
  border-color: rgba(193, 40, 45, 0.72);
  background: #fff5f5;
}

.ebook-pdf-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.ebook-pdf-selected {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.form-section h2 { grid-column: 1 / -1; margin: 0; }
.form-section label:has(.large-text), .form-section label:has(textarea) { grid-column: 1 / -1; }
.sticky-actions {
  position: sticky;
  bottom: 0;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(248,250,252,0), #f8fafc 35%);
}
.media-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.admin-form.compact {
  grid-template-columns: minmax(0, 1fr) 220px auto;
  margin: 0;
}
.media-picker-panel {
  display: grid;
  gap: 16px;
}
.media-picker-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.media-picker-form,
.media-picker-filter {
  display: grid;
  gap: 8px;
}
.media-picker-form {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 210px) auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}
.media-picker-form label,
.media-content .admin-form.compact label {
  min-width: 0;
}
.media-picker-form .button,
.media-content .admin-form.compact .button {
  align-self: end;
  min-height: 44px;
  white-space: nowrap;
}
.media-file-field {
  display: grid;
  gap: 7px;
}
.media-file-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f8fafc;
}
.media-file-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.media-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.media-file-button svg {
  width: 15px;
  height: 15px;
}
.media-file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-file-control:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, .10);
}
.media-upload-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(193, 39, 45, .16);
  border-radius: 8px;
  background: #fff7f7;
}
.media-upload-progress[hidden] { display: none; }
.media-upload-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--admin-text);
  font-size: 13px;
}
.media-upload-progress-row span {
  color: var(--red);
  font-weight: 900;
}
.media-upload-progress progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #ffe4e6;
}
.media-upload-progress progress::-webkit-progress-bar { background: #ffe4e6; }
.media-upload-progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--red), #ef4444); }
.media-upload-progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--red), #ef4444); }
.media-upload-progress.is-error {
  border-color: rgba(185, 28, 28, .28);
  background: #fff1f2;
}
.media-upload-progress.is-error .media-upload-progress-row strong { color: #b91c1c; }
.media-upload-complete {
  margin: 0 0 12px;
  padding: 11px 14px;
  border: 1px solid rgba(16, 185, 129, .22);
  border-radius: 8px;
  color: #047857;
  background: #ecfdf5;
  font-size: 13px;
  font-weight: 800;
}
.media-secondary-tool,
.media-picker-import {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}
.media-secondary-tool > summary,
.media-picker-import > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--admin-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.media-secondary-tool > summary svg,
.media-picker-import > summary svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}
.media-secondary-tool .admin-form.compact,
.media-picker-import .media-picker-form {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--admin-line);
  border-radius: 0 0 8px 8px;
}
.folder-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
  margin: 16px 0;
}
.folder-create,
.folder-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.folder-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.media-grid-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.media-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.media-picker-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.media-picker-item img,
.media-picker-item .file-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.media-picker-item strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.media-picker-manage {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
}
.media-picker-folders,
.media-picker-library {
  min-width: 0;
}
.media-picker-folder-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 520px;
  overflow: auto;
}
.media-picker-folder-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-text);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}
.media-picker-folder-filter small {
  color: var(--admin-muted);
  font-weight: 800;
}
.media-picker-folder-filter.is-active {
  border-color: rgba(193, 39, 45, .38);
  color: var(--red);
  background: #fff1f2;
}
.media-picker-filter {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 12px;
}
.media-picker-panel .media-picker-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  max-height: 560px;
  overflow: auto;
}
.media-picker-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}
.media-picker-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: #f1f5f9;
  cursor: pointer;
}
.media-picker-thumb:hover,
.media-picker-thumb:focus-visible {
  outline: 3px solid rgba(193, 39, 45, .16);
  outline-offset: -3px;
}
.media-picker-thumb img,
.media-picker-thumb .file-tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-picker-card-body {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
}
.media-picker-card-body strong,
.media-picker-card-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-picker-card-body strong {
  color: var(--admin-text);
  font-size: 12px;
}
.media-picker-card-body small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 600;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.media-card img,
.file-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3f4f6;
}
.file-tile {
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.media-meta {
  display: grid;
  gap: 4px;
  padding: 10px;
  font-size: 12px;
}
.media-meta strong {
  overflow-wrap: anywhere;
}
.media-meta span {
  color: var(--muted);
}
.media-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 0 10px 10px;
}
.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  text-align: center;
}
.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 14px;
}
.metric-chip strong { color: var(--red); font-size: 24px; }
.metric-chip span { color: var(--muted); font-size: 13px; font-weight: 700; }
.submissions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.submissions-table-wrap .admin-table { min-width: 980px; }
.type-pill {
  display: inline-flex;
  border-radius: 8px;
  background: #eef2ff;
  color: #3730a3;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.status-new { background: #fff7ed; color: #c2410c; }
.status-pill.status-read { background: #eef2ff; color: #3730a3; }
.status-pill.status-replied { background: #ecfdf5; color: #047857; }
.status-pill.status-neutral { background: #f3f4f6; color: #374151; }
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}
.submission-detail-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.submission-detail-panel.empty-state,
.submission-detail-panel.is-placeholder {
  display: none;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.detail-head h2 {
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.detail-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.detail-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}
.detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-file-link { width: 100%; margin: 4px 0 14px; }
.payload-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  padding: 12px;
}
.payload-panel h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.payload-panel pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #374151;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.settings-section {
  margin-top: 18px;
}
.settings-section h2 {
  margin-bottom: 8px;
}
.settings-status {
  margin-top: 14px;
}
.settings-scripts {
  display: grid;
  gap: 14px;
}
.settings-scripts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.settings-scripts-toolbar h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}
.settings-scripts-toolbar p {
  margin: 0;
}
.script-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.script-list-compact {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.script-summary-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.script-summary-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.script-summary-main h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}
.script-summary-main p {
  margin: 0;
  overflow-wrap: anywhere;
}
.script-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.script-slot {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #6b7280;
  background: #f9fafb;
  font-size: 12px;
  font-weight: 600;
}
.script-slot.has-code {
  border-color: rgba(4, 120, 87, .22);
  color: #047857;
  background: #ecfdf5;
}
.script-preview {
  display: -webkit-box;
  min-height: 58px;
  max-height: 86px;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  background: #f7f8fb;
  color: #4b5563;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.script-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.script-card {
  display: grid;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.script-card label {
  margin: 0;
}
.script-card .code-box {
  min-height: 120px;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.script-dialog-form {
  border: 0;
  padding: 0;
  box-shadow: none;
}
.script-code-dialog {
  width: min(1160px, calc(100vw - 48px));
}
.dialog-head {
  margin-bottom: 14px;
}
.dialog-head h2 {
  margin: 0;
}
.script-code-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.script-code-grid .code-box {
  min-height: 260px;
  resize: vertical;
}
.script-new {
  border-style: dashed;
}
.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.partner-cell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.partner-cell img {
  width: 72px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  padding: 8px;
}
.partner-cell a,
.partner-cell span {
  display: block;
  overflow-wrap: anywhere;
}
.seo-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.seo-route-list {
  display: grid;
  gap: 8px;
}
.seo-route {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.seo-route span {
  color: var(--muted);
  font-size: 12px;
}
.seo-route-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.seo-route-top strong {
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seo-route-status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.seo-route-status.is-missing {
  background: #fff3e8;
  color: #c2410c;
}
.seo-route-status.is-ok {
  background: #ecfdf3;
  color: #047857;
}
.seo-route.is-active {
  border-color: var(--red);
  color: var(--red);
}
.seo-route.is-dirty {
  border-style: dashed;
}
.seo-route-path {
  overflow-wrap: anywhere;
}
.seo-editor {
  display: grid;
  gap: 14px;
}
.seo-save-status {
  min-height: 0;
}
.seo-save-status.is-visible {
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #f4f8ff;
  padding: 10px 12px;
  color: #1d4ed8;
  font-weight: 700;
}
.seo-save-status.is-error {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}
.seo-issues ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.seo-tab-strip {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.seo-tab-panel {
  display: none;
}
.seo-tab-panel.is-active {
  display: grid;
}
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.char-counter {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.char-counter.is-over {
  color: var(--red);
}
.seo-editor .seo-card-preview {
  grid-column: 1 / -1;
  min-height: 98px;
}
.ai-cms {
  display: grid;
  gap: 16px;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.ai-tabs-shell,
.ai-tab-panel {
  display: grid;
  gap: 16px;
}
.ai-tab-strip {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.ai-config-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}
.ai-work-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}
.ai-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.panel-head > div {
  min-width: 0;
}
.ai-page-actions,
.ai-job-create-form,
.ai-row-actions,
.ai-review-button-row {
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}
.ai-job-create-form select {
  width: 170px;
  min-width: 170px;
}
.ai-plan-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.ai-info-box {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f7f8fb;
}
.ai-info-box span {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 600;
}
.ai-info-box strong {
  min-width: 0;
  overflow: hidden;
  color: var(--admin-text);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.panel-head h2,
.provider-summary h3,
.review-item h3 {
  margin: 0;
}
.provider-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}
.provider-summary {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.provider-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.provider-summary .ai-row-actions {
  width: auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  white-space: normal;
}
.provider-summary .ai-row-actions form,
.provider-summary .ai-row-actions .button {
  flex: 0 0 auto;
}
.status-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.provider-summary h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.provider-meter,
.quick-facts {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.provider-meter strong,
.quick-facts strong {
  color: var(--ink);
}
.settings-compact-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.settings-integration-list {
  margin-top: 16px;
}
.settings-compact-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(360px, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}
.settings-compact-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.settings-compact-main h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-compact-main p {
  margin: 0;
  overflow-wrap: anywhere;
}
.settings-compact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.settings-compact-meta div {
  min-width: 0;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  background: #f9fafb;
  padding: 8px 10px;
}
.settings-compact-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.settings-compact-meta dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-compact-actions {
  justify-content: flex-end;
  min-width: 0;
  white-space: nowrap;
}
.settings-compact-actions form {
  margin: 0;
}
.settings-compact-actions .button {
  flex: 0 0 auto;
}
.cms-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(86vh, 920px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
}
.cms-dialog::backdrop {
  background: rgba(15, 23, 42, .42);
}
.dialog-close-form {
  float: right;
  margin-left: 12px;
}
.provider-form,
.schedule-form {
  display: grid;
  gap: 14px;
}
.provider-costs,
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ai-topic-group-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.ai-topic-group-card + .ai-topic-group-card {
  margin-top: 12px;
}
.ai-topic-group-card summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.ai-topic-group-card .provider-costs {
  padding: 16px;
}
.ai-topic-group-card textarea.code-box,
.schedule-form textarea.code-box {
  min-height: 110px;
}
.inline-tool-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.compact-filter {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.compact-filter label {
  width: min(240px, 100%);
}
.ai-table {
  min-width: 980px;
}
.ai-panel .table-wrap {
  overflow-y: visible;
}
.ai-table td {
  vertical-align: top;
}
.ai-job-progress {
  max-width: 320px;
}
.ai-progress-bar {
  height: 8px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}
.ai-progress-bar span {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dc2626, #f97316);
  transition: width 180ms ease;
}
.ai-progress-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.45;
}
.ai-details {
  margin-top: 8px;
}
.ai-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--red);
  font-weight: 600;
}
.json-block {
  margin: 8px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.review-list {
  display: grid;
  gap: 12px;
  max-height: 740px;
  overflow: auto;
  padding-right: 4px;
}
.review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
.review-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.review-main h3,
.review-main p,
.review-main .muted {
  overflow-wrap: anywhere;
}
.review-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}
.review-status-form {
  display: grid;
  gap: 10px;
}
.ai-unsplash-form {
  grid-template-columns: minmax(260px, 520px) auto;
  justify-content: start;
}
.reason-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.ai-log-panel {
  margin-top: 12px;
  max-height: 280px;
  overflow: auto;
}
.log-row {
  display: grid;
  grid-template-columns: auto minmax(80px, 160px) auto;
  gap: 8px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.log-row p {
  grid-column: 1 / -1;
  margin: 0;
}
.status-pill.status-queued,
.status-pill.status-pending { background: #fff7ed; color: #c2410c; }
.status-pill.status-running { background: #eef2ff; color: #3730a3; }
.status-pill.status-succeeded,
.status-pill.status-approved,
.status-pill.status-applied,
.status-pill.status-success { background: #ecfdf5; color: #047857; }
.status-pill.status-failed,
.status-pill.status-rejected,
.status-pill.status-error { background: #fff1f2; color: #b91c1c; }
.status-pill.status-cancelled,
.status-pill.status-blocked,
.status-pill.status-warning { background: #fefce8; color: #a16207; }

@media (max-width: 989px), (min-height: 100vw) {
  .site-header { padding: 0 18px; }
  nav { gap: 12px; font-size: 14px; }
  .hero { min-height: auto; padding: 56px 24px; }
  .grid, .metrics, .admin-shell, .admin-form, .form-section, .post-editor, .media-tools, .folder-panel, .folder-list, .media-grid, .media-picker-grid, .media-actions, .submissions-layout, .script-list, .seo-layout, .ai-grid, .provider-summary-grid, .provider-costs, .toggle-grid, .inline-tool-form, .review-item, .ai-plan-summary, .partner-cell { grid-template-columns: 1fr; }
  .settings-compact-row, .settings-compact-meta { grid-template-columns: 1fr; }
  .settings-compact-actions { justify-content: flex-start; white-space: normal; }
  .admin-nav, .editor-side { position: static; }
  .page-title-row, .pagination-row, .session-banner { align-items: flex-start; flex-direction: column; }
  .cms-dialog { width: calc(100vw - 18px); padding: 16px; }
}

@media (max-width: 1279px) and (orientation: landscape) {
  .settings-compact-row {
    grid-template-columns: minmax(220px, .9fr) minmax(280px, 1fr);
  }
  .settings-compact-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* CMS redesign */
.admin-shell,
.cms-login-shell,
.cms-dialog,
.admin-shell input,
.admin-shell select,
.admin-shell textarea,
.admin-shell button {
  font-family: var(--font-admin);
  letter-spacing: 0;
}

.admin-shell {
  grid-template-columns: 288px minmax(0, 1fr);
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-main {
  min-width: 0;
  padding: 28px 32px 40px;
}

.admin-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 22px;
  padding: 22px 18px;
  background:
    linear-gradient(180deg, rgba(193, 39, 45, .16), rgba(193, 39, 45, 0) 30%),
    var(--admin-sidebar);
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #f7f8fb;
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 18px;
  color: #fff;
}

.admin-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(193, 39, 45, .32);
}

.admin-brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
}

.admin-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 400;
}

.admin-nav-list {
  display: grid;
  gap: 8px;
}

.admin-nav-list a {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, .76);
}

.admin-nav-list a span {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.admin-nav-list a small {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .48);
}

.admin-nav-list a:hover,
.admin-nav-list a.is-active {
  background: var(--admin-sidebar-soft);
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
}

.admin-nav-list a.is-active {
  box-shadow: inset 3px 0 0 var(--red);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-topbar h1 {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--admin-text);
}

.admin-kicker,
.eyebrow {
  margin: 0;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 700;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
}

.admin-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(16, 19, 26, .04);
  overflow-x: auto;
}

.admin-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-subnav a:hover,
.admin-subnav a.is-active {
  background: var(--admin-sidebar);
  color: #fff;
}

.page-title-row,
.dashboard-hero,
.filter-form,
.batch-bar,
.admin-form,
.form-section,
.table-wrap,
.media-grid-wrap,
.submission-detail-panel,
.settings-section,
.script-card,
.seo-route,
.ai-panel,
.provider-summary,
.review-item,
.metric-chip,
.dashboard-panel {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  box-shadow: 0 10px 30px rgba(16, 19, 26, .04);
}

.page-title-row {
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-surface);
}

.page-title-row h1,
.page-title-row h2,
.form-section h2,
.settings-section h2,
.panel-head h2,
.cms-dialog h2 {
  margin-top: 0;
  color: var(--admin-text);
  font-weight: 700;
  letter-spacing: 0;
}

.page-title-row h1 {
  margin-bottom: 4px;
  font-size: 26px;
  line-height: 1.18;
}

.page-title-row .muted,
.dashboard-hero p,
.panel-head .muted {
  max-width: 720px;
}

.button {
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-family: var(--font-admin);
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(193, 39, 45, .14);
}

.button.secondary {
  border-color: var(--admin-line);
  background: #fff;
  color: var(--admin-text);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: #c8d0dc;
  background: #f7f8fb;
}

.button.danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button .button-icon,
.icon-button .button-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  gap: 0;
  border-radius: 8px;
}

.icon-button .button-icon {
  width: 17px;
  height: 17px;
}

.icon-button.button.small {
  padding: 0;
}

label {
  margin: 0;
  color: var(--admin-text);
  font-weight: 600;
  font-size: 13px;
}

input,
select,
textarea {
  border-color: #d8dee8;
  background: #fff;
  color: var(--admin-text);
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(193, 39, 45, .14);
  border-color: rgba(193, 39, 45, .58);
}

.muted {
  color: var(--admin-muted);
  font-weight: 400;
}

.admin-form,
.form-section {
  gap: 16px;
  padding: 18px;
}

.filter-form,
.batch-bar {
  margin: 16px 0;
  padding: 14px;
}

.table-wrap,
.table-scroll {
  width: 100%;
  max-width: 100%;
  max-height: min(72vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap.settings-section,
.table-scroll.settings-section {
  padding: 0;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--admin-muted);
  background: #f7f8fb;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.admin-table td {
  color: var(--admin-text);
}

.nowrap {
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #fafbfc;
}

.post-title-cell {
  max-width: clamp(420px, 50vw, 780px);
}

.post-title-cell strong,
.post-title-cell .muted {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-table-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f2f5f8;
}

.post-table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-table-thumb.is-empty::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(135deg, #fff 0 50%, #e5eaf1 50% 100%);
}

.row-actions {
  flex-wrap: wrap;
  align-items: center;
}

.post-row-actions {
  width: 1%;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.post-row-actions .button {
  flex: 0 0 auto;
}

.row-actions.ai-page-actions,
.row-actions.ai-job-create-form,
.row-actions.ai-row-actions,
.row-actions.ai-review-button-row {
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.row-actions.ai-row-actions {
  width: 1%;
}

.row-actions.ai-row-actions .button,
.row-actions.ai-review-button-row .button {
  flex: 0 0 auto;
}

.row-form {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
}

.status-pill,
.type-pill {
  border-radius: 999px;
  font-weight: 600;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
}

.dashboard-hero h2 {
  margin: 2px 0 6px;
  font-size: 28px;
  line-height: 1.15;
}

.dashboard-hero p {
  margin: 0;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.metric-card,
.metrics div {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 19, 26, .04);
}

.metric-card span,
.metrics span {
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
}

.metric-card strong,
.metrics strong {
  color: var(--admin-text);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}

.metric-card small {
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.4;
}

.metric-card.attention strong {
  color: var(--red);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 16px;
}

.dashboard-panel {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 18px;
}

.chart-list {
  display: grid;
  gap: 14px;
}

.chart-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
}

.chart-row span,
.chart-row strong {
  font-size: 13px;
  font-weight: 600;
}

.chart-row strong {
  text-align: right;
}

.chart-track {
  height: 12px;
  border-radius: 999px;
  background: #edf1f6;
  overflow: hidden;
}

.chart-track i {
  display: block;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ef6b55);
}

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

.quick-grid a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f9fafb;
}

.quick-grid strong {
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
}

.quick-grid span {
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
}

.ops-hero,
.compact-hero {
  align-items: flex-start;
}

.period-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f7f8fb;
}

.period-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.period-tabs a:hover,
.period-tabs a.is-active {
  background: #fff;
  color: var(--admin-text);
  box-shadow: 0 6px 16px rgba(16, 19, 26, .08);
}

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

.analytics-grid {
  align-items: start;
}

.wide-panel {
  grid-column: 1 / -1;
}

.quick-grid.compact a {
  min-height: 74px;
}

.chart-track.warning i {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.chart-track.danger i {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.top-list,
.breakdown-list,
.activity-list {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-height: min(44vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
}

.top-row,
.activity-list a {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f4;
}

.top-row {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 200px) 64px;
  align-items: center;
}

.top-row span,
.activity-list strong {
  overflow: hidden;
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-row strong {
  text-align: right;
  color: var(--admin-text);
}

.activity-list small {
  color: var(--admin-muted);
  font-size: 12px;
}

.system-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.system-kpis span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f9fafb;
}

.system-kpis strong {
  overflow: hidden;
  color: var(--admin-text);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-kpis small {
  color: var(--admin-muted);
  font-size: 12px;
}

.trend-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 220px;
  padding-top: 10px;
}

.trend-bars span {
  display: grid;
  grid-template-rows: 180px auto;
  gap: 8px;
  min-width: 0;
}

.trend-bars i {
  align-self: end;
  display: block;
  min-height: 4px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--red), #ef6b55);
}

.trend-bars small {
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-slot {
  position: relative;
  min-height: 36px;
}

.notification-bell {
  position: relative;
}

.notification-bell summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.notification-bell summary::-webkit-details-marker {
  display: none;
}

.notification-bell summary strong {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
}

.notification-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--admin-shadow);
}

.notification-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fbfcfe;
}

.notification-item.is-read {
  opacity: 0.76;
}

.notification-read-all {
  display: flex;
  justify-content: flex-end;
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notification-actions form {
  margin: 0;
}

.notification-item.danger {
  border-color: #fecaca;
  background: #fff1f2;
}

.notification-item.warning {
  border-color: #fde68a;
  background: #fffbeb;
}

.notification-item strong {
  color: var(--admin-text);
  font-size: 13px;
}

.notification-item span,
.notification-item small {
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.45;
}

.span-all {
  grid-column: 1 / -1;
}

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

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 18px;
}

.settings-sitemap-tools .muted {
  max-width: 760px;
}

.settings-sitemap-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.settings-sitemap-grid label {
  color: var(--admin-muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-width: 0;
}

.settings-sitemap-grid input[readonly] {
  background: #f8fafc;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: var(--admin-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  min-height: 42px;
  overflow: hidden;
  padding: 0 12px;
  text-overflow: ellipsis;
}

.settings-sitemap-actions {
  margin-bottom: 0;
}

@media (max-width: 989px), (orientation: portrait) {
  .settings-sitemap-grid {
    grid-template-columns: 1fr;
  }
}

.media-tools,
.folder-panel,
.seo-layout,
.ai-grid,
.provider-summary-grid,
.script-list {
  gap: 16px;
}

.media-card,
.media-picker-item,
.partner-cell img {
  border-color: var(--admin-line);
  background: #fff;
}

.media-card img,
.media-picker-item img,
.media-picker-item .file-tile,
.file-tile {
  background: #f2f5f8;
}

.media-meta {
  min-height: 98px;
}

.media-meta strong,
.partner-cell a,
.partner-cell span,
.admin-table strong {
  overflow-wrap: anywhere;
}

.media-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.media-sidebar,
.media-content {
  min-width: 0;
}

.media-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 19, 26, .04);
}

.media-sidebar-head h2,
.media-content-head h2 {
  margin: 0 0 4px;
  color: var(--admin-text);
  font-size: 18px;
  font-weight: 700;
}

.media-sidebar-head p,
.media-content-head p {
  margin: 0;
}

.media-folder-tree {
  display: grid;
  gap: 6px;
}

.media-folder-node {
  position: relative;
  display: grid;
  gap: 5px;
}

.media-folder-node::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -6px;
  bottom: 20px;
  width: 1px;
  background: #dde4ee;
}

.media-folder-node::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  width: 14px;
  height: 1px;
  background: #dde4ee;
}

.media-folder-node.depth-0::before,
.media-folder-node.depth-0::after {
  display: none;
}

.media-folder-node.depth-1 { padding-left: 22px; }
.media-folder-node.depth-2 { padding-left: 44px; }
.media-folder-node.depth-3,
.media-folder-node.depth-4,
.media-folder-node.depth-5 { padding-left: 66px; }

.media-folder-link {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--admin-text);
  cursor: pointer;
  text-align: left;
}

.media-folder-link:hover,
.media-folder-link.is-active {
  border-color: rgba(193, 39, 45, .28);
  background: #fff7f7;
}

.media-folder-line {
  display: grid;
  gap: 3px;
}

.media-folder-line b {
  font-size: 13px;
  font-weight: 700;
}

.media-folder-line small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 400;
}

.media-folder-edit {
  padding-left: 11px;
}

.media-folder-edit summary {
  color: var(--admin-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.media-folder-edit form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: 8px;
}

.media-folder-create {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--admin-line);
}

.media-content {
  display: grid;
  gap: 16px;
}

.media-content-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 19, 26, .04);
}

.media-content-head .filter-form {
  margin: 0;
  min-width: min(100%, 360px);
}

.submissions-layout {
  grid-template-columns: minmax(0, 1fr);
}

.submissions-layout:has(.submission-detail-panel:not(.empty-state):not(.is-placeholder)) {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.submission-detail-panel {
  position: sticky;
  top: 20px;
}

.detail-head h2 {
  font-size: 20px;
  font-weight: 700;
}

.payload-panel {
  background: #f7f8fb;
}

.settings-section {
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
}

.settings-section > h2 {
  margin-bottom: 12px;
}

.seo-route.is-active {
  border-color: rgba(193, 39, 45, .45);
  background: #fff7f7;
  color: var(--red);
}

.cms-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  border-color: var(--admin-line);
  border-radius: 8px;
  color: var(--admin-text);
  background: #fff;
  box-shadow: 0 24px 90px rgba(16, 19, 26, .28);
}

.ai-schedule-dialog {
  width: min(1480px, calc(100vw - 48px));
}

.ai-schedule-dialog .provider-costs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-schedule-dialog .form-section > .provider-costs label:has(textarea),
.ai-schedule-dialog > form > label {
  grid-column: auto;
}

.ai-schedule-dialog .ai-topic-group-card .provider-costs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-schedule-dialog textarea.code-box {
  min-height: 128px;
}

.ai-schedule-dialog .ai-topic-group-card summary {
  position: sticky;
  top: 40px;
  z-index: 1;
}

.ai-config-dialog {
  width: min(1480px, calc(100vw - 48px));
  padding: 0;
  overflow: hidden;
  background: #f6f7f9;
}

.ai-config-dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.ai-config-dialog-head h2 {
  margin: 2px 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.ai-config-dialog-head p {
  max-width: 860px;
  margin: 0;
}

.ai-config-dialog-head .dialog-close-form {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ai-config-form {
  max-height: calc(100vh - 164px);
  padding: 18px 24px 0;
  overflow: auto;
  gap: 16px;
}

.ai-config-switchbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-switch-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.ai-switch-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.ai-switch-card strong,
.ai-switch-card small {
  display: block;
}

.ai-switch-card strong {
  margin-bottom: 3px;
  color: var(--admin-text);
  font-size: 14px;
  font-weight: 700;
}

.ai-switch-card small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.ai-config-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.ai-config-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

.ai-config-section-head h3 {
  margin: 0 0 4px;
  color: var(--admin-text);
  font-size: 17px;
  font-weight: 700;
}

.ai-config-section-head p {
  margin: 0;
}

.ai-config-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.ai-config-days label {
  position: relative;
  min-height: 40px;
  margin: 0;
}

.ai-config-days input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ai-config-days span {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: #596274;
  background: #fafbfc;
  font-size: 13px;
  font-weight: 600;
}

.ai-config-days input:checked + span {
  border-color: rgba(193, 39, 45, .4);
  color: var(--red);
  background: #fff4f4;
}

.ai-config-grid,
.ai-topic-meta-grid,
.ai-topic-text-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

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

.ai-config-grid-schedule {
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(180px, 1fr));
  align-items: start;
}

.ai-config-grid-text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 600;
}

.ai-field small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.ai-field input,
.ai-field select,
.ai-field textarea {
  width: 100%;
}

.ai-field select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: var(--admin-text);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.ai-field-wide {
  grid-row: span 2;
}

.ai-field-full {
  grid-column: 1 / -1;
}

.ai-config-dialog textarea.code-box {
  min-height: 84px;
  max-height: 132px;
  overflow-y: auto;
  resize: vertical;
  line-height: 1.55;
}

.ai-config-grid-schedule textarea.code-box {
  min-height: 116px;
  max-height: 160px;
}

.ai-token-field {
  grid-row: auto;
}

.token-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 8px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.token-input:focus-within {
  border-color: rgba(193, 39, 45, .45);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, .08);
}

.token-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.token-list {
  display: contents;
}

.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(193, 39, 45, .22);
  border-radius: 999px;
  color: var(--red);
  background: #fff4f4;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.token-chip button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.token-chip button:hover,
.token-chip button:focus-visible {
  background: rgba(193, 39, 45, .12);
  outline: 0;
}

.token-input input[data-token-entry] {
  flex: 1 1 120px;
  min-width: 96px;
  height: 30px;
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 400;
}

.token-input input[data-token-entry]:focus {
  outline: 0;
  box-shadow: none;
}

.ai-config-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-config-check-grid label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fafbfc;
  color: #596274;
  font-size: 13px;
  font-weight: 600;
}

.ai-config-check-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.ai-config-check-grid span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-topic-group-card {
  border-color: #dfe4ec;
  background: #fff;
}

.ai-topic-group-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f6f9 100%);
}

.ai-topic-summary-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ai-topic-summary-main strong {
  overflow: hidden;
  color: var(--admin-text);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-topic-summary-main small {
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-topic-summary-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fff4f4;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ai-topic-group-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.ai-topic-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

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

.ai-topic-text-grid textarea.code-box {
  min-height: 88px;
  max-height: 142px;
}

.ai-topic-text-grid .ai-field-full textarea.code-box {
  min-height: 98px;
  max-height: 164px;
}

.ai-topic-groups-section,
.ai-fallback-section {
  background: #fbfcfe;
}

.ai-fallback-section .ai-config-grid-text {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-config-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -24px;
  padding: 14px 24px;
  border-top: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

.cms-dialog::backdrop {
  background: rgba(10, 12, 18, .58);
  backdrop-filter: blur(3px);
}

.dialog-close-form {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  float: none;
  margin: -8px 0 10px;
  padding-bottom: 8px;
  background: linear-gradient(180deg, #fff 70%, rgba(255,255,255,0));
}

.provider-form,
.schedule-form {
  gap: 16px;
}

.session-banner {
  margin: 0 0 16px;
  font-family: var(--font-admin);
  font-weight: 400;
}

.cms-login-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(360px, 460px);
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-height: 100vh;
  padding: 48px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 10, 15, .78), rgba(8, 10, 15, .62) 44%, rgba(8, 10, 15, .84)),
    url("/static/img/cms-login-bg.webp") center / cover no-repeat;
}

.cms-login-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 24% 22%, rgba(193, 39, 45, .24), transparent 34%);
}

.cms-login-copy,
.login-card {
  position: relative;
  z-index: 1;
}

.cms-login-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.cms-login-copy h1 {
  max-width: 560px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  font-weight: 700;
}

.cms-login-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.7;
}

.login-card {
  width: 100%;
  max-width: 460px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(14, 17, 24, .82);
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}

.login-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.login-card h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.login-card p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.5;
}

.login-card label {
  margin: 14px 0;
  color: rgba(255,255,255,.88);
}

.login-card input {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.login-card input:focus {
  border-color: rgba(255,255,255,.48);
  outline-color: rgba(193, 39, 45, .38);
}

.login-submit {
  width: 100%;
  margin-top: 4px;
}

.login-card .alert {
  margin: 0 0 14px;
}

.admin-shell input[type="file"] {
  height: auto;
  min-height: 44px;
  padding: 6px;
  line-height: 1.4;
  cursor: pointer;
}

.admin-shell input[type="file"]::file-selector-button {
  min-height: 32px;
  margin: 0 10px 0 0;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: #f7f8fb;
  color: var(--admin-text);
  font: 600 13px/1 var(--font-admin);
  cursor: pointer;
}

.admin-shell input[type="file"]::file-selector-button:hover {
  border-color: #c8d0dc;
  background: #eef2f7;
}

.admin-shell input[type="checkbox"],
.admin-shell input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.admin-shell input[type="radio"] {
  border-radius: 999px;
}

.admin-shell label.inline-check {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
}

.script-code-dialog .script-dialog-form {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 989px), (height >= width) {
  .tree-panel-head,
  .tree-head-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .folder-tree {
    gap: 24px;
    padding-left: 0;
  }

  .folder-tree-level {
    gap: 10px;
  }

  .folder-tree-level:not(:first-child)::before {
    left: 18%;
    right: 18%;
  }

  .folder-node-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .folder-node-status {
    grid-column: 2;
    justify-self: start;
  }

  .tree-edit-popover {
    position: static;
    width: auto;
    margin-top: 8px;
  }

  .tree-edit-popover::before {
    display: none;
  }

  .tree-edit-form,
  .media-picker-tools,
  .media-picker-form,
  .media-content .admin-form.compact,
  .media-picker-manage,
  .media-picker-filter {
    grid-template-columns: 1fr;
  }

  .tree-popover-actions {
    justify-content: stretch;
  }

  .tree-popover-actions .button,
  .tree-popover-actions form,
  .media-picker-form .button,
  .media-content .admin-form.compact .button {
    width: 100%;
  }

  .media-file-control {
    grid-template-columns: 1fr;
  }

  .media-file-button {
    width: 100%;
  }

  .media-picker-dialog,
  .rich-image-dialog {
    width: calc(100vw - 20px);
  }

  .settings-scripts-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-scripts-toolbar .button {
    width: 100%;
  }

  .script-list-compact,
  .script-code-grid,
  .ops-check-form,
  .form-grid.two,
  .post-edit-tabs .tab-panel {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-strip {
    width: 100%;
    overflow-x: auto;
  }

  .script-code-grid .code-box {
    min-height: 180px;
  }

  .script-code-dialog {
    width: calc(100vw - 18px);
  }
}

.admin-table input[type="checkbox"],
.batch-bar input[type="checkbox"] {
  vertical-align: middle;
}

@media (max-width: 989px), (min-height: 100vw) {
  .admin-shell {
    display: block;
  }

  .admin-nav {
    position: static;
    height: auto;
    padding: 16px;
  }

  .admin-nav-list {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-nav-list a {
    min-width: 178px;
  }

  .admin-main {
    padding: 18px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .table-wrap {
    contain: layout paint inline-size;
    width: 100%;
    max-width: 100%;
    max-height: min(70vh, 760px);
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap > form {
    width: 100%;
    min-width: 0;
  }

  .table-wrap .admin-table {
    display: block;
    width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px;
  }

  .admin-table tr {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
  }

  .admin-table tr:has(td[colspan]) {
    display: block;
  }

  .admin-table th,
  .admin-table td {
    display: block;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .admin-table td:empty {
    display: none;
  }

  .row-actions,
  .post-row-actions {
    flex-wrap: wrap;
  }

  .admin-topbar,
  .dashboard-hero,
  .page-title-row,
  .panel-head,
  .admin-topbar-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar h1 {
    font-size: 24px;
  }

  .admin-subnav {
    margin-bottom: 16px;
  }

  .metrics,
  .dashboard-grid,
  .ops-grid,
  .quick-grid,
  .chart-row,
  .top-row,
  .system-kpis,
  .media-workspace,
  .submissions-layout {
    grid-template-columns: 1fr;
  }

  .period-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .notification-menu {
    left: 0;
    right: auto;
  }

  .trend-bars {
    grid-template-columns: repeat(7, minmax(24px, 1fr));
    overflow-x: auto;
  }

  .media-sidebar,
  .submission-detail-panel {
    position: static;
    max-height: none;
  }

  .media-content-head,
  .media-folder-edit form {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .cms-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 16px;
  }

  .ai-config-dialog {
    width: calc(100vw - 18px);
    padding: 0;
  }

  .ai-config-dialog-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .ai-config-form {
    max-height: calc(100vh - 156px);
    padding: 14px 14px 0;
  }

  .ai-config-switchbar,
  .ai-config-grid,
  .ai-config-grid-schedule,
  .ai-config-grid-text,
  .ai-config-days,
  .ai-config-check-grid,
  .ai-topic-meta-grid,
  .ai-topic-text-grid,
  .ai-fallback-section .ai-config-grid-text {
    grid-template-columns: 1fr;
  }

  .ai-field-wide {
    grid-row: auto;
  }

  .ai-topic-group-card summary {
    grid-template-columns: 1fr;
  }

  .ai-config-footer {
    align-items: stretch;
    flex-direction: column;
    margin: 0 -14px;
    padding: 12px 14px;
  }

  .cms-login-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 18px;
  }

  .cms-login-copy h1 {
    font-size: 38px;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .admin-shell {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .admin-main {
    padding: 24px;
  }

  .metrics,
  .provider-summary-grid,
  .media-grid,
  .media-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: 0;
  padding: 14px clamp(16px, 3.15vw, 50px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.public-main,
.public-header,
.public-footer {
  font-family: var(--font-public);
}

.public-brand,
.public-footer-brand {
  align-items: center;
  color: #0f172a;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  min-height: 40px;
  text-decoration: none;
}

.public-brand img {
  display: block;
  height: clamp(44px, 3.2vw, 50px) !important;
  object-fit: contain;
  width: auto;
}

.public-nav {
  align-items: center;
  display: flex;
  gap: clamp(26px, 2.3vw, 36px);
  justify-content: center;
  min-width: 0;
}

.public-nav a,
.public-footer a,
.lang-link {
  color: #475569;
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lang-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 28px;
  padding: 0;
}

.public-lang-flag {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: block;
  height: 20px;
  width: 28px;
}

.public-nav a:hover,
.public-nav a.is-active,
.public-footer a:hover,
.lang-link:hover {
  color: #c1282d;
}

/* Navigation Dropdown Menu */
.public-nav-dropdown {
  align-items: center;
  display: inline-flex;
  position: relative;
}

.public-nav-parent {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.public-nav-parent .dropdown-chevron {
  height: 6px;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 9px;
}

.public-nav-dropdown:hover .public-nav-parent .dropdown-chevron,
.public-nav-dropdown:focus-within .public-nav-parent .dropdown-chevron {
  opacity: 1;
  transform: rotate(180deg);
}

.public-nav-dropdown-menu {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 3px;
  left: 0;
  right: auto;
  min-width: 270px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 12px);
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  z-index: 1000;
}

/* Invisible bridge for mouse movement */
.public-nav-dropdown-menu::before {
  content: "";
  display: block;
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -14px;
}

.public-nav-dropdown:hover .public-nav-dropdown-menu,
.public-nav-dropdown:focus-within .public-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.public-dropdown-item {
  border-radius: 8px;
  color: #e2e8f0 !important;
  display: flex;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.16s ease !important;
  white-space: nowrap;
}

.public-dropdown-item:hover,
.public-dropdown-item.is-active {
  background: rgba(193, 40, 45, 0.18) !important;
  color: #ffffff !important;
  padding-left: 18px !important;
}

@media (max-width: 1024px) {
  .public-nav-dropdown {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .public-nav-dropdown-menu {
    background: rgba(15, 23, 42, 0.6);
    box-shadow: none;
    left: 0;
    margin-top: 6px;
    min-width: 100%;
    opacity: 1;
    padding: 6px 0 6px 14px;
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
    width: 100%;
  }

  .public-nav-dropdown-menu::before {
    display: none;
  }
}

.public-header-actions {
  align-items: center;
  display: flex;
  gap: 17px;
}

.public-cta {
  align-items: center;
  background: #C1282D;
  border: 2px solid #C1282D;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(193, 40, 45, 0.2);
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  line-height: 1.4;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.public-cta:hover {
  background: #ffffff !important;
  border: 2px solid #C1282D !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
  color: #C1282D !important;
  transform: translateY(-1px);
}

.public-cta.secondary {
  background: #f8fafc;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.public-cta.secondary:hover {
  background: #f1f5f9;
}

.public-nav-toggle,
.public-nav-button {
  display: none;
}

.public-main {
  background: #ffffff;
  color: #0f172a;
  min-height: 100vh;
}

.public-hero {
  display: grid;
  min-height: min(720px, 86vh);
  overflow: hidden;
  padding: 126px clamp(18px, 5vw, 84px) 48px;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.public-hero::after {
  display: none;
}

.public-hero-home .public-hero-media {
  display: none;
}

.public-hero-media {
  inset: 0;
  position: absolute;
}

.public-hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-hero-copy {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.public-hero-copy h1,
.post-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 20px;
  color: #0f172a;
  font-weight: 850;
}

.public-hero-copy p,
.post-hero p,
.section-copy p,
.public-card p,
.public-footer p,
.faq-item p {
  color: #475569;
  line-height: 1.8;
}

.public-hero-copy > p {
  font-size: 19px;
  max-width: 680px;
  color: #334155;
}

.public-highlights {
  align-self: end;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  position: relative;
  z-index: 1;
}

.public-highlights div {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  padding: 14px 20px;
}

.public-highlights span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.public-highlights strong {
  color: #0f172a;
  display: block;
  font-size: 16px;
  font-weight: 750;
}

.public-section {
  padding: 82px clamp(18px, 5vw, 84px);
  background: #ffffff;
  color: #0f172a;
}

.public-section:nth-child(even) {
  background: #f8fafc;
}

.section-copy {
  max-width: 800px;
}

.section-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 10px 0 16px;
  color: #0f172a;
  font-weight: 800;
}

.public-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.public-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  min-width: 0;
  padding: 24px;
}

.public-card h3 {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 10px;
}

.public-card a {
  color: #fda4af;
  font-weight: 700;
  text-decoration: none;
}

.public-contact {
  background: #f8fafc;
  color: #111827;
}

.public-contact-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
}

.public-contact h2,
.public-contact p {
  color: #111827;
}

.public-contact .section-eyebrow {
  color: #be123c;
}

.public-contact-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-contact-form label {
  display: grid;
  gap: 7px;
}

.public-contact-form span {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.public-contact-form label:has(:is(input, select, textarea)[required]) > span:first-child::after,
.public-newsletter-form label:has(:is(input, select, textarea)[required]) > span:first-child::after {
  color: #ff6b75;
  content: " *";
  font-weight: 900;
}

.public-contact-form input,
.public-contact-form select,
.public-contact-form textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  font: inherit;
  min-width: 0;
  padding: 12px 13px;
  width: 100%;
}

.public-contact-form textarea {
  resize: vertical;
}

.public-contact-form input[type="file"] {
  min-height: 48px;
  padding: 9px 13px;
}

.public-contact-form .span-2 {
  grid-column: 1 / -1;
}

.public-form-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  min-height: 46px;
}

.public-form-status {
  color: #475569;
  font-size: 14px;
  margin: 0;
}

.public-section.public-contact-redesign {
  background:
    radial-gradient(circle at 18% 18%, rgba(193, 40, 45, 0.34), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(94, 234, 212, 0.12), transparent 24%),
    linear-gradient(135deg, #040508 0%, #090b10 48%, #15070a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 86px;
}

.public-contact-redesign::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
  opacity: 0.36;
  pointer-events: none;
  position: absolute;
}

.public-contact-aura {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.public-contact-aura span {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(193, 40, 45, 0.45) 18%, transparent 58%);
  border-radius: 999px;
  filter: blur(4px);
  height: 220px;
  opacity: 0.28;
  position: absolute;
  width: 220px;
}

.public-contact-aura span:nth-child(1) {
  animation: contactAuraOne 8s ease-in-out infinite;
  left: 7%;
  top: 18%;
}

.public-contact-aura span:nth-child(2) {
  animation: contactAuraTwo 9s ease-in-out infinite;
  right: 10%;
  top: 9%;
}

.public-contact-aura span:nth-child(3) {
  animation: contactAuraThree 10s ease-in-out infinite;
  bottom: 8%;
  left: 44%;
}

.public-contact-redesign .public-contact-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  position: relative;
  z-index: 1;
}

.public-contact-redesign .public-contact-copy,
.public-contact-panel {
  min-width: 0;
}

.public-contact-redesign .section-eyebrow {
  color: #ff8a8e;
  letter-spacing: 0.12em;
}

.public-contact-redesign h2,
.public-contact-redesign p {
  color: #fff;
}

.public-contact-redesign h2 {
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 10px 0 22px;
  max-width: 700px;
}

.public-contact-copy > p:not(.section-eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
}

.public-contact-intents {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.public-contact-intents article {
  align-items: start;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 96% 16%, rgba(193, 40, 45, 0.28), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 8px 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 17px 18px;
}

.public-contact-intents span {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.public-contact-intents strong {
  align-self: center;
  color: #fff;
  font-size: 18px;
}

.public-contact-intents p {
  color: rgba(255, 255, 255, 0.62);
  grid-column: 2;
  line-height: 1.6;
  margin: -2px 0 0;
}

.public-contact-direct {
  align-items: center;
  border-left: 2px solid #C1282D;
  display: flex;
  gap: 18px;
  margin-top: 26px;
  padding-left: 18px;
}

.public-contact-direct span {
  color: #ffb4b6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-contact-direct div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.public-contact-direct a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.public-contact-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 92% 8%, rgba(193, 40, 45, 0.4), transparent 30%),
    rgba(9, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  position: relative;
}

.public-contact-panel::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  height: 1px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.public-contact-panel::after {
  animation: contactPanelSweep 5.8s ease-in-out infinite;
  background: linear-gradient(110deg, transparent 12%, rgba(193, 40, 45, 0.18) 36%, rgba(94, 234, 212, 0.14) 52%, transparent 76%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-70%);
}

.public-contact-panel > * {
  position: relative;
  z-index: 1;
}

.public-contact-panel-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.public-contact-panel-head span {
  color: #ff8a8e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-contact-panel-head strong {
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.16;
}

.public-contact-route {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.public-contact-route span {
  background: rgba(3, 7, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  padding: 11px 12px;
  text-align: center;
}

.public-contact-redesign .public-contact-form {
  gap: 16px;
}

.public-contact-redesign .public-contact-form label {
  gap: 8px;
}

.public-contact-redesign .public-contact-form span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-contact-redesign .public-contact-form input,
.public-contact-redesign .public-contact-form textarea {
  background: rgba(3, 7, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  min-height: 52px;
}

.public-contact-redesign .public-contact-form textarea {
  min-height: 160px;
}

.public-contact-redesign .public-contact-form input::placeholder,
.public-contact-redesign .public-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.public-contact-redesign .public-contact-form input:focus,
.public-contact-redesign .public-contact-form textarea:focus {
  border-color: rgba(255, 138, 142, 0.76);
  box-shadow: 0 0 0 4px rgba(193, 40, 45, 0.2);
  outline: none;
}

.public-contact-redesign .public-form-actions {
  align-items: center;
  justify-content: space-between;
}

.public-contact-redesign .public-form-actions .button {
  background: #C1282D;
  border-color: #C1282D;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(193, 40, 45, 0.28);
}

.public-contact-redesign .public-form-actions .button:hover {
  background: #fff;
  border-color: #fff;
  color: #C1282D;
}

.public-contact-redesign .public-form-status {
  color: rgba(255, 255, 255, 0.68);
}

@keyframes contactAuraOne {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.86); }
  50% { transform: translate3d(54px, 34px, 0) scale(1.08); }
}

@keyframes contactAuraTwo {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.78); }
  50% { transform: translate3d(-42px, 58px, 0) scale(1.04); }
}

@keyframes contactAuraThree {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.72); }
  50% { transform: translate3d(32px, -48px, 0) scale(1.08); }
}

@keyframes contactPanelSweep {
  0%, 38% { transform: translateX(-78%); opacity: 0; }
  50% { opacity: 1; }
  82%, 100% { transform: translateX(78%); opacity: 0; }
}

@media (min-width: 990px) and (orientation: landscape) {
  .public-hero-contact .public-hero-media {
    background-image: image-set(
      url("/static/img/legacy/contact-bg.webp") type("image/webp"),
      url("/static/img/legacy/contact-bg.jpg") type("image/jpeg")
    );
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .public-hero-contact .public-hero-media img {
    opacity: 0;
  }

  .public-section.public-contact-redesign {
    background-attachment: fixed, fixed, fixed;
    background-position: 18% 18%, 82% 12%, center;
    background-repeat: no-repeat;
    background-size: 1200px 900px, 980px 760px, cover;
  }

  .public-contact-redesign::before {
    background-attachment: fixed, fixed;
  }
}

@media (max-width: 989px), (height >= width) {
  .public-section.public-contact-redesign {
    padding-left: 18px;
    padding-right: 18px;
    scroll-margin-top: 78px;
  }

  .public-contact-redesign .public-contact-grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .public-contact-redesign h2 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.08;
  }

  .public-contact-copy > p:not(.section-eyebrow) {
    font-size: 16px;
  }

  .public-contact-intents article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 15px;
  }

  .public-contact-intents span {
    height: 36px;
    width: 36px;
  }

  .public-contact-direct {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .public-contact-panel {
    padding: 20px;
  }

  .public-contact-route,
  .public-contact-redesign .public-contact-form {
    grid-template-columns: 1fr;
  }

  .public-contact-redesign .public-contact-form .span-2 {
    grid-column: auto;
  }

  .public-contact-redesign .public-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-contact-redesign .public-form-actions .button {
    width: 100%;
  }

  .public-hero-contact .public-hero-media,
  .public-section.public-contact-redesign,
  .public-contact-redesign::before {
    background-attachment: scroll;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-contact-redesign .public-contact-grid {
    gap: 30px;
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  }

  .public-contact-redesign h2 {
    font-size: clamp(36px, 4vw, 50px);
  }

  .public-contact-intents article {
    padding: 14px 15px;
  }

  .public-contact-panel {
    padding: 24px;
  }
}

.public-presso-quote {
  background:
    radial-gradient(circle at 14% 24%, rgba(220, 38, 38, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.16), transparent 30%),
    linear-gradient(135deg, #05070d 0%, #080b13 52%, #12070a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-presso-quote::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(254, 202, 202, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(186, 230, 253, 0.68) 0 1px, transparent 1.4px);
  background-position: 18px 22px, 104px 76px, 180px 36px;
  background-size: 220px 170px, 310px 240px, 390px 280px;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

.public-presso-quote::after {
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.12) 48%, transparent 80%);
  content: "";
  height: 140%;
  left: -18%;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  top: -20%;
  transform: rotate(8deg);
  width: 24%;
}

.public-presso-quote .public-contact-grid {
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
  margin: 0 auto;
  max-width: 1480px;
  position: relative;
  z-index: 1;
}

.public-presso-quote .public-contact-grid > div:first-child {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  padding: clamp(24px, 3.6vw, 42px);
}

.public-presso-quote .section-eyebrow {
  color: #fda4af;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-presso-quote h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 18px;
}

.public-presso-quote p {
  color: rgba(226, 232, 240, 0.78);
}

.public-presso-quote .public-contact-form {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(5, 8, 14, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
}

.public-presso-quote .public-contact-form label {
  gap: 9px;
}

.public-presso-quote .public-contact-form span {
  color: rgba(226, 232, 240, 0.78);
}

.public-presso-quote .public-contact-form input,
.public-presso-quote .public-contact-form select,
.public-presso-quote .public-contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
  min-height: 50px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.public-presso-quote .public-contact-form select option {
  color: #0f172a;
}

.public-presso-quote .public-contact-form textarea {
  min-height: 132px;
}

.public-presso-quote .public-contact-form input::placeholder,
.public-presso-quote .public-contact-form textarea::placeholder {
  color: rgba(226, 232, 240, 0.48);
}

.public-presso-quote .public-contact-form input:focus,
.public-presso-quote .public-contact-form select:focus,
.public-presso-quote .public-contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(248, 113, 113, 0.72);
  box-shadow: 0 0 0 4px rgba(193, 40, 45, 0.16);
  outline: none;
}

.public-presso-quote .public-form-actions {
  justify-content: flex-start;
}

.public-presso-quote .public-form-actions .button {
  box-shadow: 0 18px 42px rgba(193, 40, 45, 0.28);
}

.public-presso-quote .public-form-status {
  color: rgba(226, 232, 240, 0.72);
}

.post-card img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  margin: 0 0 20px;
  object-fit: cover;
  width: 100%;
}

.post-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(9, 12, 18, 0.88);
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  padding: 18px;
}

.post-card-media {
  border-radius: 8px;
  display: block;
  margin: 0 0 20px;
  overflow: hidden;
  position: relative;
}

.post-card-media img {
  margin: 0;
  transition: transform 0.45s ease;
}

.post-card-media span {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 28% 20%, rgba(193, 40, 45, 0.35), transparent 36%),
    linear-gradient(135deg, rgba(193, 40, 45, 0.16), rgba(103, 232, 249, 0.1)),
    rgba(5, 8, 14, 0.96);
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 20px;
  text-transform: uppercase;
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
}

.post-card h3 {
  display: -webkit-box;
  height: calc(2 * 1.3em);
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card h3 a {
  color: #fff;
}

.post-card h3 a:hover {
  color: #fecaca;
}

.post-card > p:not(.eyebrow) {
  display: -webkit-box;
  height: calc(3 * 1.75em);
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.75;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card-body {
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
}

.post-card-body h3 {
  margin: 0;
}

.post-card-body > p {
  display: -webkit-box;
  height: calc(3 * 1.65em);
  line-height: 1.65;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-blog-page {
  background:
    radial-gradient(circle at 16% 9%, rgba(193, 40, 45, 0.24), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(56, 189, 248, 0.1), transparent 30%),
    #040508;
}

.public-blog-hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 116px 72px 64px;
  position: relative;
}

.public-blog-hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.public-blog-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.96), rgba(4, 5, 8, 0.68) 54%, rgba(4, 5, 8, 0.34)),
    linear-gradient(180deg, rgba(4, 5, 8, 0.26), #040508 94%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.public-blog-hero-bg {
  inset: 0;
  position: absolute;
}

.public-blog-hero-bg img {
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
  width: 100%;
}

.public-blog-hero-shell {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  margin: 0 auto;
  max-width: 1380px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.public-blog-hero-copy {
  max-width: 760px;
  min-width: 0;
}

.public-blog-hero-copy .eyebrow,
.public-blog-library .eyebrow {
  color: #ff8a8e;
  letter-spacing: 0.12em;
}

.public-blog-hero-copy h1 {
  color: #fff;
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 12px 0 20px;
  max-width: 820px;
}

.public-blog-hero-copy > p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.78;
  max-width: 680px;
}

.public-blog-hero-copy blockquote {
  border-left: 4px solid #C1282D;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 690px;
  padding: 8px 0 8px 20px;
}

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

.public-blog-signal-panel {
  min-width: 0;
  position: relative;
}

.public-blog-signal-screen {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 18% 20%, rgba(193, 40, 45, 0.34), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(56, 189, 248, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(8, 12, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.public-blog-signal-screen::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.public-blog-signal-beam {
  animation: blogSignalBeam 5.5s ease-in-out infinite;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), rgba(193, 40, 45, 0.22), transparent);
  inset: -20% auto -20% -36%;
  pointer-events: none;
  position: absolute;
  transform: rotate(10deg);
  width: 42%;
  z-index: 0;
}

.public-blog-signal-head,
.public-blog-signal-grid,
.public-blog-signal-wave,
.public-blog-signal-note {
  position: relative;
  z-index: 1;
}

.public-blog-signal-head {
  display: grid;
  gap: 8px;
}

.public-blog-signal-head span,
.public-blog-signal-note span {
  color: #fecaca;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-blog-signal-head strong {
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.public-blog-signal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.public-blog-signal-grid span {
  background: rgba(3, 7, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: block;
  height: 72px;
  overflow: hidden;
  position: relative;
}

.public-blog-signal-grid span::after {
  animation: blogSignalPulse 3.8s ease-in-out infinite;
  background: linear-gradient(90deg, #C1282D, #fff, #67e8f9);
  bottom: 0;
  content: "";
  height: 3px;
  left: 14px;
  position: absolute;
  right: 14px;
}

.public-blog-signal-grid span:nth-child(2)::after {
  animation-delay: -0.8s;
}

.public-blog-signal-grid span:nth-child(3)::after {
  animation-delay: -1.4s;
}

.public-blog-signal-grid span:nth-child(4)::after {
  animation-delay: -2s;
}

.public-blog-signal-wave {
  align-items: end;
  display: flex;
  gap: 10px;
  height: 96px;
  margin: 26px 0 0;
}

.public-blog-signal-wave i {
  animation: blogWave 2.6s ease-in-out infinite;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(193, 40, 45, 0.74));
  border-radius: 999px 999px 0 0;
  display: block;
  flex: 1;
  height: 42%;
}

.public-blog-signal-wave i:nth-child(2) { animation-delay: -0.35s; height: 72%; }
.public-blog-signal-wave i:nth-child(3) { animation-delay: -0.7s; height: 56%; }
.public-blog-signal-wave i:nth-child(4) { animation-delay: -1.05s; height: 84%; }
.public-blog-signal-wave i:nth-child(5) { animation-delay: -1.4s; height: 48%; }

.public-blog-signal-note {
  align-items: end;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  left: 28px;
  position: absolute;
  right: 28px;
}

.public-blog-signal-note strong {
  color: #fff;
  font-size: 58px;
  line-height: 0.9;
}

.public-blog-ai-head,
.public-blog-ai-flow,
.public-blog-ai-footer {
  position: relative;
  z-index: 2;
}

.public-blog-ai-head {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.public-blog-ai-head span,
.public-blog-ai-footer span {
  color: #fecaca;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-blog-ai-head strong {
  color: #fff;
  display: block;
  font-size: 25px;
  line-height: 1.14;
  max-width: 560px;
}

.public-blog-ai-orbit {
  inset: 72px 30px 32px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.public-blog-ai-orbit span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  inset: 50% auto auto 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.public-blog-ai-orbit span:nth-child(1) {
  animation: blogOrbitPulse 4.6s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(103, 232, 249, 0.08);
  height: 62%;
  width: 62%;
}

.public-blog-ai-orbit span:nth-child(2) {
  animation: blogOrbitPulse 4.6s ease-in-out infinite -1.4s;
  border-color: rgba(193, 40, 45, 0.2);
  height: 86%;
  width: 86%;
}

.public-blog-ai-orbit span:nth-child(3) {
  animation: blogOrbitPulse 4.6s ease-in-out infinite -2.8s;
  border-color: rgba(103, 232, 249, 0.16);
  height: 112%;
  width: 112%;
}

.public-blog-ai-core {
  align-items: center;
  animation: blogAICore 3.2s ease-in-out infinite;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.92), transparent 0 8%, transparent 24%),
    radial-gradient(circle at 62% 72%, rgba(103, 232, 249, 0.45), transparent 30%),
    radial-gradient(circle at 24% 70%, rgba(193, 40, 45, 0.72), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 48px rgba(193, 40, 45, 0.16);
  display: flex;
  height: 96px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 96px;
  z-index: 1;
}

.public-blog-ai-core span {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.public-blog-ai-flow {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.public-blog-ai-flow article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(3, 7, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 88px;
  overflow: hidden;
  padding: 14px 16px 13px 56px;
  position: relative;
}

.public-blog-ai-flow article::before {
  background: linear-gradient(180deg, #C1282D, #fff, #67e8f9);
  bottom: 12px;
  content: "";
  left: 18px;
  position: absolute;
  top: 12px;
  width: 3px;
}

.public-blog-ai-flow article::after {
  animation: blogSignalPulse 3.8s ease-in-out infinite;
  background: linear-gradient(90deg, #C1282D, #fff, #67e8f9);
  bottom: 0;
  content: "";
  height: 3px;
  left: 56px;
  position: absolute;
  right: 16px;
}

.public-blog-ai-flow article:nth-child(2)::after { animation-delay: -0.8s; }
.public-blog-ai-flow article:nth-child(3)::after { animation-delay: -1.6s; }
.public-blog-ai-flow article:nth-child(4)::after { animation-delay: -2.4s; }

.public-blog-ai-flow article span {
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  left: 16px;
  letter-spacing: 0.08em;
  position: absolute;
  top: 14px;
}

.public-blog-ai-flow article strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
}

.public-blog-ai-flow article p {
  color: rgba(226, 232, 240, 0.68);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.46;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-blog-ai-footer {
  align-items: end;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  left: 28px;
  pointer-events: none;
  position: absolute;
  right: 28px;
}

.public-blog-ai-footer strong {
  color: #fff;
  font-size: 52px;
  line-height: 0.9;
  opacity: 0.8;
}

.public-blog-library {
  background:
    radial-gradient(circle at 16% 0%, rgba(193, 40, 45, 0.16), transparent 28%),
    linear-gradient(180deg, #040508, #080b12 52%, #040508);
  padding-left: 72px;
  padding-right: 72px;
}

.public-blog-library-head {
  margin: 0 auto 34px;
  max-width: 1380px;
}

.public-blog-library-head h2 {
  color: #fff;
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1.14;
  margin: 8px 0 12px;
}

.public-blog-library-head > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.72);
  font-size: 17px;
  line-height: 1.7;
  max-width: 780px;
}

.public-blog-topic-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.public-blog-topic-rail span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(193, 40, 45, 0.34);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 13px;
}

.public-blog-topic-dropdown {
  margin-top: 22px;
  max-width: 360px;
  position: relative;
  z-index: 5;
}

.public-blog-topic-dropdown summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(193, 40, 45, 0.38);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 2px;
  grid-template-columns: minmax(0, 1fr) 18px;
  list-style: none;
  min-height: 58px;
  padding: 10px 14px;
}

.public-blog-topic-dropdown summary::-webkit-details-marker {
  display: none;
}

.public-blog-topic-dropdown summary::after {
  border-bottom: 2px solid #fecaca;
  border-right: 2px solid #fecaca;
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 8px;
  justify-self: center;
  align-self: center;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  width: 8px;
}

.public-blog-topic-dropdown[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.public-blog-topic-dropdown summary span {
  color: #fecaca;
  font-size: 11px;
  font-weight: 850;
  grid-column: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-blog-topic-dropdown summary strong {
  font-size: 15px;
  grid-column: 1;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}

.public-blog-topic-list {
  background: rgba(8, 12, 20, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 4px;
  left: 0;
  margin-top: 8px;
  max-height: min(52vh, 360px);
  min-width: 100%;
  overflow: auto;
  padding: 8px;
  position: absolute;
  top: 100%;
}

.public-blog-topic-list a {
  border-radius: 6px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 14px;
  font-weight: 750;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.public-blog-topic-list a:hover,
.public-blog-topic-list a[aria-current="page"] {
  background: rgba(193, 40, 45, 0.2);
  color: #fff;
}

.public-blog-featured,
.public-blog-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1380px;
}

.public-blog-featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(193, 40, 45, 0.32), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(9, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  margin-top: 32px;
  overflow: hidden;
  padding: 18px;
}

.public-blog-featured-media,
.public-blog-card-media {
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.public-blog-featured-media img,
.public-blog-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  width: 100%;
}

.public-blog-featured:hover img,
.public-blog-card:hover img {
  transform: scale(1.045);
}

.public-blog-featured-media img {
  aspect-ratio: 16 / 10;
}

.public-blog-featured-copy {
  align-self: center;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 12px 18px 12px 0;
}

.public-blog-featured-copy h3,
.public-blog-card h3 {
  letter-spacing: 0;
  margin: 0;
}

.public-blog-featured-copy h3 {
  display: -webkit-box;
  font-size: 34px;
  line-height: 1.18;
  max-height: calc(2 * 1.18em);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-blog-featured-copy h3 a,
.public-blog-card h3 a {
  color: #fff;
  text-decoration: none;
}

.public-blog-featured-copy h3 a:hover,
.public-blog-card h3 a:hover {
  color: #fecaca;
}

.public-blog-featured-copy > p:not(.eyebrow) {
  display: -webkit-box;
  color: rgba(226, 232, 240, 0.78);
  font-size: 16px;
  line-height: 1.7;
  max-height: calc(3 * 1.7em);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.public-blog-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
    rgba(9, 12, 18, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

.public-blog-card-media img {
  aspect-ratio: 16 / 10;
}

.public-blog-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-width: 0;
  padding: 16px 4px 2px;
}

.public-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.public-blog-card-meta span {
  background: rgba(193, 40, 45, 0.16);
  border: 1px solid rgba(193, 40, 45, 0.34);
  border-radius: 8px;
  color: #fecaca;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.public-blog-card h3 {
  display: -webkit-box;
  font-size: 22px;
  line-height: 1.28;
  min-height: calc(2 * 1.28em);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-blog-card-body > p {
  display: -webkit-box;
  color: rgba(226, 232, 240, 0.72);
  font-size: 15px;
  line-height: 1.68;
  margin: 14px 0 18px;
  min-height: calc(3 * 1.68em);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-blog-read-link {
  align-self: end;
  color: #ff8a8e;
  font-weight: 850;
  text-decoration: none;
}

.public-blog-read-link:hover {
  color: #fff;
}

.public-blog-load-more-wrap {
  display: none;
  justify-content: center;
  margin: 24px auto 0;
  max-width: 1380px;
}

.public-blog-load-more[hidden] {
  display: none;
}

.public-blog-empty {
  min-height: 36vh;
}

@media (min-width: 990px) and (orientation: landscape) {
  .public-blog-hero {
    background-image: url("/static/img/legacy/blog-hero.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .public-blog-hero-bg img {
    opacity: 0;
  }
}

.public-hero-sitemap {
  background:
    radial-gradient(circle at 18% 10%, rgba(193, 40, 45, 0.24), transparent 32%),
    linear-gradient(180deg, #030407 0%, #070a10 54%, #030407 100%);
  min-height: min(760px, 72vh);
}

.public-hero-sitemap::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  content: "";
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
}

.public-hero-sitemap .public-hero-media::after {
  background:
    linear-gradient(90deg, rgba(3, 4, 7, 0.9), rgba(3, 4, 7, 0.52)),
    linear-gradient(180deg, transparent, #030407 96%);
  content: "";
  inset: 0;
  position: absolute;
}

.public-hero-sitemap .public-hero-copy {
  max-width: 860px;
}

.public-hero-sitemap .public-hero-copy h1 {
  max-width: 800px;
}

.public-sitemap {
  background:
    radial-gradient(circle at 84% 8%, rgba(103, 232, 249, 0.11), transparent 28%),
    radial-gradient(circle at 12% 16%, rgba(193, 40, 45, 0.18), transparent 34%),
    linear-gradient(180deg, #030407 0%, #070a10 52%, #030407 100%);
  color: #fff;
  padding: clamp(72px, 8vw, 118px) 72px clamp(84px, 9vw, 132px);
  position: relative;
}

.public-sitemap-shell {
  margin: 0 auto;
  max-width: 1360px;
  position: relative;
  z-index: 1;
}

.public-sitemap-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.public-sitemap-intro .eyebrow {
  color: #ff8a8e;
  letter-spacing: 0.16em;
  margin: 0;
}

.public-sitemap-intro h2 {
  font-size: clamp(36px, 5vw, 66px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.public-sitemap-intro p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.72);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.public-sitemap-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.public-sitemap-card {
  align-content: start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(7, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 18px;
  grid-template-rows: minmax(72px, auto) minmax(74px, auto) 1fr;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.public-sitemap-card::before {
  background: linear-gradient(90deg, #C1282D, rgba(103, 232, 249, 0.42), transparent);
  content: "";
  height: 2px;
  inset: 0 0 auto;
  opacity: 0.85;
  position: absolute;
}

.public-sitemap-card-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  min-height: 72px;
}

.public-sitemap-card-head > span {
  align-items: center;
  background: rgba(193, 40, 45, 0.18);
  border: 1px solid rgba(193, 40, 45, 0.42);
  border-radius: 8px;
  color: #fecaca;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 46px;
}

.public-sitemap-card-head p {
  color: #ff8a8e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.public-sitemap-card h3 {
  font-size: 23px;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.public-sitemap-card > p {
  color: rgba(226, 232, 240, 0.7);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  min-height: 74px;
}

.public-sitemap-card ul {
  align-self: start;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-sitemap-card li {
  min-width: 0;
}

.public-sitemap-card a {
  background: rgba(3, 7, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 13px 14px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.public-sitemap-card a:hover,
.public-sitemap-card a:focus-visible {
  background: rgba(193, 40, 45, 0.16);
  border-color: rgba(193, 40, 45, 0.5);
  transform: translateY(-1px);
}

.public-sitemap-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.public-sitemap-card small {
  color: rgba(226, 232, 240, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 990px) and (orientation: landscape) {
  .public-hero-sitemap .public-hero-media {
    background-image: url("/static/img/legacy/sitemap-bg.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .public-hero-sitemap .public-hero-media img {
    opacity: 0;
  }
}

@media (max-width: 989px), (orientation: portrait) {
  .public-hero-sitemap {
    min-height: 620px;
  }

  .public-hero-sitemap .public-hero-media {
    background-attachment: scroll;
  }

  .public-sitemap {
    padding: 54px 20px 72px;
  }

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

@media (max-width: 640px) {
  .public-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .public-sitemap-card {
    padding: 18px;
  }

  .public-sitemap-card a {
    min-height: 68px;
  }
}

.public-legal-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(193, 40, 45, 0.16), transparent 32%),
    linear-gradient(180deg, #040508, #080b12 50%, #040508);
}

.public-legal-page .public-hero [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (min-width: 990px) and (orientation: landscape) {
  .public-hero-legal .public-hero-media {
    background-image: url("/static/img/legacy/sitemap-bg.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .public-hero-legal .public-hero-media img {
    opacity: 0;
  }
}

.public-legal-tabs {
  background:
    radial-gradient(circle at 84% 16%, rgba(103, 232, 249, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  padding-left: 72px;
  padding-right: 72px;
}

.public-legal-shell {
  margin: 0 auto;
  max-width: 1320px;
}

.public-legal-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-legal-tabbar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
    rgba(8, 11, 18, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
  padding: 10px;
}

.public-legal-tab {
  align-items: center;
  background: rgba(3, 7, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.68);
  cursor: pointer;
  display: flex;
  gap: 14px;
  min-height: 66px;
  padding: 14px 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.public-legal-tab:hover {
  border-color: rgba(193, 40, 45, 0.44);
  color: #fff;
  transform: translateY(-1px);
}

.public-legal-tab span {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 42px;
}

.public-legal-tab strong {
  font-size: 20px;
  line-height: 1.2;
}

#legal-tab-privacy:checked ~ .public-legal-tabbar .public-legal-tab-privacy,
#legal-tab-terms:checked ~ .public-legal-tabbar .public-legal-tab-terms {
  background:
    radial-gradient(circle at 96% 12%, rgba(193, 40, 45, 0.28), transparent 34%),
    rgba(255, 255, 255, 0.1);
  border-color: rgba(193, 40, 45, 0.62);
  color: #fff;
}

.public-legal-panels {
  position: relative;
}

.public-legal-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(7, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  display: none;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
}

.public-legal-panel::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  position: absolute;
}

#legal-tab-privacy:checked ~ .public-legal-panels .public-legal-panel-privacy,
#legal-tab-terms:checked ~ .public-legal-panels .public-legal-panel-terms {
  display: block;
}

.public-legal-panel > * {
  position: relative;
  z-index: 1;
}

.public-legal-panel-head {
  max-width: 850px;
}

.public-legal-panel-head .eyebrow {
  color: #ff8a8e;
  letter-spacing: 0.14em;
}

.public-legal-panel-head h2 {
  color: #fff;
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 8px 0 14px;
}

.public-legal-panel-head p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.74);
  font-size: 17px;
  line-height: 1.75;
}

.public-legal-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.public-legal-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(3, 7, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  min-height: 180px;
  padding: 22px;
}

.public-legal-card h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.22;
  margin: 0 0 12px;
}

.public-legal-card p {
  color: rgba(226, 232, 240, 0.7);
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
}

.public-legal-note {
  align-items: start;
  background: rgba(193, 40, 45, 0.12);
  border: 1px solid rgba(193, 40, 45, 0.3);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 90px minmax(0, 1fr);
  margin-top: 18px;
  padding: 18px 20px;
}

.public-legal-note span {
  color: #ff8a8e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-legal-note p {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.7;
  margin: 0;
}

@keyframes blogSignalBeam {
  0%, 35% { opacity: 0; transform: translateX(0) rotate(10deg); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(360%) rotate(10deg); }
}

@keyframes blogSignalPulse {
  0%, 100% { transform: scaleX(0.32); transform-origin: left; opacity: 0.5; }
  50% { transform: scaleX(1); transform-origin: left; opacity: 1; }
}

@keyframes blogWave {
  0%, 100% { transform: scaleY(0.68); opacity: 0.56; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

@keyframes blogOrbitPulse {
  0%, 100% { opacity: 0.22; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 0.72; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes blogAICore {
  0%, 100% { box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 36px rgba(193, 40, 45, 0.14); }
  50% { box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38), 0 0 62px rgba(103, 232, 249, 0.22); }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-blog-hero {
    padding: 104px 48px 48px;
  }

  .public-blog-hero-shell {
    gap: 36px;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  }

  .public-blog-hero-copy h1 {
    font-size: 48px;
    max-width: 640px;
  }

  .public-blog-hero-copy > p,
  .public-blog-hero-copy blockquote {
    font-size: 16px;
  }

  .public-blog-library {
    padding-left: 48px;
    padding-right: 48px;
  }

  .public-blog-featured-copy h3 {
    font-size: 28px;
  }
}

@media (max-width: 989px), (height >= width) {
  .public-blog-hero {
    min-height: auto;
    padding: 104px 18px 52px;
  }

  .public-blog-hero-shell,
  .public-blog-featured {
    grid-template-columns: 1fr;
  }

  .public-blog-hero-shell {
    gap: 30px;
  }

  .public-blog-hero-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .public-blog-hero-copy > p,
  .public-blog-hero-copy blockquote {
    font-size: 16px;
  }

  .public-blog-signal-screen {
    aspect-ratio: auto;
    min-height: 360px;
    padding: 20px;
  }

  .public-blog-signal-head strong {
    font-size: 24px;
  }

  .public-blog-ai-head strong {
    font-size: 22px;
    line-height: 1.16;
  }

  .public-blog-ai-core {
    height: 70px;
    opacity: 0.62;
    top: 56%;
    width: 70px;
  }

  .public-blog-ai-core span {
    font-size: 18px;
  }

  .public-blog-ai-flow {
    gap: 10px;
    margin-top: 24px;
  }

  .public-blog-ai-flow article {
    min-height: 84px;
    padding: 12px 10px 12px 38px;
  }

  .public-blog-ai-flow article::before {
    left: 13px;
  }

  .public-blog-ai-flow article::after {
    left: 38px;
    right: 10px;
  }

  .public-blog-ai-flow article span {
    font-size: 10px;
    left: 11px;
    top: 13px;
  }

  .public-blog-ai-flow article strong {
    font-size: 15px;
  }

  .public-blog-ai-flow article p {
    font-size: 11px;
    line-height: 1.42;
  }

  .public-blog-library {
    padding: 56px 18px;
  }

  .public-blog-library-head h2 {
    font-size: 32px;
  }

  .public-blog-topic-dropdown {
    max-width: none;
    width: 100%;
  }

  .public-blog-topic-dropdown summary {
    min-height: 56px;
  }

  .public-blog-topic-list {
    position: static;
    width: 100%;
  }

  .public-blog-featured {
    gap: 18px;
    padding: 12px;
  }

  .public-blog-featured-copy {
    padding: 4px 4px 8px;
  }

  .public-blog-featured-copy h3 {
    font-size: 26px;
  }

  .public-blog-grid {
    grid-template-columns: 1fr;
  }

  [data-blog-item].is-blog-hidden {
    display: none;
  }

  .public-blog-load-more-wrap {
    display: flex;
  }

  .public-legal-tabs {
    padding: 56px 18px;
  }

  .public-legal-tabbar,
  .public-legal-card-grid {
    grid-template-columns: 1fr;
  }

  .public-legal-tab {
    min-height: 58px;
    padding: 12px 14px;
  }

  .public-legal-tab strong {
    font-size: 18px;
  }

  .public-legal-panel {
    padding: 22px 18px;
  }

  .public-legal-panel-head h2 {
    font-size: 32px;
  }

  .public-legal-card {
    min-height: 0;
    padding: 18px;
  }

  .public-legal-note {
    grid-template-columns: 1fr;
  }
}

.public-footer {
  background: #05070c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, auto) minmax(170px, auto) minmax(240px, 0.8fr);
  padding: 44px clamp(18px, 5vw, 84px);
}

.public-footer nav,
.public-footer address {
  display: grid;
  gap: 10px;
}

.public-footer address {
  font-style: normal;
}

.public-newsletter-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.public-newsletter-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.public-newsletter-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.public-newsletter-form input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.public-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.public-newsletter-form .public-form-status {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.quota-strip {
  align-items: center;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 14px;
}

.quota-strip span {
  color: var(--muted, #64748b);
  font-size: 13px;
}

.quota-strip strong {
  color: var(--text, #0f172a);
}

.post-main {
  --post-accent: #C1282D;
  --post-accent-soft: rgba(193, 40, 45, 0.26);
  --post-cyan: rgba(103, 232, 249, 0.28);
  background:
    radial-gradient(circle at 16% 8%, rgba(193, 40, 45, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(103, 232, 249, 0.13), transparent 30%),
    linear-gradient(180deg, #05070c 0%, #080b12 44%, #050608 100%);
  overflow: hidden;
  padding-top: 92px;
  position: relative;
}

.post-main::before {
  background-image:
    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: 96px 96px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.post-detail-page-insights {
  --post-cyan: rgba(56, 189, 248, 0.32);
}

.post-detail-page-siteforge-guides {
  --post-cyan: rgba(125, 211, 252, 0.26);
}

.post-detail-page-presso {
  --post-accent-soft: rgba(193, 40, 45, 0.34);
}

.post-detail {
  margin: 0 auto;
  max-width: min(1320px, calc(100vw - 96px));
  padding: clamp(38px, 4vw, 62px) 0 clamp(54px, 6vw, 92px);
  position: relative;
  z-index: 1;
}

.post-hero {
  align-items: start;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-bottom: clamp(34px, 4.4vw, 56px);
  text-align: center;
}

.post-hero .cover {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  display: block;
  height: auto;
  margin: 0;
  object-fit: cover;
  width: 100%;
}

.post-hero-copy {
  max-width: 1080px;
}

.post-hero .eyebrow {
  color: #ff8b91;
  margin-bottom: 16px;
}

.post-hero h1 {
  color: #fff;
  font-size: clamp(36px, 3vw, 52px);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  max-width: 1080px;
}

.post-hero-summary {
  color: rgba(226, 232, 240, 0.78);
  display: -webkit-box;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.68;
  margin: 20px auto 0;
  max-width: 780px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-meta-row,
.post-tag-list,
.public-blog-card-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-meta-row {
  justify-content: center;
  margin-top: 22px;
}

.post-meta-row span,
.post-tag-list span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(241, 245, 249, 0.82);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 13px;
}

.post-meta-row span:first-child {
  background: rgba(193, 40, 45, 0.16);
  border-color: rgba(193, 40, 45, 0.42);
  color: #fff;
}

.post-tag-list {
  justify-content: center;
  margin-top: 14px;
}

.post-tag-list span {
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.68);
  font-size: 12px;
  padding: 8px 11px;
}

.post-hero-media {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.38),
    0 0 68px var(--post-accent-soft);
  margin: 0;
  max-width: min(900px, 100%);
  overflow: hidden;
  padding: 12px;
  position: relative;
  width: 100%;
}

.post-hero-media::after {
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58% 100%);
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.post-hero-placeholder {
  align-items: end;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 20%, var(--post-accent-soft), transparent 34%),
    radial-gradient(circle at 76% 62%, var(--post-cyan), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    #070a10;
  border-radius: 14px;
  display: grid;
  padding: 28px;
}

.post-hero-placeholder span {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.post-article-shell {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
}

.post-article-shell > * {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.post-author-card {
  align-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(193, 40, 45, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 14px;
  min-height: 78px;
  padding: 13px 18px;
  position: relative;
}

.post-author-card img,
.post-author-card > span {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #C1282D, #7f1d1d);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  display: grid;
  font-weight: 900;
  height: 52px;
  object-fit: cover;
  padding: 0;
  width: 52px;
}

.post-author-card img.post-author-logo {
  object-fit: contain;
  padding: 11px;
}

.post-author-card strong {
  color: #fff;
  display: block;
  font-size: 15px;
}

.post-author-card p {
  color: rgba(226, 232, 240, 0.62);
  font-size: 13px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.post-rich-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(9, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
  color: rgba(226, 232, 240, 0.84);
  padding: clamp(28px, 4vw, 56px);
}

.post-rich-content h2,
.post-rich-content h3,
.post-rich-content h4,
.post-rich-content h5,
.post-rich-content h6,
.post-rich-content strong {
  color: #fff;
}

.post-rich-content h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.12;
}

.post-rich-content h3 {
  font-size: clamp(23px, 2.1vw, 32px);
}

.post-rich-content li > :where(h2, h3, h4, h5, h6) {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.post-rich-content p,
.post-rich-content li,
.post-rich-content td,
.post-rich-content th {
  color: rgba(226, 232, 240, 0.82);
}

.post-rich-content a {
  color: #ff9aa0;
}

.post-rich-content blockquote {
  background:
    linear-gradient(90deg, rgba(193, 40, 45, 0.18), rgba(103, 232, 249, 0.08)),
    rgba(255, 255, 255, 0.045);
  border-color: #C1282D;
  color: rgba(255, 255, 255, 0.88);
}

.post-rich-content .tableWrapper {
  border-color: rgba(255, 255, 255, 0.12);
}

.post-rich-content table {
  background: rgba(5, 8, 14, 0.78);
}

.post-rich-content th {
  background: rgba(193, 40, 45, 0.2);
}

.post-rich-content td,
.post-rich-content th {
  border-color: rgba(255, 255, 255, 0.1);
}

.post-rich-content img {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.ebook-preview-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(193, 40, 45, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.88), rgba(4, 5, 9, 0.96));
  padding-top: clamp(42px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.ebook-preview-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto 22px;
  max-width: min(1180px, calc(100vw - 72px));
}

.ebook-preview-head h2 {
  color: #fff;
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 6px 0 0;
}

.ebook-preview-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ebook-preview-actions .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ebook-download-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1fr) minmax(190px, 1fr) auto;
  margin: 0;
  max-width: 680px;
  width: min(680px, 46vw);
}

.ebook-download-form label {
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  margin: 0;
}

.ebook-download-form label em {
  color: #ff8a8f;
  font-style: normal;
}

.ebook-download-form input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  height: 44px;
}

.ebook-download-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ebook-download-form .button {
  height: 44px;
  white-space: nowrap;
}

.ebook-download-form .public-form-status {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  grid-column: 1 / -1;
  line-height: 1.45;
  margin: 0;
  min-height: 19px;
}

.ebook-preview-frame {
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: min(1180px, calc(100vw - 72px));
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 14px;
  touch-action: manipulation;
  width: 100%;
}

.ebook-slide-stage {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #11151c;
  border-radius: 12px;
  display: grid;
  min-height: 240px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.ebook-slide-stage canvas {
  background: #fff;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: auto;
}

.ebook-pdf-state {
  align-items: center;
  background: rgba(5, 7, 12, 0.82);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0;
  padding: 24px;
  position: absolute;
  text-align: center;
}

.ebook-pdf-state.is-hidden {
  display: none;
}

.ebook-slide-controls {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(64px, auto) 48px;
  justify-content: center;
}

.ebook-slide-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 34px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
  width: 48px;
}

.ebook-slide-button:hover,
.ebook-slide-button:focus-visible {
  background: rgba(193, 40, 45, 0.86);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

.ebook-slide-button:active {
  transform: scale(0.96);
}

.ebook-slide-button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
  transform: none;
}

.ebook-slide-count {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 56px;
  text-align: center;
}

@media (min-width: 990px) and (orientation: landscape) {
  .ebook-slide-viewer {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .ebook-slide-controls {
    align-self: stretch;
    justify-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: 56px auto 56px;
  }

  .ebook-slide-count {
    align-self: center;
    justify-self: center;
  }
}

.ebook-preview-frame iframe {
  background: #fff;
  border: 0;
  display: none;
  height: 78vh;
  min-height: min(78vh, 980px);
  overscroll-behavior: contain;
  width: 100%;
}

.post-related-section {
  background:
    radial-gradient(circle at 78% 0%, rgba(193, 40, 45, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.2), rgba(5, 6, 8, 0.96));
  padding-top: clamp(42px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.post-related-section .section-copy {
  margin: 0 auto 30px;
  max-width: min(980px, calc(100vw - 72px));
}

.post-related-section .section-copy h2 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: 0;
  line-height: 1;
}

.post-related-section .section-copy > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.68);
  max-width: 760px;
}

.post-related-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: min(1280px, calc(100vw - 72px));
}

.post-related-grid.public-grid-count-1 {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.post-related-grid.public-grid-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: min(880px, calc(100vw - 72px));
}

.post-related-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 100%;
  padding: 18px;
}

.post-related-card .public-blog-card-meta {
  color: rgba(226, 232, 240, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
}

.faq-item h2 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 8px;
}

@media (max-width: 989px), (height >= width) {
  .public-header {
    grid-template-columns: auto auto;
    padding: 12px 18px;
  }

  .public-nav-button {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    padding: 10px;
  }

  .public-nav-button span {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 24px;
  }

  .public-nav,
  .public-header-actions {
    background: rgba(5, 8, 14, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 12px 0;
  }

  .public-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .public-nav a,
  .public-header-actions a {
    padding: 10px 0;
  }

  .public-nav-toggle:checked ~ .public-nav,
  .public-nav-toggle:checked ~ .public-header-actions {
    display: flex;
  }

  .public-hero {
    min-height: auto;
    padding: 104px 18px 28px;
  }

  .public-hero::after {
    background: linear-gradient(180deg, rgba(5, 7, 12, 0.9), rgba(5, 7, 12, 0.7));
  }

  .public-hero-copy h1,
  .post-hero h1 {
    font-size: 40px;
  }

  .post-detail {
    max-width: none;
    padding: 34px 18px 48px;
  }

  .post-hero,
  .post-article-shell,
  .post-related-grid,
  .post-related-grid.public-grid-count-1,
  .post-related-grid.public-grid-count-2 {
    grid-template-columns: 1fr;
  }

  .post-hero {
    gap: 26px;
    margin-bottom: 34px;
    text-align: left;
  }

  .post-detail-page .post-hero h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.08;
    max-width: 100%;
  }

  .post-meta-row,
  .post-tag-list {
    justify-content: flex-start;
  }

  .post-hero-summary {
    font-size: 17px;
    line-height: 1.58;
  }

  .post-hero-media {
    border-radius: 16px;
    padding: 9px;
  }

  .post-hero-media::after {
    inset: 9px;
  }

  .post-author-card {
    align-items: center;
    border-radius: 14px;
    display: flex;
  }

  .post-rich-content {
    border-radius: 16px;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 24px 18px;
    width: 100%;
  }

  .post-rich-content h2 {
    font-size: 28px;
  }

  .post-rich-content :where(p, h2, h3, h4, h5, h6, blockquote, ul, ol, li, figure) {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .post-rich-content img {
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .post-rich-content .tableWrapper,
  .rich-content .tableWrapper,
  .blog-jd-rich .tableWrapper,
  .ebook-jd-rich .tableWrapper {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    cursor: default !important;
    margin: 16px 0 !important;
    padding-bottom: 0 !important;
  }

  .post-rich-content .tableWrapper.is-dragging-table {
    cursor: default !important;
  }

  .post-rich-content table,
  .rich-content table,
  .blog-jd-rich table,
  .ebook-jd-rich table,
  .tableWrapper table,
  table.rich-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    margin: 0 !important;
  }

  .post-rich-content th,
  .post-rich-content td,
  .rich-content th,
  .rich-content td,
  .blog-jd-rich th,
  .blog-jd-rich td,
  .ebook-jd-rich th,
  .ebook-jd-rich td {
    padding: 7px 5px !important;
    font-size: 12.5px !important;
    line-height: 1.38 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    text-justify: auto !important;
    hyphens: manual !important;
    word-break: break-word !important;
  }

  .post-rich-content .tableWrapper::-webkit-scrollbar,
  .rich-content .tableWrapper::-webkit-scrollbar,
  .blog-jd-rich .tableWrapper::-webkit-scrollbar,
  .ebook-jd-rich .tableWrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }

  .ebook-preview-head {
    align-items: flex-start;
    flex-direction: column;
    max-width: calc(100vw - 36px);
  }

  .ebook-preview-actions,
  .ebook-preview-actions .button,
  .ebook-download-form,
  .ebook-download-form .button {
    width: 100%;
  }

  .ebook-preview-actions .button,
  .ebook-download-form .button {
    justify-content: center;
  }

  .ebook-download-form {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .ebook-preview-frame {
    border-radius: 12px;
    max-width: calc(100svw - 24px);
    overflow: hidden;
    padding: 10px;
    width: calc(100svw - 24px);
  }

  .ebook-slide-stage {
    min-height: 220px;
  }

  .ebook-slide-controls {
    grid-template-columns: 56px minmax(76px, auto) 56px;
  }

  .ebook-slide-button {
    height: 52px;
    width: 52px;
  }

  @media (orientation: landscape) {
    .ebook-slide-viewer {
      align-items: center;
      grid-template-columns: minmax(0, 1fr) 56px;
    }

    .ebook-slide-stage {
      min-height: 180px;
    }

    .ebook-slide-controls {
      align-self: stretch;
      justify-items: center;
      grid-template-columns: 1fr;
      grid-template-rows: 52px auto 52px;
    }

    .ebook-slide-count {
      align-self: center;
      justify-self: center;
    }
  }

  .post-related-section .section-copy,
  .post-related-grid,
  .post-related-grid.public-grid-count-2 {
    max-width: none;
  }

  .public-highlights,
  .public-grid,
  .public-contact-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .public-contact-form {
    grid-template-columns: 1fr;
  }

  .public-section {
    padding: 54px 18px;
  }

  .section-copy h2 {
    font-size: 28px;
  }

  .post-main {
    padding-top: 74px;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-nav {
    gap: 12px;
  }

  .public-hero-copy h1,
  .post-hero h1 {
    font-size: 48px;
  }

  .post-detail {
    max-width: min(1160px, calc(100vw - 48px));
  }

  .post-hero {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr);
  }

  .post-detail-page .post-hero h1 {
    font-size: clamp(38px, 3.4vw, 44px);
  }

  .post-hero-media {
    max-width: min(820px, 100%);
  }

  .post-article-shell {
    grid-template-columns: minmax(0, 900px);
  }
}

/* Public legacy PressUp frontend port */
.public-main {
  background: #040508;
  color: #fff;
  overflow-x: clip;
}

.public-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
}

.public-brand-mark {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  padding: 0 14px;
}

.public-nav-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
}

.public-header.is-open .public-nav-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.public-header.is-open .public-nav-button span:nth-child(2) {
  opacity: 0;
}

.public-header.is-open .public-nav-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.public-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  line-height: 1;
}

.public-cta.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.public-hero {
  min-height: 100svh;
  padding-top: 122px;
}

.public-hero-home .public-hero-copy h1 {
  font-size: clamp(48px, 7vw, 118px);
  font-weight: 900;
  max-width: 1180px;
  text-transform: uppercase;
}

.public-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.94), rgba(4, 5, 8, 0.62) 52%, rgba(4, 5, 8, 0.2)),
    linear-gradient(180deg, rgba(4, 5, 8, 0.28), rgba(4, 5, 8, 0.86));
}

.public-hero-media video,
.public-hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-section {
  position: relative;
}

.public-section-shell {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin: 0 auto;
  max-width: 1320px;
}

.public-section:nth-of-type(odd) .public-section-shell {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.public-section:nth-of-type(odd) .public-section-media {
  order: -1;
}

.public-section-media {
  margin: 0;
  min-width: 0;
}

.public-section-media img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.section-copy h2 {
  max-width: 860px;
}

.public-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
}

.public-latest .public-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  margin-left: auto;
  margin-right: auto;
  max-width: 1480px;
  width: 100%;
}

.public-latest .public-grid-count-1 {
  grid-template-columns: minmax(0, min(100%, 520px));
  justify-content: center;
}

.public-latest .public-grid-count-2 {
  grid-template-columns: repeat(2, minmax(0, min(100%, 520px)));
  justify-content: center;
  max-width: 1060px;
}

.public-latest .section-copy {
  max-width: 960px;
}

.public-latest .section-copy .eyebrow {
  color: #fca5a5;
  letter-spacing: 0.08em;
}

.public-latest .section-copy h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
}

.siteforge-mobile-loadmore {
  display: none;
  justify-content: center;
  margin-top: 24px;
}

.siteforge-mobile-loadmore .button {
  background: #C1282D;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(193, 40, 45, 0.28);
  color: #fff;
  min-height: 44px;
  padding: 0 22px;
}

.siteforge-mobile-loadmore .button:hover,
.siteforge-mobile-loadmore .button:focus-visible {
  background: #fff;
  color: #C1282D;
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-latest .public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
  }

  .public-latest .public-grid-count-1 {
    grid-template-columns: minmax(0, min(100%, 520px));
    max-width: 520px;
  }
}

@media (max-width: 989px), (height >= width) {
  .public-latest .public-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  .public-latest[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .public-latest-siteforge [data-siteforge-extra-card]:not(.is-siteforge-card-visible) {
    display: none;
  }

  .public-latest-siteforge.is-loadmore-ready .siteforge-mobile-loadmore {
    display: flex;
  }
}

.public-card {
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.public-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(225, 29, 72, 0.44);
  transform: translateY(-2px);
}

.public-card-meta {
  color: #fda4af;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-contact {
  background: #f8fafc;
  color: #111827;
}

#presso-form.public-presso-quote {
  background:
    radial-gradient(circle at 14% 24%, rgba(220, 38, 38, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.16), transparent 30%),
    linear-gradient(135deg, #05070d 0%, #080b13 52%, #12070a 100%);
  color: #fff;
}

.public-partners {
  background:
    radial-gradient(circle at 18% 18%, rgba(220, 38, 38, 0.18), transparent 26%),
    radial-gradient(circle at 82% 28%, rgba(34, 211, 238, 0.14), transparent 28%),
    linear-gradient(135deg, #05070d 0%, #080b13 54%, #11070a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-partners::before,
.public-partners::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.public-partners::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(125, 211, 252, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(254, 202, 202, 0.72) 0 1px, transparent 1.4px);
  background-position: 16px 22px, 92px 74px, 190px 38px;
  background-size: 210px 160px, 330px 230px, 460px 310px;
  opacity: 0.22;
}

.public-partners::after {
  background: linear-gradient(180deg, rgba(5, 7, 13, 0), rgba(5, 7, 13, 0.5));
}

.public-partner-stage {
  align-items: center;
  display: grid;
  gap: clamp(24px, 3.4vw, 58px);
  grid-template-columns: minmax(124px, 170px) minmax(620px, 1fr) minmax(124px, 170px);
  margin: 0 auto;
  max-width: min(1560px, calc(100vw - 120px));
  position: relative;
  width: 100%;
  z-index: 2;
}

.public-partner-lightbox {
  --partner-light-alpha: 0;
  --partner-light-band: 34%;
  --partner-light-half: 17%;
  --partner-light-text-band: 8%;
  --partner-light-y: 118%;
  align-items: center;
  animation: partnerLightTravel 4.8s linear infinite;
  align-self: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(6, 14, 25, 0.96), rgba(14, 11, 18, 0.92) 46%, rgba(18, 7, 12, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 80px rgba(34, 211, 238, 0.08),
    inset 0 -54px 92px rgba(220, 38, 38, 0.18),
    0 0 52px rgba(34, 211, 238, 0.16),
    0 0 64px rgba(220, 38, 38, 0.12),
    0 24px 54px rgba(0, 0, 0, 0.28);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: clamp(250px, 34vh, 360px);
  overflow: hidden;
  padding: 30px 18px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

.public-partner-lightbox::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.58) 0 8%, rgba(255, 232, 138, 0.44) 18%, rgba(255, 190, 70, 0.24) 36%, transparent 66%);
  box-shadow:
    0 -18px 52px rgba(255, 232, 138, 0.18),
    0 -24px 66px rgba(255, 181, 71, 0.16);
  content: "";
  filter: blur(10px);
  height: 48%;
  left: -12%;
  opacity: 0.74;
  position: absolute;
  bottom: -28%;
  width: 124%;
}

.public-partner-lightbox::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 5%, rgba(255, 243, 176, 0.86) 8% 13%, rgba(255, 217, 102, 0.28) 24%, rgba(162, 102, 34, 0.08) 36%, transparent 48%),
    radial-gradient(ellipse at 50% 7%, rgba(255, 255, 255, 0.74) 0 7%, rgba(255, 226, 132, 0.28) 23%, transparent 54%);
  box-shadow:
    0 -2px 20px rgba(255, 255, 255, 0.38),
    0 4px 18px rgba(255, 215, 112, 0.14);
  content: "";
  filter: blur(3.2px);
  height: var(--partner-light-band);
  left: -14%;
  mask-image: linear-gradient(180deg, #000 0 14%, rgba(0, 0, 0, 0.72) 24%, rgba(0, 0, 0, 0.18) 38%, transparent 54%);
  opacity: var(--partner-light-alpha);
  position: absolute;
  top: calc(var(--partner-light-y) - var(--partner-light-half));
  transform: perspective(320px) rotateX(18deg) scaleX(0.86);
  transform-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 0 14%, rgba(0, 0, 0, 0.72) 24%, rgba(0, 0, 0, 0.18) 38%, transparent 54%);
  width: 128%;
}

.public-partner-lightbox strong {
  color: inherit;
  font-size: clamp(19px, 1.38vw, 23px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  max-width: 100%;
  position: relative;
  text-shadow: inherit;
  white-space: nowrap;
}

.public-partner-lightbox-copy {
  align-items: center;
  color: #ff263f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  position: relative;
  text-shadow: 0 0 16px rgba(255, 38, 63, 0.28);
  z-index: 2;
}

.public-partner-lightbox-copy-lit {
  clip-path: inset(calc(var(--partner-light-y) - var(--partner-light-half)) 0 calc(100% - var(--partner-light-y) + var(--partner-light-half) - var(--partner-light-text-band)) 0);
  color: #fff;
  inset: 0;
  opacity: var(--partner-light-alpha);
  padding: inherit;
  position: absolute;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.42);
}

.public-partner-lightbox-right {
  animation-delay: 0.95s;
}

@property --partner-wheel-turn {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}

@property --partner-core-turn {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}

@property --partner-core-scale {
  inherits: false;
  initial-value: 1;
  syntax: "<number>";
}

@property --partner-light-y {
  inherits: true;
  initial-value: 118%;
  syntax: "<percentage>";
}

@property --partner-light-alpha {
  inherits: true;
  initial-value: 0;
  syntax: "<number>";
}

.public-partner-galaxy {
  --partner-count: 14;
  --partner-logo-size: clamp(46px, calc(160px - (var(--partner-count) * 4px)), 104px);
  --orbit-radius: clamp(305px, 21vw, 360px);
  height: clamp(690px, 76vh, 780px);
  margin: 0 auto;
  max-width: min(980px, 100%);
  min-height: 620px;
  perspective: 1100px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.public-partner-galaxy::before,
.public-partner-galaxy::after {
  border-radius: 999px;
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.public-partner-galaxy::before {
  display: none;
}

.public-partner-galaxy::after {
  display: none;
}

.public-partner-path {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(125, 211, 252, 0.88) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(248, 113, 113, 0.9) 0 2px, transparent 2.5px);
  background-position: 18% 38%, 50% 14%, 82% 62%;
  background-size: 260px 180px, 320px 220px, 380px 260px;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
}

.public-partner-path::before,
.public-partner-path::after {
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.38), rgba(248, 113, 113, 0.34), transparent);
  content: "";
  height: 1px;
  left: 8%;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  transform: rotate(-18deg);
  width: 84%;
}

.public-partner-path::after {
  opacity: 0.48;
  transform: rotate(18deg);
}

.public-partner-frame {
  animation: partnerFerrisFrame 64s linear infinite;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(226, 232, 240, 0.24) 30.6% 31.4%, rgba(51, 65, 85, 0.48) 31.8% 33%, transparent 33.5% 92%, rgba(248, 250, 252, 0.46) 92.4% 93.2%, rgba(51, 65, 85, 0.44) 93.5% 94.8%, transparent 95.2%);
  border-radius: 999px;
  filter: drop-shadow(0 0 20px rgba(125, 211, 252, 0.14)) drop-shadow(0 22px 38px rgba(0, 0, 0, 0.28));
  height: calc(var(--orbit-radius) * 2);
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--orbit-radius) * 2);
  z-index: 2;
}

.public-partner-frame::before,
.public-partner-frame::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.public-partner-frame::before {
  background:
    radial-gradient(circle, transparent 0 95%, rgba(255, 255, 255, 0.48) 95.3% 96%, rgba(71, 85, 105, 0.5) 96.4% 97.4%, transparent 97.8%);
}

.public-partner-frame::after {
  background: radial-gradient(circle, rgba(226, 232, 240, 0.9) 0 5%, rgba(100, 116, 139, 0.75) 5.6% 8%, transparent 8.6%);
}

.public-partner-pulse {
  animation: partnerShockwave 2s cubic-bezier(0.16, 0.84, 0.34, 1) infinite;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 999px;
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.28),
    0 0 48px rgba(248, 113, 113, 0.1),
    inset 0 0 22px rgba(248, 113, 113, 0.14);
  height: calc(var(--orbit-radius) * 2.08);
  left: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.18);
  width: calc(var(--orbit-radius) * 2.08);
  z-index: 1;
}

.public-partner-pulse::before {
  background:
    radial-gradient(circle, transparent 0 54%, rgba(34, 211, 238, 0.2) 54.4% 55%, transparent 55.8%),
    radial-gradient(circle, transparent 0 66%, rgba(248, 113, 113, 0.2) 66.4% 67%, transparent 67.8%),
    radial-gradient(circle, transparent 0 92%, rgba(226, 232, 240, 0.32) 92.4% 93%, transparent 93.8%);
  border-radius: inherit;
  content: "";
  inset: -1px;
  position: absolute;
}

.public-partner-pulse-two {
  animation-delay: 0.66s;
  border-color: rgba(248, 113, 113, 0.28);
}

.public-partner-pulse-three {
  animation-delay: 1.33s;
  opacity: 0.72;
}

.public-partner-spokes {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.public-partner-spoke {
  --orbit-angle: 0deg;
  animation: partnerFerrisOrbit 64s linear infinite;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(248, 250, 252, 0.54) 16%, rgba(100, 116, 139, 0.5) 72%, rgba(248, 250, 252, 0.58));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.28), 0 1px 0 rgba(255, 255, 255, 0.24);
  height: 2px;
  left: 50%;
  opacity: 0.58;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(calc(var(--orbit-angle) + var(--partner-wheel-turn))) translateX(74px);
  transform-origin: 0 50%;
  width: calc(var(--orbit-radius) - 136px);
}

.public-partner-spoke::after {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.3), rgba(255, 255, 255, 0.7), rgba(15, 23, 42, 0.24));
  border-radius: inherit;
  content: "";
  inset: 1px 0;
  position: absolute;
}

.public-partner-spoke::before {
  background: radial-gradient(circle, rgba(248, 250, 252, 0.82), rgba(100, 116, 139, 0.72) 58%, transparent 62%);
  border-radius: 999px;
  content: "";
  height: 10px;
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.public-partner-core {
  --partner-core-scale: 1;
  --partner-core-turn: 0deg;
  align-items: center;
  animation:
    partnerCoreCounterSpin 26s linear infinite,
    partnerCoreHeartbeat 2s ease-in-out infinite;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), transparent 25%),
    radial-gradient(circle at 34% 32%, rgba(34, 211, 238, 0.74), transparent 46%),
    radial-gradient(circle at 74% 70%, rgba(220, 38, 38, 0.7), transparent 48%),
    linear-gradient(145deg, rgba(248, 250, 252, 0.92), rgba(148, 163, 184, 0.72) 42%, rgba(15, 23, 42, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(34, 211, 238, 0.28),
    0 0 76px rgba(220, 38, 38, 0.2),
    inset 0 13px 24px rgba(255, 255, 255, 0.86),
    inset -18px -22px 34px rgba(15, 23, 42, 0.22),
    inset 18px 20px 34px rgba(255, 255, 255, 0.16);
  display: inline-flex;
  height: 154px;
  justify-content: center;
  left: 50%;
  overflow: hidden;
  padding: 24px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--partner-core-turn)) scale(var(--partner-core-scale));
  transform-style: preserve-3d;
  width: 154px;
  z-index: 5;
}

.public-partner-core::before {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.74), transparent 24%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(220, 38, 38, 0.22));
  border-radius: inherit;
  content: "";
  inset: 8px;
  position: absolute;
}

.public-partner-core img {
  animation: partnerLogoHeartbeatColor 2s ease-in-out infinite;
  filter: grayscale(1) saturate(0.18) contrast(0.9) opacity(0.82);
  max-height: 84px;
  object-fit: contain;
  position: relative;
  transform: translateZ(34px);
  transition: filter 180ms ease;
  width: 100%;
}

.public-partner-nodes {
  inset: 0;
  position: absolute;
  transform-style: preserve-3d;
}

.public-partner-logo {
  --orbit-angle: 0deg;
  --orbit-angle-reverse: 0deg;
  --partner-light-delay: 0s;
  align-items: center;
  animation:
    partnerFerrisOrbit 64s linear infinite,
    partnerLogoShellHeartbeat 2s ease-in-out infinite;
  animation-delay:
    0s,
    0s;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 2px 8px rgba(255, 255, 255, 0.18),
    inset 0 -12px 22px rgba(15, 23, 42, 0.06);
  color: #111827;
  display: inline-flex;
  font-weight: 850;
  height: var(--partner-logo-size);
  justify-content: center;
  left: 50%;
  padding: clamp(10px, 1.2vw, 20px);
  position: absolute;
  text-align: center;
  text-decoration: none;
  top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--orbit-angle) + var(--partner-wheel-turn)))
    translateX(var(--orbit-radius))
    rotate(calc(var(--orbit-angle-reverse) - var(--partner-wheel-turn)));
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  width: var(--partner-logo-size);
  z-index: 4;
}

.public-partner-logo::before {
  background: radial-gradient(circle, rgba(248, 113, 113, 0.95), rgba(34, 211, 238, 0.54) 46%, transparent 68%);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.42);
  content: "";
  height: 11px;
  left: 50%;
  opacity: 0.95;
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
  width: 11px;
}

.public-partner-logo::after {
  animation: partnerLogoHeartbeatGlow 2s ease-in-out infinite;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.82) 0 16%, rgba(34, 211, 238, 0.28) 32%, rgba(248, 113, 113, 0.24) 48%, transparent 70%);
  border-radius: inherit;
  clip-path: circle(49% at 50% 50%);
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.82);
  transform-origin: 50% 50%;
  z-index: 1;
}

.public-partner-logo:hover,
.public-partner-logo:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 28px 66px rgba(0, 0, 0, 0.38),
    inset 0 10px 24px rgba(255, 255, 255, 0.86),
    inset 0 -18px 28px rgba(15, 23, 42, 0.14),
    0 0 38px rgba(34, 211, 238, 0.24);
  filter: saturate(1.08);
  outline: none;
}

.public-partner-logo img {
  animation: partnerLogoHeartbeatColor 2s ease-in-out infinite;
  filter: grayscale(1) saturate(0.24) contrast(0.94) opacity(0.72);
  max-height: clamp(24px, calc(var(--partner-logo-size) - 34px), 50px);
  object-fit: contain;
  position: relative;
  transition: filter 180ms ease;
  width: 100%;
  z-index: 2;
}

@keyframes partnerLightTravel {
  0%,
  100% {
    --partner-light-alpha: 0;
    --partner-light-y: 118%;
  }

  12% {
    --partner-light-alpha: 0.84;
    --partner-light-y: 86%;
  }

  42% {
    --partner-light-alpha: 0.84;
    --partner-light-y: 50%;
  }

  68% {
    --partner-light-alpha: 0.74;
    --partner-light-y: 20%;
  }

  84% {
    --partner-light-alpha: 0;
    --partner-light-y: -18%;
  }

  99% {
    --partner-light-alpha: 0;
    --partner-light-y: 118%;
  }
}

@keyframes partnerLogoHeartbeatGlow {
  0%,
  100% {
    opacity: 0;
  }

  12% {
    opacity: 0.52;
    transform: scale(1.05);
  }

  26% {
    opacity: 0.16;
    transform: scale(0.92);
  }

  42% {
    opacity: 0.36;
    transform: scale(1);
  }
}

@keyframes partnerLogoHeartbeatColor {
  0%,
  100% {
    filter: grayscale(1) saturate(0.24) contrast(0.94) opacity(0.72);
  }

  12% {
    filter: grayscale(0) saturate(1.18) contrast(1.04) opacity(1);
  }

  26% {
    filter: grayscale(1) saturate(0.18) contrast(0.9) opacity(0.68);
  }

  42% {
    filter: grayscale(0) saturate(1.08) contrast(1.02) opacity(0.96);
  }

  62% {
    filter: grayscale(1) saturate(0.24) contrast(0.94) opacity(0.72);
  }
}

@keyframes partnerLogoShellHeartbeat {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.86);
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.24),
      0 2px 8px rgba(255, 255, 255, 0.18),
      inset 0 -12px 22px rgba(15, 23, 42, 0.06);
  }

  12% {
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 26px 54px rgba(0, 0, 0, 0.34),
      0 0 26px rgba(34, 211, 238, 0.28),
      0 0 22px rgba(248, 113, 113, 0.18),
      inset 0 12px 28px rgba(255, 255, 255, 0.88),
      inset 0 -14px 22px rgba(15, 23, 42, 0.08);
  }

  26% {
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.22),
      0 2px 8px rgba(255, 255, 255, 0.16),
      inset 0 -12px 22px rgba(15, 23, 42, 0.06);
  }

  42% {
    border-color: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 22px 46px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(34, 211, 238, 0.2),
      0 0 18px rgba(248, 113, 113, 0.14),
      inset 0 10px 24px rgba(255, 255, 255, 0.82),
      inset 0 -14px 24px rgba(15, 23, 42, 0.08);
  }
}

@keyframes partnerFerrisOrbit {
  to {
    --partner-wheel-turn: 360deg;
  }
}

@keyframes partnerFerrisFrame {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes partnerCoreCounterSpin {
  100% {
    --partner-core-turn: -360deg;
  }
}

@keyframes partnerCoreHeartbeat {
  0%,
  100% {
    --partner-core-scale: 1;
    box-shadow:
      0 34px 78px rgba(0, 0, 0, 0.42),
      0 0 70px rgba(34, 211, 238, 0.28),
      0 0 76px rgba(220, 38, 38, 0.2),
      inset 0 13px 24px rgba(255, 255, 255, 0.86),
      inset -18px -22px 34px rgba(15, 23, 42, 0.22),
      inset 18px 20px 34px rgba(255, 255, 255, 0.16);
  }

  12% {
    --partner-core-scale: 1.055;
    box-shadow:
      0 40px 88px rgba(0, 0, 0, 0.46),
      0 0 94px rgba(34, 211, 238, 0.44),
      0 0 96px rgba(220, 38, 38, 0.32),
      inset 0 14px 26px rgba(255, 255, 255, 0.9),
      inset -18px -22px 34px rgba(15, 23, 42, 0.2),
      inset 18px 20px 34px rgba(255, 255, 255, 0.2);
  }

  26% {
    --partner-core-scale: 0.985;
  }

  42% {
    --partner-core-scale: 1.032;
  }

  62% {
    --partner-core-scale: 1;
  }
}

@keyframes partnerShockwave {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18);
  }

  12% {
    opacity: 0.7;
  }

  72% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-partner-lightbox,
  .public-partner-lightbox::before,
  .public-partner-lightbox::after,
  .public-partner-core,
  .public-partner-core img,
  .public-partner-frame,
  .public-partner-pulse,
  .public-home-contact-form::after,
  .public-home-contact-glow span,
  .public-partner-logo::after,
  .public-partner-logo img,
  .public-partner-spoke,
  .public-partner-logo {
    animation: none;
  }

  .public-partner-pulse {
    display: none;
  }

  .public-home-contact-form::after,
  .public-home-contact-glow {
    display: none;
  }

  .public-partner-lightbox-copy-lit {
    display: none;
  }

  .public-partner-logo img {
    filter: none;
  }

  .public-partner-core img {
    filter: none;
  }
}

.public-section-dots {
  display: block;
  left: auto;
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  z-index: 50;
}

.public-section-dots::before {
  background: rgba(255, 255, 255, 0.92);
  bottom: 19.5px;
  content: "";
  position: absolute;
  right: 6px;
  top: 19.5px;
  width: 1px;
}

.public-section-dots.is-special {
  z-index: 1700;
}

.public-timeline-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 39px;
  justify-content: center;
  position: relative;
}

.public-timeline-item::before {
  display: none;
}

.public-section-dots button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 14px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 14px;
  z-index: 1;
}

.public-timeline-node {
  background: #fff;
  border-radius: 999px;
  display: block;
  height: 6px;
  transition: height 180ms ease, opacity 180ms ease, transform 180ms ease, width 180ms ease;
  width: 6px;
}

.public-timeline-line {
  display: none;
}

.public-section-dots button span {
  pointer-events: none;
}

.public-timeline-label {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-open-sans), sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  position: absolute;
  right: 20px;
  text-transform: none;
  transform: translateX(10px);
  transition: opacity 260ms ease, transform 260ms ease;
  white-space: nowrap;
}

.public-section-dots button.is-active .public-timeline-node {
  height: 10px;
  transform: scale(1.3);
  width: 10px;
}

.public-section-dots button.is-active + .public-timeline-line {
  height: 30px;
  margin-top: -1px;
}

.public-section-dots button.is-active .public-timeline-label,
.public-section-dots button:hover .public-timeline-label {
  opacity: 1;
  transform: translateX(0);
}

.public-section-dots button:not(.is-active) .public-timeline-node {
  opacity: 0.82;
}

.public-section-dots button:hover .public-timeline-node {
  transform: scale(1.18);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.public-request-dialog {
  background: #0b1018;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  color: #fff;
  max-width: min(980px, calc(100vw - 28px));
  overflow: hidden;
  padding: 0;
  width: 980px;
}

.public-request-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.public-request-dialog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.82fr 1.18fr;
  padding: clamp(22px, 4vw, 38px);
}

.public-request-copy h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 14px;
}

.public-request-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.public-request-dialog .public-contact-form {
  align-content: start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  gap: 12px;
  padding: 20px;
}

.public-request-form-head {
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.12), rgba(31, 161, 179, 0.1)),
    #fff;
  border: 1px solid rgba(193, 40, 45, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.public-request-form-head span {
  color: #C1282D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-request-form-head strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
}

.public-request-dialog .public-contact-form label > span {
  color: #475569;
}

.public-request-dialog .public-contact-form input,
.public-request-dialog .public-contact-form select,
.public-request-dialog .public-contact-form textarea {
  background: #f8fafc;
  border-color: #d7dee8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.public-request-dialog .public-contact-form input:focus,
.public-request-dialog .public-contact-form select:focus,
.public-request-dialog .public-contact-form textarea:focus {
  border-color: rgba(193, 40, 45, 0.68);
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.13);
  outline: none;
}

.public-dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.public-dialog-close button {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.public-back-top {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  width: 52px;
}

.public-back-top.is-visible {
  display: inline-flex;
}

.public-back-top svg {
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.38));
  height: 32px;
  transition: transform 180ms ease;
  width: 32px;
}

.public-back-top:hover svg {
  transform: translateY(-5px);
}

.public-footer {
  grid-template-columns: minmax(240px, 1.1fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(260px, 1fr);
}

.public-footer strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-footer-brand img {
  display: block;
  height: 72px;
  object-fit: contain;
  width: 72px;
}

.public-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 18px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  list-style: none;
  padding: 20px 22px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
}

.public-faq-section {
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.12), transparent 32%),
    linear-gradient(225deg, rgba(34, 211, 238, 0.08), transparent 34%),
    #05080e;
}

.public-faq-shell {
  display: grid;
  gap: 44px;
  margin: 0 auto;
  max-width: 1220px;
  width: min(100%, calc(100vw - 96px));
}

.public-faq-intro {
  max-width: 760px;
}

.public-faq-intro h2,
.public-faq-empty h2,
.public-faq-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
}

.public-faq-intro p:not(.eyebrow),
.public-faq-empty p,
.public-faq-cta p {
  color: rgba(226, 232, 240, 0.78);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.public-faq-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.public-faq-aside {
  background: rgba(13, 18, 28, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  min-width: 0;
  padding: 18px;
  position: sticky;
  top: 104px;
}

.public-faq-aside-title {
  color: rgba(255, 255, 255, 0.56);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.public-faq-topic-select {
  display: none;
}

.public-faq-nav {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.public-faq-nav a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 13px 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.public-faq-nav a:hover,
.public-faq-nav a:focus-visible {
  background: rgba(193, 40, 45, 0.18);
  border-color: rgba(255, 93, 98, 0.38);
  transform: translateY(-1px);
}

.public-faq-nav span {
  color: #ff6b72;
  font-size: 12px;
  font-weight: 900;
}

.public-faq-nav strong {
  font-size: 15px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.public-faq-groups {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.public-faq-group {
  background: linear-gradient(180deg, rgba(18, 24, 35, 0.96), rgba(8, 11, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 112px;
}

.public-faq-group-heading {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 24px 28px;
}

.public-faq-group-heading > span {
  align-items: center;
  background: rgba(193, 40, 45, 0.16);
  border: 1px solid rgba(255, 93, 98, 0.4);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.public-faq-group-heading .eyebrow {
  margin-bottom: 4px;
}

.public-faq-group-heading h3 {
  color: #fff;
  font-size: clamp(24px, 2.1vw, 34px);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.public-faq-list {
  display: grid;
}

.public-faq-item {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
}

.public-faq-item:last-child {
  border-bottom: 0;
}

.public-faq-item summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: grid;
  font-size: 20px;
  font-weight: 850;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  line-height: 1.35;
  list-style: none;
  padding: 24px 28px;
}

.public-faq-item summary > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.public-faq-item summary::-webkit-details-marker {
  display: none;
}

.public-faq-question-icon {
  align-items: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  color: #67e8f9;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.public-faq-toggle {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 30px;
  position: relative;
  width: 30px;
}

.public-faq-toggle::before,
.public-faq-toggle::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 8px;
  position: absolute;
  top: 13px;
  transition: transform 0.2s ease;
  width: 12px;
}

.public-faq-toggle::after {
  transform: rotate(90deg);
}

.public-faq-item[open] .public-faq-toggle {
  background: rgba(193, 40, 45, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.public-faq-item[open] .public-faq-toggle::after {
  transform: rotate(0);
}

.public-faq-answer {
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
  line-height: 1.75;
  padding: 0 28px 26px 76px;
}

.public-faq-answer p {
  margin: 0;
}

.public-faq-cta,
.public-faq-empty {
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.22), transparent 38%),
    rgba(13, 18, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.public-faq-cta {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 34px;
}

.public-faq-cta h2,
.public-faq-empty h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.public-faq-cta-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.public-faq-cta-actions .button {
  justify-content: center;
  width: 100%;
}

.public-faq-empty {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 36px;
}

@media (max-width: 989px), (height >= width) {
  body.public-menu-lock {
    overflow: hidden;
  }

  main.public-faq-page .public-hero-faqs {
    min-height: auto;
    padding-bottom: 72px;
    padding-top: 112px;
  }

  main.public-faq-page .public-hero-faqs .public-hero-copy {
    justify-content: center;
    min-height: min(390px, calc(100svh - 138px));
  }

  main.public-faq-page .public-hero-faqs .public-hero-copy h1 {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.08;
  }

  main.public-faq-page .public-hero-faqs .public-hero-copy > p {
    font-size: 15px;
    line-height: 1.6;
  }

  .public-faq-shell {
    gap: 28px;
    width: min(100%, calc(100vw - 32px));
  }

  .public-faq-intro h2,
  .public-faq-empty h2,
  .public-faq-cta h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.08;
  }

  .public-faq-intro p:not(.eyebrow),
  .public-faq-empty p,
  .public-faq-cta p {
    font-size: 15px;
    line-height: 1.68;
  }

  .public-faq-layout {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .public-faq-aside {
    border-radius: 16px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    position: static;
  }

  .public-faq-topic-select {
    display: grid;
    gap: 8px;
  }

  .public-faq-topic-select span {
    color: rgba(226, 232, 240, 0.68);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .public-faq-topic-select select {
    appearance: none;
    background:
      linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.9) 50%) calc(100% - 22px) 50% / 7px 7px no-repeat,
      linear-gradient(135deg, rgba(193, 40, 45, 0.24), rgba(255, 255, 255, 0.05)),
      rgba(7, 10, 16, 0.92);
    border: 1px solid rgba(255, 93, 98, 0.38);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 850;
    min-height: 52px;
    outline: none;
    padding: 0 44px 0 14px;
    width: 100%;
  }

  .public-faq-topic-select select:focus {
    border-color: rgba(103, 232, 249, 0.72);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
  }

  .public-faq-nav {
    display: none;
  }

  .public-faq-groups {
    gap: 20px;
  }

  .public-faq-group {
    border-radius: 18px;
    scroll-margin-top: 88px;
  }

  .public-faq-group-heading {
    gap: 14px;
    padding: 20px;
  }

  .public-faq-group-heading > span {
    border-radius: 12px;
    height: 44px;
    width: 44px;
  }

  .public-faq-group-heading h3 {
    font-size: 24px;
  }

  .public-faq-item summary {
    font-size: 17px;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 18px;
  }

  .public-faq-question-icon {
    height: 28px;
    width: 28px;
  }

  .public-faq-toggle {
    height: 28px;
    width: 28px;
  }

  .public-faq-answer {
    font-size: 15px;
    line-height: 1.68;
    padding: 0 18px 20px 58px;
  }

  .public-faq-cta {
    border-radius: 20px;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .public-faq-cta-actions {
    min-width: 0;
    width: 100%;
  }

  .public-faq-empty {
    border-radius: 20px;
    padding: 24px;
  }

  .public-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-header.is-open .public-nav,
  .public-header.is-open .public-header-actions {
    display: flex;
  }

  .public-nav-toggle:checked ~ .public-nav,
  .public-nav-toggle:checked ~ .public-header-actions {
    display: none;
  }

  .public-nav,
  .public-header-actions {
    max-height: calc(100svh - 76px);
    overflow-y: auto;
  }

  .public-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-header-actions .public-cta,
  .public-header-actions .lang-link {
    text-align: left;
    width: 100%;
  }

  .public-hero {
    min-height: 100svh;
    padding: 104px 18px 30px;
  }

  .public-hero-home .public-hero-copy h1,
  .public-hero-copy h1,
  .post-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .public-section-shell,
  .public-section:nth-of-type(odd) .public-section-shell,
  .public-request-dialog-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .public-request-dialog {
    max-height: calc(100svh - 18px);
    max-width: calc(100vw - 18px);
    overflow-y: auto;
    width: min(440px, calc(100vw - 18px));
  }

  .public-request-dialog-grid {
    gap: 0;
    padding: 10px;
  }

  .public-request-copy {
    display: none;
  }

  .public-request-dialog .public-contact-form {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .public-request-form-head {
    gap: 2px;
    padding: 10px 48px 10px 12px;
  }

  .public-request-form-head span {
    font-size: 10px;
  }

  .public-request-form-head strong {
    font-size: 13px;
    line-height: 1.32;
  }

  .public-request-dialog .public-contact-form label {
    gap: 0;
  }

  .public-request-dialog .public-contact-form label > span {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .public-request-dialog .public-contact-form input,
  .public-request-dialog .public-contact-form select,
  .public-request-dialog .public-contact-form textarea {
    border-radius: 6px;
    font-size: 14px;
    min-height: 42px;
    padding: 10px 11px;
  }

  .public-request-dialog .public-contact-form textarea {
    min-height: 88px;
    resize: none;
  }

  .public-request-dialog .public-contact-form .span-2 {
    grid-column: auto;
  }

  .public-request-dialog .public-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
  }

  .public-request-dialog .public-form-actions .button {
    min-height: 42px;
    width: 100%;
  }

  .public-request-dialog .public-form-status {
    font-size: 12px;
    min-height: 16px;
  }

  .public-dialog-close {
    right: 14px;
    top: 14px;
  }

  .public-dialog-close button {
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
    color: #fff;
    height: 34px;
    width: 34px;
  }

  .public-section:nth-of-type(odd) .public-section-media {
    order: 0;
  }

  .public-section-dots {
    display: none;
  }

  .public-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    grid-column: auto;
    min-width: 0;
  }

  .public-footer > *,
  .public-footer nav,
  .public-footer-contact,
  .public-footer address,
  .public-newsletter-form {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-header {
    padding-left: 28px;
    padding-right: 28px;
  }

  .public-nav a {
    font-size: 13px;
  }

  .public-section-dots {
    left: 12px;
  }

  .public-hero {
    min-height: 680px;
  }
}

/* Homepage Modern Light Theme: clean layout, unlock scrolling, contrast typography */
html.homepage,
body.homepage {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.public-header-home {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: 0;
  min-height: 64px;
  padding: 14px clamp(16px, 3.15vw, 50px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

@media (min-width: 1580px) {
  .public-header,
  .public-header-home {
    padding-inline: calc((100vw - 1480px) / 2) !important;
  }
}

.public-header-home .public-brand {
  grid-column: 1;
  justify-self: start;
}

.public-header-home .public-brand img {
  height: clamp(44px, 3.2vw, 50px) !important;
  width: auto;
}

.public-header-home .public-nav-button {
  display: none;
}

.public-header-home .public-nav {
  align-items: center;
  background: transparent;
  border-bottom: none;
  display: flex;
  gap: clamp(26px, 2.3vw, 36px);
  grid-column: 2;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.public-header-home .public-header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.public-header .public-header-actions .public-cta,
.public-header-home .public-header-actions .public-cta {
  border: 2px solid #C1282D !important;
  box-sizing: border-box !important;
  padding: 8px 16px !important;
}

.public-header .public-header-actions .public-cta:hover,
.public-header .public-header-actions .public-cta:focus-visible,
.public-header-home .public-header-actions .public-cta:hover,
.public-header-home .public-header-actions .public-cta:focus-visible {
  background-color: #ffffff !important;
  border: 2px solid #C1282D !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
  color: #C1282D !important;
  transform: translateY(-1px);
}

.public-home.fullpage-scroll-container,
.public-home {
  background: #ffffff;
  color: #0f172a;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-type: none;
}

.public-home > .public-hero,
.public-home > .public-section {
  align-items: stretch;
  box-sizing: border-box;
  display: block;
  height: auto;
  justify-content: flex-start;
  min-height: auto;
  padding: 88px clamp(18px, 5vw, 84px);
  background: #ffffff;
  color: #0f172a;
}

.public-home > .public-section:nth-child(even) {
  background: #f8fafc;
}

.public-home > .public-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding-top: 132px;
  padding-bottom: 72px;
  text-align: left;
}

.public-home .public-hero::after {
  display: none;
}

.public-home .public-hero-media::after {
  display: none;
}

.public-home .public-hero-copy {
  margin: 0;
  max-width: 960px;
  text-align: left;
}

.public-home .public-hero-copy .eyebrow {
  color: #c1282d;
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.public-home .public-hero-home .public-hero-copy h1 {
  color: #0f172a;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 900px;
  text-align: left;
  white-space: normal;
}

.public-home .public-hero-copy > p {
  color: #475569;
  display: block;
  font-size: 19px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 780px;
}

.public-home .public-hero-copy .actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 24px;
}

.public-home .public-hero-copy .actions .button.secondary {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: inline-flex;
}

.public-home .public-highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  max-width: 920px;
}

.public-home .public-highlights div {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 16px 20px;
}

.public-home .public-highlights span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.public-home .public-highlights strong {
  color: #0f172a;
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.public-home .public-section-shell {
  margin: 0 auto;
  width: min(1320px, 100%);
}

.public-home .section-copy {
  max-width: 820px;
  text-align: left;
}

.public-home .section-copy h2 {
  color: #0f172a;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 10px 0 16px;
}

.public-home .section-copy > p:not(.eyebrow) {
  color: #475569;
  font-size: 17.5px;
  line-height: 1.75;
  margin-bottom: 24px;
  text-align: left;
}

.public-home .public-section-dots {
  display: none !important;
}

.legacy-service-features {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.legacy-service-features li {
  align-items: flex-start;
  color: #334155;
  display: flex;
  gap: 12px;
}

.legacy-service-features .legacy-feature-check,
.legacy-service-features li > span:first-child {
  align-items: center !important;
  background: transparent !important;
  border: 1.4px solid #C1282D !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  color: #C1282D !important;
  display: inline-flex !important;
  flex: 0 0 17px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  height: 17px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin-top: 3.5px !important;
  min-width: 17px !important;
  width: 17px !important;
}

.legacy-service-features .legacy-feature-check svg,
.legacy-service-features li > span:first-child svg {
  display: block !important;
  height: 8.5px !important;
  stroke: #C1282D !important;
  width: 8.5px !important;
}

.legacy-service-features strong {
  color: #0f172a;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.5;
}

.legacy-achievements {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: auto;
  min-height: 0;
  position: static;
  width: 100%;
}

.legacy-achievement-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 22px;
  position: static;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  width: 100%;
}

.legacy-achievement-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.legacy-achievement-card:nth-child(1),
.legacy-achievement-card:nth-child(2),
.legacy-achievement-card:nth-child(3),
.legacy-achievement-card:nth-child(4) {
  left: auto;
  top: auto;
}

.legacy-achievement-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.legacy-performance-header span,
.legacy-score-grid span,
.legacy-guide-card p,
.legacy-lab-panel span,
.legacy-presso-stack span {
  color: #c1282d;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legacy-achievement-card h3,
.legacy-guide-card h2,
.legacy-presso-stack h3 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0 0 8px;
}

.legacy-achievement-card p,
.legacy-guide-card span,
.legacy-presso-stack p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.legacy-performance-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
}

.legacy-performance-lab {
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.legacy-performance-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.legacy-performance-header h3 {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.16;
  margin: 6px 0 0;
}

.legacy-performance-header strong {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #c1282d;
  display: grid;
  font-size: 40px;
  font-weight: 850;
  padding: 12px 20px;
  text-align: right;
}

.legacy-performance-header small {
  color: #991b1b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.legacy-trend-chart {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  height: 176px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.legacy-trend-copy {
  align-items: flex-start;
  display: flex;
  inset: 14px 16px auto;
  justify-content: space-between;
  position: absolute;
  z-index: 3;
}

.legacy-trend-copy strong {
  color: #0f172a;
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.legacy-trend-copy em {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #059669;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 6px 12px;
}

.legacy-chart-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  inset: 74px 16px 30px;
  position: absolute;
}

.legacy-chart-grid span {
  border-top: 1px solid #e2e8f0;
}

.legacy-chart-bars {
  align-items: end;
  bottom: 30px;
  display: flex;
  gap: 12px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: 74px;
}

.legacy-chart-bars span {
  animation: legacyBarRise 900ms ease both, legacyBarFloat 2.6s ease-in-out infinite;
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  border-radius: 7px 7px 0 0;
  flex: 1 1 0;
  height: var(--v);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.16);
  transform-origin: bottom center;
  will-change: height, filter;
}

.legacy-chart-bars span:nth-child(2) { animation-delay: 90ms, 180ms; }
.legacy-chart-bars span:nth-child(3) { animation-delay: 150ms, 360ms; }
.legacy-chart-bars span:nth-child(4) { animation-delay: 220ms, 540ms; }
.legacy-chart-bars span:nth-child(5) { animation-delay: 280ms, 720ms; }
.legacy-chart-bars span:nth-child(6) { animation-delay: 340ms, 900ms; }
.legacy-chart-bars span:nth-child(7) { animation-delay: 400ms, 1080ms; }

.legacy-trend-line {
  display: none;
  inset: 74px 16px 30px;
  overflow: hidden;
  position: absolute;
  z-index: 2;
}

.legacy-trend-line path {
  fill: none;
  stroke: #cbd5e1;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.legacy-trend-line .is-live {
  animation: legacyLinePulse 2s ease-in-out infinite;
  stroke: #2563eb;
  stroke-width: 2.8;
}

.legacy-chart-days {
  bottom: 9px;
  color: #64748b;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  inset-inline: 16px;
  justify-content: space-between;
  position: absolute;
  text-transform: uppercase;
}

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

.legacy-metric-grid article {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.legacy-metric-grid strong {
  color: #0f172a;
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 10px;
}

.legacy-metric-grid em {
  color: #0284c7;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  margin-top: 6px;
}

.legacy-revenue-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.05fr 1.4fr;
}

.legacy-revenue-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.legacy-revenue-card strong {
  color: #c1282d;
  display: block;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.05;
  margin-top: 10px;
}

.legacy-revenue-card p {
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 12px 0 0;
}

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

.legacy-score-grid div {
  --score-rail: linear-gradient(90deg, #fb7185, #f43f5e);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  padding: 16px;
  position: relative;
}

.legacy-score-grid div::before {
  animation: legacyLedSweep 2.4s ease-in-out infinite;
  background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0) 82%, transparent 100%), var(--score-rail);
  background-position: -70% 0, 0 0;
  background-repeat: no-repeat;
  background-size: 46% 100%, 100% 100%;
  border-radius: 999px;
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.legacy-score-grid .from-emerald::before {
  --score-rail: linear-gradient(90deg, #10b981, #059669);
}

.legacy-score-grid .from-blue::before {
  --score-rail: linear-gradient(90deg, #0284c7, #2563eb);
}

.legacy-score-grid div:nth-child(2)::before { animation-delay: 220ms; }
.legacy-score-grid div:nth-child(3)::before { animation-delay: 440ms; }

.legacy-score-grid strong {
  color: #0f172a;
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.legacy-software-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
}

.legacy-offer-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.legacy-offer-panel::before {
  display: none;
}

.legacy-window-bar,
.legacy-offer-metrics,
.legacy-offer-steps,
.legacy-explorer-button,
.legacy-progress-rail {
  position: relative;
  z-index: 1;
}

.legacy-window-bar {
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  margin: -2px 0 18px;
  padding-bottom: 14px;
}

.legacy-window-bar span {
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.legacy-window-bar span:nth-child(1) { background: #f87171; }
.legacy-window-bar span:nth-child(2) { background: #fbbf24; }
.legacy-window-bar span:nth-child(3) { background: #34d399; }

.legacy-window-bar strong {
  color: #64748b;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-left: auto;
  text-transform: uppercase;
}

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

.legacy-offer-metrics article {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-width: 0;
  padding: 16px;
}

.legacy-offer-metrics i {
  background: linear-gradient(90deg, #fbbf24, #f43f5e);
  border-radius: 999px;
  display: block;
  height: 5px;
  margin-bottom: 14px;
}

.legacy-offer-metrics strong {
  color: #0f172a;
  display: block;
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.legacy-offer-metrics span {
  color: #64748b;
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin-top: 8px;
  text-transform: uppercase;
}

.legacy-offer-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legacy-offer-steps article {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px;
}

.legacy-offer-steps strong {
  align-items: center;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.legacy-offer-steps span {
  color: #334155;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.legacy-explorer-button {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  transition: background-color 150ms ease;
}

.legacy-explorer-button:hover {
  background: #e2e8f0;
}

.legacy-explorer-button svg {
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.legacy-progress-rail {
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  height: 46px;
  margin-top: 18px;
  padding: 0 14px;
}

.legacy-progress-rail span {
  animation: legacyProgress 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, #fbbf24, #ef4444);
  border-radius: 999px;
  height: 7px;
  width: 18%;
}

.legacy-explorer-dialog {
  background: #080a0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  max-height: min(760px, calc(100svh - 28px));
  max-width: min(980px, calc(100vw - 28px));
  overflow: hidden;
  padding: 0;
  width: 980px;
}

.legacy-explorer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.legacy-explorer-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  z-index: 3;
}

.legacy-explorer-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
}

.legacy-explorer-head {
  background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.22), transparent 42%), linear-gradient(140deg, rgba(239, 68, 68, 0.16), rgba(255, 255, 255, 0.03));
  padding: 34px;
}

.legacy-explorer-head p,
.legacy-explorer-panel p {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.legacy-explorer-head h3 {
  color: #fff;
  font-size: 36px;
  line-height: 1.16;
  margin: 0;
}

.legacy-explorer-head span {
  color: #cbd5e1;
  display: block;
  line-height: 1.72;
  margin-top: 18px;
}

.legacy-explorer-scroll {
  max-height: min(760px, calc(100svh - 28px));
  overflow-y: auto;
  padding: 34px;
}

.legacy-explorer-panel {
  display: none;
  pointer-events: none;
}

.legacy-explorer-panel.is-active {
  animation: legacyPanelIn 220ms ease both;
  display: block;
  pointer-events: auto;
}

.legacy-explorer-dialog .legacy-explorer-panel:not(.is-active) {
  display: none !important;
}

.legacy-explorer-dialog .legacy-explorer-panel.is-active {
  display: block;
}

.legacy-explorer-panel h4 {
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
  margin: 0 0 16px;
}

.legacy-explorer-panel > span {
  color: #cbd5e1;
  display: block;
  line-height: 1.75;
}

.legacy-explorer-points {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.legacy-explorer-points strong {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.55;
  padding: 13px;
}

.legacy-explorer-controls {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  position: relative;
  z-index: 3;
}

.legacy-explorer-controls div {
  display: flex;
  gap: 8px;
}

.legacy-explorer-controls button {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

.legacy-explorer-controls div button {
  height: 10px;
  padding: 0;
  width: 10px;
}

.legacy-explorer-controls div button.is-active {
  background: #fff;
  width: 30px;
}

.legacy-explorer-controls nav {
  display: flex;
  gap: 8px;
}

.legacy-explorer-controls nav button {
  font-size: 28px;
  height: 42px;
  line-height: 1;
  width: 42px;
}

@keyframes legacyBarRise {
  from {
    height: 0;
    opacity: 0;
  }
}

@keyframes legacyBarFloat {
  0%, 100% {
    filter: brightness(1);
    height: var(--v);
  }
  45% {
    filter: brightness(1.18);
    height: calc(var(--v) + 5%);
  }
  72% {
    filter: brightness(0.96);
    height: calc(var(--v) - 3%);
  }
}

@keyframes legacyLedSweep {
  0% {
    background-position: -70% 0, 0 0;
  }
  52% {
    background-position: 170% 0, 0 0;
  }
  100% {
    background-position: 170% 0, 0 0;
  }
}

@keyframes legacyLinePulse {
  0% {
    opacity: 0.28;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.28;
  }
}

@keyframes legacyInsightSweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes legacyRadarSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes legacyRadarNode {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.82);
  }
  45% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes legacyPanelScan {
  0% {
    transform: translateX(-100%);
  }
  48%, 100% {
    transform: translateX(100%);
  }
}

@keyframes legacyProgress {
  0% { width: 18%; }
  45% { width: 78%; }
  72% { width: 48%; }
  100% { width: 92%; }
}

@keyframes legacyPanelIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.legacy-software-panel img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.legacy-workflow-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legacy-workflow-list article {
  align-items: center;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 0.7fr 1.3fr;
  padding: 14px;
}

.legacy-workflow-list span {
  color: #fff;
  font-weight: 800;
}

.legacy-workflow-list p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.public-home-guides,
.public-home-insights,
.public-home-presso {
  background: #ffffff;
  color: #0f172a;
}

.legacy-guide-clock {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.public-home .legacy-guide-clock {
  padding: 0;
}

.legacy-guide-clock-stage {
  align-items: center;
  display: flex;
  min-height: 100svh;
  overflow: visible;
  position: relative;
  transform: translateX(-80px);
  width: 100%;
}

.legacy-guide-clock-spin {
  align-items: center;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: 999px;
  color: #fb7185;
  cursor: pointer;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  left: calc((100vw - min(100vw, 1280px)) / 2 + clamp(1rem, 4vw, 2rem) + 4.5rem);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 58px;
  z-index: 80;
}

.legacy-guide-clock-spin:hover {
  background: rgba(225, 29, 72, 0.28);
  border-color: rgba(251, 113, 133, 0.72);
  transform: translateY(-50%) scale(1.06);
}

.legacy-guide-clock-spin svg {
  animation: legacyGuideSpin 2.2s linear infinite;
  height: 25px;
  width: 25px;
}

.legacy-guide-clock-orbit {
  flex: 1 1 auto;
  height: 650px;
  isolation: isolate;
  margin-left: calc(clamp(1rem, 4vw, 2rem) + 5.75rem);
  max-width: 100%;
  overflow: visible;
  position: relative;
}

.legacy-guide-clock-mask {
  background: linear-gradient(90deg, #f8fafc 0%, #f8fafc 70%, rgba(248, 250, 252, 0) 100%);
  bottom: -24px;
  left: -260px;
  pointer-events: none;
  position: absolute;
  top: -24px;
  width: min(56%, 620px);
  z-index: 60;
}

.legacy-guide-clock-card {
  border-radius: 14px;
  color: #111827;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 0.8, 0.26, 1);
  width: 300px;
  will-change: opacity, transform;
}

.legacy-guide-clock-card::after {
  background: var(--guide-clock-overlay, #000);
  border-radius: 14px;
  content: "";
  inset: 0;
  opacity: var(--guide-clock-overlay-opacity, 0);
  pointer-events: none;
  position: absolute;
  transition: opacity 720ms ease;
  z-index: 5;
}

.legacy-guide-clock-card.is-visible {
  pointer-events: auto;
}

.legacy-guide-clock-card.is-upper {
  --guide-clock-overlay: #fff;
}

.legacy-guide-clock-card.is-lower {
  --guide-clock-overlay: #000;
}

.legacy-guide-clock-card a {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.legacy-guide-clock-card.is-active a {
  box-shadow: 0 34px 110px rgba(225, 29, 72, 0.26);
}

.legacy-guide-card-media {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #1f2937, #030712);
  overflow: hidden;
  position: relative;
}

.legacy-guide-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.legacy-guide-clock-card:hover .legacy-guide-card-media img,
.legacy-guide-clock-card.is-active .legacy-guide-card-media img {
  transform: scale(1.05);
}

.legacy-guide-card-media > span {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  font-size: 56px;
  font-weight: 900;
  height: 100%;
  justify-content: center;
}

.legacy-guide-card-media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
  content: "";
  inset: 0;
  position: absolute;
}

.legacy-clock-number {
  align-items: center;
  background: #C1282D;
  border-radius: 999px;
  bottom: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  left: 14px;
  letter-spacing: 0;
  position: absolute;
  width: 36px;
  z-index: 2;
}

.legacy-guide-card-body {
  background: #fff;
  padding: 18px 20px 20px;
}

.legacy-guide-card-body p {
  color: #C1282D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.legacy-guide-card-body h3 {
  color: #111827;
  display: -webkit-box;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px;
  min-height: 43px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.legacy-guide-card-body span {
  color: #4b5563;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.legacy-guide-clock-copy {
  flex: 0 0 clamp(340px, 28vw, 420px);
  margin-left: clamp(48px, 4vw, 88px);
  margin-right: calc(24px + 118px + 24px);
  max-width: 420px;
  position: relative;
  z-index: 70;
}

.legacy-guide-clock-copy .eyebrow {
  color: #fb7185;
}

.legacy-guide-active-copy {
  display: none;
}

.legacy-guide-active-copy.is-active {
  animation: legacyGuideCopyIn 360ms ease both;
  display: block;
}

.legacy-guide-active-copy > span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.legacy-guide-active-copy h2 {
  color: #0f172a;
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.legacy-guide-active-copy p {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.legacy-guide-active-copy small {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  color: #c1282d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
}

.legacy-guide-clock-link {
  color: #c1282d;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-top: 22px;
  text-decoration: none;
}

.legacy-guide-clock-link:hover {
  color: #991b1b;
}

@keyframes legacyGuideSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes legacyGuideCopyIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.public-home-insights {
  background-color: transparent !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  overflow: hidden !important;
  position: relative !important;
  transform: none !important;
}

.legacy-insights-bg {
  background-color: #0f172a !important;
  background-image: url("/static/img/legacy/hero-bg-ai-control.webp") !important;
  background-position: center calc(50% + var(--insights-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--insights-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.legacy-insights-bg::before {
  display: none !important;
}

.legacy-insights-bg::after {
  background:
    radial-gradient(circle at 18% 28%, rgba(193, 40, 45, 0.48) 0%, rgba(193, 40, 45, 0.22) 55%, transparent 100%),
    radial-gradient(circle at 82% 75%, rgba(193, 40, 45, 0.40) 0%, transparent 60%),
    linear-gradient(135deg, rgba(193, 40, 45, 0.38) 0%, rgba(10, 12, 18, 0.65) 50%, rgba(193, 40, 45, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.58) 0%, rgba(24, 10, 14, 0.68) 50%, rgba(10, 12, 18, 0.75) 100%) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  z-index: 1 !important;
}

.legacy-insights-shell {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.38fr);
  position: relative;
  width: min(1480px, 100%);
  z-index: 2;
}

.legacy-insights-shell .section-copy {
  max-width: 540px;
}

.legacy-insights-shell .section-copy .eyebrow {
  color: #fca5a5 !important;
}

.legacy-insights-shell .section-copy h2 {
  color: #ffffff !important;
  font-size: clamp(32px, 2.55vw, 44px);
  font-weight: 850;
  line-height: 1.24;
  margin: 0 0 18px;
}

.legacy-insights-shell .section-copy > p:not(.eyebrow) {
  color: #e2e8f0 !important;
  font-size: 16px;
  line-height: 1.72;
  margin: 0;
  max-width: 38rem;
  text-align: justify !important;
}

.legacy-insight-command {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.legacy-insight-command span {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 8px 14px;
}

.legacy-insights-cockpit {
  align-items: center;
  display: grid;
  gap: clamp(24px, 3.2vw, 42px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  min-height: 540px;
}

.legacy-insight-radar {
  aspect-ratio: 1;
  background: transparent !important;
  border: 1.5px solid rgba(248, 113, 113, 0.38) !important;
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(193, 40, 45, 0.22), inset 0 0 35px rgba(193, 40, 45, 0.12) !important;
  isolation: isolate;
  max-width: 500px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.legacy-insight-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(248, 113, 113, 0.25) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(248, 113, 113, 0.25) 50%, transparent calc(50% + 1px));
  pointer-events: none;
}

.legacy-radar-ring {
  border-radius: 50%;
  inset: var(--ring-inset, 15%);
  position: absolute;
}

.legacy-radar-ring:nth-child(1) {
  --ring-inset: 12%;
  border: 1px dashed rgba(193, 40, 45, 0.26);
}

.legacy-radar-ring:nth-child(2) {
  --ring-inset: 27%;
  border: 1px solid rgba(203, 213, 225, 0.75);
}

.legacy-radar-ring:nth-child(3) {
  --ring-inset: 42%;
  border: 1px dashed rgba(193, 40, 45, 0.22);
}

.legacy-radar-sweep {
  animation: legacyRadarSpin 5.4s linear infinite;
  background: conic-gradient(from 0deg, rgba(193, 40, 45, 0.22), rgba(193, 40, 45, 0.05) 32deg, transparent 70deg);
  border-radius: 50%;
  inset: 0;
  mix-blend-mode: normal;
  position: absolute;
  transform-origin: 50% 50%;
}

.legacy-radar-core {
  align-items: center;
  background: transparent !important;
  border: 1.5px solid rgba(248, 113, 113, 0.5) !important;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(193, 40, 45, 0.28), inset 0 0 16px rgba(193, 40, 45, 0.16) !important;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 84px;
  justify-content: center;
  left: 50%;
  letter-spacing: 0.16em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  z-index: 3;
}

.legacy-radar-core img {
  filter: brightness(0) invert(1) !important;
  height: 48px;
  object-fit: contain;
  opacity: 0.95 !important;
  width: 48px;
}

.legacy-insight-radar i {
  animation: legacyRadarNode 2.7s ease-in-out infinite;
  animation-delay: var(--delay);
  background: #ffffff !important;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22), 0 0 16px rgba(255, 255, 255, 0.95) !important;
  height: 8px;
  left: var(--x);
  position: absolute;
  top: var(--y);
  width: 8px;
  z-index: 4;
}

.legacy-insight-stream {
  display: grid;
  gap: 14px;
}

.legacy-lab-panel {
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 3.5px solid #C1282D !important;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden;
  padding: 18px 22px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.legacy-lab-panel:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(248, 113, 113, 0.35) !important;
  transform: translateY(-2px);
}

.legacy-lab-panel::before {
  display: none;
}

.legacy-lab-panel span {
  color: #c1282d !important;
  display: block;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.legacy-lab-panel strong {
  color: #0f172a !important;
  display: block;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 8px;
}

.legacy-lab-panel p {
  color: #334155 !important;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 450;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.legacy-lab-cta {
  align-items: center;
  background: #C1282D;
  border: 1.5px solid #C1282D;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(193, 40, 45, 0.22);
  color: #ffffff;
  display: grid;
  font-weight: 800;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: start;
  min-height: 68px;
  padding: 14px 22px;
  text-decoration: none;
  transition: all 200ms ease;
}

.legacy-lab-cta strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.legacy-lab-cta span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.legacy-lab-cta:hover {
  background: #ffffff;
  border-color: #C1282D;
  box-shadow: 0 12px 30px rgba(193, 40, 45, 0.25);
  color: #C1282D;
}

.legacy-lab-cta:hover span,
.legacy-lab-cta:hover strong {
  color: #C1282D;
}

.public-home-presso {
  background:
    radial-gradient(circle at 75% 22%, rgba(220, 38, 38, 0.24), transparent 32%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.94), rgba(9, 9, 13, 0.82)),
    url("/static/img/legacy/presso/hero-bg.webp") center/cover;
}

.legacy-presso-shell {
  align-items: center;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.legacy-presso-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.legacy-presso-proof span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: 999px;
  color: #fecaca;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
}

.legacy-presso-os {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.legacy-presso-board {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(220, 38, 38, 0.08)),
    rgba(8, 8, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  min-height: 360px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.legacy-presso-board::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(248, 113, 113, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 42px 0 0;
  opacity: 0.8;
  position: absolute;
}

.legacy-presso-spine {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 999px;
  bottom: 24px;
  left: 50%;
  position: absolute;
  top: 68px;
  transform: translateX(-50%);
  width: 52px;
  z-index: 2;
}

.legacy-presso-spine::before {
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.14), #ef4444, rgba(255, 255, 255, 0.2));
  bottom: 18px;
  content: "";
  left: 50%;
  position: absolute;
  top: 18px;
  transform: translateX(-50%);
  width: 2px;
}

.legacy-presso-pulse {
  animation: legacyPressoPulse 3.2s linear infinite;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.14), 0 0 24px rgba(239, 68, 68, 0.9);
  height: 10px;
  left: 50%;
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  width: 10px;
}

.legacy-presso-spine i {
  animation: legacyPressoNode 2.8s ease-in-out infinite;
  animation-delay: var(--delay);
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  left: 50%;
  line-height: 1;
  padding: 7px 0;
  position: absolute;
  text-align: center;
  top: var(--top);
  transform: translate(-50%, -50%);
  width: 42px;
}

.legacy-presso-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  position: relative;
  z-index: 3;
}

.legacy-presso-grid article {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 92px;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
}

.legacy-presso-grid article:nth-child(odd) {
  margin-right: 44px;
}

.legacy-presso-grid article:nth-child(even) {
  margin-left: 44px;
}

.legacy-presso-grid small {
  color: #fca5a5;
  display: block;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 8px;
}

.legacy-presso-grid strong {
  color: #fff;
  display: block;
  font-size: 16px;
  line-height: 1.18;
  margin-bottom: 6px;
}

.legacy-presso-grid span {
  color: rgba(229, 231, 235, 0.72);
  display: block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.42;
}

.legacy-presso-dataflow {
  inset: 42px 0 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.legacy-presso-dataflow span {
  animation: legacyPressoFlow 5.4s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.34), transparent);
  height: 1px;
  left: -30%;
  position: absolute;
  right: -30%;
  top: 26%;
}

.legacy-presso-dataflow span:nth-child(2) {
  animation-delay: 1.8s;
  top: 52%;
}

.legacy-presso-dataflow span:nth-child(3) {
  animation-delay: 3.2s;
  top: 78%;
}

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

.legacy-presso-stack article {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid rgba(220, 38, 38, 0.68);
  border-radius: 8px;
  padding: 16px;
}

@keyframes legacyPressoPulse {
  to {
    top: calc(100% - 24px);
  }
}

@keyframes legacyPressoNode {
  0%, 100% {
    box-shadow: 0 0 0 rgba(220, 38, 38, 0);
  }
  45% {
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.48);
  }
}

@keyframes legacyPressoFlow {
  from {
    transform: translateX(-28%);
  }
  to {
    transform: translateX(28%);
  }
}

.public-presso-deep-space {
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 78% 44%, rgba(220, 38, 38, 0.18), transparent 32%),
    linear-gradient(180deg, #030611 0%, #070812 48%, #05070c 100%);
  overflow: hidden;
  position: relative;
}

.public-presso-deep-space::before,
.public-presso-deep-space::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(186, 230, 253, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(254, 202, 202, 0.68) 0 1px, transparent 1.5px);
  background-position: 12px 28px, 88px 72px, 156px 34px;
  background-size: 190px 150px, 260px 210px, 330px 260px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.public-presso-deep-space::after {
  animation: pressoStarDrift 18s linear infinite;
  filter: blur(0.2px);
  opacity: 0.28;
  transform: scale(1.18);
}

.presso-starlight {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.presso-starlight span {
  animation: pressoStarTwinkle 3.8s ease-in-out infinite;
  background: #fff;
  border-radius: 999px;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    34vw 8vh 0 rgba(255, 255, 255, 0.82),
    72vw 18vh 0 rgba(186, 230, 253, 0.78),
    16vw 44vh 0 rgba(255, 255, 255, 0.72),
    84vw 58vh 0 rgba(254, 202, 202, 0.72),
    48vw 82vh 0 rgba(255, 255, 255, 0.8);
  height: 2px;
  left: 10%;
  position: absolute;
  top: 12%;
  width: 2px;
}

.presso-starlight span:nth-child(2) {
  animation-delay: 1.2s;
  left: 24%;
  top: 34%;
}

.presso-starlight span:nth-child(3) {
  animation-delay: 2.3s;
  left: 62%;
  top: 20%;
}

.presso-deep-space-inner {
  display: grid;
  gap: 56px;
  margin: 0 auto;
  max-width: 1240px;
  position: relative;
  z-index: 1;
}

.presso-deep-panel {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.presso-deep-panel:nth-child(even) {
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.presso-deep-panel:nth-child(even) .section-copy {
  order: 2;
}

.presso-deep-panel:nth-child(even) .presso-deep-media {
  order: 1;
}

.presso-deep-panel .section-copy h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
}

.presso-deep-panel .section-copy > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
}

.presso-deep-media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(14, 165, 233, 0.05)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  padding: 10px;
}

.presso-deep-media img {
  border-radius: 12px;
}

@keyframes pressoStarTwinkle {
  0%, 100% {
    opacity: 0.36;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes pressoStarDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1.18);
  }
  to {
    transform: translate3d(-70px, 38px, 0) scale(1.18);
  }
}

.public-presso-platform {
  background:
    radial-gradient(circle at 16% 18%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(220, 38, 38, 0.22), transparent 32%),
    linear-gradient(140deg, #04070d 0%, #08090e 48%, #16080c 100%);
  overflow: hidden;
  position: relative;
}

.public-presso-platform::before {
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(248, 113, 113, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  inset: 0;
  opacity: 0.62;
  pointer-events: none;
  position: absolute;
}

.public-presso-platform::after {
  animation: pressoPatternSweep 7s linear infinite;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.11) 48%, transparent 72%);
  content: "";
  height: 100%;
  left: -38%;
  opacity: 0.26;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: skewX(-16deg);
  width: 28%;
}

.presso-platform-glow {
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 34%),
    radial-gradient(circle, rgba(244, 63, 94, 0.16), transparent 30%);
  filter: blur(18px);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.presso-platform-head,
.presso-platform-map,
.presso-control-shell,
.presso-quote-band {
  position: relative;
  z-index: 1;
}

.presso-platform-head {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.presso-platform-head h2 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.presso-platform-head > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  font-size: 18px;
  line-height: 1.72;
  margin: 0;
  max-width: 860px;
}

.presso-platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.presso-platform-map {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  margin-top: 42px;
}

.presso-command-core {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(5, 8, 14, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  position: sticky;
  top: 104px;
}

.presso-command-core::before {
  background: conic-gradient(from 120deg, rgba(220, 38, 38, 0.12), rgba(14, 165, 233, 0.28), rgba(255, 255, 255, 0.08), rgba(220, 38, 38, 0.12));
  border-radius: 999px;
  content: "";
  height: 340px;
  left: 50%;
  opacity: 0.55;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
}

.presso-command-core::after {
  animation: pressoCoreSpin 18s linear infinite;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.22) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(248, 113, 113, 0.22) 50%, transparent 51%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  content: "";
  height: 260px;
  left: 50%;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
}

.presso-command-core span,
.presso-command-core strong,
.presso-command-core p {
  position: relative;
  z-index: 1;
}

.presso-command-core span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presso-command-core strong {
  color: #fff;
  display: block;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  margin-top: 12px;
}

.presso-command-core p {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 280px;
}

.presso-command-core i {
  animation: pressoCorePulse 3.5s ease-in-out infinite;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 9px rgba(220, 38, 38, 0.18), 0 0 36px rgba(56, 189, 248, 0.64);
  height: 10px;
  position: absolute;
  width: 10px;
  z-index: 2;
}

.presso-command-core i:nth-of-type(1) {
  right: 26%;
  top: 28%;
}

.presso-command-core i:nth-of-type(2) {
  animation-delay: 1.1s;
  bottom: 28%;
  left: 24%;
}

.presso-command-core i:nth-of-type(3) {
  animation-delay: 2.2s;
  bottom: 20%;
  right: 23%;
}

.presso-module-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.presso-module-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 238px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.presso-module-card::before {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.55), rgba(248, 113, 113, 0.65));
  content: "";
  height: 2px;
  inset: 0 0 auto;
  position: absolute;
}

.presso-module-card::after {
  animation: pressoCardLight 4.8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 60%);
  content: "";
  height: 130px;
  opacity: 0;
  position: absolute;
  right: -60px;
  top: -60px;
  width: 130px;
}

.presso-module-card:nth-child(2n)::after {
  animation-delay: 1.4s;
}

.presso-module-card:nth-child(3n)::after {
  animation-delay: 2.6s;
}

.presso-module-card span {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 34px;
}

.presso-module-card h3 {
  color: #fff;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

.presso-module-card p {
  color: rgba(226, 232, 240, 0.74);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.62;
  margin: 0;
}

.presso-module-link {
  align-items: center;
  background: rgba(193, 40, 45, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.36);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  margin-top: 16px;
  padding: 10px 12px;
  text-decoration: none;
}

.presso-module-link:hover {
  background: #C1282D;
  color: #fff;
}

.presso-control-shell {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  margin-top: 28px;
}

.presso-control-copy,
.presso-rule-list {
  background: rgba(3, 7, 18, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: clamp(22px, 3vw, 34px);
}

.presso-control-copy h3 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 8px 0 16px;
}

.presso-control-copy p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.74;
  margin: 0;
}

.presso-rule-list {
  display: grid;
  gap: 12px;
}

.presso-rule-list article {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.presso-rule-list strong {
  color: #fff;
  font-size: 15px;
}

.presso-rule-list span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.55;
}

.presso-quote-band {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.18), rgba(220, 38, 38, 0.26)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 14px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 26px;
  padding: 22px;
}

.presso-quote-band p {
  color: #67e8f9;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.presso-quote-band strong {
  color: #fff;
  display: block;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.18;
  max-width: 820px;
}

@keyframes pressoPatternSweep {
  from {
    transform: translateX(0) skewX(-16deg);
  }
  to {
    transform: translateX(520%) skewX(-16deg);
  }
}

@keyframes pressoCoreSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pressoCorePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes pressoCardLight {
  0%, 100% {
    opacity: 0;
    transform: translate(-20px, 20px);
  }
  45% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.public-home-presshr {
  background:
    radial-gradient(circle at 18% 12%, rgba(193, 40, 45, 0.28), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(14, 165, 233, 0.16), transparent 32%),
    linear-gradient(145deg, #03050a 0%, #0a070d 48%, #170507 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-home-presshr::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.7px);
  background-position: center;
  background-size: 72px 72px, 72px 72px, 132px 132px;
  content: "";
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  position: absolute;
}

.public-home-presshr::after {
  animation: presshrScan 7.5s linear infinite;
  background: linear-gradient(105deg, transparent 12%, rgba(255, 255, 255, 0.12) 48%, transparent 78%);
  content: "";
  height: 120%;
  left: -34%;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  top: -10%;
  transform: skewX(-18deg);
  width: 24%;
}

.presshr-orbit {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.presshr-orbit span {
  animation: presshrOrbit 16s linear infinite;
  border: 1px solid rgba(193, 40, 45, 0.16);
  border-radius: 999px;
  height: 560px;
  left: 52%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 560px;
}

.presshr-orbit span:nth-child(2) {
  animation-duration: 22s;
  border-color: rgba(125, 211, 252, 0.14);
  height: 760px;
  width: 760px;
}

.presshr-orbit span:nth-child(3) {
  animation-duration: 28s;
  border-color: rgba(255, 255, 255, 0.08);
  height: 960px;
  width: 960px;
}

.presshr-shell {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  position: relative;
  z-index: 1;
}

.presshr-copy {
  display: grid;
  gap: 16px;
}

.presshr-copy h2 {
  color: #fff;
  font-size: clamp(34px, 3.55vw, 58px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.presshr-copy > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  font-size: 15px;
  line-height: 1.64;
  margin: 0;
  max-width: 620px;
}

.presshr-benefits {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.presshr-benefits article {
  background:
    linear-gradient(120deg, rgba(193, 40, 45, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(5, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  display: grid;
  gap: 6px;
  overflow: hidden;
  padding: 15px 18px 15px 68px;
  position: relative;
}

.presshr-benefits article::before {
  background: linear-gradient(180deg, rgba(193, 40, 45, 0), rgba(193, 40, 45, 0.9), rgba(193, 40, 45, 0));
  content: "";
  inset: 14px auto 14px 54px;
  opacity: 0.72;
  position: absolute;
  width: 1px;
}

.presshr-benefits span {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(193, 40, 45, 0.3);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 15px;
  width: 32px;
}

.presshr-benefits strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.24;
}

.presshr-benefits p {
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.5;
  margin: 0;
}

.presshr-board {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(3, 7, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  position: relative;
}

.presshr-board::before {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(193, 40, 45, 0.28), transparent 28%),
    radial-gradient(circle at 76% 86%, rgba(56, 189, 248, 0.16), transparent 30%);
  content: "";
  inset: 0;
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
}

.presshr-board-head,
.presshr-flow,
.presshr-approval {
  position: relative;
  z-index: 1;
}

.presshr-board-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.presshr-board-head span {
  color: #ffb4b7;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presshr-board-head strong {
  color: #fff;
  font-size: clamp(24px, 2.55vw, 34px);
  line-height: 1.05;
  text-align: right;
}

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

.presshr-flow article {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  min-height: 184px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.presshr-flow article::before {
  animation: presshrNodeLight 5.6s ease-in-out infinite;
  animation-delay: calc(var(--step) * 0.45s);
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.22) 48%, transparent 82%);
  content: "";
  height: 140%;
  left: -80%;
  opacity: 0;
  position: absolute;
  top: -20%;
  transform: skewX(-14deg);
  width: 56%;
}

.presshr-flow article::after {
  background: linear-gradient(90deg, #C1282D, rgba(125, 211, 252, 0.72));
  content: "";
  height: 3px;
  inset: auto 18px 15px;
  opacity: 0.78;
  position: absolute;
}

.presshr-flow i {
  align-items: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(145deg, #C1282D, #6f1014);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(193, 40, 45, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  width: 46px;
  z-index: 1;
}

.presshr-flow strong {
  color: #fff;
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.presshr-flow p {
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.5;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.presshr-approval {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.presshr-approval-core {
  background:
    linear-gradient(145deg, rgba(193, 40, 45, 0.32), rgba(255, 255, 255, 0.06)),
    rgba(193, 40, 45, 0.12);
  border: 1px solid rgba(255, 180, 183, 0.3);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.presshr-approval-core span {
  color: #ffb4b7;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presshr-approval-core strong {
  color: #fff;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.12;
}

.presshr-approval-core p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.6;
  margin: 0;
}

.presshr-approval-lane {
  --presshr-lane-pad: 18px;
  --presshr-rail-x: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.presshr-approval-lane::before {
  animation: presshrApprovalRail 4.8s ease-in-out infinite;
  background:
    linear-gradient(180deg, rgba(193, 40, 45, 0.22), rgba(193, 40, 45, 0.7) 42%, rgba(255, 255, 255, 0.82) 50%, rgba(193, 40, 45, 0.7) 58%, rgba(193, 40, 45, 0.22));
  content: "";
  inset: 42px auto 42px var(--presshr-rail-x);
  opacity: 0.82;
  position: absolute;
  width: 2px;
  z-index: 0;
}

.presshr-approval-lane span {
  background: rgba(3, 7, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.42;
  padding: 13px 14px 13px 42px;
  position: relative;
  z-index: 1;
}

.presshr-approval-lane span::before {
  background: #fff;
  border: 5px solid #C1282D;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(193, 40, 45, 0.5);
  content: "";
  height: 14px;
  left: calc(var(--presshr-rail-x) - var(--presshr-lane-pad));
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  z-index: 2;
}

@keyframes presshrScan {
  from {
    transform: translateX(0) skewX(-18deg);
  }
  to {
    transform: translateX(580%) skewX(-18deg);
  }
}

@keyframes presshrOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes presshrNodeLight {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) skewX(-14deg);
  }
  42% {
    opacity: 1;
  }
  68% {
    opacity: 0;
    transform: translateX(260%) skewX(-14deg);
  }
}

@keyframes presshrApprovalRail {
  from {
    transform: translateY(-35%);
  }
  to {
    transform: translateY(35%);
  }
}

.public-hero-presshr {
  background:
    radial-gradient(circle at 22% 18%, rgba(15, 118, 110, 0.36), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(20, 184, 166, 0.18), transparent 32%),
    linear-gradient(145deg, #020605 0%, #06100f 48%, #020606 100%);
}

.public-hero-presshr .public-hero-media {
  opacity: 0.28;
}

.public-hero-presshr .public-hero-copy h1 {
  max-width: 10.8em;
}

.public-hero-presshr .button:not(.secondary) {
  background: #0f766e;
  border-color: #0f766e;
  box-shadow: 0 16px 42px rgba(15, 118, 110, 0.28);
}

.public-hero-presshr .button:not(.secondary):hover {
  background: #115e59;
  border-color: #115e59;
}

.public-presshr-page {
  --presshr-green: #0f766e;
  --presshr-mint: #5eead4;
  --presshr-deep: #04100f;
  background:
    radial-gradient(circle at 16% 10%, rgba(15, 118, 110, 0.24), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(94, 234, 212, 0.12), transparent 30%),
    linear-gradient(145deg, #020706 0%, #05100f 48%, #030606 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-presshr-page::before {
  background:
    linear-gradient(90deg, rgba(94, 234, 212, 0.052) 1px, transparent 1px),
    linear-gradient(rgba(94, 234, 212, 0.046) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.54) 0 1px, transparent 1.7px);
  background-position: center;
  background-size: 72px 72px, 72px 72px, 136px 136px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.public-presshr-page .public-section-shell,
.public-presshr-page .section-copy,
.public-presshr-page .presshr-board,
.public-presshr-page .presshr-radar-panel,
.public-presshr-page .presshr-score-visual,
.public-presshr-page .presshr-governance-grid,
.public-presshr-page .presshr-deployment-band {
  position: relative;
  z-index: 1;
}

.public-presshr-intro .presshr-shell {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.public-presshr-page .eyebrow,
.public-presshr-page .section-copy .eyebrow {
  color: #99f6e4;
}

.public-presshr-page .presshr-copy h2,
.public-presshr-page .section-copy h2 {
  color: #fff;
  max-width: 11.8em;
}

.public-presshr-page .section-copy > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  max-width: 47rem;
}

.public-presshr-page .presshr-benefits article {
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.22), rgba(255, 255, 255, 0.052)),
    rgba(3, 10, 9, 0.76);
}

.public-presshr-page .presshr-benefits article::before {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0), rgba(94, 234, 212, 0.88), rgba(15, 118, 110, 0));
}

.public-presshr-page .presshr-benefits span,
.public-presshr-page .presshr-flow i {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(145deg, #14b8a6, #0f766e);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.34);
}

.presshr-radar-panel {
  align-items: center;
  display: grid;
  gap: 22px;
  justify-items: center;
}

.presshr-radar {
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.14) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(94, 234, 212, 0.14) 50%, transparent calc(50% + 1px)),
    conic-gradient(from 180deg, rgba(15, 118, 110, 0.34), transparent 22%, rgba(94, 234, 212, 0.13), transparent 46%, rgba(20, 184, 166, 0.25), transparent 72%, rgba(15, 118, 110, 0.3));
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 50%;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.48), inset 0 0 70px rgba(15, 118, 110, 0.15);
  isolation: isolate;
  max-width: 560px;
  overflow: hidden;
  position: relative;
  width: min(560px, 100%);
}

.presshr-radar-ring {
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 50%;
  inset: var(--ring-inset, 16%);
  position: absolute;
}

.presshr-radar-ring:nth-child(1) { --ring-inset: 14%; }
.presshr-radar-ring:nth-child(2) { --ring-inset: 29%; }
.presshr-radar-ring:nth-child(3) { --ring-inset: 44%; }

.presshr-radar-sweep {
  animation: legacyRadarSpin 5.6s linear infinite;
  background: conic-gradient(from 0deg, rgba(94, 234, 212, 0.66), rgba(255, 255, 255, 0.08) 20deg, transparent 76deg);
  border-radius: 50%;
  inset: 0;
  mix-blend-mode: screen;
  position: absolute;
}

.presshr-radar-core {
  align-items: center;
  background: #020706;
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(94, 234, 212, 0.24), inset 0 0 24px rgba(15, 118, 110, 0.28);
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  height: 86px;
  justify-content: center;
  left: 50%;
  letter-spacing: 0.08em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  z-index: 3;
}

.presshr-radar i {
  align-items: center;
  animation: legacyRadarNode 2.8s ease-in-out infinite;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.2), 0 0 28px rgba(94, 234, 212, 0.78);
  color: #031110;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  left: var(--x);
  position: absolute;
  top: var(--y);
  width: 42px;
  z-index: 4;
}

.presshr-metric-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(640px, 100%);
}

.presshr-metric-strip span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 8px;
  color: rgba(236, 253, 245, 0.9);
  font-size: 12px;
  font-weight: 900;
  padding: 10px 12px;
  text-align: center;
}

.presshr-wide-shell {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
}

.public-presshr-workflow .presshr-board {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(3, 12, 11, 0.86);
  border-color: rgba(94, 234, 212, 0.18);
}

.public-presshr-page .presshr-board::before {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.32), transparent 28%),
    radial-gradient(circle at 76% 86%, rgba(94, 234, 212, 0.16), transparent 30%);
}

.public-presshr-page .presshr-board-head span,
.public-presshr-page .presshr-approval-core span {
  color: #99f6e4;
}

.public-presshr-page .presshr-flow article::after {
  background: linear-gradient(90deg, #0f766e, rgba(94, 234, 212, 0.86));
}

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

.presshr-scorecard-shell,
.presshr-approval-shell {
  align-items: center;
  display: grid;
  gap: clamp(30px, 4vw, 64px);
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 0.52fr);
}

.presshr-score-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(94, 234, 212, 0.16), transparent 56%),
    rgba(3, 12, 11, 0.78);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 22px;
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.42);
  padding: clamp(20px, 3vw, 34px);
}

.presshr-score-visual svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

.presshr-score-visual circle,
.presshr-score-visual line {
  fill: none;
  stroke: rgba(94, 234, 212, 0.18);
  stroke-width: 1.5;
}

.presshr-score-visual path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.5;
}

.presshr-score-visual .presshr-score-shape {
  animation: presshrScorePulse 3.4s ease-in-out infinite;
  fill: rgba(15, 118, 110, 0.28);
  stroke: #5eead4;
  stroke-width: 3;
}

.presshr-score-tags,
.presshr-insight-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.presshr-score-tags span,
.presshr-insight-grid article {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 10px;
  color: rgba(236, 253, 245, 0.88);
  font-size: 12px;
  font-weight: 900;
  padding: 12px;
}

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

.presshr-insight-grid strong,
.presshr-governance-grid strong {
  color: #fff;
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.presshr-insight-grid p,
.presshr-governance-grid p {
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  line-height: 1.56;
  margin: 0;
}

.presshr-approval-section .presshr-approval {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
}

.public-presshr-page .presshr-approval-core {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.34), rgba(255, 255, 255, 0.06)),
    rgba(15, 118, 110, 0.12);
  border-color: rgba(94, 234, 212, 0.28);
}

.public-presshr-page .presshr-approval-lane::before {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.2), rgba(15, 118, 110, 0.72) 42%, rgba(255, 255, 255, 0.82) 50%, rgba(15, 118, 110, 0.72) 58%, rgba(15, 118, 110, 0.2));
}

.public-presshr-page .presshr-approval-lane span::before {
  border-color: #0f766e;
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.44);
}

.presshr-governance-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.presshr-governance-grid article {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(3, 12, 11, 0.78);
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 14px;
  min-height: 170px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.presshr-governance-grid article::before {
  background: radial-gradient(circle, rgba(94, 234, 212, 0.34), transparent 64%);
  content: "";
  height: 120px;
  position: absolute;
  right: -44px;
  top: -44px;
  width: 120px;
}

.presshr-governance-grid span {
  color: #99f6e4;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.presshr-deployment-band {
  align-items: center;
  background:
    radial-gradient(circle at 12% 24%, rgba(94, 234, 212, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.28), rgba(255, 255, 255, 0.055)),
    rgba(3, 12, 11, 0.84);
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 22px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px);
  width: min(1180px, calc(100% - 48px));
}

.presshr-deployment-band h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.06;
  margin: 0 0 14px;
  max-width: 13em;
}

.presshr-deployment-band p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.64;
  margin: 0;
  max-width: 760px;
}

.presshr-deployment-band .button {
  background: #0f766e;
  border-color: #0f766e;
  white-space: nowrap;
}

@keyframes presshrScorePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.98);
    transform-origin: 50% 50%;
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (min-width: 990px) and (orientation: landscape) {
  .public-presshr-workflow,
  .public-presshr-governance {
    background-attachment: fixed, fixed, fixed, fixed;
    background-image:
      radial-gradient(circle at 18% 20%, rgba(94, 234, 212, 0.18), transparent 28%),
      linear-gradient(90deg, rgba(94, 234, 212, 0.045) 1px, transparent 1px),
      linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
      linear-gradient(145deg, #020706 0%, #06100f 52%, #020606 100%);
    background-position: center;
    background-size: cover, 82px 82px, 82px 82px, cover;
  }

  .public-section.public-presshr-page.public-presshr-governance {
    background-attachment: fixed, fixed, fixed, fixed;
    background-image:
      radial-gradient(circle at 18% 20%, rgba(94, 234, 212, 0.18), transparent 28%),
      linear-gradient(90deg, rgba(94, 234, 212, 0.045) 1px, transparent 1px),
      linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
      linear-gradient(145deg, #020706 0%, #06100f 52%, #020606 100%);
    background-position: center;
    background-size: cover, 82px 82px, 82px 82px, cover;
  }
}

.public-home .public-home-contact {
  background:
    radial-gradient(circle at 16% 18%, rgba(193, 39, 45, 0.32), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(225, 29, 72, 0.18), transparent 32%),
    linear-gradient(140deg, #05070d 0%, #0a0810 50%, #170509 100%);
  color: #fff;
}

.public-home-contact::before,
.public-home-contact::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.public-home-contact::before {
  background-image:
    linear-gradient(rgba(255, 78, 94, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 78, 94, 0.065) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(244, 63, 94, 0.74) 0 1px, transparent 1.5px);
  background-position: center, center, 24px 28px, 120px 88px;
  background-size: 82px 82px, 82px 82px, 220px 170px, 330px 250px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.public-home-contact::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.72), transparent 28%, transparent 72%, rgba(5, 7, 13, 0.72)),
    linear-gradient(180deg, rgba(5, 7, 13, 0.12), rgba(5, 7, 13, 0.78));
  z-index: -1;
}

.public-home-contact-glow {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.public-home-contact-glow span {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  filter: blur(1px);
  height: 1px;
  left: -18%;
  opacity: 0.7;
  position: absolute;
  transform: rotate(-12deg);
  width: 64%;
}

.public-home-contact-glow span:first-child {
  animation: contactSignalOne 5.6s linear infinite;
  top: 22%;
}

.public-home-contact-glow span:last-child {
  animation: contactSignalTwo 6.8s linear infinite;
  bottom: 23%;
}

.public-home-contact-shell {
  align-items: center;
  gap: 54px;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  max-width: 1380px;
  position: relative;
  z-index: 1;
}

.public-home-contact-copy {
  max-width: 620px;
}

.public-home-contact-copy .eyebrow {
  color: #ff6b78;
  letter-spacing: 0.08em;
}

.public-home .public-home-contact .public-home-contact-copy h2 {
  color: #0f172a;
  font-size: 46px;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 12.8em;
}

.public-home .public-home-contact .public-home-contact-copy > p:not(.eyebrow) {
  color: #475569;
  font-size: 17px;
  line-height: 1.72;
  max-width: 620px;
}

.public-home-contact-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.public-home-contact-signals span {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.public-home-contact-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c1282d;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: grid;
  gap: 6px;
  margin-top: 30px;
  max-width: 520px;
  padding: 18px 20px;
}

.public-home-contact-note strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 750;
}

.public-home-contact-note span {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.public-home-contact-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.public-home-contact-form::before,
.public-home-contact-form::after {
  display: none;
}

.public-home-contact-form-head {
  align-items: end;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  margin: -4px 0 16px;
  padding-bottom: 16px;
}

.public-home-contact-form-head span {
  color: #c1282d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-home-contact-form-head strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.12;
  text-align: right;
}

.public-home-contact-form label {
  position: relative;
  z-index: 1;
}

.public-home-contact-form label > span {
  color: #475569;
  font-weight: 600;
}

.public-home-contact-form input,
.public-home-contact-form select,
.public-home-contact-form textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  min-height: 48px;
  padding: 10px 14px;
}

.public-home-contact-form input::placeholder,
.public-home-contact-form textarea::placeholder {
  color: #94a3b8;
}

.public-home-contact-form textarea {
  min-height: 136px;
}

.public-home-contact-form input:focus,
.public-home-contact-form select:focus,
.public-home-contact-form textarea:focus {
  background: #ffffff;
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.15);
  outline: none;
}

.public-home-contact-form .button {
  background: #C1282D;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(193, 40, 45, 0.34);
  min-height: 48px;
  padding: 0 24px;
}

.public-home-contact-form .button:hover,
.public-home-contact-form .button:focus-visible {
  box-shadow: 0 22px 46px rgba(193, 40, 45, 0.42);
  transform: translateY(-1px);
}

.public-home-contact-form .button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.public-home-contact-form .public-form-status {
  color: rgba(226, 232, 240, 0.8);
}

@keyframes contactPanelScan {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) rotate(8deg);
  }
  18% {
    opacity: 0.42;
  }
  58% {
    opacity: 0.24;
    transform: translateX(620%) rotate(8deg);
  }
  72% {
    opacity: 0;
    transform: translateX(720%) rotate(8deg);
  }
}

@keyframes contactSignalOne {
  from {
    transform: translateX(-10%) rotate(-12deg);
  }
  to {
    transform: translateX(210%) rotate(-12deg);
  }
}

@keyframes contactSignalTwo {
  from {
    transform: translateX(30%) rotate(-12deg);
  }
  to {
    transform: translateX(240%) rotate(-12deg);
  }
}

.public-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #0f172a;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: 86px clamp(22px, 5vw, 84px) 36px;
  position: relative;
}

.public-footer::before,
.public-footer::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.public-footer::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-position: center;
  background-size: 88px 88px;
  opacity: 0.6;
}

.public-footer::after {
  background: radial-gradient(circle at 16% 18%, rgba(193, 39, 45, 0.04), transparent 32%);
  z-index: -1;
}

.public-footer-aura,
.public-footer-beam {
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.public-footer-aura {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 79, 98, 0.24), transparent 58%),
    radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.08), transparent 32%);
  border-radius: 999px;
  filter: blur(2px);
  height: 520px;
  left: 5%;
  opacity: 0.86;
  top: 10%;
  width: 520px;
}

.public-footer-beam {
  background: linear-gradient(90deg, transparent, rgba(255, 82, 98, 0.34), rgba(255, 255, 255, 0.08), transparent);
  height: 1px;
  left: -12%;
  opacity: 0.7;
  top: 28%;
  transform: rotate(-10deg);
  width: 78%;
}

.public-footer-shell {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(430px, 0.9fr) minmax(560px, 1.1fr);
  margin: 0 auto;
  max-width: 1480px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.public-footer-hero {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.public-footer-brand {
  min-height: 0;
}

.public-footer-brand-mark {
  align-items: center;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(193, 39, 45, 0.14);
  border: 1px solid rgba(255, 82, 98, 0.26);
  border-radius: 8px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.3),
    0 0 42px rgba(193, 39, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: inline-grid;
  height: 104px;
  justify-items: center;
  overflow: hidden;
  padding: 14px;
  position: relative;
  width: 104px;
}

.public-footer-brand-mark::after {
  background: linear-gradient(135deg, transparent 20%, rgba(255, 255, 255, 0.18), transparent 58%);
  content: "";
  inset: -20%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-32%) rotate(8deg);
}

.public-footer-brand img,
.public-footer-brand-mark img {
  display: block;
  height: 76px;
  object-fit: contain;
  position: relative;
  width: 76px;
  z-index: 1;
}

.public-footer-hero .eyebrow {
  color: #ff6b78;
  letter-spacing: 0.08em;
  margin: 8px 0 0;
}

.public-footer-hero h2 {
  color: #fff;
  font-size: 54px;
  line-height: 1.04;
  margin: 0;
  max-width: 11.8em;
}

.public-footer-hero > p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
  line-height: 1.72;
  margin: 0;
  max-width: 620px;
}

.public-footer-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.public-footer-actions .button {
  background: #C1282D;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(193, 40, 45, 0.32);
  min-height: 48px;
  padding: 0 24px;
}

.public-footer-ghost-link {
  align-items: center;
  border: 1px solid rgba(255, 82, 98, 0.24);
  border-radius: 8px;
  color: #ffe4e6;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  min-height: 48px;
  padding: 0 18px;
}

.public-footer-directory {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 79, 98, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.024)),
    rgba(8, 8, 13, 0.82);
  border: 1px solid rgba(255, 82, 98, 0.2);
  border-radius: 8px;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 34px 38px;
  position: relative;
}

.public-footer-directory::before {
  background: linear-gradient(90deg, transparent, rgba(255, 82, 98, 0.58), rgba(193, 39, 45, 0.44), transparent);
  content: "";
  height: 1px;
  left: 28px;
  pointer-events: none;
  position: absolute;
  right: 28px;
  top: 0;
}

.public-footer-link-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-footer-column,
.public-footer-contact,
.public-footer-info-card,
.public-footer address {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.public-footer-contact {
  align-items: start;
  border-top: 1px solid rgba(255, 82, 98, 0.14);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.96fr);
  padding-top: 22px;
}

.public-footer-info-card {
  align-content: start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(6, 7, 11, 0.38);
  border: 1px solid rgba(255, 82, 98, 0.14);
  border-radius: 8px;
  min-height: 154px;
  padding: 18px;
}

.public-footer-newsletter-card {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 79, 98, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(193, 39, 45, 0.14), rgba(255, 255, 255, 0.018)),
    rgba(6, 7, 11, 0.42);
}

.public-footer-newsletter-card > p {
  color: rgba(226, 232, 240, 0.68);
  font-size: 13px;
  line-height: 1.52;
  margin: 0;
}

.public-footer-column strong,
.public-footer-info-card > strong {
  color: #c1282d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-footer a {
  color: #475569;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.public-footer a:hover,
.public-footer a:focus-visible {
  color: #c1282d;
  outline: none;
  transform: translateX(2px);
}

.public-footer address {
  color: #64748b;
  font-style: normal;
  line-height: 1.55;
}

.public-footer address span {
  color: #64748b;
  font-size: 14px;
}

.public-footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.public-footer-contact-row a {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 999px;
  padding: 7px 12px;
  color: #0f172a;
}

.public-footer-socials {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.public-social-icon-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 82, 98, 0.18);
  border-radius: 8px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.public-social-icon-link img {
  display: block;
  height: 20px;
  object-fit: contain;
  transition: transform 180ms ease;
  width: 20px;
}

.public-social-icon-link[aria-label="Zalo"] img {
  width: 26px;
}

.public-social-icon-link:hover,
.public-social-icon-link:focus-visible {
  background: #fff;
  border-color: #C1282D;
}

.public-social-icon-link:hover img,
.public-social-icon-link:focus-visible img {
  transform: scale(1.06);
}

.public-newsletter-form {
  align-self: start;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  min-width: 0;
}

.public-newsletter-form label {
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.public-newsletter-form label span {
  color: rgba(255, 228, 232, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.public-newsletter-form input {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  min-height: 46px;
  min-width: 0;
  padding: 0 13px;
}

.public-newsletter-form input::placeholder {
  color: rgba(255, 228, 232, 0.42);
}

.public-newsletter-form input:focus {
  border-color: rgba(255, 91, 106, 0.78);
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.22);
  outline: none;
}

.public-newsletter-form .button {
  align-self: end;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: #C1282D;
  min-height: 46px;
  padding: 0 18px;
  width: 100%;
}

.public-main .button.secondary:hover,
.public-main .button.secondary:focus-visible,
.public-footer .button.secondary:hover,
.public-footer .button.secondary:focus-visible,
.public-newsletter-form .button:hover,
.public-newsletter-form .button:focus-visible {
  background: #C1282D;
  border-color: #C1282D;
  color: #fff;
  outline: none;
}

.public-newsletter-form .public-form-status {
  color: rgba(255, 228, 232, 0.68);
  font-size: 13px;
  grid-column: 1 / -1;
  margin: 0;
}

.public-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 82, 98, 0.14);
  color: rgba(255, 228, 232, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 20px;
}

.public-footer-bottom span,
.public-footer-bottom a {
  font-size: 13px;
}

.public-footer-line {
  background: linear-gradient(90deg, rgba(255, 82, 98, 0.36), transparent);
  flex: 1 1 180px;
  height: 1px;
  min-width: 120px;
}

.public-footer-section {
  padding: 0;
}

.public-home .public-footer-section {
  padding: 0;
}

.public-footer-section .public-footer {
  border-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  width: 100%;
}

.public-footer-section .public-footer-shell {
  width: 100%;
}

@media (max-width: 989px), (height >= width) {
  .public-footer {
    padding: 72px 20px 30px;
  }

  .public-footer-shell,
  .public-footer-directory,
  .public-footer-link-grid,
  .public-footer-contact,
  .public-newsletter-form {
    grid-template-columns: 1fr;
  }

  .public-footer-shell {
    gap: 34px;
  }

  .public-footer-hero {
    gap: 14px;
  }

  .public-footer-brand-mark {
    height: 86px;
    width: 86px;
  }

  .public-footer-brand img,
  .public-footer-brand-mark img {
    height: 62px;
    width: 62px;
  }

  .public-footer-hero h2 {
    font-size: 38px;
    line-height: 1.06;
  }

  .public-footer-hero > p:not(.eyebrow) {
    font-size: 15px;
  }

  .public-footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-footer-actions .button,
  .public-footer-ghost-link,
  .public-newsletter-form .button {
    width: 100%;
  }

  .public-footer-directory {
    gap: 22px;
    padding: 22px;
  }

  .public-footer-contact {
    grid-column: auto;
    padding-top: 20px;
  }

  .public-footer-info-card {
    min-height: 0;
  }

  .public-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .public-footer-line {
    flex-basis: auto;
    width: 100%;
  }

  .public-footer-section .public-footer {
    min-height: auto;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-footer {
    padding: 54px 48px 28px;
  }

  .public-footer-shell {
    gap: 28px;
    grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
  }

  .public-footer-brand-mark {
    height: 78px;
    width: 78px;
  }

  .public-footer-brand img,
  .public-footer-brand-mark img {
    height: 56px;
    width: 56px;
  }

  .public-footer-hero {
    gap: 11px;
  }

  .public-footer-hero h2 {
    font-size: 36px;
    line-height: 1.06;
  }

  .public-footer-hero > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.55;
  }

  .public-footer-actions {
    margin-top: 4px;
  }

  .public-footer-directory {
    gap: 18px;
    padding: 20px;
  }

  .public-footer-link-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-footer-contact {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
    padding: 20px;
  }

  .public-footer-info-card {
    min-height: 136px;
    padding: 14px;
  }

  .public-footer-column,
  .public-footer-contact,
  .public-footer address {
    gap: 7px;
  }

  .public-footer a,
  .public-footer address span {
    font-size: 12px;
  }

  .public-newsletter-form input,
  .public-newsletter-form .button {
    min-height: 40px;
  }

  .public-newsletter-form {
    grid-template-columns: 1fr;
  }

  .public-newsletter-form .button {
    width: 100%;
  }

  .public-footer-bottom {
    margin-top: 0;
    padding-top: 14px;
  }
}

.public-floating-stack {
  align-items: end;
  bottom: 22px;
  display: grid;
  gap: 12px;
  justify-items: end;
  position: fixed;
  right: 22px;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1700;
}

.public-floating-stack.is-open {
  z-index: 1701;
}

.public-floating-stack.is-chatway-open {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

body.pressup-chatway-open .public-floating-stack,
body.pressup-chatway-open .public-section-dots,
body.pressup-chatway-open .public-back-top {
  opacity: 0;
  pointer-events: none;
}

.public-floating-menu {
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease;
}

.public-floating-stack.is-open .public-floating-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.public-floating-option {
  align-items: center;
  background: #fff;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 12px;
  justify-content: space-between;
  min-height: 50px;
  min-width: 154px;
  padding: 9px 10px 9px 16px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.public-floating-option:hover,
.public-floating-option:focus-visible {
  background: #C1282D;
  border-color: #C1282D;
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.public-floating-option:hover i,
.public-floating-option:focus-visible i {
  background: #fff;
  color: #C1282D;
}

.public-floating-option span {
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.public-floating-option i {
  align-items: center;
  background: #C1282D;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.public-floating-option svg,
.public-floating-contact svg {
  height: 18px;
  width: 18px;
}

.public-floating-option[data-chatway-open] i {
  background: #3b82f6;
}

.public-floating-contact {
  align-items: center;
  background: #C1282D;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(193, 40, 45, 0.28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 52px;
}

.public-floating-contact:hover {
  box-shadow: 0 20px 44px rgba(193, 40, 45, 0.46);
  transform: scale(1.06);
}

.public-floating-contact svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
  height: 24px;
  position: relative;
  width: 24px;
  z-index: 2;
}

.public-floating-shine {
  animation: publicFloatingShine 2.5s linear infinite;
  background: linear-gradient(180deg, transparent, #ffd700, transparent);
  box-shadow: 0 0 12px #ffd700;
  height: 150%;
  left: 50%;
  opacity: 0.95;
  position: absolute;
  top: -25%;
  transform: translateX(-220%) rotate(25deg);
  width: 8px;
  z-index: 1;
}

iframe#chatway-launcher,
.chatway-launcher,
.chatway--trigger-container,
.chatway--trigger-icon-container,
#chatway_widget_trigger {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.chatway--container.widget--open,
.chatway--container.widget--open .chatway--frame-container,
.chatway--container.widget--open iframe.chatway--widget-frame {
  pointer-events: auto !important;
}

.chatway--container.widget--open .chatway--frame-container,
.chatway--container.widget--open iframe.chatway--widget-frame {
  z-index: 2147483647 !important;
}

.public-chatway-close {
  display: none;
}

@keyframes publicFloatingShine {
  to {
    transform: translateX(220%) rotate(25deg);
  }
}

.public-home .public-section-dots {
  right: 26px;
}

@media (max-width: 989px), (height >= width) {
  html.homepage,
  body.homepage {
    height: auto;
    overflow: auto;
  }

  .public-header {
    background: rgba(5, 8, 14, 0.92);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-header .public-brand {
    grid-column: 1;
    justify-self: start;
  }

  .public-header .public-nav-button {
    grid-column: 2;
    justify-self: end;
  }

  .public-header .public-header-actions {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .public-header.is-open .public-nav,
  .public-header.is-open .public-header-actions {
    display: flex;
  }

  .public-home.fullpage-scroll-container {
    height: auto;
    overscroll-behavior-y: auto;
    overflow-y: visible;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  .public-home > .public-hero,
  .public-home > .public-section {
    height: auto;
    min-height: 100svh;
    scroll-snap-align: none;
  }

  .public-home .public-hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .public-home .public-hero-home .public-hero-copy h1 {
    white-space: normal;
  }

  .public-home .section-copy {
    text-align: center;
  }

  .public-home .section-copy > p:not(.eyebrow) {
    text-align: center;
  }

  .legacy-service-features {
    display: inline-grid;
    max-width: 100%;
    text-align: left;
  }

  .legacy-achievements {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: 0;
    width: 100%;
  }

  .legacy-achievement-card {
    min-height: 0;
    position: static;
    width: 100%;
  }

  .legacy-achievement-card {
    border-radius: 16px;
  }

  .legacy-guide-clock-orbit,
  .legacy-metric-grid,
  .legacy-revenue-grid,
  .legacy-offer-metrics,
  .legacy-score-grid,
  .legacy-insights-cockpit,
  .legacy-insight-stream,
  .legacy-presso-stack,
  .legacy-explorer-layout,
  .legacy-explorer-points {
    grid-template-columns: 1fr;
  }

  .legacy-guide-clock-stage,
  .legacy-insights-shell,
  .legacy-presso-shell,
  .presshr-shell,
  .public-home-contact .public-section-shell {
    grid-template-columns: 1fr;
  }

  .public-home .public-home-contact {
    padding-bottom: 64px;
    padding-top: 72px;
  }

  .public-home-contact-shell {
    gap: 28px;
  }

  .public-home-contact-copy {
    max-width: 100%;
  }

  .public-home .public-home-contact .public-home-contact-copy h2 {
    font-size: 34px;
    line-height: 1.08;
    max-width: 100%;
  }

  .public-home .public-home-contact .public-home-contact-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .public-home-contact-signals {
    gap: 8px;
  }

  .public-home-contact-signals span {
    min-height: 34px;
    white-space: normal;
  }

  .public-home-contact-note {
    margin-top: 22px;
  }

  .public-home-contact-form {
    grid-template-columns: 1fr;
    padding: 20px 72px 20px 20px;
  }

  .public-home-contact-form .span-2 {
    grid-column: auto;
  }

  .public-home-contact-form-head {
    align-items: start;
    display: grid;
    gap: 8px;
  }

  .public-home-contact-form-head strong {
    font-size: 22px;
    text-align: left;
  }

  .public-home-contact-form .public-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-home-contact-form .button {
    width: 100%;
  }

  .legacy-insights-cockpit {
    min-height: 0;
  }

  .legacy-insights-shell .section-copy {
    justify-self: center;
    max-width: min(620px, 100%);
  }

  .legacy-insights-shell .section-copy h2 {
    font-size: clamp(36px, 8.6vw, 48px);
    line-height: 1.04;
    margin-left: auto;
    margin-right: auto;
    max-width: 12.2em;
  }

  .legacy-insights-shell .section-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.58;
    margin-left: auto;
    margin-right: auto;
    max-width: 34rem;
  }

  .legacy-insight-command {
    justify-content: center;
    margin-top: 22px;
  }

  .legacy-insight-radar {
    justify-self: center;
    max-width: min(520px, 100%);
    width: min(520px, 100%);
  }

  .legacy-presso-proof {
    justify-content: center;
  }

  .legacy-presso-board {
    min-height: 0;
    padding: 16px;
  }

  .legacy-presso-spine {
    display: none;
  }

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

  .legacy-presso-grid article:nth-child(odd),
  .legacy-presso-grid article:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .legacy-guide-clock-spin {
    display: none;
  }

  .public-floating-stack {
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 8px;
    right: max(14px, env(safe-area-inset-right));
    z-index: 2147483000;
  }

  .public-floating-stack.is-chatway-open,
  body.pressup-chatway-open .public-floating-stack,
  body.pressup-chatway-open .public-back-top {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  body.pressup-chatway-open .public-section-dots {
    opacity: 0;
    pointer-events: none;
  }

  .public-floating-contact {
    display: inline-flex;
    height: 48px;
    width: 48px;
  }

  .public-floating-contact svg {
    height: 22px;
    width: 22px;
  }

  .public-floating-menu {
    gap: 8px;
  }

  .public-floating-option {
    min-height: 46px;
    min-width: 142px;
    padding: 8px 9px 8px 14px;
  }

  .public-floating-option span {
    font-size: 13px;
  }

  .public-floating-option i {
    height: 30px;
    width: 30px;
  }

  .public-back-top {
    height: 40px;
    width: 48px;
  }

  .public-back-top svg {
    height: 30px;
    width: 30px;
  }

  .chatway--container.widget--open,
  .chatway--container.widget--open .chatway--frame-container,
  .chatway--container.widget--open iframe.chatway--widget-frame {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    height: clamp(520px, 72svh, 640px) !important;
    left: auto !important;
    max-height: calc(100svh - 126px) !important;
    max-width: calc(100vw - 40px) !important;
    overflow: hidden !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    top: auto !important;
    width: min(360px, calc(100vw - 40px)) !important;
    z-index: 2147483600 !important;
  }

  .chatway--container.widget--open,
  .chatway--container.widget--open .chatway--frame-container {
    position: fixed !important;
  }

  .chatway--container.widget--open .chatway--frame-container,
  .chatway--container.widget--open iframe.chatway--widget-frame {
    border-radius: 20px !important;
  }

  .chatway--container:not(.widget--open) .chatway--preview--only--container,
  .chatway--container:not(.widget--open) .chatway--quick--reply--container {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    transform-origin: bottom right !important;
  }

  .chatway--container.preview--open:not(.widget--open) .chatway--frame-container,
  .chatway--container.quick--reply--open:not(.widget--open) .chatway--frame-container {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    transform: scale(0.76) !important;
    transform-origin: bottom right !important;
  }

  .chatway--container:not(.widget--open) .chatway--preview-container.opened {
    transform: scale(0.76) !important;
    transform-origin: bottom right !important;
  }

  .public-chatway-close {
    align-items: center;
    background: rgba(10, 12, 18, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    color: #fff;
    cursor: pointer;
    display: none;
    height: 42px;
    justify-content: center;
    position: fixed;
    right: calc(max(14px, env(safe-area-inset-right)) + 12px);
    top: max(16px, calc(100svh - 88px - clamp(520px, 72svh, 640px) + 12px));
    width: 42px;
    z-index: 2147483647;
  }

  .public-chatway-close svg {
    height: 22px;
    width: 22px;
  }

  body.pressup-chatway-open .public-chatway-close {
    display: inline-flex;
  }

  .legacy-guide-clock-stage {
    display: block;
    min-height: auto;
    transform: none;
  }

  .public-home .legacy-guide-clock {
    padding: 72px 20px;
  }

  .legacy-guide-clock-orbit {
    display: grid;
    gap: 20px;
    height: auto;
    margin-left: 0;
  }

  .legacy-guide-clock-mask {
    display: none;
  }

  .legacy-guide-clock-card {
    left: auto;
    opacity: 1 !important;
    pointer-events: auto;
    position: relative;
    top: auto;
    transform: none !important;
    width: 100%;
  }

  .legacy-guide-clock-card:nth-of-type(n+4) {
    display: none;
  }

  .legacy-guide-clock-card::after {
    display: none;
  }

  .legacy-guide-clock-copy {
    margin: 34px 0 0;
    max-width: 100%;
  }

  .legacy-guide-active-copy h2 {
    font-size: 28px;
  }

  .legacy-workflow-list article {
    grid-template-columns: 1fr;
  }

  .legacy-performance-header,
  .legacy-trend-copy,
  .legacy-explorer-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .legacy-performance-header strong {
    text-align: left;
  }

  .legacy-explorer-dialog {
    max-height: calc(100svh - 18px);
    max-width: calc(100vw - 18px);
  }

  .legacy-explorer-head,
  .legacy-explorer-scroll {
    padding: 24px;
  }

  .legacy-explorer-head h3 {
    font-size: 28px;
  }

  .legacy-explorer-panel h4 {
    font-size: 24px;
  }

  .presso-platform-head {
    text-align: center;
  }

  .public-presso-quote .public-contact-grid {
    grid-template-columns: 1fr;
  }

  .public-presso-quote .public-contact-form {
    grid-template-columns: 1fr;
  }

  .presso-platform-head > p:not(.eyebrow) {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .presso-platform-actions {
    justify-content: center;
  }

  .presso-platform-map,
  .presso-deep-panel,
  .presso-deep-panel:nth-child(even),
  .presso-control-shell {
    grid-template-columns: 1fr;
  }

  .presso-deep-panel:nth-child(even) .section-copy,
  .presso-deep-panel:nth-child(even) .presso-deep-media {
    order: initial;
  }

  .presso-deep-space-inner {
    gap: 42px;
  }

  .presso-command-core {
    min-height: 320px;
    position: relative;
    text-align: center;
    top: auto;
  }

  .presso-command-core p {
    margin-left: auto;
    margin-right: auto;
  }

  .presso-module-card {
    min-height: 0;
  }

  .presso-quote-band {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .public-home-presshr {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .presshr-copy {
    justify-items: center;
    text-align: center;
  }

  .presshr-copy > p:not(.eyebrow) {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .presshr-benefits {
    max-width: 760px;
    text-align: left;
    width: 100%;
  }

  .presshr-board {
    max-width: 860px;
    width: 100%;
  }

  .presshr-board-head {
    align-items: start;
    display: grid;
  }

  .presshr-board-head strong {
    text-align: left;
  }

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

  .presshr-approval {
    grid-template-columns: 1fr;
  }

  .public-presshr-page {
    background-attachment: scroll;
    padding-left: 18px;
    padding-right: 18px;
  }

  .public-presshr-intro .presshr-shell,
  .presshr-wide-shell,
  .presshr-scorecard-shell,
  .presshr-approval-shell,
  .presshr-deployment-band {
    grid-template-columns: 1fr;
  }

  .public-presshr-page .presshr-copy h2,
  .public-presshr-page .section-copy h2 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.06;
    max-width: 11.4em;
  }

  .presshr-radar {
    max-width: 420px;
  }

  .presshr-radar-core {
    height: 70px;
    width: 70px;
  }

  .presshr-radar i {
    height: 34px;
    width: 34px;
  }

  .presshr-metric-strip,
  .presshr-score-tags,
  .presshr-insight-grid,
  .presshr-governance-grid {
    grid-template-columns: 1fr;
  }

  .presshr-flow-six {
    grid-template-columns: 1fr;
  }

  .presshr-deployment-band {
    padding: 24px;
    width: 100%;
  }

  .presshr-deployment-band .button {
    justify-self: start;
    white-space: normal;
  }

  .public-partners {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .public-partner-stage {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    max-width: min(680px, calc(100vw - 38px));
  }

  .public-partner-lightbox {
    min-height: 0;
    padding: 16px 18px;
  }

  .public-partner-lightbox-right {
    display: none;
  }

  .public-partner-lightbox strong {
    font-size: 24px;
  }

  .public-partner-galaxy {
    height: auto;
    max-width: 680px;
    min-height: 0;
    overflow: visible;
  }

  .public-partner-galaxy::before,
  .public-partner-galaxy::after,
  .public-partner-path,
  .public-partner-frame,
  .public-partner-pulse,
  .public-partner-spokes {
    display: none;
  }

  .public-partner-core {
    animation: none;
    display: flex;
    height: 112px;
    left: auto;
    margin: 0 auto 22px;
    position: relative;
    top: auto;
    transform: none;
    width: 112px;
  }

  .public-partner-nodes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    justify-items: center;
    position: relative;
  }

  .public-partner-logo,
  .public-partner-logo:nth-of-type(n+13) {
    animation: none;
    height: 112px;
    left: auto;
    opacity: 1;
    position: relative;
    top: auto;
    transform: none;
    width: 112px;
  }

  .public-partner-logo::before {
    display: none;
  }

  .public-partner-logo::after {
    display: none;
  }

  .public-partner-logo img {
    animation: none;
    filter: none;
  }

  .public-partner-logo:hover,
  .public-partner-logo:focus-visible {
    transform: translateY(-2px);
  }
}

.public-partner-mobile-controls {
  display: none;
}

@media (max-width: 989px) and (orientation: portrait), (height >= width) {
  .public-home > .public-partners {
    padding-bottom: 70px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 70px;
  }

  .public-partner-stage {
    max-width: min(430px, 100%);
  }

  .public-partner-lightbox {
    display: none;
  }

  .public-partner-galaxy {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
      rgba(9, 12, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 20px 54px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    padding: 18px;
  }

  .public-partner-galaxy::before,
  .public-partner-galaxy::after {
    display: block;
  }

  .public-partner-galaxy::before {
    background:
      radial-gradient(circle at 18% 18%, rgba(193, 40, 45, 0.24), transparent 30%),
      radial-gradient(circle at 88% 8%, rgba(34, 211, 238, 0.16), transparent 26%);
    border-radius: inherit;
    inset: 0;
    opacity: 1;
    transform: none;
  }

  .public-partner-galaxy::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 46%);
    border-radius: inherit;
    inset: 1px;
    opacity: 1;
    transform: none;
  }

  .public-partner-core {
    height: 78px;
    margin-bottom: 16px;
    padding: 15px;
    width: 78px;
    z-index: 2;
  }

  .public-partner-core img {
    max-height: 48px;
    max-width: 56px;
  }

  .public-partner-nodes {
    display: flex;
    gap: 10px;
    grid-template-columns: none;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    z-index: 2;
  }

  .public-partner-nodes::-webkit-scrollbar {
    display: none;
  }

  .public-partner-logo,
  .public-partner-logo:nth-of-type(n+13) {
    aspect-ratio: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    flex: 0 0 132px;
    height: auto;
    max-width: none;
    min-height: 86px;
    padding: 14px;
    scroll-snap-align: start;
    width: 100%;
  }

  .public-partner-logo img {
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
  }

  .public-partner-mobile-controls {
    align-items: center;
    display: flex;
    inset: auto 0 0;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
    position: absolute;
    top: calc(16px + 72px + 14px + 82px + 10px + 80px);
    transform: translateY(-50%);
    z-index: 3;
  }

  .public-partner-mobile-arrow {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    pointer-events: auto;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
    width: 38px;
  }

  .public-partner-mobile-arrow:hover,
  .public-partner-mobile-arrow:focus-visible {
    background: rgba(193, 40, 45, 0.86);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
  }

  .public-partner-mobile-arrow svg {
    height: 20px;
    width: 20px;
  }
}

@media (min-width: 990px) and (max-height: 900px) {
  .public-home > .public-home-presshr {
    padding-bottom: 28px;
    padding-top: 88px;
  }

  .presshr-shell {
    gap: 32px;
    grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
    max-width: min(1390px, calc(100vw - 128px));
  }

  .presshr-copy {
    gap: 12px;
  }

  .presshr-copy h2 {
    font-size: clamp(34px, 3vw, 50px);
    line-height: 1.03;
    max-width: 10.8em;
  }

  .presshr-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.5;
    max-width: 560px;
  }

  .presshr-benefits {
    gap: 9px;
    margin-top: 4px;
  }

  .presshr-benefits article {
    min-height: 0;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .presshr-board {
    gap: 15px;
    padding: 22px;
  }

  .presshr-board-head strong {
    font-size: clamp(24px, 2.2vw, 32px);
  }

  .presshr-flow {
    gap: 12px;
  }

  .presshr-flow article {
    min-height: 162px;
    padding: 16px;
  }

  .presshr-flow i {
    height: 42px;
    margin-bottom: 18px;
    width: 42px;
  }

  .presshr-approval {
    gap: 14px;
  }

  .presshr-approval-core,
  .presshr-approval-lane {
    padding: 16px;
  }

  .presshr-approval-lane {
    --presshr-lane-pad: 16px;
    --presshr-rail-x: 38px;
    gap: 9px;
  }

  .public-home > .public-partners {
    justify-content: center;
    padding-bottom: 24px;
    padding-top: 92px;
  }

  .public-partner-stage {
    gap: 28px;
    grid-template-columns: minmax(104px, 138px) minmax(560px, 1fr) minmax(104px, 138px);
    max-width: min(1280px, calc(100vw - 96px));
  }

  .public-partner-lightbox {
    border-radius: 14px;
    min-height: 240px;
    padding: 20px 14px;
  }

  .public-partner-lightbox strong {
    font-size: 21px;
  }

  .public-partner-galaxy {
    --partner-logo-size: clamp(40px, calc(128px - (var(--partner-count) * 3.8px)), 72px);
    --orbit-radius: 232px;
    height: 530px;
    margin-top: 0;
    min-height: 530px;
  }

  .public-partner-core {
    height: 112px;
    padding: 20px;
    width: 112px;
  }

  .public-partner-logo {
    height: var(--partner-logo-size);
    padding: 13px;
    width: var(--partner-logo-size);
  }

  .public-partner-logo img {
    max-height: clamp(22px, calc(var(--partner-logo-size) - 28px), 36px);
  }
}

@media (max-width: 640px), (height >= width) and (max-width: 640px) {
  .legacy-achievements {
    grid-template-columns: 1fr;
  }

  .legacy-insights-shell .section-copy h2 {
    font-size: clamp(34px, 9.4vw, 40px);
    max-width: 10.6em;
  }

  .legacy-insights-shell .section-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .legacy-presso-grid,
  .legacy-presso-stack {
    grid-template-columns: 1fr;
  }

  .presso-platform-head h2 {
    font-size: clamp(34px, 9.2vw, 44px);
    line-height: 1.06;
  }

  .presso-deep-panel .section-copy h2 {
    font-size: clamp(32px, 8.4vw, 42px);
  }

  .presso-module-grid,
  .presso-rule-list {
    grid-template-columns: 1fr;
  }

  .presso-module-card,
  .presso-control-copy,
  .presso-rule-list,
  .presso-quote-band {
    padding: 18px;
  }

  .presso-module-card span {
    margin-bottom: 22px;
  }

  .presso-command-core::before {
    height: 260px;
    width: 260px;
  }

  .presso-command-core::after {
    height: 198px;
    width: 198px;
  }

  .presshr-copy h2 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.06;
  }

  .presshr-benefits article {
    padding: 16px 16px 16px 64px;
  }

  .presshr-benefits article::before {
    left: 47px;
  }

  .presshr-benefits span {
    left: 14px;
  }

  .presshr-board {
    border-radius: 16px;
    padding: 18px;
  }

  .presshr-flow {
    grid-template-columns: 1fr;
  }

  .presshr-flow article {
    min-height: 0;
  }

  .presshr-flow i {
    margin-bottom: 24px;
  }

  .presshr-approval-core {
    padding: 18px;
  }

  .public-partner-nodes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) and (orientation: portrait), (height >= width) and (max-width: 640px) {
  .public-home > .public-partners {
    align-items: stretch;
    display: block;
    height: auto;
    justify-content: flex-start;
    min-height: 0;
    padding: 56px 18px;
  }

  .public-partner-stage {
    display: block;
    max-width: 430px;
  }

  .public-partner-galaxy {
    height: auto;
    margin: 0 auto;
    min-height: 0;
    padding: 16px;
  }

  .public-partner-core {
    height: 72px;
    margin-bottom: 14px;
    padding: 14px;
    width: 72px;
  }

  .public-partner-nodes {
    display: grid;
    gap: 10px;
    grid-auto-columns: calc((100% - 10px) / 2);
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: repeat(3, minmax(82px, auto));
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 8px;
    scroll-padding-left: 2px;
    scroll-snap-type: x mandatory;
  }

  .public-partner-logo,
  .public-partner-logo:nth-of-type(n+13) {
    aspect-ratio: 1.42;
    border-radius: 12px;
    flex-basis: auto;
    height: auto;
    min-height: 82px;
    padding: 12px;
    scroll-snap-align: start;
    width: 100%;
  }

  .public-partner-logo:nth-of-type(n+7) {
    display: flex;
  }

  .public-partner-logo img {
    max-height: 36px;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-home .public-hero-home .public-hero-copy h1 {
    font-size: clamp(34px, 4.2vw, 48px);
  }

  .public-header .public-nav {
    margin-left: -28px;
    margin-right: -28px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .legacy-guide-clock-stage,
  .legacy-insights-shell {
    gap: 26px;
  }

  .legacy-insights-cockpit {
    gap: 18px;
    min-height: 440px;
  }

  .legacy-presso-shell {
    gap: 22px;
    grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr);
  }

  .public-home-presso .section-copy h2 {
    font-size: clamp(28px, 3vw, 36px);
  }

  .public-home-presso .section-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .legacy-presso-proof {
    gap: 7px;
    margin: 14px 0;
  }

  .legacy-presso-proof span {
    font-size: 11px;
    padding: 6px 9px;
  }

  .legacy-presso-board {
    min-height: 260px;
    padding: 12px;
  }

  .legacy-presso-board .legacy-window-bar {
    margin-bottom: 10px;
  }

  .legacy-presso-spine {
    display: none;
  }

  .legacy-presso-grid {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
  }

  .legacy-presso-grid article {
    min-height: 76px;
    padding: 9px 10px;
  }

  .legacy-presso-grid article:nth-child(odd),
  .legacy-presso-grid article:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .legacy-presso-grid small {
    margin-bottom: 5px;
  }

  .legacy-presso-grid strong {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .legacy-presso-grid span {
    font-size: 11px;
    line-height: 1.32;
  }

  .legacy-presso-stack {
    gap: 8px;
  }

  .legacy-presso-stack article {
    padding: 10px;
  }

  .legacy-presso-stack h3 {
    font-size: 14px;
  }

  .legacy-presso-stack p {
    font-size: 12px;
    line-height: 1.42;
  }

  .public-home .public-home-contact {
    padding-bottom: 54px;
    padding-top: 54px;
  }

  .public-home-contact-shell {
    gap: 28px;
    grid-template-columns: minmax(310px, 0.8fr) minmax(460px, 1.2fr);
  }

  .public-home .public-home-contact .public-home-contact-copy h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .public-home .public-home-contact .public-home-contact-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .public-home-contact-signals {
    margin-top: 14px;
  }

  .public-home-contact-signals span {
    font-size: 11px;
    min-height: 30px;
    padding: 0 10px;
  }

  .public-home-contact-note {
    margin-top: 16px;
    padding: 14px 16px;
  }

  .public-home-contact-note strong {
    font-size: 15px;
  }

  .public-home-contact-note span {
    font-size: 12px;
  }

  .public-home-contact-form {
    gap: 10px;
    padding: 18px;
  }

  .public-home-contact-form-head {
    padding-bottom: 12px;
  }

  .public-home-contact-form-head strong {
    font-size: 20px;
  }

  .public-home-contact-form input,
  .public-home-contact-form select,
  .public-home-contact-form textarea {
    min-height: 42px;
    padding: 10px 12px;
  }

  .public-home-contact-form textarea {
    min-height: 92px;
  }

  .presso-platform-map {
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  }

  .presso-command-core {
    min-height: 330px;
    padding: 24px;
  }

  .presso-module-grid {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .presso-module-card {
    min-height: 188px;
    padding: 16px;
  }

  .presso-module-card span {
    margin-bottom: 18px;
  }

  .presso-module-card h3 {
    font-size: 18px;
  }

  .presso-module-card p {
    font-size: 12px;
    line-height: 1.46;
  }

  .presso-deep-space-inner {
    gap: 34px;
  }

  .presso-deep-panel {
    gap: 20px;
  }

  .presso-deep-panel .section-copy h2 {
    font-size: clamp(26px, 3vw, 34px);
  }

  .legacy-insight-radar {
    max-width: 430px;
  }

  .legacy-lab-panel {
    padding: 14px 16px;
  }

  .legacy-lab-panel strong {
    font-size: 22px;
  }

  .legacy-performance-lab {
    gap: 12px;
    padding: 18px;
  }

  .legacy-performance-header h3 {
    font-size: 20px;
  }

  .legacy-performance-header strong {
    font-size: 34px;
    padding: 10px 14px;
  }

  .legacy-trend-chart {
    height: 138px;
  }

  .legacy-trend-copy strong {
    font-size: 12px;
  }

  .legacy-metric-grid article,
  .legacy-score-grid div,
  .legacy-revenue-card,
  .legacy-offer-metrics article,
  .legacy-offer-steps article {
    padding: 12px;
  }

  .legacy-metric-grid strong,
  .legacy-offer-metrics strong {
    font-size: 20px;
  }

  .legacy-achievements {
    height: 22rem;
    min-height: 352px;
  }

  .legacy-achievement-card {
    padding: 18px;
    width: 46%;
  }

  .legacy-achievement-icon {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .legacy-achievement-card h3 {
    font-size: 16px;
  }

  .legacy-achievement-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .legacy-guide-clock-stage {
    transform: translateX(-54px);
  }

  .legacy-guide-clock-orbit {
    height: 500px;
    margin-left: calc(clamp(1rem, 4vw, 2rem) + 4.5rem);
  }

  .legacy-guide-clock-card {
    width: 280px;
  }

  .legacy-guide-clock-copy {
    flex-basis: 340px;
    margin-left: 48px;
    margin-right: calc(24px + 100px + 20px);
  }

  .legacy-guide-card-body {
    padding: 16px 18px 18px;
  }

  .legacy-guide-card-body h3 {
    font-size: 16px;
    min-height: 38px;
  }

  .legacy-guide-card-body span {
    font-size: 12px;
  }

  .legacy-guide-active-copy h2 {
    font-size: 28px;
  }
}
/* SiteForge guides page */
.public-hero-siteforge {
  background:
    radial-gradient(circle at 18% 24%, rgba(193, 40, 45, 0.28), transparent 30%),
    linear-gradient(135deg, #040407 0%, #090b12 58%, #130507 100%);
  min-height: min(820px, 92vh);
}

.public-hero-siteforge::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: 86px 86px;
  content: "";
  inset: 0;
  opacity: 0.5;
  position: absolute;
  z-index: 1;
}

.public-hero-siteforge::after {
  background: linear-gradient(90deg, rgba(3, 3, 5, 0.88) 0%, rgba(3, 3, 5, 0.44) 48%, rgba(3, 3, 5, 0.92) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.public-hero-siteforge .public-hero-media {
  opacity: 0.52;
}

.public-hero-siteforge .public-hero-copy,
.public-hero-siteforge .public-highlights {
  position: relative;
  z-index: 2;
}

.public-hero-siteforge .public-hero-copy h1 {
  font-size: clamp(38px, 4.7vw, 68px);
  letter-spacing: 0;
  line-height: 1;
  max-width: 940px;
}

.public-hero-siteforge .public-hero-copy > p {
  max-width: 760px;
}

.public-hero-siteforge .public-highlights {
  backdrop-filter: blur(16px);
  background: rgba(8, 9, 14, 0.76);
  border-color: rgba(193, 40, 45, 0.42);
}

.public-section[class*="public-section-siteforge-"] {
  background:
    radial-gradient(circle at 15% 12%, rgba(193, 40, 45, 0.16), transparent 28%),
    radial-gradient(circle at 86% 76%, rgba(41, 171, 226, 0.1), transparent 24%),
    linear-gradient(180deg, #030305 0%, #090a10 100%);
  box-shadow:
    inset 0 96px 130px rgba(3, 3, 5, 0.92),
    inset 0 -108px 140px rgba(3, 3, 5, 0.94);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(86px, 8vw, 138px);
  position: relative;
}

.public-section[class*="public-section-siteforge-"]::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),
    linear-gradient(115deg, rgba(3, 3, 5, 0.92) 0%, rgba(3, 3, 5, 0.58) 50%, rgba(3, 3, 5, 0.94) 100%);
  background-attachment: scroll, scroll, scroll;
  background-position: center;
  background-size: 86px 86px, 86px 86px, cover;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.public-section.public-section-siteforge-trends::before,
.public-section.public-section-siteforge-roadmap::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),
    linear-gradient(115deg, rgba(3, 3, 5, 0.92) 0%, rgba(3, 3, 5, 0.36) 48%, rgba(3, 3, 5, 0.94) 100%),
    var(--siteforge-parallax-image);
  background-attachment: scroll, scroll, scroll, fixed;
  background-position: center, center, center, center;
  background-size: 86px 86px, 86px 86px, cover, cover;
  opacity: 0.9;
}

.public-section-siteforge-trends {
  --siteforge-parallax-image: url("/static/img/legacy/insights-bg.webp");
}

.public-section-siteforge-roadmap {
  --siteforge-parallax-image: image-set(
    url("/static/img/legacy/service_web_dev_bg_red.webp") type("image/webp"),
    url("/static/img/legacy/service_web_dev_bg_red.jpg") type("image/jpeg")
  );
}

.public-section-siteforge-trends[data-reveal],
.public-section-siteforge-roadmap[data-reveal],
.public-section-siteforge-trends[data-reveal].is-visible,
.public-section-siteforge-roadmap[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.public-section[class*="public-section-siteforge-"] .public-section-shell {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  max-width: 1380px;
  position: relative;
  z-index: 1;
}

.public-section.public-section-siteforge-trends .public-section-shell,
.public-section.public-section-siteforge-roadmap .public-section-shell {
  grid-template-columns: minmax(560px, 1.18fr) minmax(0, 0.82fr);
}

.public-section.public-section-siteforge-comparison .public-section-shell {
  align-items: start;
  gap: 28px;
  grid-template-columns: 1fr;
  max-width: 1280px;
}

.public-section-siteforge-trends .section-copy,
.public-section-siteforge-roadmap .section-copy {
  order: 2;
}

.public-section-siteforge-comparison .section-copy,
.public-section-siteforge-comparison .siteforge-panel {
  order: 0;
}

.public-section[class*="public-section-siteforge-"] .section-copy {
  max-width: 660px;
}

.public-section-siteforge-comparison .section-copy {
  max-width: 900px;
}

.public-section[class*="public-section-siteforge-"] .section-copy .eyebrow {
  color: #ff7b80;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.public-section[class*="public-section-siteforge-"] .section-copy h2 {
  color: #fff;
  font-size: clamp(30px, 3.25vw, 48px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.public-section[class*="public-section-siteforge-"] .section-copy > p:not(.eyebrow) {
  color: rgba(235, 238, 245, 0.84);
  font-size: 16px;
  line-height: 1.72;
}

.siteforge-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.siteforge-metric-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.siteforge-metric-board article,
.siteforge-insight-grid article,
.siteforge-feature-grid article,
.siteforge-flow li,
.siteforge-compare-table {
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.siteforge-metric-board article {
  min-height: 142px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.siteforge-metric-board article::after {
  background: radial-gradient(circle, rgba(193, 40, 45, 0.52), transparent 58%);
  content: "";
  height: 92px;
  position: absolute;
  right: -34px;
  top: -34px;
  width: 92px;
}

.siteforge-metric-board span,
.siteforge-insight-grid span {
  color: rgba(255, 180, 184, 0.86);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.siteforge-metric-board strong {
  color: #fff;
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.siteforge-metric-board i {
  background: rgba(255, 255, 255, 0.11);
  bottom: 18px;
  height: 7px;
  left: 20px;
  overflow: hidden;
  position: absolute;
  right: 20px;
}

.siteforge-metric-board i::before {
  animation: siteforgeBarPulse 3s ease-in-out infinite;
  background: linear-gradient(90deg, #C1282D, #ffffff, #29abe2);
  content: "";
  display: block;
  height: 100%;
  width: var(--bar, 50%);
}

.siteforge-flow {
  counter-reset: siteforge-flow;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.siteforge-flow li {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr;
  padding: 14px 16px;
}

.siteforge-flow i {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.siteforge-flow span,
.siteforge-feature-grid p,
.siteforge-insight-grid p {
  color: rgba(235, 238, 245, 0.82);
  line-height: 1.58;
  margin: 0;
}

.siteforge-feature-grid,
.siteforge-insight-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.siteforge-feature-grid article,
.siteforge-insight-grid article {
  padding: 18px;
}

.siteforge-insight-grid article {
  display: flex;
  flex-direction: column;
}

.siteforge-insight-grid article > p {
  margin-bottom: 18px;
}

.siteforge-feature-grid span {
  background: linear-gradient(135deg, #C1282D, #ff696f);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(193, 40, 45, 0.36);
  display: block;
  height: 10px;
  margin-bottom: 16px;
  width: 38px;
}

.siteforge-insight-grid h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.18;
  margin: 0 0 10px;
}

.siteforge-insight-grid a {
  color: #ff8d91;
  display: inline-flex;
  font-weight: 900;
  margin-top: 14px;
  text-decoration: none;
}

.siteforge-insight-grid .siteforge-explorer-trigger {
  align-self: flex-start;
  background: #C1282D;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(193, 40, 45, 0.24);
  color: #fff;
  margin-top: auto;
  min-height: 42px;
  padding: 10px 15px;
}

.siteforge-insight-grid .siteforge-explorer-trigger svg {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  height: 24px;
  margin: 0;
  padding: 5px;
  width: 24px;
}

.siteforge-insight-grid .siteforge-explorer-trigger:hover,
.siteforge-insight-grid .siteforge-explorer-trigger:focus-visible {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.14);
  color: #C1282D;
  outline: none;
}

.siteforge-insight-grid .siteforge-explorer-trigger:hover svg,
.siteforge-insight-grid .siteforge-explorer-trigger:focus-visible svg {
  background: #C1282D;
  color: #fff;
}

.siteforge-source-dialog {
  position: relative;
}

.siteforge-source-dialog .legacy-explorer-head {
  background:
    radial-gradient(circle at 18% 0%, rgba(193, 40, 45, 0.34), transparent 44%),
    linear-gradient(140deg, rgba(193, 40, 45, 0.18), rgba(255, 255, 255, 0.035));
}

.siteforge-source-dialog .legacy-explorer-head p,
.siteforge-source-dialog .legacy-explorer-panel p {
  color: #ff9da1;
}

.siteforge-visual {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin: 0;
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.siteforge-visual img {
  display: block;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.72;
  width: 100%;
}

.siteforge-compare-table {
  overflow: auto;
}

.siteforge-compare-table table {
  border-collapse: collapse;
  min-width: 0;
  width: 100%;
}

.siteforge-compare-table th,
.siteforge-compare-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(236, 239, 246, 0.82);
  line-height: 1.5;
  padding: 18px;
  text-align: left;
  vertical-align: top;
}

.siteforge-compare-table thead th {
  background: rgba(193, 40, 45, 0.16);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.siteforge-compare-table tbody th {
  color: #fff;
  font-weight: 900;
  width: 18%;
}

@keyframes siteforgeBarPulse {
  0%, 100% { filter: brightness(0.92); transform: scaleX(0.96); }
  50% { filter: brightness(1.18); transform: scaleX(1); }
}

/* Insights 2026 page */
.public-hero-insights {
  background:
    radial-gradient(circle at 20% 18%, rgba(193, 40, 45, 0.3), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(41, 171, 226, 0.13), transparent 30%),
    linear-gradient(135deg, #030305 0%, #080910 56%, #150507 100%);
  min-height: min(860px, 94svh);
}

.public-hero-insights::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),
    radial-gradient(circle, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.6px);
  background-position: center, center, 28px 34px;
  background-size: 88px 88px, 88px 88px, 260px 190px;
  content: "";
  inset: 0;
  opacity: 0.42;
  position: absolute;
  z-index: 1;
}

.public-hero-insights::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 5, 0.92) 0%, rgba(3, 3, 5, 0.58) 46%, rgba(3, 3, 5, 0.9) 100%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.12), #030305 98%);
  z-index: 1;
}

.public-hero-insights .public-hero-media {
  opacity: 0.54;
  transform: scale(1.03);
}

.public-hero-insights .public-hero-copy,
.public-hero-insights .public-highlights {
  position: relative;
  z-index: 2;
}

.public-hero-insights .public-hero-copy {
  max-width: 1080px;
}

.public-hero-insights .public-hero-copy h1 {
  font-size: clamp(40px, 5vw, 78px);
  letter-spacing: 0;
  line-height: 0.98;
  max-width: 1040px;
}

.public-hero-insights .public-hero-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.62;
  max-width: 840px;
}

.public-hero-insights .button {
  background: #C1282D;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(193, 40, 45, 0.28);
  color: #fff;
}

.public-hero-insights .button.secondary {
  background: #fff;
  color: #C1282D;
}

.public-hero-insights .button.secondary:hover,
.public-hero-insights .button.secondary:focus-visible {
  background: #C1282D;
  color: #fff;
}

.public-hero-insights .public-highlights {
  backdrop-filter: blur(16px);
  background: rgba(6, 7, 12, 0.74);
  border-color: rgba(193, 40, 45, 0.38);
}

.public-section[class*="public-section-insights-"] {
  --insights-parallax-image: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(193, 40, 45, 0.17), transparent 28%),
    radial-gradient(circle at 84% 76%, rgba(34, 211, 238, 0.1), transparent 26%),
    linear-gradient(180deg, #030305 0%, #08090f 100%);
  box-shadow:
    inset 0 92px 120px rgba(3, 3, 5, 0.92),
    inset 0 -104px 130px rgba(3, 3, 5, 0.94);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(86px, 9vw, 148px);
  position: relative;
}

.public-section[class*="public-section-insights-"]::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),
    linear-gradient(115deg, rgba(3, 3, 5, 0.92) 0%, rgba(3, 3, 5, 0.5) 48%, rgba(3, 3, 5, 0.94) 100%);
  background-attachment: scroll, scroll, scroll;
  background-position: center;
  background-size: 86px 86px, 86px 86px, cover;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.public-section.public-section-insights-ai-shift::before,
.public-section.public-section-insights-personalization::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),
    linear-gradient(115deg, rgba(3, 3, 5, 0.94) 0%, rgba(3, 3, 5, 0.38) 48%, rgba(3, 3, 5, 0.96) 100%),
    var(--insights-parallax-image);
  background-attachment: scroll, scroll, scroll, fixed;
  background-position: center, center, center, center;
  background-size: 86px 86px, 86px 86px, cover, cover;
  opacity: 0.9;
}

.public-section.public-section-insights-ai-shift {
  --insights-parallax-image: url("/static/img/legacy/insights-bg.webp");
}

.public-section.public-section-insights-personalization {
  --insights-parallax-image: image-set(
    url("/static/img/legacy/service_seo_bg_red.webp") type("image/webp"),
    url("/static/img/legacy/service_seo_bg_red.jpg") type("image/jpeg")
  );
}

.public-section-insights-ai-shift[data-reveal],
.public-section-insights-personalization[data-reveal],
.public-section-insights-ai-shift[data-reveal].is-visible,
.public-section-insights-personalization[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.public-section[class*="public-section-insights-"] .public-section-shell {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  max-width: 1400px;
  position: relative;
  z-index: 1;
}

.public-section-insights-ai-shift .public-section-shell,
.public-section-insights-personalization .public-section-shell {
  grid-template-columns: minmax(560px, 1.16fr) minmax(0, 0.84fr);
}

.public-section-insights-roadmap .public-section-shell {
  align-items: start;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
}

.public-section-insights-ai-shift .section-copy,
.public-section-insights-personalization .section-copy {
  order: 2;
}

.public-section[class*="public-section-insights-"] .section-copy {
  max-width: 660px;
}

.public-section[class*="public-section-insights-"] .section-copy .eyebrow {
  color: #ff7b80;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.public-section[class*="public-section-insights-"] .section-copy h2 {
  color: #fff;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 11.5em;
}

.public-section[class*="public-section-insights-"] .section-copy > p:not(.eyebrow) {
  color: rgba(235, 238, 245, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

.insights-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.insights-metric-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insights-metric-board article,
.insights-source-grid article,
.insights-feature-grid article,
.insights-flow li {
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.insights-metric-board article {
  min-height: 138px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.insights-metric-board article::after {
  background: radial-gradient(circle, rgba(193, 40, 45, 0.52), transparent 58%);
  content: "";
  height: 92px;
  position: absolute;
  right: -34px;
  top: -34px;
  width: 92px;
}

.insights-metric-board span,
.insights-source-grid span {
  color: rgba(255, 180, 184, 0.86);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.insights-metric-board strong {
  color: #fff;
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.insights-metric-board i {
  background: rgba(255, 255, 255, 0.11);
  bottom: 18px;
  height: 7px;
  left: 20px;
  overflow: hidden;
  position: absolute;
  right: 20px;
}

.insights-metric-board i::before {
  animation: insightsBarPulse 3.2s ease-in-out infinite;
  background: linear-gradient(90deg, #C1282D, #ffffff, #29abe2);
  content: "";
  display: block;
  height: 100%;
  width: var(--bar, 50%);
}

.insights-flow {
  counter-reset: insights-flow;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.insights-flow li {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
}

.insights-flow li::after {
  animation: insightsFlowSweep 4.2s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(193, 40, 45, 0.32), rgba(255, 255, 255, 0.16), transparent);
  content: "";
  inset: 0;
  opacity: 0.64;
  position: absolute;
  transform: translateX(-120%);
}

.insights-flow i {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
  z-index: 1;
}

.insights-flow span,
.insights-feature-grid p,
.insights-source-grid p {
  color: rgba(235, 238, 245, 0.82);
  line-height: 1.58;
  margin: 0;
  position: relative;
  z-index: 1;
}

.insights-feature-grid,
.insights-source-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insights-feature-grid article,
.insights-source-grid article {
  padding: 18px;
}

.insights-source-grid article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insights-source-grid article > p {
  margin-bottom: 18px;
}

.insights-feature-grid span {
  background: linear-gradient(135deg, #C1282D, #ff696f);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(193, 40, 45, 0.36);
  display: block;
  height: 10px;
  margin-bottom: 16px;
  width: 38px;
}

.insights-source-grid h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.18;
  margin: 0 0 10px;
}

.insights-source-grid .insights-explorer-trigger {
  align-self: flex-start;
  background: #C1282D;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(193, 40, 45, 0.24);
  color: #fff;
  margin-top: auto;
  min-height: 42px;
  padding: 10px 15px;
}

.insights-source-grid .insights-explorer-trigger svg {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  height: 24px;
  margin: 0;
  padding: 5px;
  width: 24px;
}

.insights-source-grid .insights-explorer-trigger:hover,
.insights-source-grid .insights-explorer-trigger:focus-visible {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.14);
  color: #C1282D;
  outline: none;
}

.insights-source-grid .insights-explorer-trigger:hover svg,
.insights-source-grid .insights-explorer-trigger:focus-visible svg {
  background: #C1282D;
  color: #fff;
}

.insights-source-dialog {
  position: relative;
}

.insights-source-dialog .legacy-explorer-scroll {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.insights-source-dialog .legacy-explorer-head {
  background:
    radial-gradient(circle at 18% 0%, rgba(193, 40, 45, 0.34), transparent 44%),
    linear-gradient(140deg, rgba(193, 40, 45, 0.18), rgba(255, 255, 255, 0.035));
}

.insights-source-dialog .legacy-explorer-head p,
.insights-source-dialog .legacy-explorer-panel p {
  color: #ff9da1;
}

.insights-source-dialog .legacy-explorer-panel > span {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.66;
}

@keyframes insightsBarPulse {
  0%, 100% { filter: brightness(0.92); transform: scaleX(0.96); }
  50% { filter: brightness(1.18); transform: scaleX(1); }
}

@keyframes insightsFlowSweep {
  0% { transform: translateX(-120%); }
  58% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-hero-insights .public-hero-copy h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    max-width: 780px;
  }

  .public-section[class*="public-section-insights-"] {
    padding-block: 72px;
  }

  .public-section[class*="public-section-insights-"] .public-section-shell {
    gap: 26px;
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .public-section-insights-ai-shift .public-section-shell,
  .public-section-insights-personalization .public-section-shell {
    grid-template-columns: minmax(430px, 1.14fr) minmax(0, 0.86fr);
  }

  .public-section[class*="public-section-insights-"] .section-copy h2 {
    font-size: clamp(26px, 2.7vw, 34px);
  }

  .public-section[class*="public-section-insights-"] .section-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.64;
  }

  .insights-metric-board {
    gap: 10px;
  }

  .insights-metric-board article {
    min-height: 118px;
    padding: 16px;
  }

  .insights-metric-board strong {
    font-size: clamp(22px, 2.5vw, 32px);
  }
}

@media (max-width: 990px), (orientation: portrait) {
  .public-hero-insights {
    min-height: auto;
  }

  .public-hero-insights .public-hero-copy h1 {
    font-size: clamp(38px, 10vw, 58px);
    line-height: 1.02;
  }

  .public-section[class*="public-section-insights-"] {
    padding: 60px 18px;
  }

  .public-section[class*="public-section-insights-"]::before {
    background-attachment: scroll, scroll, scroll;
    opacity: 0.56;
  }

  .public-section.public-section-insights-ai-shift::before,
  .public-section.public-section-insights-personalization::before {
    background-attachment: scroll, scroll, scroll, scroll;
    opacity: 0.58;
  }

  .public-section[class*="public-section-insights-"] .public-section-shell,
  .public-section-insights-ai-shift .public-section-shell,
  .public-section-insights-personalization .public-section-shell,
  .public-section-insights-roadmap .public-section-shell {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .public-section-insights-ai-shift .section-copy,
  .public-section-insights-personalization .section-copy {
    order: 0;
  }

  .public-section[class*="public-section-insights-"] .section-copy {
    max-width: none;
  }

  .public-section[class*="public-section-insights-"] .section-copy h2 {
    font-size: clamp(28px, 8vw, 40px);
    max-width: 10.5em;
  }

  .insights-metric-board,
  .insights-feature-grid,
  .insights-source-grid {
    grid-template-columns: 1fr;
  }

  .insights-flow li {
    grid-template-columns: 46px 1fr;
    padding: 13px;
  }

  .insights-flow i {
    height: 38px;
    width: 38px;
  }
}

/* Services landing page */
.public-hero-services {
  background: #030305;
  min-height: min(92svh, 860px);
  overflow: hidden;
}

.public-hero-services::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),
    radial-gradient(circle at 74% 28%, rgba(193, 40, 45, 0.34), transparent 34%),
    radial-gradient(circle at 22% 74%, rgba(34, 211, 238, 0.14), transparent 32%);
  background-size: 92px 92px, 92px 92px, 100% 100%, 100% 100%;
  content: "";
  inset: 0;
  opacity: 0.72;
  position: absolute;
  z-index: 0;
}

.public-hero-services::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 5, 0.94) 0%, rgba(3, 3, 5, 0.74) 45%, rgba(3, 3, 5, 0.9) 100%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.28), #030305 96%);
}

.public-hero-services .public-hero-media {
  opacity: 0.58;
  transform: scale(1.04);
}

.public-hero-services .public-hero-copy {
  max-width: 1180px;
  padding-top: 24px;
}

.public-hero-services .public-hero-copy h1 {
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 0.98;
  max-width: 1100px;
}

.public-hero-services .public-hero-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.62;
  max-width: 850px;
}

.public-hero-services .button,
.public-section[class*="public-section-service-landing-"] .button {
  background: #C1282D;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(193, 40, 45, 0.28);
  color: #fff;
}

.public-hero-services .button.secondary,
.public-section[class*="public-section-service-landing-"] .button.secondary {
  background: #fff;
  color: #C1282D;
}

.public-hero-services .button.secondary:hover,
.public-section[class*="public-section-service-landing-"] .button.secondary:hover {
  background: #C1282D;
  color: #fff;
}

.public-hero-services .public-highlights {
  backdrop-filter: blur(16px);
  background: rgba(6, 7, 12, 0.72);
  border-color: rgba(193, 40, 45, 0.35);
}

.public-section[class*="public-section-service-landing-"] {
  --service-parallax-image: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(193, 40, 45, 0.18), transparent 28%),
    radial-gradient(circle at 84% 76%, rgba(34, 211, 238, 0.1), transparent 26%),
    linear-gradient(180deg, #030305 0%, #08090f 100%);
  box-shadow:
    inset 0 92px 120px rgba(3, 3, 5, 0.92),
    inset 0 -104px 130px rgba(3, 3, 5, 0.94);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(86px, 9vw, 148px);
}

.public-section[class*="public-section-service-landing-"].has-section-video {
  background: #030305;
}

.public-section-bg-video {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.public-section[class*="public-section-service-landing-"]::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),
    linear-gradient(110deg, rgba(3, 3, 5, 0.9) 0%, rgba(3, 3, 5, 0.48) 46%, rgba(3, 3, 5, 0.94) 100%);
  background-attachment: scroll, scroll, scroll;
  background-position: center, center, center;
  background-size: 86px 86px, 86px 86px, cover;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
  opacity: 0.7;
  position: absolute;
  z-index: -1;
}

.public-section-service-landing-ai-cms[data-reveal],
.public-section-service-landing-growth[data-reveal],
.public-section-service-landing-ai-cms[data-reveal].is-visible,
.public-section-service-landing-growth[data-reveal].is-visible {
  transform: none;
}

.public-section.public-section-service-landing-web {
  --service-parallax-image: image-set(
    url("/static/img/legacy/service_web_dev_bg_red.webp") type("image/webp"),
    url("/static/img/legacy/service_web_dev_bg_red.jpg") type("image/jpeg")
  );
}

.public-section.public-section-service-landing-ai-cms {
  --service-parallax-image: url("/static/img/public/presso-next-ai-governance.webp");
}

.public-section.public-section-service-landing-wordpress {
  --service-parallax-image: url("/static/img/legacy/blog-hero.webp");
}

.public-section.public-section-service-landing-marketing {
  --service-parallax-image: image-set(
    url("/static/img/legacy/service_seo_bg_red.webp") type("image/webp"),
    url("/static/img/legacy/service_seo_bg_red.jpg") type("image/jpeg")
  );
}

.public-section.public-section-service-landing-marketing.has-section-video::before {
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.75);
}

@media (max-width: 989px), (orientation: portrait) {
  .public-section.public-section-service-landing-marketing .public-section-bg-video {
    object-position: 42% center;
  }
}

.public-section.public-section-service-landing-growth {
  --service-parallax-image: url("/static/img/legacy/visual_funnel.webp");
}

.public-section.public-section-service-landing-presso {
  --service-parallax-image: url("/static/img/public/presso-next-machine-age.webp");
}

.public-section.public-section-service-landing-video {
  --service-parallax-image: url("/static/img/legacy/presso/slider-marketing-infra.webp");
}

.public-section.public-section-service-landing-presshr {
  --service-parallax-image: url("/static/img/legacy/presso/slider-system.webp");
}

.public-section.public-section-service-landing-cta {
  --service-parallax-image: image-set(
    url("/static/img/legacy/contact-bg.webp") type("image/webp"),
    url("/static/img/legacy/contact-bg.jpg") type("image/jpeg")
  );
}

.public-section.public-section-service-landing-ai-cms::before,
.public-section.public-section-service-landing-growth::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),
    linear-gradient(110deg, rgba(3, 3, 5, 0.9) 0%, rgba(3, 3, 5, 0.34) 46%, rgba(3, 3, 5, 0.94) 100%),
    var(--service-parallax-image);
  background-attachment: scroll, scroll, scroll, fixed;
  background-position: center, center, center, center;
  background-size: 86px 86px, 86px 86px, cover, cover;
  opacity: 0.88;
}

.public-section[class*="public-section-service-landing-"]::after {
  animation: serviceAmbientBeam 7s ease-in-out infinite;
  background: linear-gradient(105deg, transparent 0%, rgba(193, 40, 45, 0.14) 34%, rgba(255, 255, 255, 0.1) 48%, rgba(34, 211, 238, 0.08) 58%, transparent 76%);
  content: "";
  inset: -20% -30%;
  opacity: 0.42;
  position: absolute;
  transform: translateX(-18%);
  z-index: 0;
}

.public-section[class*="public-section-service-landing-"] .public-section-shell {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 78px);
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  max-width: 1380px;
  position: relative;
  z-index: 1;
}

.public-section-service-landing-ai-cms .section-copy,
.public-section-service-landing-marketing .section-copy,
.public-section-service-landing-presso .section-copy,
.public-section-service-landing-presshr .section-copy {
  order: 2;
}

.public-section[class*="public-section-service-landing-"] .section-copy {
  max-width: 610px;
}

.public-section[class*="public-section-service-landing-"] .section-copy .eyebrow {
  color: #ff7b80;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.public-section[class*="public-section-service-landing-"] .section-copy h2 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  margin-bottom: 18px;
}

.public-section[class*="public-section-service-landing-"] .section-copy > p:not(.eyebrow) {
  color: rgba(229, 231, 235, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

.public-section[class*="public-section-service-landing-"] .legacy-service-features {
  margin-top: 24px;
}

.public-section[class*="public-section-service-landing-"] .legacy-service-features li {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 11px 13px;
}

.service-showcase {
  display: grid;
  gap: 18px;
  min-width: 0;
  position: sticky;
  top: 104px;
}

.service-showcase-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), 0 0 64px rgba(193, 40, 45, 0.14);
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.service-showcase-visual img,
.service-showcase-placeholder {
  display: block;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  opacity: 0.86;
  width: 100%;
}

.service-showcase-visual::after {
  background:
    linear-gradient(180deg, rgba(3, 3, 5, 0.05), rgba(3, 3, 5, 0.72)),
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(120deg, transparent 0%, rgba(193, 40, 45, 0.24) 48%, transparent 68%);
  content: "";
  inset: 0;
  position: absolute;
}

.service-showcase-scan {
  animation: serviceScan 4.4s ease-in-out infinite;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 22%, rgba(255, 255, 255, 0.78) 48%, rgba(193, 40, 45, 0.18) 58%, transparent 78%);
  content: "";
  height: 42%;
  left: 0;
  mix-blend-mode: screen;
  position: absolute;
  right: 0;
  top: -46%;
  z-index: 2;
}

.service-showcase-orbit {
  animation: serviceOrbit 16s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left-color: rgba(193, 40, 45, 0.74);
  border-radius: 999px;
  height: 210px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  z-index: 3;
}

.service-showcase-badge {
  background: #C1282D;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 18px 38px rgba(193, 40, 45, 0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  left: 18px;
  letter-spacing: 0;
  line-height: 1.35;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  position: absolute;
  z-index: 4;
}

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

.service-signal-grid article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  position: relative;
}

.service-signal-grid article::before {
  animation: serviceSignalLoad 3.2s ease-in-out infinite;
  background: linear-gradient(90deg, #C1282D, #fef3c7 48%, #67e8f9);
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 12px;
  transform-origin: left center;
}

.service-signal-grid span {
  color: rgba(255, 255, 255, 0.56);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-signal-grid strong {
  color: #fff;
  display: block;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.1;
  margin-top: 8px;
}

.service-flow {
  counter-reset: service-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-flow li {
  align-items: center;
  background: rgba(4, 8, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 58px;
  overflow: hidden;
  padding: 10px 14px;
  position: relative;
}

.service-flow li::after {
  animation: serviceFlowSweep 3.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(193, 40, 45, 0.36), rgba(255, 255, 255, 0.18), transparent);
  content: "";
  inset: 0;
  opacity: 0.7;
  position: absolute;
  transform: translateX(-120%);
}

.service-flow i {
  align-items: center;
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  position: relative;
  width: 36px;
  z-index: 1;
}

.service-flow span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.service-card-stack {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card-stack article {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.service-card-stack article::before {
  background: linear-gradient(180deg, #C1282D, rgba(193, 40, 45, 0));
  content: "";
  inset: 0 auto 0 0;
  opacity: 0.7;
  position: absolute;
  width: 3px;
}

.service-card-stack span {
  color: #ffb4b7;
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.service-card-stack h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 9px;
}

.service-card-stack p {
  color: rgba(229, 231, 235, 0.74);
  font-size: 14px;
  line-height: 1.58;
  margin: 0;
}

.public-section-service-landing-cta .service-card-stack {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-section-service-landing-presso .public-section-shell,
.public-section-service-landing-cta .public-section-shell {
  max-width: 1480px;
}

.public-section-service-landing-cta .public-section-shell {
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
}

.public-section-service-landing-cta .service-showcase {
  position: relative;
  top: auto;
}

.public-section-service-landing-cta .service-showcase-visual {
  min-height: 230px;
}

.public-section-service-landing-cta .service-showcase-visual img {
  min-height: 230px;
}

@keyframes serviceAmbientBeam {
  0%, 100% {
    opacity: 0.24;
    transform: translateX(-22%);
  }
  48% {
    opacity: 0.58;
    transform: translateX(22%);
  }
}

@keyframes serviceScan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  18% {
    opacity: 0.9;
  }
  64% {
    opacity: 0.7;
    transform: translateY(340%);
  }
  100% {
    opacity: 0;
    transform: translateY(340%);
  }
}

@keyframes serviceOrbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes serviceSignalLoad {
  0%, 100% {
    filter: brightness(0.9);
    transform: scaleX(0.34);
  }
  52% {
    filter: brightness(1.4);
    transform: scaleX(1);
  }
}

@keyframes serviceFlowSweep {
  0% {
    transform: translateX(-120%);
  }
  54% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .public-hero-siteforge .public-hero-copy h1 {
    font-size: clamp(34px, 4.2vw, 54px);
    max-width: 760px;
  }

  .public-section[class*="public-section-siteforge-"] {
    padding-block: 72px;
  }

  .public-section[class*="public-section-siteforge-"] .public-section-shell {
    gap: 26px;
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .public-section.public-section-siteforge-trends .public-section-shell,
  .public-section.public-section-siteforge-roadmap .public-section-shell {
    grid-template-columns: minmax(430px, 1.14fr) minmax(0, 0.86fr);
  }

  .public-section.public-section-siteforge-comparison .public-section-shell {
    grid-template-columns: 1fr;
    max-width: 1120px;
  }

  .public-section[class*="public-section-siteforge-"] .section-copy h2 {
    font-size: clamp(28px, 3vw, 38px);
  }

  .public-section[class*="public-section-siteforge-"] .section-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
  }

  .siteforge-metric-board {
    gap: 10px;
  }

  .siteforge-metric-board article {
    min-height: 118px;
    padding: 16px;
  }

  .siteforge-metric-board strong {
    font-size: clamp(22px, 2.5vw, 32px);
  }

  .siteforge-compare-table th,
  .siteforge-compare-table td {
    font-size: 13px;
    padding: 14px;
  }

  .public-hero-services .public-hero-copy h1 {
    font-size: clamp(38px, 4.5vw, 60px);
  }

  .public-section[class*="public-section-service-landing-"] {
    padding-block: 72px;
  }

  .public-section[class*="public-section-service-landing-"] .public-section-shell,
  .public-section-service-landing-cta .public-section-shell {
    gap: 26px;
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .public-section[class*="public-section-service-landing-"] .section-copy h2 {
    font-size: clamp(30px, 3.4vw, 42px);
  }

  .public-section[class*="public-section-service-landing-"] .section-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
  }

  .service-showcase {
    gap: 12px;
    top: 92px;
  }

  .service-showcase-visual,
  .service-showcase-visual img,
  .service-showcase-placeholder {
    min-height: 270px;
  }

  .service-card-stack,
  .public-section-service-landing-presso .service-card-stack,
  .public-section-service-landing-cta .service-card-stack {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-stack article {
    padding: 14px;
  }

  .service-card-stack h3 {
    font-size: 15px;
  }

  .service-card-stack p {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 990px), (orientation: portrait) {
  .public-hero-siteforge {
    min-height: auto;
  }

  .public-hero-siteforge .public-hero-copy h1 {
    font-size: clamp(38px, 10vw, 58px);
    line-height: 1.02;
  }

  .public-section[class*="public-section-siteforge-"] {
    padding: 60px 18px;
  }

  .public-section[class*="public-section-siteforge-"]::before {
    background-attachment: scroll, scroll, scroll;
    opacity: 0.56;
  }

  .public-section.public-section-siteforge-trends::before,
  .public-section.public-section-siteforge-roadmap::before {
    background-attachment: scroll, scroll, scroll, scroll;
    opacity: 0.58;
  }

  .public-section[class*="public-section-siteforge-"] .public-section-shell {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .public-section-siteforge-trends .section-copy,
  .public-section-siteforge-comparison .section-copy,
  .public-section-siteforge-roadmap .section-copy {
    order: 0;
  }

  .public-section[class*="public-section-siteforge-"] .section-copy {
    max-width: none;
  }

  .public-section[class*="public-section-siteforge-"] .section-copy h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .siteforge-metric-board,
  .siteforge-feature-grid,
  .siteforge-insight-grid {
    grid-template-columns: 1fr;
  }

  .siteforge-compare-table {
    overflow: visible;
  }

  .siteforge-compare-table table,
  .siteforge-compare-table tbody,
  .siteforge-compare-table tr,
  .siteforge-compare-table th,
  .siteforge-compare-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .siteforge-compare-table thead {
    display: none;
  }

  .siteforge-compare-table tbody {
    display: grid;
    gap: 14px;
  }

  .siteforge-compare-table tbody tr {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 14px;
  }

  .siteforge-compare-table tbody th,
  .siteforge-compare-table tbody td {
    border-bottom: 0;
    padding: 0;
  }

  .siteforge-compare-table tbody th {
    font-size: 16px;
    line-height: 1.28;
    margin-bottom: 12px;
  }

  .siteforge-compare-table tbody td {
    background: rgba(5, 7, 12, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    margin-top: 8px;
    padding: 10px 12px;
  }

  .siteforge-compare-table tbody td::before {
    color: #ff9da1;
    content: "WordPress";
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 5px;
    text-transform: uppercase;
  }

  .siteforge-compare-table tbody td:nth-child(3)::before {
    content: "Golang / HTMX";
  }

  .siteforge-compare-table tbody td:nth-child(4)::before {
    content: "NodeJS";
  }

  .siteforge-flow li {
    grid-template-columns: 46px 1fr;
    padding: 13px;
  }

  .siteforge-flow i {
    height: 38px;
    width: 38px;
  }

  .siteforge-visual,
  .siteforge-visual img {
    min-height: 260px;
  }

  .public-section[class*="public-section-service-landing-"]::before {
    background-attachment: scroll, scroll, scroll;
    opacity: 0.56;
  }

  .public-section.public-section-service-landing-ai-cms::before,
  .public-section.public-section-service-landing-growth::before {
    background-attachment: scroll, scroll, scroll, scroll;
    opacity: 0.52;
  }

  .public-hero-services {
    gap: 24px;
    min-height: auto;
    overflow: hidden;
    padding-bottom: 48px;
  }

  .public-hero-services .public-hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 1.02;
  }

  .public-hero-services .public-hero-copy .actions {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
  }

  .public-hero-services .public-hero-copy .actions .button {
    min-height: 54px;
  }

  .public-hero-services .public-highlights {
    align-self: stretch;
    background: rgba(6, 7, 12, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(193, 40, 45, 0.42);
    border-radius: 0;
    box-shadow: 0 22px 68px rgba(0, 0, 0, 0.26);
    gap: 0;
    margin-top: 4px;
    overflow: hidden;
    padding: 2px 0;
  }

  .public-hero-services .public-highlights div {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
  }

  .public-hero-services .public-highlights div:last-child {
    border-bottom: 0;
    padding-bottom: 20px;
  }

  .public-section[class*="public-section-service-landing-"] {
    padding: 60px 18px;
  }

  .public-section[class*="public-section-service-landing-"] .public-section-shell,
  .public-section-service-landing-cta .public-section-shell {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .public-section-service-landing-ai-cms .section-copy,
  .public-section-service-landing-marketing .section-copy,
  .public-section-service-landing-presso .section-copy,
  .public-section-service-landing-presshr .section-copy {
    order: 0;
  }

  .public-section[class*="public-section-service-landing-"] .section-copy {
    max-width: none;
  }

  .public-section[class*="public-section-service-landing-"] .section-copy h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .public-section[class*="public-section-service-landing-"] .section-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.62;
  }

  .service-showcase {
    position: relative;
    top: auto;
  }

  .service-showcase-visual,
  .service-showcase-visual img,
  .service-showcase-placeholder {
    min-height: 240px;
  }

  .service-signal-grid,
  .service-card-stack,
  .public-section-service-landing-presso .service-card-stack,
  .public-section-service-landing-cta .service-card-stack {
    grid-template-columns: 1fr;
  }

  .service-flow li {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (max-width: 990px), (orientation: portrait) {
  body.public-menu-lock::before {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.58);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 90;
  }

  .public-header.is-open {
    align-content: stretch;
    align-items: stretch;
    background:
      radial-gradient(circle at 18% 8%, rgba(193, 40, 45, 0.22), transparent 28%),
      radial-gradient(circle at 86% 82%, rgba(14, 165, 233, 0.12), transparent 32%),
      linear-gradient(145deg, rgba(7, 10, 16, 0.98), rgba(0, 0, 0, 0.985));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    bottom: 14px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) 72px;
    grid-template-rows: 116px minmax(0, 1fr) auto;
    inset: 14px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    right: 14px;
    top: 14px;
    z-index: 120;
  }

  .public-header.is-open::before {
    background:
      linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
    background-size: 58px 58px;
    content: "";
    inset: 0;
    opacity: 0.26;
    pointer-events: none;
    position: absolute;
  }

  .public-header.is-open .public-brand {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding-left: 26px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-brand img {
    height: 58px;
    width: auto;
  }

  .public-header.is-open .public-nav-button {
    align-self: center;
    border-radius: 999px;
    grid-column: 2;
    grid-row: 1;
    height: 56px;
    justify-self: center;
    padding: 0;
    position: relative;
    width: 56px;
    z-index: 2;
  }

  .public-header.is-open .public-nav-button span {
    height: 3px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform-origin: center;
    width: 34px;
  }

  .public-header.is-open .public-nav-button span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .public-header.is-open .public-nav-button span:nth-child(2) {
    opacity: 0;
  }

  .public-header.is-open .public-nav-button span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .public-header.is-open .public-nav {
    align-content: start;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.52);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    flex-direction: initial;
    gap: 10px;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr;
    justify-content: stretch;
    margin: 0;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 26px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-nav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #ffffff !important;
    display: flex;
    font-size: 18px;
    font-weight: 840;
    min-height: 48px;
    padding: 0 16px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .public-header.is-open .public-nav a:hover,
  .public-header.is-open .public-nav a:focus-visible,
  .public-header.is-open .public-nav a.is-active {
    background: rgba(193, 40, 45, 0.18);
    border-color: rgba(193, 40, 45, 0.54);
    color: #ffffff !important;
    transform: translateX(2px);
  }

  .public-header.is-open .public-header-actions {
    align-content: start;
    align-items: stretch;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
      rgba(6, 9, 15, 0.86);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 58px minmax(0, 1fr);
    justify-self: stretch;
    margin: 0;
    max-height: none;
    overflow: visible;
    padding: 18px 26px 22px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-header-actions .lang-link {
    align-items: center;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-content: center;
    min-height: 100%;
    padding: 0;
    width: auto;
  }

  .public-header.is-open .public-header-actions .public-cta {
    align-items: center;
    border-radius: 10px;
    display: flex;
    font-size: 16px;
    font-weight: 850;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    text-align: center;
    width: auto;
  }

  .public-header.is-open .public-header-actions .public-cta.secondary {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (min-width: 991px) and (max-width: 1280px) and (orientation: landscape) {
  body.public-menu-lock::before {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.58);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 90;
  }

  .public-header.is-open {
    align-content: stretch;
    align-items: stretch;
    background:
      radial-gradient(circle at 16% 12%, rgba(193, 40, 45, 0.22), transparent 30%),
      radial-gradient(circle at 88% 84%, rgba(14, 165, 233, 0.12), transparent 34%),
      linear-gradient(145deg, rgba(7, 10, 16, 0.985), rgba(0, 0, 0, 0.985));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    bottom: 16px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(240px, 0.78fr) minmax(360px, 1.22fr) minmax(250px, 0.82fr);
    grid-template-rows: 86px minmax(0, 1fr);
    inset: 16px 22px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    z-index: 120;
  }

  .public-header.is-open .public-brand {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding-left: 28px;
  }

  .public-header.is-open .public-brand img {
    height: 58px;
    width: auto;
  }

  .public-header.is-open .public-nav-button {
    align-self: center;
    border-radius: 999px;
    grid-column: 3;
    grid-row: 1;
    height: 54px;
    justify-self: end;
    margin-right: 22px;
    padding: 0;
    position: relative;
    width: 54px;
  }

  .public-header.is-open .public-nav-button span {
    height: 3px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 34px;
  }

  .public-header.is-open .public-nav-button span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .public-header.is-open .public-nav-button span:nth-child(2) {
    opacity: 0;
  }

  .public-header.is-open .public-nav-button span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .public-header.is-open .public-nav {
    align-content: start;
    background: rgba(0, 0, 0, 0.46);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 10px;
    grid-column: 1 / 3;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    margin: 0;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding: 22px 28px 26px;
  }

  .public-header.is-open .public-nav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #ffffff !important;
    display: flex;
    font-size: 17px;
    font-weight: 840;
    min-height: 48px;
    padding: 0 16px;
  }

  .public-header.is-open .public-nav a:hover,
  .public-header.is-open .public-nav a:focus-visible,
  .public-header.is-open .public-nav a.is-active {
    background: rgba(193, 40, 45, 0.18);
    border-color: rgba(193, 40, 45, 0.54);
    color: #ffffff !important;
  }

  .public-header.is-open .public-header-actions {
    align-content: start;
    align-items: stretch;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
      rgba(6, 9, 15, 0.86);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 12px;
    grid-column: 3;
    grid-row: 2;
    justify-self: stretch;
    margin: 0;
    max-height: none;
    overflow: visible;
    padding: 22px;
  }

  .public-header.is-open .public-header-actions .lang-link,
  .public-header.is-open .public-header-actions .public-cta {
    align-items: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    min-height: 46px;
    width: auto;
  }

  .public-header.is-open .public-header-actions .lang-link {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 1281px) and (orientation: landscape) {
  body.public-menu-lock::before {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.58);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 90;
  }

  .public-header.is-open {
    align-content: stretch;
    align-items: stretch;
    background:
      radial-gradient(circle at 12% 10%, rgba(193, 40, 45, 0.24), transparent 28%),
      radial-gradient(circle at 88% 86%, rgba(14, 165, 233, 0.12), transparent 32%),
      linear-gradient(145deg, rgba(7, 10, 16, 0.985), rgba(0, 0, 0, 0.985));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
    display: grid;
    gap: 0;
    grid-template-columns: 320px minmax(0, 1fr) 360px;
    grid-template-rows: 96px minmax(0, 1fr);
    height: min(520px, calc(100svh - 64px));
    inset: 32px 48px auto;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    z-index: 120;
  }

  .public-header.is-open::before {
    background:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    position: absolute;
  }

  .public-header.is-open .public-brand {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding-left: 34px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-brand img {
    height: 62px;
    width: auto;
  }

  .public-header.is-open .public-nav-button {
    align-self: center;
    border-radius: 999px;
    grid-column: 3;
    grid-row: 1;
    height: 58px;
    justify-self: end;
    margin-right: 28px;
    padding: 0;
    position: relative;
    width: 58px;
    z-index: 2;
  }

  .public-header.is-open .public-nav-button span {
    height: 3px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 36px;
  }

  .public-header.is-open .public-nav-button span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .public-header.is-open .public-nav-button span:nth-child(2) {
    opacity: 0;
  }

  .public-header.is-open .public-nav-button span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .public-header.is-open .public-nav {
    align-content: start;
    background: rgba(0, 0, 0, 0.46);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 12px;
    grid-column: 1 / 3;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    margin: 0;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 34px 34px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-nav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #ffffff !important;
    display: flex;
    font-size: 18px;
    font-weight: 840;
    min-height: 54px;
    padding: 0 18px;
  }

  .public-header.is-open .public-nav a:hover,
  .public-header.is-open .public-nav a:focus-visible,
  .public-header.is-open .public-nav a.is-active {
    background: rgba(193, 40, 45, 0.18);
    border-color: rgba(193, 40, 45, 0.54);
    color: #ffffff !important;
  }

  .public-header.is-open .public-header-actions {
    align-content: start;
    align-items: stretch;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
      rgba(6, 9, 15, 0.86);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 14px;
    grid-column: 3;
    grid-row: 2;
    justify-self: stretch;
    margin: 0;
    max-height: none;
    overflow: visible;
    padding: 28px;
    position: relative;
    z-index: 1;
  }

  .public-header.is-open .public-header-actions .lang-link,
  .public-header.is-open .public-header-actions .public-cta {
    align-items: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    min-height: 50px;
    width: auto;
  }

  .public-header.is-open .public-header-actions .lang-link {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 990px) and (orientation: landscape) {
  .public-header.is-open {
    grid-template-columns: minmax(0, 1fr) 232px;
    grid-template-rows: 78px minmax(0, 1fr);
  }

  .public-header.is-open .public-brand {
    padding-left: 22px;
  }

  .public-header.is-open .public-brand img {
    height: 50px;
  }

  .public-header.is-open .public-nav-button {
    grid-column: 2;
    height: 52px;
    justify-self: end;
    margin-right: 14px;
    width: 52px;
  }

  .public-header.is-open .public-nav {
    border-bottom: 0;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 18px 18px;
  }

  .public-header.is-open .public-nav a {
    font-size: 15px;
    min-height: 42px;
    padding: 0 12px;
  }

  .public-header.is-open .public-header-actions {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    padding: 16px 18px 18px;
  }

  .public-header.is-open .public-header-actions .lang-link {
    grid-column: auto;
    grid-row: auto;
    min-height: 44px;
  }

  .public-header.is-open .public-header-actions .public-cta {
    font-size: 14px;
    min-height: 44px;
  }
}

/* Social Listening landing page */
.public-hero-social-listening {
  background: #030305;
  min-height: min(92svh, 860px);
  overflow: hidden;
}

.public-hero-social-listening::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(118deg, rgba(3, 3, 5, 0.96) 0%, rgba(3, 3, 5, 0.66) 48%, rgba(3, 3, 5, 0.92) 100%);
  background-size: 86px 86px, 86px 86px, cover;
  content: "";
  inset: 0;
  opacity: 0.82;
  position: absolute;
  z-index: 0;
}

.public-hero-social-listening::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 5, 0.94) 0%, rgba(3, 3, 5, 0.38) 58%, rgba(3, 3, 5, 0.88) 100%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.1), #030305 96%);
}

.public-hero-social-listening .public-hero-media {
  opacity: 0.78;
  transform: scale(1.02);
}

.public-hero-social-listening .public-hero-media img {
  object-position: center;
}

.public-hero-social-listening .public-hero-copy {
  max-width: 1080px;
}

.public-hero-social-listening .public-hero-copy h1 {
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1;
  max-width: 1000px;
}

.public-hero-social-listening .public-hero-copy > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.64;
  max-width: 820px;
}

.public-hero-social-listening .button {
  background: #C1282D;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(193, 40, 45, 0.3);
  color: #fff;
}

.public-hero-social-listening .button.secondary {
  background: rgba(255, 255, 255, 0.94);
  color: #C1282D;
}

.public-hero-social-listening .public-highlights {
  backdrop-filter: blur(16px);
  background: rgba(6, 8, 14, 0.74);
  border-color: rgba(193, 40, 45, 0.34);
}

.public-social-listening-intro,
.public-social-listening-agency,
.public-social-listening-cta {
  background: linear-gradient(180deg, #030305 0%, #080a10 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-social-listening-shell {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  max-width: 1320px;
}

.public-social-listening-shell .section-copy h2,
.public-social-listening-report .section-copy h2,
.public-social-listening-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.04;
}

.public-social-listening-shell .section-copy > p:not(.eyebrow),
.public-social-listening-report .section-copy > p:not(.eyebrow),
.public-social-listening-cta p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.8);
  font-size: 17px;
  line-height: 1.74;
}

.public-social-listening-intro .eyebrow,
.public-social-listening-flow .eyebrow,
.public-social-listening-agency .eyebrow,
.public-social-listening-report .eyebrow,
.public-social-listening-cta .eyebrow {
  color: #ff7b80;
}

.public-social-listening-card-grid,
.public-social-listening-compare {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-social-listening-card-grid article,
.public-social-listening-compare article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 2vw, 24px);
  position: relative;
}

.public-social-listening-card-grid article::before,
.public-social-listening-compare article::before {
  background: linear-gradient(90deg, #C1282D, rgba(103, 232, 249, 0.85));
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.public-social-listening-card-grid span {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 26px;
}

.public-social-listening-card-grid strong,
.public-social-listening-compare strong {
  color: #fff;
  display: block;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.16;
  margin-bottom: 10px;
}

.public-social-listening-card-grid p,
.public-social-listening-compare p {
  color: rgba(226, 232, 240, 0.74);
  font-size: 14px;
  line-height: 1.62;
  margin: 0;
}

.public-social-listening-flow,
.public-social-listening-report {
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(110deg, rgba(3, 3, 5, 0.94) 0%, rgba(3, 3, 5, 0.52) 50%, rgba(3, 3, 5, 0.94) 100%),
    url("/static/img/public/social-listening-command-center.webp");
  background-attachment: scroll, scroll, scroll, fixed;
  background-position: center, center, center, center;
  background-size: 88px 88px, 88px 88px, cover, cover;
  box-shadow:
    inset 0 100px 130px rgba(3, 3, 5, 0.94),
    inset 0 -110px 140px rgba(3, 3, 5, 0.94);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.public-social-listening-report {
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(110deg, rgba(3, 3, 5, 0.95) 0%, rgba(3, 3, 5, 0.48) 48%, rgba(3, 3, 5, 0.95) 100%),
    url("/static/img/public/social-listening-ai-report.webp");
  background-attachment: scroll, scroll, scroll, fixed;
  background-position: center, center, center, center;
  background-size: 88px 88px, 88px 88px, cover, cover;
}

.public-social-listening-flow-inner {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  margin-inline: auto;
  max-width: 1320px;
  padding-inline: clamp(22px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.public-social-listening-flow-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-social-listening-flow-list li {
  align-items: center;
  background: rgba(5, 8, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr);
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.public-social-listening-flow-list li::after {
  animation: serviceFlowSweep 4.2s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(193, 40, 45, 0.34), rgba(103, 232, 249, 0.16), transparent);
  content: "";
  inset: 0;
  opacity: 0.68;
  position: absolute;
  transform: translateX(-120%);
}

.public-social-listening-flow-list i {
  align-items: center;
  background: #C1282D;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  height: 44px;
  justify-content: center;
  position: relative;
  width: 44px;
  z-index: 1;
}

.public-social-listening-flow-list span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.42;
  position: relative;
  z-index: 1;
}

.public-social-listening-report-shell {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 74px);
  grid-template-columns: minmax(460px, 1.12fr) minmax(0, 0.88fr);
  max-width: 1360px;
  position: relative;
  z-index: 1;
}

.public-social-listening-report-media {
  background: rgba(5, 8, 14, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  margin: 0;
  overflow: hidden;
}

.public-social-listening-report-media img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.88;
  width: 100%;
}

.public-social-listening-report-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.public-social-listening-report-points span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  padding: 10px 12px;
}

.public-social-listening-cta {
  padding-block: clamp(80px, 9vw, 132px);
}

.public-social-listening-cta-inner {
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.22), rgba(103, 232, 249, 0.08)),
    rgba(7, 10, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  margin-inline: auto;
  max-width: 1120px;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
}

.public-social-listening-cta-inner p {
  margin-inline: auto;
  max-width: 820px;
}

.public-social-listening-cta .button {
  background: #C1282D;
  border-radius: 8px;
  color: #fff;
  margin-top: 18px;
}

@media (max-width: 989px), (orientation: portrait) {
  .public-hero-social-listening {
    min-height: 88svh;
  }

  .public-hero-social-listening .public-hero-media {
    opacity: 0.52;
  }

  .public-social-listening-shell,
  .public-social-listening-flow-inner,
  .public-social-listening-report-shell {
    grid-template-columns: 1fr;
  }

  .public-social-listening-card-grid,
  .public-social-listening-compare {
    grid-template-columns: 1fr;
  }

  .public-social-listening-flow,
  .public-social-listening-report {
    background-attachment: scroll, scroll, scroll, scroll;
  }

  .public-social-listening-report-media {
    order: 2;
  }

  .public-social-listening-report-media img {
    min-height: 260px;
  }

  .public-social-listening-flow-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 12px;
  }
}

.public-team-page,
.public-careers-page,
.career-detail-page {
  --people-red: #C1282D;
  --people-red-soft: rgba(193, 40, 45, 0.24);
  --people-cyan: #67e8f9;
  --people-line: rgba(255, 255, 255, 0.14);
  --people-muted: rgba(226, 232, 240, 0.74);
}

.public-team-values {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #05070c 0%, #10141c 56%, #17080b 100%);
  background-size: 88px 88px, 88px 88px, auto;
}

.public-team-shell,
.public-careers-shell {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-inline: auto;
  max-width: 1240px;
}

.public-team-principles,
.public-team-method-flow,
.public-careers-job-grid {
  display: grid;
  gap: 16px;
}

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

.public-team-principles article,
.public-team-method-flow article,
.public-careers-job-card,
.public-careers-empty,
.career-detail-aside {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--people-line);
  border-radius: 8px;
  min-width: 0;
  padding: 22px;
}

.public-team-principles span,
.public-careers-job-meta span {
  align-items: center;
  background: rgba(193, 40, 45, 0.2);
  border: 1px solid rgba(193, 40, 45, 0.46);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.public-team-principles strong,
.public-team-method-flow strong,
.public-careers-job-card h3,
.public-careers-empty strong,
.career-detail-aside strong {
  color: #fff;
  display: block;
  font-size: 20px;
  line-height: 1.28;
  margin: 0 0 10px;
}

.public-team-principles p,
.public-team-method-flow p,
.public-careers-job-card p,
.public-careers-empty p,
.career-detail-aside li {
  color: var(--people-muted);
  line-height: 1.7;
  margin: 0;
}

.public-team-studio {
  background:
    linear-gradient(180deg, rgba(193, 40, 45, 0.16), rgba(3, 7, 18, 0.92)),
    #060910;
}

.public-team-studio-grid,
.public-careers-culture-grid,
.public-careers-apply-grid,
.career-apply-grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-inline: auto;
  max-width: 1240px;
}

.public-team-feature-card,
.public-careers-culture figure,
.career-detail-media {
  border: 1px solid var(--people-line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.public-team-feature-card img,
.public-careers-culture img,
.career-detail-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-team-feature-card figcaption {
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.92));
  bottom: 0;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 0;
}

.public-team-feature-card figcaption span,
.public-team-track article span,
.public-careers-job-meta em {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.public-team-feature-card figcaption strong {
  color: #fff;
  display: block;
  font-size: 24px;
  line-height: 1.22;
}

.public-team-track {
  display: grid;
  gap: 14px;
}

.public-team-track article {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--people-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 168px minmax(0, 1fr);
  min-width: 0;
  padding: 14px;
}

.public-team-track img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.public-team-track h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.public-team-track p {
  color: var(--people-muted);
  line-height: 1.65;
  margin: 0;
}

.public-team-method {
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.9), rgba(8, 10, 14, 0.96)),
    url("/static/img/legacy/team/ai_philosophy_bg.webp") center / cover fixed;
}

.public-team-method-inner {
  margin-inline: auto;
  max-width: 1240px;
}

.public-team-method-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.public-team-method-flow i {
  color: #67e8f9;
  display: block;
  font-style: normal;
  font-weight: 900;
  margin-bottom: 14px;
}

.public-team-openings {
  background:
    radial-gradient(circle at 18% 16%, rgba(193, 40, 45, 0.22), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(103, 232, 249, 0.1), transparent 28%),
    #070a10;
}

.public-team-openings-inner {
  margin-inline: auto;
  max-width: 1240px;
}

.public-team-job-grid {
  margin-top: 26px;
}

.public-team-openings-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-top: 20px;
}

.public-careers-openings {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #05070c;
  background-size: 92px 92px, 92px 92px, auto;
}

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

.public-careers-job-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
}

.public-careers-job-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.public-careers-job-meta span {
  flex: 0 0 auto;
  margin: 0;
}

.public-careers-job-card h3 a {
  color: #fff;
  text-decoration: none;
}

.public-careers-job-card h3 a:hover {
  color: #fecdd3;
}

.public-careers-job-foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.public-careers-job-foot span,
.public-careers-job-foot a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(241, 245, 249, 0.8);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 11px;
  text-decoration: none;
}

.public-careers-job-foot a {
  background: #C1282D;
  border-color: #C1282D;
  color: #fff;
}

.public-careers-empty {
  align-self: start;
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.2), rgba(103, 232, 249, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.public-careers-empty span {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.public-careers-culture {
  background:
    linear-gradient(135deg, #070a10 0%, #111827 54%, #17080b 100%);
}

.public-careers-culture-grid {
  align-items: center;
}

.public-careers-culture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.public-careers-culture-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
}

.public-careers-apply,
.career-apply-section {
  background:
    linear-gradient(135deg, rgba(193, 40, 45, 0.18), rgba(103, 232, 249, 0.08)),
    #f8fafc;
  color: #0f172a;
}

.public-careers-apply .eyebrow,
.career-apply-section .eyebrow {
  color: #be123c;
}

.public-careers-apply h2,
.public-careers-apply p,
.career-apply-section h2,
.career-apply-section p {
  color: #0f172a;
}

.public-careers-apply-copy,
.career-apply-copy {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 68px rgba(15, 23, 42, 0.08);
  padding: 28px;
}

.public-careers-form,
.career-apply-form {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  padding: 24px;
}

.public-careers-form input[type="file"],
.career-apply-form input[type="file"] {
  background: #f8fafc;
  border: 1px dashed rgba(193, 40, 45, 0.44);
}

.career-detail-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #05070c 0%, #0a0d14 48%, #05070c 100%);
  background-size: 96px 96px, 96px 96px, auto;
  overflow: hidden;
  padding-top: 106px;
}

.career-detail {
  margin-inline: auto;
  max-width: min(1360px, calc(100vw - 96px));
  padding: 36px 0 30px;
}

.career-detail-back {
  color: #fecdd3;
  display: inline-flex;
  font-weight: 800;
  margin-bottom: 22px;
  text-decoration: none;
}

.career-detail-hero,
.career-detail-layout {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
}

.career-detail-hero {
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.career-detail-copy h1 {
  color: #fff;
  font-size: clamp(38px, 3vw, 52px);
  line-height: 1.08;
  margin: 12px 0 18px;
  max-width: 860px;
}

.career-detail-summary {
  color: var(--people-muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

.career-detail-meta,
.career-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.career-detail-meta span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(241, 245, 249, 0.8);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 12px;
}

.career-detail-actions .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.career-detail-media {
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  max-height: min(56vh, 520px);
  min-height: 340px;
}

.career-detail-layout {
  align-items: start;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  margin-top: 36px;
}

.career-detail-aside {
  position: sticky;
  top: 104px;
}

.career-detail-aside ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.career-detail-rich {
  margin: 0;
  max-width: none;
}

.career-apply-section {
  margin-top: 20px;
  padding-block: clamp(54px, 6vw, 82px);
}

.career-apply-grid {
  align-items: start;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.career-related-section {
  background: #070a10;
}

@media (max-width: 989px), (orientation: portrait) {
  .public-team-shell,
  .public-careers-shell,
  .public-team-studio-grid,
  .public-careers-culture-grid,
  .public-careers-apply-grid,
  .career-apply-grid,
  .career-detail-hero,
  .career-detail-layout {
    grid-template-columns: 1fr;
  }

  .public-team-principles,
  .public-team-method-flow,
  .public-careers-job-grid {
    grid-template-columns: 1fr;
  }

  .public-team-values,
  .public-careers-openings {
    background-size: 72px 72px, 72px 72px, auto;
  }

  .public-team-track article {
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 12px;
  }

  .public-team-feature-card figcaption {
    padding: 18px;
  }

  .public-team-feature-card figcaption strong {
    font-size: 20px;
  }

  .public-team-method {
    background-attachment: scroll, scroll;
  }

  .public-careers-job-card {
    min-height: 0;
  }

  .public-careers-apply-copy,
  .career-apply-copy,
  .public-careers-form,
  .career-apply-form {
    padding: 20px;
  }

  .career-detail-page {
    padding-top: 76px;
  }

  .career-detail {
    max-width: none;
    padding: 30px 18px 18px;
  }

  .career-detail-copy h1 {
    font-size: 34px;
  }

  .career-detail-media {
    min-height: 260px;
  }

  .career-detail-aside {
    position: static;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .career-detail-page {
    padding-top: 86px;
  }

  .career-detail {
    max-width: min(1120px, calc(100vw - 44px));
    padding-top: 26px;
  }

  .career-detail-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }

  .career-detail-copy h1 {
    font-size: clamp(32px, 3.3vw, 42px);
  }

  .career-detail-summary {
    font-size: 16px;
    line-height: 1.6;
  }

  .career-detail-media {
    max-height: 360px;
    min-height: 280px;
  }

  .career-detail-layout {
    gap: 20px;
    grid-template-columns: minmax(230px, 0.32fr) minmax(0, 0.68fr);
  }

  .career-apply-grid {
    max-width: min(1120px, calc(100vw - 44px));
  }
}

@media (max-width: 640px), (orientation: portrait) {
  .public-team-track article {
    grid-template-columns: 1fr;
  }

  .public-team-track img {
    max-height: 210px;
  }

  .career-detail-actions,
  .career-detail-actions .button,
  .public-careers-page .public-form-actions,
  .public-careers-page .public-form-actions .button,
  .career-detail-page .public-form-actions,
  .career-detail-page .public-form-actions .button {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
}


/* ==========================================================================
   PressUp B2B Light Theme Standard & Complete Background Neutralization
   - Removes all fullscreen dark background images, video backgrounds, and dark overlays
   - Establishes crisp white / slate-50 alternating rhythm for normal scroll
   - Guarantees 100% WCAG AAA contrast (deep slate #0f172a on light surfaces)
   - Eliminates min-height: 100svh lock on sections and footer
   ========================================================================== */

/* 1. Global Normal Scroll & Section Height Reset */
html.homepage,
body.homepage,
.public-main.public-home {
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.public-home > .public-section {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: auto !important;
  padding: 96px clamp(20px, 4.5vw, 72px) !important;
}

@media (max-width: 989px) {
  .public-home > .public-section {
    padding: 64px 20px !important;
  }
}

/* 2. Neutralize All Fullscreen Background Images, Video & Dark Overlays */
.public-hero-home .public-hero-media,
.public-section-bg-video,
.public-section::before,
.public-section::after,
.public-home-insights::before,
.public-home-insights::after,
.legacy-insights-bg::before,
.public-home-presso::before,
.public-home-presso::after,
.public-home-presshr::before,
.public-home-presshr::after,
.public-partners::before,
.public-partners::after,
.public-home-contact::before,
.public-home-contact::after,
.public-home-contact-glow,
.public-footer::before,
.public-footer::after,
.public-footer-aura,
.public-footer-beam,
.public-partner-path,
.public-partner-frame,
.public-partner-pulse {
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* 3. Alternating Clean Background Rhythm (5% Richer Subtle Tint, Seamless Boundary Without Dark Lines) */
.public-home > section,
.public-home > .public-section,
.public-main > .public-section {
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 1: Hero (Crisp White) */
.public-hero-home {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 2: Service 1 - Odoo CRM & ERP (5% Richer Subtle Tint) */
.public-section-service-web {
  background: #eef2f6 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 3: Service 2 - AI Process & Agents (Crisp White) */
.public-section-service-software {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 4: Service 3 - OpenAI Gateway & Ads (5% Richer Subtle Tint) */
.public-section-service-performance {
  background: #eef2f6 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 5: PressUp Intelligence (Parallax Atmosphere, Crisp Overlay) */
.public-home-insights {
  background-color: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 6: Chân Bổ Trợ: Web Theo Yêu Cầu & Ads (Crisp White) */
.public-home-web-ads,
.public-home-guides {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 7: PressO Next OS (5% Richer Subtle Tint) */
.public-home-presso {
  background: #eef2f6 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 8: PressHR AI ATS (Crisp White) */
.public-home-presshr {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 9: Partners & Integrations (Clean Subtle Tint) */
.public-partners {
  background: #f8fafc !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 10: Home Contact Form (Brand Red Signature) */
.public-home-contact {
  background: linear-gradient(142deg, #ad1e23 0%, #C1282D 52%, #8e1418 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Section 11: Footer (Crisp White with Seamless Top Transition) */
.public-footer-section,
.public-footer {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* 4. Universal Typography & Contrast Enforcement */
.public-home h1,
.public-home h2,
.public-home h3,
.public-home h4,
.public-home strong,
.public-footer h2,
.public-footer h3,
.public-footer strong,
.legacy-window-bar strong,
.siteforge-compare-table th {
  color: #0f172a !important;
}

.public-home p:not(.public-home-seo-strip *):not(.public-home-insights *),
.public-home span:not(.eyebrow):not(.public-lang-flag):not(.status-pill):not(.button):not([class*="web-ads"]):not(.web-ads-badge):not(.public-home-seo-strip *):not(.public-home-insights *),
.public-home li:not(.public-home-seo-strip *):not(.public-home-insights *),
.public-home small:not(.public-home-seo-strip *):not(.public-home-insights *),
.public-footer p,
.public-footer span:not(.eyebrow):not(.button),
.public-footer address,
.siteforge-compare-table td {
  color: #475569 !important;
}

.public-home .eyebrow,
.public-footer .eyebrow,
.public-home-contact-copy .eyebrow,
.legacy-performance-header span,
.legacy-lab-panel > span,
.legacy-presso-grid small,
.presshr-benefits article > span,
.presshr-flow article > span,
.siteforge-flow li i,
.insights-flow li i,
.legacy-guide-card-body p {
  color: #c1282d !important;
}

/* 5. Component Refinements for B2B Modern Elegance */

/* Hero Highlights */
.public-highlights {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.public-highlights > div {
  border-right: none !important;
}
.public-highlights span {
  color: #64748b !important;
}
.public-highlights strong {
  color: #0f172a !important;
}

/* Odoo Cards */
.legacy-achievements {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  position: static !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .legacy-achievements {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.legacy-achievement-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 28px 24px !important;
  position: relative !important;
  transform: none !important;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease !important;
}

.legacy-achievement-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-3px) !important;
}

.legacy-achievement-icon {
  width: 52px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  line-height: 1 !important;
  border-radius: 12px !important;
  background: #fff1f2 !important;
  border: 1px solid #ffe4e6 !important;
  margin-bottom: 18px !important;
  box-shadow: 0 2px 8px rgba(193, 40, 45, 0.06) !important;
}

.legacy-achievement-card h3 {
  color: #0f172a !important;
  font-size: 18.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 10px 0 !important;
}

.legacy-achievement-card p {
  color: #475569 !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  font-weight: 450 !important;
}


/* AI Offer Panel & Steps */
.legacy-software-panel,
.legacy-offer-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}
.legacy-window-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}
.legacy-offer-metrics article {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}
.legacy-offer-metrics strong {
  color: #0f172a !important;
}
.legacy-offer-metrics span {
  color: #64748b !important;
}
.legacy-offer-steps article {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}
.legacy-offer-steps strong {
  color: #c1282d !important;
}
.legacy-offer-steps span {
  color: #1e293b !important;
}

/* ==========================================================================
   Enterprise OpenAI Infrastructure & Automation Panel (Trụ cột 03)
   ========================================================================== */

.legacy-openai-infra-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.03) !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
}

.legacy-openai-infra-panel .legacy-window-bar {
  align-items: center !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  gap: 8px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 20px !important;
}

.legacy-openai-infra-panel .legacy-window-bar span {
  border-radius: 999px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  height: 10px !important;
  width: 10px !important;
}

.legacy-openai-infra-panel .legacy-window-bar span:nth-child(1) { background: #f87171 !important; }
.legacy-openai-infra-panel .legacy-window-bar span:nth-child(2) { background: #fbbf24 !important; }
.legacy-openai-infra-panel .legacy-window-bar span:nth-child(3) { background: #34d399 !important; }

.legacy-openai-infra-panel .legacy-window-bar strong {
  color: #475569 !important;
  font-size: clamp(9.5px, 1.8vw, 11px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
  margin: 0 0 0 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.legacy-openai-body {
  padding: 24px !important;
}

@media (max-width: 640px) {
  .legacy-openai-body {
    padding: 16px !important;
  }
}

/* 3-Tier Architecture Blueprint */
.openai-stack-flow {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 18px !important;
}

.openai-stack-layer {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.openai-layer-tag {
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.openai-chips-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.openai-chip {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  padding: 6px 12px !important;
}

.openai-chip.is-accent {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #c1282d !important;
}

.openai-chip.is-reasoning {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}

/* Connectors */
.openai-connector {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  margin: 2px 0 !important;
}

.openai-connector-line {
  background: #cbd5e1 !important;
  flex: 1 !important;
  height: 1px !important;
}

.openai-connector-badge {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  color: #0f172a !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  padding: 3px 12px !important;
  white-space: nowrap !important;
}

/* Middleware Grid */
.openai-middleware-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 640px) {
  .openai-middleware-grid {
    grid-template-columns: 1fr !important;
  }
}

.middleware-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 12px !important;
}

.middleware-card strong {
  color: #0f172a !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.middleware-card p {
  color: #475569 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* Output Tags */
.openai-output-tags {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.openai-output-tags span {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  color: #1e293b !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  padding: 8px 12px !important;
}

/* Metrics Grid */
.legacy-openai-metrics-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: 16px !important;
}

.legacy-openai-metrics-grid article {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px 10px !important;
  text-align: center !important;
}

.legacy-openai-metrics-grid strong {
  color: #c1282d !important;
  display: block !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

.legacy-openai-metrics-grid span {
  color: #0f172a !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  margin-top: 4px !important;
}

.legacy-openai-metrics-grid em {
  color: #64748b !important;
  display: block !important;
  font-size: 10.5px !important;
  font-style: normal !important;
  margin-top: 2px !important;
}

/* Guarantee Card */
.legacy-openai-guarantee-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, 1fr) !important;
  margin-top: 16px !important;
  padding: 14px 18px !important;
}

@media (max-width: 640px) {
  .legacy-openai-guarantee-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.guarantee-item {
  align-items: flex-start !important;
  display: flex !important;
  gap: 12px !important;
}

.guarantee-icon {
  flex-shrink: 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.guarantee-item strong {
  color: #0f172a !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.guarantee-item p {
  color: #64748b !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  margin: 3px 0 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* Guides Clock */
.legacy-guide-clock-mask {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, #ffffff 72%) !important;
}
.legacy-guide-clock-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.legacy-guide-clock-spin {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  color: #0f172a !important;
}

/* Intelligence Radar & Stream */
.legacy-insight-command span {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
.legacy-insight-radar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.legacy-radar-ring {
  border-color: #e2e8f0 !important;
}
.legacy-radar-sweep {
  background: conic-gradient(from 0deg, rgba(193, 40, 45, 0.12), transparent 45deg) !important;
}
.legacy-lab-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
.legacy-lab-panel span {
  color: #c1282d !important;
  font-weight: 850 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}
.legacy-lab-panel strong {
  color: #0f172a !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
}
.legacy-lab-panel p {
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 450 !important;
  margin: 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}
.legacy-lab-cta {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}
.legacy-lab-cta span {
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.legacy-lab-cta strong {
  color: #c1282d !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.legacy-lab-cta:hover {
  border-color: #c1282d !important;
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(193, 40, 45, 0.12) !important;
}

/* PressO Next Board & Stack */
.legacy-presso-board {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.legacy-presso-grid article {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}
.legacy-presso-stack article {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
.legacy-presso-proof span {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* PressHR Benefits & Workflow */
.presshr-benefits article {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
.presshr-board {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.presshr-board-head span {
  color: #64748b !important;
}
.presshr-flow article {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}
.presshr-flow article i {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #c1282d !important;
}
.presshr-approval {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
}
.presshr-approval-core {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
}
.presshr-approval-lane span {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  color: #334155 !important;
}

/* Partners Galaxy */
.public-partner-core {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
.public-partner-logo {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}
.public-partner-lightbox {
  color: #94a3b8 !important;
}
.public-partner-lightbox strong {
  color: #0f172a !important;
}

/* ==========================================================================
   Home Contact Section - Brand Red Signature Theme
   ========================================================================== */
.public-home #home-contact,
.public-home .public-home-contact {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(0, 0, 0, 0.16), transparent 40%),
    linear-gradient(142deg, #ad1e23 0%, #C1282D 52%, #8e1418 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
  color: #ffffff !important;
  margin-top: -1px !important;
  opacity: 1 !important;
  padding-block: clamp(76px, 6vw, 108px) !important;
  position: relative !important;
  transform: none !important;
  visibility: visible !important;
  width: 100% !important;
  z-index: 2 !important;
}

/* Eliminate white seam/gap bug on fast scroll: Section containers must always be visible with no transform */
.public-home > section.public-section[data-reveal],
.public-home > section.public-section[data-reveal].is-visible,
.public-home-contact[data-reveal],
.public-home-contact[data-reveal].is-visible,
#home-contact[data-reveal],
#home-contact[data-reveal].is-visible,
#seo-authority,
#seo-authority[data-reveal],
#seo-authority[data-reveal].is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.public-home #home-contact::before,
.public-home #home-contact::after,
.public-home #home-contact .public-home-contact-glow {
  display: none !important;
}

.public-home #home-contact .public-home-contact-shell {
  align-items: center !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: clamp(36px, 4.5vw, 64px) !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  margin-inline: auto !important;
  max-width: 1380px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 1 !important;
}

@media (max-width: 990px) {
  .public-home #home-contact .public-home-contact-shell {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

/* Left Column */
.public-home #home-contact .public-home-contact-copy {
  display: flex !important;
  flex-direction: column !important;
  max-width: 640px !important;
}

.public-home #home-contact .public-home-contact-copy .eyebrow,
#home-contact .public-home-contact-copy .eyebrow {
  align-items: center !important;
  align-self: flex-start !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 16px !important;
  padding: 6px 16px !important;
  text-transform: uppercase !important;
}

.public-home #home-contact .public-home-contact-copy h2,
#home-contact .public-home-contact-copy h2 {
  color: #ffffff !important;
  font-size: clamp(30px, 2.7vw, 44px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
  margin: 0 0 18px 0 !important;
  text-align: left !important;
  text-align-last: left !important;
  text-wrap: balance !important;
}

.public-home #home-contact .public-home-contact-copy > p:not(.eyebrow),
#home-contact .public-home-contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
  margin: 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
}

.public-home #home-contact .public-home-contact-signals {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

.public-home #home-contact .public-home-contact-signals span,
#home-contact .public-home-contact-signals span {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  color: #ffffff !important;
  cursor: default !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .public-home #home-contact .public-home-contact-signals span,
  #home-contact .public-home-contact-signals span {
    white-space: normal !important;
  }
}

.public-home #home-contact .public-home-contact-signals span:hover,
#home-contact .public-home-contact-signals span:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-1px) !important;
}

.public-home #home-contact .public-home-contact-note,
#home-contact .public-home-contact-note {
  background: rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-left: 4px solid #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  display: grid !important;
  gap: 6px !important;
  margin-top: 28px !important;
  max-width: 560px !important;
  padding: 16px 20px !important;
}

.public-home #home-contact .public-home-contact-note strong,
#home-contact .public-home-contact-note strong {
  color: #ffffff !important;
  display: block !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.public-home #home-contact .public-home-contact-note span,
#home-contact .public-home-contact-note span {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

/* Right Column (Form Card) */
.public-home #home-contact .public-home-contact-form,
#home-contact .public-home-contact-form {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  overflow: hidden !important;
  padding: clamp(24px, 2.8vw, 36px) !important;
  position: relative !important;
}

@media (max-width: 640px) {
  .public-home #home-contact .public-home-contact-form,
  #home-contact .public-home-contact-form {
    grid-template-columns: 1fr !important;
    padding: 22px 18px !important;
  }
}

.public-home #home-contact .public-home-contact-form .span-2,
#home-contact .public-home-contact-form .span-2 {
  grid-column: 1 / -1 !important;
}

.public-home #home-contact .public-home-contact-form-head,
#home-contact .public-home-contact-form-head {
  align-items: flex-end !important;
  border-bottom: 1px solid #eef2f6 !important;
  display: flex !important;
  justify-content: space-between !important;
  margin: -4px 0 6px !important;
  padding-bottom: 14px !important;
}

.public-home #home-contact .public-home-contact-form-head span,
#home-contact .public-home-contact-form-head span {
  color: #C1282D !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.public-home #home-contact .public-home-contact-form-head strong,
#home-contact .public-home-contact-form-head strong {
  color: #0f172a !important;
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-align: right !important;
}

@media (max-width: 768px) {
  .public-home #home-contact .public-home-contact-form-head,
  #home-contact .public-home-contact-form-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 6px !important;
  }

  .public-home #home-contact .public-home-contact-form-head span,
  #home-contact .public-home-contact-form-head span,
  .public-home #home-contact .public-home-contact-form-head strong,
  #home-contact .public-home-contact-form-head strong {
    text-align: left !important;
    width: 100% !important;
  }
}

.public-home #home-contact .public-home-contact-form label,
#home-contact .public-home-contact-form label {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  z-index: 1 !important;
}

.public-home #home-contact .public-home-contact-form label > span,
#home-contact .public-home-contact-form label > span {
  color: #334155 !important;
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  margin-bottom: 6px !important;
}

.public-home #home-contact .public-home-contact-form input,
.public-home #home-contact .public-home-contact-form select,
.public-home #home-contact .public-home-contact-form textarea,
#home-contact .public-home-contact-form input,
#home-contact .public-home-contact-form select,
#home-contact .public-home-contact-form textarea {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
  width: 100% !important;
}

.public-home #home-contact .public-home-contact-form input::placeholder,
.public-home #home-contact .public-home-contact-form textarea::placeholder,
#home-contact .public-home-contact-form input::placeholder,
#home-contact .public-home-contact-form textarea::placeholder {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
}

.public-home #home-contact .public-home-contact-form textarea,
#home-contact .public-home-contact-form textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

.public-home #home-contact .public-home-contact-form input:focus,
.public-home #home-contact .public-home-contact-form select:focus,
.public-home #home-contact .public-home-contact-form textarea:focus,
#home-contact .public-home-contact-form input:focus,
#home-contact .public-home-contact-form select:focus,
#home-contact .public-home-contact-form textarea:focus {
  background: #ffffff !important;
  border-color: #C1282D !important;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.15) !important;
  outline: none !important;
}

.public-home #home-contact .public-form-actions,
#home-contact .public-form-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

.public-home #home-contact .public-home-contact-form .button,
#home-contact .public-home-contact-form .button {
  align-items: center !important;
  background: #C1282D !important;
  border: 1.5px solid #C1282D !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(193, 40, 45, 0.35) !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  justify-content: center !important;
  letter-spacing: 0.01em !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  transition: all 200ms ease !important;
  width: 100% !important;
}

.public-home #home-contact .public-home-contact-form .button:not([disabled]):hover,
.public-home #home-contact .public-home-contact-form .button:not([disabled]):focus-visible,
#home-contact .public-home-contact-form .button:not([disabled]):hover,
#home-contact .public-home-contact-form .button:not([disabled]):focus-visible {
  background: #0f172a !important;
  border-color: #0f172a !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.public-home #home-contact .public-contact-security,
#home-contact .public-contact-security {
  color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-align: center !important;
  text-align-last: center !important;
}

.public-home #home-contact .public-form-status,
#home-contact .public-form-status {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  margin: 0 !important;
  text-align: center !important;
  text-align-last: center !important;
}

/* ==========================================================================
   Compact Modern B2B Footer
   ========================================================================== */
.public-home > .public-footer-section,
.public-home > .public-section.public-footer-section,
.public-footer-section {
  background: #ffffff !important;
  border: none !important;
  margin: 0 !important;
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  padding-block: 0 !important;
  padding-inline: 0 !important;
}

.public-footer-section .public-footer,
.public-footer {
  background: #ffffff !important;
  border-top: 1px solid #eef2f6 !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  padding-block: clamp(34px, 3vw, 46px) clamp(20px, 1.8vw, 26px) !important;
  padding-inline: clamp(16px, 3.15vw, 50px) !important;
  position: relative !important;
  width: 100% !important;
}

.public-footer::before,
.public-footer::after,
.public-footer-aura,
.public-footer-beam {
  display: none !important;
}

.public-footer-shell {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  width: 100% !important;
}

.public-footer-grid {
  display: grid !important;
  gap: clamp(28px, 3.5vw, 52px) !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1.25fr) !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .public-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
  }
}

@media (max-width: 640px) {
  .public-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* Column 1: Brand */
.public-footer-brand-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.public-footer-brand {
  align-items: center !important;
  display: inline-flex !important;
  gap: 12px !important;
  text-decoration: none !important;
  width: fit-content !important;
}

/* Ô VUÔNG ĐỎ LÓT LOGO TRẮNG */
.public-footer-brand-mark {
  align-items: center !important;
  background-color: #C1282D !important;
  background-image: none !important;
  border: 1px solid rgba(193, 40, 45, 0.8) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.28) !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  height: 48px !important;
  justify-content: center !important;
  padding: 8px !important;
  position: relative !important;
  width: 48px !important;
}

.public-footer-brand-mark::after,
.public-footer-brand-mark::before {
  display: none !important;
}

.public-footer-brand-mark img,
.public-footer-brand img {
  display: block !important;
  height: 100% !important;
  max-height: 32px !important;
  max-width: 32px !important;
  object-fit: contain !important;
  width: 100% !important;
}

.public-footer-brand-title {
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
}

.public-footer-brand-desc {
  color: #475569 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 340px !important;
  text-align: left !important;
  text-align-last: left !important;
}

.public-footer-socials {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

.public-social-icon-link {
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  height: 34px !important;
  justify-content: center !important;
  transition: all 180ms ease !important;
  width: 34px !important;
}

.public-social-icon-link:hover {
  background: #ffffff !important;
  border-color: #C1282D !important;
  box-shadow: 0 4px 10px rgba(193, 40, 45, 0.14) !important;
  transform: translateY(-2px) !important;
}

.public-social-icon-link[aria-label="Facebook"]:hover {
  border-color: #1877F2 !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.22) !important;
}

.public-social-icon-link[aria-label="LinkedIn"]:hover {
  border-color: #0A66C2 !important;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.22) !important;
}

.public-social-icon-link img {
  display: block !important;
  height: 16px !important;
  width: 16px !important;
}

/* Columns 2, 3, 4: Navigation & Info */
.public-footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.public-footer-col strong {
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
  text-transform: uppercase !important;
}

.public-footer-col a {
  color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: color 160ms ease, transform 160ms ease !important;
  width: fit-content !important;
}

.public-footer-col a:hover {
  color: #C1282D !important;
  transform: translateX(2px) !important;
}

/* Corporate Info Column */
.public-footer-address {
  display: flex !important;
  flex-direction: column !important;
  font-style: normal !important;
  gap: 4px !important;
}

.public-footer-address span {
  color: #475569 !important;
  display: block !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.public-footer-address .company-name {
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  margin-bottom: 2px !important;
}

.public-footer-direct-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-top: 4px !important;
}

.public-footer-direct-contact a {
  align-items: center !important;
  color: #334155 !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: color 160ms ease !important;
}

.public-footer-direct-contact a:hover {
  color: #C1282D !important;
}

/* Bottom Bar */
.public-footer-bottom {
  align-items: center !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: space-between !important;
  margin-top: 0 !important;
  padding-top: 14px !important;
}

.public-footer-bottom span {
  color: #64748b !important;
  font-size: 12.5px !important;
}

.public-footer-bottom-links {
  align-items: center !important;
  display: flex !important;
  gap: 20px !important;
}

.public-footer-bottom-links a {
  color: #64748b !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
  transition: color 160ms ease !important;
}

.public-footer-bottom-links a:hover {
  color: #C1282D !important;
}

@media (max-width: 768px) {
  .public-footer-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding-top: 18px !important;
    padding-bottom: 52px !important;
  }

  .public-footer-bottom-links {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .public-footer-bottom-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 9px 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
  }

  .public-footer-bottom-links a:hover,
  .public-footer-bottom-links a:active {
    background: #fff5f5 !important;
    border-color: #C1282D !important;
    color: #C1282D !important;
  }

  .public-footer-bottom > span {
    order: 2 !important;
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    padding-inline: 12px !important;
  }
}


/* ==========================================================================
   Duda-Standard Parallax Hero & Synchronized 1480px Grid Alignment
   - Reduces lateral margins by 30% across all sections
   - Perfectly aligns content edges across Hero and all sections (1480px)
   - Enables Duda-style fixed parallax with subtle soft-white submerged overlay
   - Mobile smooth fallback
   ========================================================================== */

/* 1. Synchronized Padding with 30% Reduced Margins for All Sections */
.public-home > .public-section,
.public-hero-home {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: auto !important;
  padding-block: 96px !important;
  padding-inline: clamp(16px, 3.15vw, 50px) !important;
}

@media (max-width: 989px) {
  .public-home > .public-section,
  .public-hero-home {
    padding-block: 60px !important;
    padding-inline: 18px !important;
  }
}

/* 2. Unified Grid Alignment (1480px Container for All Sections Including Hero) */
.public-hero-shell,
.public-section-shell,
.legacy-guide-clock-stage,
.legacy-insights-shell,
.legacy-presso-shell,
.presshr-shell,
.public-partner-stage,
.public-home-contact-shell,
.public-footer-shell {
  box-sizing: border-box !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  width: 100% !important;
}

/* 3. Duda-Standard Parallax Hero Section */
.public-hero-home {
  background-color: #ffffff !important;
  clip-path: inset(0) !important;
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate !important;
  justify-content: center !important;
  min-height: min(780px, 92vh) !important;
  overflow: hidden !important;
  padding-bottom: 76px !important;
  padding-top: 140px !important; /* Proper clearance for fixed floating header */
  position: relative !important;
}

/* Fixed Parallax Media Layer */
.public-hero-home .public-hero-media {
  background-color: #ffffff !important;
  background-image: url("/static/img/legacy/home-hero-2026-poster.webp") !important;
  background-position: center calc(45% + var(--hero-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--hero-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.public-hero-home .public-hero-media img {
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover !important;
  opacity: 0 !important;
  position: absolute !important;
  width: 100% !important;
}

/* Duda-Style Submerged Light Overlay (Nền chìm tinh tế, chữ đen nổi 100%) */
.public-hero-home .public-hero-media::after {
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.80) 45%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.92) 100%) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  z-index: 1 !important;
}

/* Hero Shell Content Alignment */
.public-hero-shell {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* 4. Duda-Standard Parallax Insights Section */
.public-home-insights {
  background-color: #0b0f19 !important;
  clip-path: inset(0) !important;
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate !important;
  justify-content: center !important;
  margin-top: -1px !important;
  overflow: hidden !important;
  position: relative !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

/* Fixed Parallax Media Layer for Insights */
.public-home-insights .legacy-insights-bg {
  background-color: #0f172a !important;
  background-image: url("/static/img/legacy/hero-bg-ai-control.webp") !important;
  background-position: center calc(50% + var(--insights-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--insights-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

/* Duda-Style Submerged Cyber Atmosphere (Đen mờ Deep Tech Obsidian, quầng aura đỏ nhẹ) */
.public-home-insights .legacy-insights-bg::after {
  background:
    radial-gradient(ellipse 65% 55% at 18% 28%, rgba(193, 40, 45, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 82% 75%, rgba(193, 40, 45, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.86) 0%, rgba(15, 23, 42, 0.76) 50%, rgba(11, 15, 25, 0.90) 100%) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  z-index: 1 !important;
}

.public-home-insights .legacy-insight-radar {
  background: transparent !important;
}

.public-home-insights .legacy-radar-core {
  background: transparent !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
}

.public-home-insights .legacy-radar-core img {
  filter: brightness(0) invert(1) !important;
}

.public-home-insights .legacy-insight-radar i {
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22), 0 0 16px rgba(255, 255, 255, 0.95) !important;
}

.public-home-insights .legacy-insights-shell {
  position: relative !important;
  z-index: 2 !important;
}

/* 5. Chân Bổ Trợ: Web Theo Yêu Cầu & Quảng Cáo Hiệu Suất Kết Nối CRM (Clean Minimalist B2B) */
.public-home-web-ads {
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  padding-block: 96px !important;
  padding-inline: clamp(16px, 3.15vw, 50px) !important;
  position: relative !important;
  z-index: 2 !important;
}

.public-section-shell.web-ads-shell,
.web-ads-shell {
  align-items: flex-start !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 48px !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  text-align: left !important;
  width: 100% !important;
}

.public-home-web-ads .web-ads-header,
.web-ads-header {
  align-items: flex-start !important;
  align-self: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 1050px !important;
  text-align: left !important;
  width: 100% !important;
}

.web-ads-header .eyebrow {
  align-self: flex-start !important;
  color: #C1282D !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 12px !important;
  margin-left: 0 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.web-ads-header h2 {
  align-self: flex-start !important;
  color: #0f172a !important;
  font-size: clamp(32px, 2.6vw, 46px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
  margin: 0 0 18px !important;
  margin-left: 0 !important;
  text-align: left !important;
}

.web-ads-header p:not(.eyebrow) {
  align-self: flex-start !important;
  color: #475569 !important;
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  max-width: 58rem !important;
  text-align: left !important;
}

.web-ads-grid {
  display: grid !important;
  gap: 32px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
}

@media (max-width: 989px) {
  .web-ads-grid {
    grid-template-columns: 1fr !important;
  }
}

.web-ads-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: clamp(28px, 3.2vw, 42px) !important;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease !important;
}

#web-ads .web-ads-card:hover {
  background: #C1282D !important;
  border-color: transparent !important;
  box-shadow: 0 24px 60px rgba(193, 40, 45, 0.35) !important;
  transform: translateY(-6px) !important;
}

/* Đảm bảo 100% text bên trong web-ads-card khi hover đều là màu trắng với độ đặc hiệu ID tuyệt đối */
#web-ads .web-ads-card:hover,
#web-ads .web-ads-card:hover *,
#web-ads .web-ads-card:hover h3,
#web-ads .web-ads-card:hover p,
#web-ads .web-ads-card:hover strong,
#web-ads .web-ads-card:hover span,
#web-ads .web-ads-card:hover li,
#web-ads .web-ads-card:hover div,
#web-ads .web-ads-card:hover .web-ads-badge,
#web-ads .web-ads-card:hover .web-ads-card-head h3,
#web-ads .web-ads-card:hover .web-ads-card-head p,
#web-ads .web-ads-card:hover .web-ads-features strong,
#web-ads .web-ads-card:hover .web-ads-features p,
#web-ads .web-ads-card:hover .web-ads-features li strong,
#web-ads .web-ads-card:hover .web-ads-features li p,
#web-ads .web-ads-card:hover .web-ads-metric-item strong,
#web-ads .web-ads-card:hover .web-ads-metric-item span {
  color: #ffffff !important;
}

.web-ads-badge {
  background: #fef2f2 !important;
  border: 1px solid rgba(193, 40, 45, 0.22) !important;
  border-radius: 999px !important;
  color: #C1282D !important;
  display: inline-flex !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  padding: 6px 14px !important;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-badge {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.web-ads-card-head h3 {
  color: #0f172a !important;
  font-size: clamp(21px, 1.55vw, 25px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin: 0 0 14px !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-card-head h3 {
  color: #ffffff !important;
  opacity: 1 !important;
}

.web-ads-card-head p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 0 28px !important;
  text-align: justify !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-card-head p {
  color: #ffffff !important;
  opacity: 0.92 !important;
}

.web-ads-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  list-style: none !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
}

.web-ads-features li {
  align-items: flex-start !important;
  display: flex !important;
  gap: 14px !important;
}

.web-ads-features .custom-v-check {
  align-items: center !important;
  background: #fef2f2 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  height: 22px !important;
  justify-content: center !important;
  margin-top: 2px !important;
  transition: background 240ms ease !important;
  width: 22px !important;
}

.web-ads-features .custom-v-check svg {
  display: block !important;
  height: 12px !important;
  width: 12px !important;
}

#web-ads .web-ads-card:hover .custom-v-check {
  background: #ffffff !important;
  opacity: 1 !important;
}

#web-ads .web-ads-card:hover .custom-v-check svg path {
  stroke: #C1282D !important;
}

.web-ads-features li strong {
  color: #0f172a !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-features li strong {
  color: #ffffff !important;
  opacity: 1 !important;
}

.web-ads-features li p {
  color: #64748b !important;
  font-size: 13.8px !important;
  line-height: 1.62 !important;
  margin: 0 !important;
  text-align: justify !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-features li p {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

.web-ads-metrics {
  border-top: 1px solid #f1f5f9 !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: auto !important;
  padding-top: 24px !important;
  transition: border-color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-metrics {
  border-top-color: rgba(255, 255, 255, 0.22) !important;
}

.web-ads-metric-item {
  background: #f8fafc !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 10px !important;
  padding: 12px 10px !important;
  text-align: center !important;
  transition: background 240ms ease, border-color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-metric-item {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  opacity: 1 !important;
}

.web-ads-metric-item strong {
  color: #C1282D !important;
  display: block !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-metric-item strong {
  color: #ffffff !important;
  opacity: 1 !important;
}

.web-ads-metric-item span {
  color: #64748b !important;
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
  transition: color 240ms ease !important;
}

#web-ads .web-ads-card:hover .web-ads-metric-item span {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

.web-ads-loop-banner {
  align-items: center !important;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #fef2f2 100%) !important;
  border: 1.5px solid rgba(193, 40, 45, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: 32px !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr) !important;
  padding: clamp(28px, 3vw, 38px) clamp(28px, 3.5vw, 44px) !important;
  width: 100% !important;
}

@media (max-width: 989px) {
  .web-ads-loop-banner {
    grid-template-columns: 1fr !important;
  }
}

.web-ads-loop-pill {
  background: #C1282D !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 12px !important;
  padding: 5px 14px !important;
  text-transform: uppercase !important;
}

.web-ads-loop-content h4 {
  color: #0f172a !important;
  font-size: clamp(20px, 1.5vw, 24px) !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
}

.web-ads-loop-content p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: justify !important;
}

.web-ads-loop-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  justify-content: center !important;
}

.web-ads-loop-actions .button {
  align-items: center !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 24px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 200ms ease !important;
}

#web-ads .web-ads-loop-actions .button-primary,
.public-home-web-ads .web-ads-loop-actions .button-primary {
  background: #C1282D !important;
  background-color: #C1282D !important;
  border: 1.5px solid #C1282D !important;
  color: #ffffff !important;
}

#web-ads .web-ads-loop-actions .button-primary:hover,
.public-home-web-ads .web-ads-loop-actions .button-primary:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #C1282D !important;
  color: #C1282D !important;
}

#web-ads .web-ads-loop-actions .button-outline,
#web-ads .web-ads-loop-actions .button.button-outline,
.public-home-web-ads .web-ads-loop-actions .button-outline,
.public-home-web-ads .web-ads-loop-actions .button.button-outline {
  background: transparent !important;
  background-color: transparent !important;
  border: 1.5px solid #C1282D !important;
  color: #C1282D !important;
}

#web-ads .web-ads-loop-actions .button-outline:hover,
#web-ads .web-ads-loop-actions .button.button-outline:hover,
.public-home-web-ads .web-ads-loop-actions .button-outline:hover,
.public-home-web-ads .web-ads-loop-actions .button.button-outline:hover {
  background: #C1282D !important;
  background-color: #C1282D !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Clean Minimalist B2B Partners & Clients Grid (Option 2)
   ========================================================================== */
.public-partners {
  background: #f8fafc !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  padding-block: clamp(72px, 5.5vw, 96px) !important;
  padding-inline: clamp(16px, 3.15vw, 50px) !important;
  position: relative !important;
  width: 100% !important;
  z-index: 2 !important;
}

.partners-shell {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(36px, 3.5vw, 48px) !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  width: 100% !important;
}

.partners-split-header {
  align-items: flex-end !important;
  display: grid !important;
  gap: clamp(28px, 4vw, 56px) !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) !important;
  margin-bottom: 8px !important;
  width: 100% !important;
}

@media (max-width: 960px) {
  .partners-split-header {
    align-items: flex-start !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.partners-header-left {
  display: flex !important;
  flex-direction: column !important;
}

.partners-header-left .eyebrow {
  color: #C1282D !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 12px !important;
  text-align: left !important;
  text-align-last: left !important;
  text-transform: uppercase !important;
}

.partners-header-left h2 {
  color: #0f172a !important;
  font-size: clamp(28px, 2.4vw, 42px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-align: left !important;
  text-align-last: left !important;
  text-wrap: balance !important;
}

.partners-header-right {
  border-left: 2px solid rgba(193, 40, 45, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-left: clamp(18px, 2vw, 28px) !important;
}

@media (max-width: 960px) {
  .partners-header-right {
    border-left: none !important;
    border-top: 2px solid rgba(193, 40, 45, 0.25) !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
  }
}

.partners-header-right p {
  color: #475569 !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
}

.partners-header-badge {
  align-items: center !important;
  color: #C1282D !important;
  display: inline-flex !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  gap: 6px !important;
  text-align: left !important;
  text-align-last: left !important;
}

.partners-header {
  margin-inline: auto !important;
  max-width: 860px !important;
  text-align: center !important;
}

.partners-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

.partner-card {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: 98px !important;
  justify-content: center !important;
  padding: 14px 16px !important;
  text-decoration: none !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease !important;
}

.partner-card:hover {
  background: #ffffff !important;
  border-color: rgba(193, 40, 45, 0.35) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07) !important;
  transform: translateY(-3px) !important;
}

.partner-card img {
  display: block !important;
  filter: grayscale(100%) !important;
  max-height: 56px !important;
  max-width: 160px !important;
  object-fit: contain !important;
  opacity: 0.74 !important;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease !important;
}

.partner-card:hover img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.06) !important;
}

.partner-text-name {
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  transition: color 220ms ease !important;
}

.partner-card:hover .partner-text-name {
  color: #C1282D !important;
}

.partners-trust-strip {
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-top: 12px !important;
  padding: clamp(20px, 2vw, 28px) clamp(20px, 3vw, 36px) !important;
  width: 100% !important;
}

@media (max-width: 860px) {
  .partners-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .partners-trust-strip {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

.partners-trust-item {
  text-align: center !important;
}

.partners-trust-item strong {
  color: #C1282D !important;
  display: block !important;
  font-size: clamp(24px, 2vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.partners-trust-item span {
  color: #64748b !important;
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  margin-top: 6px !important;
}

.public-hero-copy {
  margin: 0 !important;
  max-width: 1100px !important;
  text-align: left !important;
}

.public-hero-home .public-hero-copy h1 {
  color: #0f172a !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  margin: 0 0 20px !important;
  max-width: 1060px !important;
  text-align: left !important;
  white-space: normal !important;
}

.public-hero-home .public-hero-copy > p {
  color: #475569 !important;
  font-size: 20px !important;
  line-height: 1.75 !important;
  margin: 0 0 26px !important;
  max-width: 860px !important;
}

.public-hero-home .public-highlights {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 8px !important;
  max-width: 1480px !important;
  width: 100% !important;
}

.public-hero-home .public-highlights div {
  background: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 14px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 14px 28px -4px rgba(15, 23, 42, 0.12) !important;
  padding: 20px 24px !important;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease !important;
}

.public-hero-home .public-highlights div:hover {
  border-color: rgba(193, 40, 45, 0.3) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 14px -2px rgba(15, 23, 42, 0.08),
    0 22px 38px -6px rgba(15, 23, 42, 0.16) !important;
  transform: translateY(-4px) !important;
}

/* 4. Responsive Fallback for Mobile and Small Viewports */
@media (max-width: 989px), (height >= width) {
  .public-hero-home {
    clip-path: none !important;
    min-height: auto !important;
    padding-bottom: 56px !important;
    padding-top: 108px !important;
  }

  .public-hero-home .public-hero-media {
    opacity: 1 !important;
    position: absolute !important;
  }

  .public-hero-home .public-hero-media::after {
    position: absolute !important;
  }

  .public-hero-home .public-highlights {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}


/* ==========================================================================
   Hero Content Left-Alignment & Visible Duda Parallax Background Fix
   ========================================================================== */

/* 1. Perfect Left-Alignment: Hero Copy aligned with Highlights Box */
.public-hero-shell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  width: 100% !important;
  gap: 36px !important;
  position: relative !important;
  z-index: 2 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.public-hero-home .public-hero-copy {
  align-self: flex-start !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 1100px !important;
  box-sizing: border-box !important;
}

.public-hero-home .public-hero-copy .eyebrow {
  align-items: center !important;
  background: rgba(193, 40, 45, 0.08) !important;
  border: 1px solid rgba(193, 40, 45, 0.22) !important;
  border-radius: 999px !important;
  color: #C1282D !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 8px !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 18px !important;
  margin-left: 0 !important;
  padding: 6px 16px !important;
  text-align: left !important;
  text-transform: none !important;
  width: fit-content !important;
}

.public-hero-home .public-hero-copy .eyebrow::before {
  background: #C1282D !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px rgba(193, 40, 45, 0.6) !important;
  content: "" !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  height: 6px !important;
  width: 6px !important;
}

.public-hero-home .public-hero-copy h1,
.public-hero-home .public-hero-copy > p,
.public-hero-home .public-hero-copy .actions {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.public-hero-home .public-hero-copy h1 {
  max-width: 1060px !important;
}

.public-hero-home .public-hero-copy > p {
  max-width: 860px !important;
}

.public-hero-home .public-highlights {
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 1480px !important;
  box-sizing: border-box !important;
}

/* 2. Duda-Standard Parallax Background - Visible & Subtle */
.public-hero-home {
  background: #ffffff !important;
  clip-path: inset(0) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  position: relative !important;
}

.public-hero-home .public-hero-media {
  background-color: #ffffff !important;
  background-image: url("/static/img/legacy/home-hero-light-bg.webp") !important;
  background-position: center calc(40% + var(--hero-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.public-hero-home .public-hero-media::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.20) 45%, rgba(255, 255, 255, 0.68) 100%) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 1 !important;
}

/* Mobile responsive fallback */
@media (max-width: 989px), (height >= width) {
  .public-hero-home .public-hero-media {
    position: absolute !important;
    opacity: 0.55 !important;
  }
}


/* ==========================================================================
   Hero Parallax Background: Saigon Enterprise Skyline (Subtle Duda Standard)
   ========================================================================== */

.public-hero-home .public-hero-media {
  background-color: #ffffff !important;
  background-image: url("/static/img/legacy/hero-bg-saigon.webp") !important;
  background-position: center calc(62% + var(--hero-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: 0.24 !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.public-hero-home .public-hero-media::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.65) 100%) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 1 !important;
}

@media (max-width: 989px), (height >= width) {
  .public-hero-home .public-hero-media {
    position: absolute !important;
    opacity: 0.20 !important;
    background-position: center 62% !important;
  }
}


/* ==========================================================================
   Hero Layout Refinement: Centered Vertical Alignment & Compact Gap
   ========================================================================== */

.public-hero-home {
  min-height: clamp(840px, 92vh, 1000px) !important;
  padding-top: clamp(100px, 10vh, 136px) !important;
  padding-bottom: clamp(80px, 8vh, 112px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.public-hero-shell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: clamp(24px, 3vh, 36px) !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  width: 100% !important;
  min-height: auto !important;
  flex: 0 1 auto !important;
}

.public-hero-home .public-highlights {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

.public-hero-home .public-hero-media {
  background-position: center calc(50% + var(--hero-parallax-offset, 0px)) !important;
  opacity: 0.32 !important; /* Thành phố hiện rõ nét, sống động hơn */
}

.public-hero-home .public-hero-media::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.55) 100%) !important;
}

@media (max-width: 989px), (height >= width) {
  .public-hero-home {
    min-height: auto !important;
    padding-top: 104px !important;
    padding-bottom: 56px !important;
    justify-content: flex-start !important;
  }
  .public-hero-shell {
    gap: 20px !important;
  }
  .public-hero-home .public-hero-media {
    background-position: center 50% !important;
    opacity: 0.28 !important;
  }
}

/* ==========================================================================
   Universal Button Interactive Rules (PressUp Brand Design System)
   - Primary: Nền đỏ text trắng -> Hover: Nền trắng text đỏ, viền đỏ
   - Secondary: Nền trắng text đen -> Hover: Nền đỏ text trắng, viền đỏ
   ========================================================================== */

/* 1. Base Interactive Transition & Pointer */
.button,
.public-cta,
.public-main .button,
.public-footer .button,
.public-hero .button,
.public-section .button,
.public-request-dialog .button,
.web-button,
.odoo-button,
.odoo-price-btn,
.odoo-btn-submit,
.odoo-faq-cta-btn,
.web-form-submit,
.web-faq-cta-btn,
.ads-btn,
.ai-btn,
.sol-btn,
.sol-quote-submit-btn,
.public-lead-submit-btn {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
  cursor: pointer !important;
}

.button svg,
.public-cta svg,
.web-button svg,
.odoo-button svg,
.ads-btn svg,
.ai-btn svg,
.sol-btn svg,
.odoo-btn-submit svg,
.web-form-submit svg,
.web-faq-cta-btn svg {
  transition: transform 180ms ease, color 180ms ease, fill 180ms ease !important;
}

/* 2. Nút nền đỏ text trắng (Primary) */
.button:not(.secondary):not(.danger):not(.admin-btn),
.public-cta:not(.secondary),
.public-main .button:not(.secondary):not(.danger),
.public-hero .button:not(.secondary),
.public-section .button:not(.secondary),
.actions .button:not(.secondary),
.public-home-contact-form .button,
.public-newsletter-form .button,
.public-request-dialog .button:not(.secondary),
.public-form-actions .button:not(.secondary),
.web-button.primary,
.web-button:not(.secondary),
.odoo-button.primary,
.odoo-button:not(.secondary),
.odoo-price-btn.primary,
.odoo-btn-submit,
.web-form-submit,
.web-faq-cta-btn,
.ads-btn-primary,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline),
.ai-btn-primary,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline),
.sol-btn-primary,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline),
.sol-quote-submit-btn,
.public-lead-submit-btn {
  background-color: #C1282D !important;
  background-image: none !important;
  border: 1px solid #C1282D !important;
  color: #ffffff !important;
}

/* Hover: Nền trắng, text đỏ, viền đỏ */
.button:not(.secondary):not(.danger):not(.admin-btn):not([disabled]):hover,
.button:not(.secondary):not(.danger):not(.admin-btn):not([disabled]):focus-visible,
.public-cta:not(.secondary):hover,
.public-cta:not(.secondary):focus-visible,
.public-main .button:not(.secondary):not(.danger):not([disabled]):hover,
.public-main .button:not(.secondary):not(.danger):not([disabled]):focus-visible,
.public-hero .button:not(.secondary):hover,
.public-hero .button:not(.secondary):focus-visible,
.public-section .button:not(.secondary):hover,
.public-section .button:not(.secondary):focus-visible,
.actions .button:not(.secondary):hover,
.actions .button:not(.secondary):focus-visible,
.public-home-contact-form .button:not([disabled]):hover,
.public-home-contact-form .button:not([disabled]):focus-visible,
.public-newsletter-form .button:not([disabled]):hover,
.public-newsletter-form .button:not([disabled]):focus-visible,
.public-request-dialog .button:not(.secondary):hover,
.public-request-dialog .button:not(.secondary):focus-visible,
.public-form-actions .button:not(.secondary):hover,
.public-form-actions .button:not(.secondary):focus-visible,
.web-button.primary:hover,
.web-button:not(.secondary):hover,
.odoo-button.primary:hover,
.odoo-button:not(.secondary):hover,
.odoo-price-btn.primary:hover,
.odoo-btn-submit:hover,
.web-form-submit:hover,
.web-faq-cta-btn:hover,
.ads-btn-primary:hover,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline):hover,
.ai-btn-primary:hover,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline):hover,
.sol-btn-primary:hover,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline):hover,
.sol-quote-submit-btn:hover,
.public-lead-submit-btn:hover {
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #C1282D !important;
  color: #C1282D !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
  transform: translateY(-1px);
}

.button:not(.secondary):not(.danger):hover svg,
.public-cta:not(.secondary):hover svg,
.web-button.primary:hover svg,
.web-button:not(.secondary):hover svg,
.odoo-button.primary:hover svg,
.odoo-button:not(.secondary):hover svg,
.odoo-price-btn.primary:hover svg,
.odoo-btn-submit:hover svg,
.web-form-submit:hover svg,
.web-faq-cta-btn:hover svg,
.ads-btn-primary:hover svg,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline):hover svg,
.ai-btn-primary:hover svg,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline):hover svg,
.sol-btn-primary:hover svg,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline):hover svg,
.sol-quote-submit-btn:hover svg,
.public-lead-submit-btn:hover svg {
  color: #C1282D !important;
  fill: currentColor !important;
}

/* 3. Nút nền trắng text đen (Secondary / Outline) */
.button.secondary,
.public-cta.secondary,
.public-main .button.secondary,
.public-hero .button.secondary,
.public-section .button.secondary,
.actions .button.secondary,
.public-home .public-hero-copy .actions .button.secondary,
.public-request-dialog .button.secondary,
.public-form-actions .button.secondary,
.web-button.secondary,
.odoo-button.secondary,
.odoo-price-btn:not(.primary),
.ads-btn-secondary,
.ads-btn-outline,
.ai-btn-secondary,
.ai-btn-outline,
.sol-btn-secondary,
.sol-btn-outline {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Hover: Nền đỏ, text trắng, viền đỏ */
.button.secondary:not([disabled]):hover,
.button.secondary:not([disabled]):focus-visible,
.public-cta.secondary:hover,
.public-cta.secondary:focus-visible,
.public-main .button.secondary:not([disabled]):hover,
.public-main .button.secondary:not([disabled]):focus-visible,
.public-hero .button.secondary:hover,
.public-hero .button.secondary:focus-visible,
.public-section .button.secondary:hover,
.public-section .button.secondary:focus-visible,
.actions .button.secondary:hover,
.actions .button.secondary:focus-visible,
.public-home .public-hero-copy .actions .button.secondary:hover,
.public-home .public-hero-copy .actions .button.secondary:focus-visible,
.public-request-dialog .button.secondary:hover,
.public-request-dialog .button.secondary:focus-visible,
.public-form-actions .button.secondary:hover,
.public-form-actions .button.secondary:focus-visible,
.web-button.secondary:hover,
.odoo-button.secondary:hover,
.odoo-price-btn:not(.primary):hover,
.ads-btn-secondary:hover,
.ads-btn-outline:hover,
.ai-btn-secondary:hover,
.ai-btn-outline:hover,
.sol-btn-secondary:hover,
.sol-btn-outline:hover {
  background-color: #C1282D !important;
  background-image: none !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
  transform: translateY(-1px);
}

.button.secondary:hover svg,
.public-cta.secondary:hover svg,
.web-button.secondary:hover svg,
.odoo-button.secondary:hover svg,
.odoo-price-btn:not(.primary):hover svg,
.ads-btn-secondary:hover svg,
.ads-btn-outline:hover svg,
.ai-btn-secondary:hover svg,
.ai-btn-outline:hover svg,
.sol-btn-secondary:hover svg,
.sol-btn-outline:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* ==========================================================================
   Universal Text Justify Rules (Căn đều 2 lề kiểu Word)
   - Áp dụng cho mọi khối văn bản/đoạn văn chạy nhiều dòng:
     bên ngoài lẫn bên trong các box lớn/nhỏ
   - text-align-last: left giúp dòng cuối kết thúc tự nhiên bên trái
   - text-justify: inter-word giúp giãn từ đều đặn, không bị xé chữ
   ========================================================================== */

/* 1. Các đoạn văn bản chính bên ngoài các box */
.public-hero-copy > p,
.public-hero-home .public-hero-copy > p,
.public-hero .summary,
.section-copy > p,
.section-copy p,
.public-home .section-copy > p,
.public-section-shell .section-copy > p,
.public-section p:not(.eyebrow):not(.actions),
.article p,
.page p,
.rich-content p,
.content p,
.public-blog-detail p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2. Text bên trong các box lớn & nhỏ */
/* 2.1 Thẻ Odoo CRM & ERP (4 Cards) */
.legacy-achievement-card p,
.legacy-achievement-card .body {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.2 Danh sách tính năng Odoo & AI (Checkmark Lists) */
.legacy-service-features li strong,
.legacy-service-features li span:last-child {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.3 Thẻ AI Automation & Explorer Panels */
.legacy-software-panel p,
.legacy-offer-panel p,
.legacy-explorer-panel p,
.public-explorer-panel p,
.public-explorer-panel li,
.legacy-offer-steps li,
.legacy-offer-steps p,
.legacy-offer-summary,
.public-explorer-summary,
.public-explorer-panel .summary {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.4 Thẻ OpenAI Gateway & Performance Cards */
.legacy-performance-panel p,
.legacy-performance-header p,
.legacy-trend-copy strong,
.legacy-trend-copy p,
.legacy-metric-card p,
.legacy-revenue-grid p,
.legacy-offer-metrics p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.5 Thẻ Guides & Insights (Clock, Cockpit, Presso Stack) */
.legacy-guide-card p,
.legacy-guide-card span,
.legacy-guide-stage p,
.legacy-insight-card p,
.legacy-insights-cockpit p,
.legacy-presso-stack p,
.public-insight-card p,
.public-guide-card p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.6 Box FAQ & Dialogs */
.public-faq-item p,
.public-faq-answer,
.public-faq-answer p,
.public-request-dialog p,
.public-request-dialog .form-hint {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.7 Box Footer (Newsletter, Address, Info Cards) */
.public-footer-info-card p,
.public-footer address,
.public-footer-newsletter-card p,
.public-footer-contact-row {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.8 Các thẻ Blog Cards / Grid Cards chung */
.card p,
.public-blog-card p,
.post-card p,
.legacy-card p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 2.9 Các Tiêu Đề Lớn (Headings) - Căn đều 2 bên (Justify) theo rule chung (trừ các tiêu đề căn giữa) */
.odoo-hero-title,
.odoo-session-heading,
.odoo-contact-title,
.odoo-book-title,
.odoo-pain-card h3,
.odoo-pain-title,
.odoo-resp-title,
.odoo-arch-card-title,
.odoo-sprint-title,
.odoo-usecase-heading,
.odoo-step-title,
.odoo-outcome-title,
.odoo-price-name,
.public-hero-copy h1:not(.text-center):not([style*="center"]),
.public-hero h1:not(.text-center):not([style*="center"]),
.section-copy:not(.text-center):not(.odoo-section-header) h2:not(.odoo-section-title):not(.odoo-outcomes-heading),
.public-home .section-copy h2,
.seo-strip-card h3,
.legacy-achievement-card h3,
.legacy-performance-panel h3,
.public-home-contact-copy h2,
.article h1, .article h2, .article h3,
.page h1, .page h2, .page h3,
.post-card h3,
.post-card h3 a {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* Bảo toàn tuyệt đối cho các tiêu đề chủ động căn giữa */
.odoo-section-header,
.odoo-section-header h2,
.odoo-section-title,
.odoo-outcomes-heading,
.partners-header,
.partners-header h2,
.text-center,
[style*="text-align: center"] {
  text-align: center !important;
  text-align-last: center !important;
}


/* ==========================================================================
   Dual Option CRM Strategic Cards & Hybrid Banner
   - Option 1: Odoo CRM & ERP (Nền tảng Quốc tế)
   - Option 2: Bespoke Custom CRM (Chuyên biệt Bám sát Nghiệp vụ bằng Golang)
   - Hybrid Architecture Banner
   ========================================================================== */

.legacy-crm-dual-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
}

.legacy-crm-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

@media (max-width: 989px) {
  .legacy-crm-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.legacy-crm-option-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 28px 24px !important;
  position: relative !important;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease !important;
}

.legacy-crm-option-card:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.08) !important;
}

.legacy-crm-option-card.is-odoo-option {
  border-top: 3.5px solid #C1282D !important;
}

.legacy-crm-option-card.is-custom-option {
  border-top: 3.5px solid #0f172a !important;
}

.legacy-crm-option-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.legacy-crm-badge {
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.legacy-crm-badge.badge-odoo {
  background: #fef2f2 !important;
  color: #C1282D !important;
  border: 1px solid #fecaca !important;
}

.legacy-crm-badge.badge-custom {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.legacy-crm-pill {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.legacy-crm-option-card h3 {
  color: #0f172a !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 12px 0 !important;
}

.legacy-crm-option-card p {
  color: #475569 !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  margin: 0 0 24px 0 !important;
  flex: 1 1 auto !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.legacy-crm-card-action {
  margin-top: auto !important;
  width: 100% !important;
}

.legacy-crm-card-action .button {
  width: 100% !important;
}

.legacy-crm-hybrid-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%) !important;
  border: 1px solid #fed7aa !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.04) !important;
}

.legacy-crm-hybrid-banner p {
  color: #9a3412 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 600 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* ==========================================================================
   AI Software Offer Panel Enhancements
   - Ẩn thanh đèn chạy chạy vô tri (.legacy-progress-rail)
   - Thêm styling cho thẻ cam kết Enterprise AI Security
   - Nút Explorer action button chuẩn B2B
   ========================================================================== */

.legacy-progress-rail {
  display: none !important;
}

.legacy-ai-security-badge {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-top: 16px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.legacy-ai-security-icon {
  font-size: 18px !important;
  line-height: 1.3 !important;
  flex-shrink: 0 !important;
}

.legacy-ai-security-badge p {
  margin: 0 !important;
  color: #475569 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  font-weight: 550 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.legacy-explorer-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  width: 100% !important;
  cursor: pointer !important;
  margin-top: 18px !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.legacy-explorer-button svg {
  color: #C1282D !important;
  transition: color 180ms ease !important;
}

.legacy-explorer-button:hover {
  background: #C1282D !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.2) !important;
}

.legacy-explorer-button:hover svg {
  color: #ffffff !important;
}

/* ==========================================================================
   Explorer Dialog Light Theme Overhaul (Chữa triệt để lỗi nền tối text tối)
   ========================================================================== */

.legacy-explorer-dialog {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25) !important;
  color: #0f172a !important;
  max-height: min(780px, calc(100svh - 32px)) !important;
  max-width: min(980px, calc(100vw - 32px)) !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 980px !important;
}

.legacy-explorer-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
}

.legacy-explorer-layout {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr !important;
  background: #ffffff !important;
}

@media (max-width: 768px) {
  .legacy-explorer-layout {
    grid-template-columns: 1fr !important;
  }
}

.legacy-explorer-head {
  background: linear-gradient(150deg, #fff1f2 0%, #fef2f2 40%, #f8fafc 100%) !important;
  border-right: 1px solid #fee2e2 !important;
  padding: 36px 32px !important;
}

@media (max-width: 768px) {
  .legacy-explorer-head {
    border-right: none !important;
    border-bottom: 1px solid #fee2e2 !important;
    padding: 24px 20px !important;
  }
}

.legacy-explorer-head p {
  color: #C1282D !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  margin: 0 0 12px !important;
  text-transform: uppercase !important;
}

.legacy-explorer-head h3 {
  color: #0f172a !important;
  font-size: clamp(24px, 2.5vw, 32px) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  margin: 0 0 16px !important;
}

.legacy-explorer-head span {
  color: #475569 !important;
  display: block !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.legacy-explorer-scroll {
  background: #ffffff !important;
  max-height: min(780px, calc(100svh - 32px)) !important;
  overflow-y: auto !important;
  padding: 36px 32px !important;
}

@media (max-width: 768px) {
  .legacy-explorer-scroll {
    padding: 24px 20px !important;
    max-height: 60svh !important;
  }
}

.legacy-explorer-panel p {
  color: #C1282D !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  margin: 0 0 10px !important;
  text-transform: uppercase !important;
}

.legacy-explorer-panel h4 {
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 14px !important;
}

.legacy-explorer-panel > span {
  color: #475569 !important;
  display: block !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.legacy-explorer-points {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 24px !important;
}

@media (max-width: 600px) {
  .legacy-explorer-points {
    grid-template-columns: 1fr !important;
  }
}

.legacy-explorer-points strong {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  padding: 12px 14px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.legacy-explorer-close {
  align-items: center !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  color: #475569 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 24px !important;
  height: 38px !important;
  justify-content: center !important;
  line-height: 1 !important;
  position: absolute !important;
  right: 16px !important;
  top: 16px !important;
  width: 38px !important;
  z-index: 10 !important;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}

.legacy-explorer-close:hover {
  background: #C1282D !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
}

.legacy-explorer-controls {
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid #f1f5f9 !important;
  position: relative !important;
  z-index: 3 !important;
}

.legacy-explorer-controls div button {
  background: #cbd5e1 !important;
  border: none !important;
  border-radius: 999px !important;
  height: 8px !important;
  padding: 0 !important;
  width: 8px !important;
  cursor: pointer !important;
  transition: background-color 160ms ease, width 160ms ease !important;
}

.legacy-explorer-controls div button.is-active {
  background: #C1282D !important;
  width: 26px !important;
}

.legacy-explorer-controls nav {
  display: flex !important;
  gap: 8px !important;
}

.legacy-explorer-controls nav button {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  color: #0f172a !important;
  cursor: pointer !important;
  font-size: 20px !important;
  height: 38px !important;
  line-height: 1 !important;
  width: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}

.legacy-explorer-controls nav button:hover {
  background: #C1282D !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Thin SEO Authority & Keyword Hub Section (Modern Tech UI)
   ========================================================================== */
.public-home-seo-strip {
  background-color: #0b0f19 !important;
  border-top: none !important;
  border-bottom: none !important;
  clip-path: inset(0) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate !important;
  margin-top: -1px !important;
  overflow: hidden !important;
  padding-block: clamp(60px, 5.2vw, 88px) !important;
  padding-inline: clamp(16px, 3.15vw, 50px) !important;
  position: relative !important;
  transform: none !important;
  opacity: 1 !important;
  width: 100% !important;
  z-index: 1 !important;
}

/* Fixed Parallax Media Layer for SEO Strip (Insights-standard) */
.public-home-seo-strip .seo-strip-parallax-bg {
  background-color: #0b0f19 !important;
  background-image: url("/static/img/legacy/hero-bg-velocity.webp") !important;
  background-position: center calc(50% + var(--seo-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--seo-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.public-home-seo-strip .seo-strip-parallax-bg::after {
  background:
    radial-gradient(ellipse 65% 55% at 18% 25%, rgba(193, 40, 45, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 82% 75%, rgba(193, 40, 45, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.84) 0%, rgba(15, 23, 42, 0.74) 48%, rgba(11, 15, 25, 0.90) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  z-index: 1 !important;
}

.public-section-shell.seo-strip-shell,
.seo-strip-shell {
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(28px, 3.2vw, 40px) !important;
  margin-inline: auto !important;
  max-width: 1480px !important;
  position: relative !important;
  text-align: left !important;
  width: 100% !important;
  z-index: 2 !important;
}

.public-home-seo-strip .seo-strip-header,
.seo-strip-header {
  align-items: flex-start !important;
  align-self: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 1050px !important;
  text-align: left !important;
  width: 100% !important;
}

.public-home-seo-strip .seo-strip-tag {
  align-items: center !important;
  align-self: flex-start !important;
  background: rgba(193, 40, 45, 0.16) !important;
  border: 1px solid rgba(248, 113, 113, 0.35) !important;
  border-radius: 999px !important;
  color: #ff8587 !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  gap: 7px !important;
  letter-spacing: 0.06em !important;
  margin-left: 0 !important;
  padding: 4px 12px !important;
  text-transform: uppercase !important;
  width: fit-content !important;
}

.public-home-seo-strip .seo-tag-dot {
  background: #ff4d4f !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(255, 77, 79, 0.8) !important;
  display: inline-block !important;
  height: 6px !important;
  width: 6px !important;
}

.public-home-seo-strip .seo-strip-header h2,
.public-home-seo-strip h2 {
  align-self: flex-start !important;
  color: #ffffff !important;
  font-size: clamp(24px, 2.5vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-align: left !important;
}

.public-home .public-home-seo-strip .seo-strip-desc,
.public-home-seo-strip .seo-strip-desc {
  color: #cbd5e1 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  max-width: 860px !important;
}

/* 4-Card Modern Bento Grid */
.seo-strip-grid {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1180px) {
  .seo-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .seo-strip-grid {
    grid-template-columns: 1fr !important;
  }
}

.public-home-seo-strip .seo-strip-card {
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 24px 22px !important;
  position: relative !important;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.public-home-seo-strip .seo-strip-card:hover {
  background: rgba(22, 33, 56, 0.82) !important;
  border-color: rgba(248, 113, 113, 0.50) !important;
  box-shadow: 0 16px 40px rgba(193, 40, 45, 0.22), 0 0 0 1px rgba(248, 113, 113, 0.30) !important;
  transform: translateY(-4px) !important;
}

/* Card Top: Icon Box + Step Pill */
.seo-card-top {
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.public-home-seo-strip .seo-card-icon-box {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  color: #ff6b6e !important;
  display: inline-flex !important;
  height: 40px !important;
  justify-content: center !important;
  transition: all 200ms ease !important;
  width: 40px !important;
}

.public-home-seo-strip .seo-card-icon-box svg {
  height: 20px !important;
  stroke: #ff6b6e !important;
  width: 20px !important;
}

.public-home-seo-strip .seo-strip-card:hover .seo-card-icon-box {
  background: #C1282D !important;
  border-color: #C1282D !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.45) !important;
}

.public-home-seo-strip .seo-strip-card:hover .seo-card-icon-box svg {
  stroke: #ffffff !important;
}

.public-home .public-home-seo-strip .seo-card-step,
.public-home-seo-strip .seo-card-step {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 3px 8px !important;
}

.public-home-seo-strip .seo-strip-card h3 {
  font-size: 16.5px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.public-home .public-home-seo-strip .seo-strip-card h3 a,
.public-home-seo-strip .seo-strip-card h3 a {
  align-items: baseline !important;
  color: #ffffff !important;
  display: inline-flex !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: color 160ms ease !important;
}

.public-home .public-home-seo-strip .card-arrow,
.public-home-seo-strip .card-arrow {
  color: #cbd5e1 !important;
  display: inline-block !important;
  font-size: 14px !important;
  transition: all 180ms ease !important;
}

.public-home-seo-strip .seo-strip-card:hover h3 a {
  color: #ff6b6e !important;
}

.public-home-seo-strip .seo-strip-card:hover .card-arrow {
  color: #ff6b6e !important;
  transform: translateX(4px) !important;
}

.public-home .public-home-seo-strip .seo-strip-card p,
.public-home-seo-strip .seo-strip-card p {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Modern Pill Tags */
.seo-card-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
}

.public-home .public-home-seo-strip .seo-card-tags span,
.public-home-seo-strip .seo-card-tags span {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  border-radius: 999px !important;
  color: #f1f5f9 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 9px !important;
  transition: all 160ms ease !important;
}

.public-home-seo-strip .seo-strip-card:hover .seo-card-tags span {
  background: rgba(193, 40, 45, 0.24) !important;
  border-color: rgba(248, 113, 113, 0.50) !important;
  color: #ffffff !important;
}

/* Bento Footer Bar */
.public-home-seo-strip .seo-strip-footer,
.seo-strip-footer {
  align-items: center !important;
  align-self: center !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin-inline: auto !important;
  padding: 12px 20px !important;
}

.seo-trust-group {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
}

.public-home .public-home-seo-strip .seo-trust-item,
.public-home-seo-strip .seo-trust-item {
  align-items: center !important;
  color: #f1f5f9 !important;
  display: inline-flex !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  gap: 6px !important;
}

.public-home .public-home-seo-strip .seo-trust-check,
.public-home-seo-strip .seo-trust-check {
  color: #4ade80 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.6) !important;
}

.public-home-seo-strip .seo-footer-btn {
  align-items: center !important;
  background-color: #C1282D !important;
  background-image: none !important;
  border: 1.5px solid #C1282D !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(193, 40, 45, 0.35) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  text-decoration: none !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.public-home-seo-strip .seo-footer-btn *,
.public-home-seo-strip .seo-footer-btn span,
.public-home-seo-strip .seo-footer-btn .seo-btn-text,
.public-home-seo-strip .seo-footer-btn .btn-arrow {
  color: #ffffff !important;
}

.public-home-seo-strip .seo-footer-btn .btn-arrow {
  display: inline-block !important;
  transition: transform 180ms ease, color 180ms ease !important;
}

.public-home-seo-strip .seo-footer-btn:hover,
.public-home-seo-strip .seo-footer-btn:focus-visible {
  --btn-bg: #ffffff !important;
  --btn-c: #0f172a !important;
  --btn-bc: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25) !important;
  color: #0f172a !important;
}

.public-home-seo-strip .seo-footer-btn:hover *,
.public-home-seo-strip .seo-footer-btn:hover span,
.public-home-seo-strip .seo-footer-btn:hover .seo-btn-text,
.public-home-seo-strip .seo-footer-btn:hover .btn-arrow,
.public-home-seo-strip .seo-footer-btn:focus-visible *,
.public-home-seo-strip .seo-footer-btn:focus-visible span,
.public-home-seo-strip .seo-footer-btn:focus-visible .seo-btn-text,
.public-home-seo-strip .seo-footer-btn:focus-visible .btn-arrow {
  color: #0f172a !important;
}

.public-home-seo-strip .seo-footer-btn:hover .btn-arrow,
.public-home-seo-strip .seo-footer-btn:focus-visible .btn-arrow {
  transform: translateX(3px) !important;
}

/* ==========================================================================
   PUBLIC PAGE: ODOO ERP & CRM (LIGHT THEME SUB-PAGE)
   ========================================================================== */

/* Light Theme Foundation */
.public-light-theme,
main.public-light-theme,
.public-page-odoo,
main.public-page-odoo,
.public-page-web,
main.public-page-web,
.public-page-ads,
main.public-page-ads,
.public-page-ai,
main.public-page-ai,
.public-page-solutions,
main.public-page-solutions,
.public-page-solution-growth-loop,
main.public-page-solution-growth-loop,
.public-page-solution-digital-ops,
main.public-page-solution-digital-ops,
.public-page-solution-ai-automation,
main.public-page-solution-ai-automation {
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-family: inherit;
  min-height: 100vh;
  padding-top: 76px;
}

.public-page-odoo a,
.public-page-web a,
.public-page-ads a,
.public-page-ai a,
.public-page-solutions a,
.public-page-solution-growth-loop a,
.public-page-solution-digital-ops a,
.public-page-solution-ai-automation a {
  text-decoration: none;
}

/* Light Theme Header Adaptations */
body:has(.public-light-theme) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-odoo) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-web) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-ads) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-ai) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-solutions) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-solution-growth-loop) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-solution-digital-ops) .public-header:not(.is-scrolled):not(.is-open),
body:has(.public-page-solution-ai-automation) .public-header:not(.is-scrolled):not(.is-open) {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body:has(.public-light-theme) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-odoo) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-web) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-ads) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-ai) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-solutions) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-solution-growth-loop) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-solution-digital-ops) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link,
body:has(.public-page-solution-ai-automation) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link {
  color: #1e293b !important;
}

body:has(.public-light-theme) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-light-theme) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-odoo) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-odoo) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-web) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-web) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-ads) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-ads) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-ai) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-ai) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-solutions) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-solutions) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-solution-growth-loop) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-solution-growth-loop) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-solution-digital-ops) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-solution-digital-ops) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active,
body:has(.public-page-solution-ai-automation) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link:hover,
body:has(.public-page-solution-ai-automation) .public-header:not(.is-scrolled):not(.is-open) .public-nav-link.is-active {
  color: #c02030 !important;
}

body .public-header.is-open .public-nav a,
body .public-header.is-open .public-nav .public-nav-link,
body .public-header.is-open .public-nav .public-nav-parent,
body .public-header.is-open .public-nav .public-nav-parent span,
body .public-header.is-open .public-nav .public-nav-parent .dropdown-chevron {
  color: #ffffff !important;
}

body:has(.public-light-theme) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-odoo) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-web) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-ads) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-ai) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-solutions) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-solution-growth-loop) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-solution-digital-ops) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch,
body:has(.public-page-solution-ai-automation) .public-header:not(.is-scrolled):not(.is-open) .public-lang-switch {
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #1e293b !important;
}

/* Breadcrumb */
.odoo-breadcrumb-shell {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px clamp(16px, 3.5vw, 40px);
  font-size: 13px;
}

.odoo-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  flex-wrap: wrap;
}

.odoo-breadcrumb a {
  color: #475569;
  transition: color 0.18s ease;
}

.odoo-breadcrumb a:hover {
  color: #c02030;
}

.odoo-breadcrumb span[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

/* Base Shell & Section */
.odoo-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3.5vw, 40px);
}

.odoo-section {
  padding-block: clamp(56px, 5.5vw, 92px);
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 84px;
}

.odoo-section-header {
  max-width: 860px;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  text-align: center;
}

.odoo-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c02030;
  margin-bottom: 12px;
}

.odoo-section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.odoo-section-desc {
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: #475569;
  margin: 0 auto;
}

/* Hero Section */
.odoo-hero-section {
  padding-block: clamp(48px, 5vw, 84px);
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.odoo-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.odoo-badge-brand {
  background: #fef2f2;
  color: #c02030;
  border: 1px solid #fecaca;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.odoo-badge-icon {
  width: 14px;
  height: 14px;
}

.odoo-badge-neutral {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 9999px;
}

.odoo-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.odoo-hero-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.odoo-hero-summary {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.65;
  color: #475569;
  margin-bottom: 32px;
}

.odoo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.odoo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.odoo-button.primary {
  background-color: #c02030;
  color: #ffffff;
  border: 1.5px solid #c02030;
  box-shadow: 0 4px 14px rgba(192, 32, 48, 0.25);
}

.odoo-button.primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.odoo-button.primary:hover svg {
  color: #c1282d !important;
  fill: currentColor !important;
}

.odoo-button.secondary {
  background-color: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.odoo-button.secondary:hover {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}

.odoo-button.secondary:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

.odoo-button svg {
  width: 16px;
  height: 16px;
}

.odoo-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.odoo-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.odoo-trust-item svg {
  width: 15px;
  height: 15px;
  color: #059669;
  flex-shrink: 0;
}

.odoo-hero-card-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odoo-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.odoo-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.odoo-value-card.gold { border-left-color: #d97706; }
.odoo-value-card.green { border-left-color: #059669; }
.odoo-value-card.red { border-left-color: #c02030; }

.odoo-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.odoo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.odoo-dot.gold { background: #d97706; }
.odoo-dot.green { background: #059669; }
.odoo-dot.red { background: #c02030; }

.odoo-card-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.odoo-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.odoo-card-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Reality Section - Parallax Command Center & Dark Glassmorphism (Duda-Standard Fixed Parallax) */
.odoo-reality-section {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #0b0f19 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  color: #ffffff !important;
  transform: none !important;
  z-index: 1 !important;
}

.odoo-reality-parallax-bg {
  background-color: #0b0f19 !important;
  background-image: url("/static/img/public/social-listening-command-center.webp") !important;
  background-position: center calc(50% + var(--reality-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--reality-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.odoo-reality-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(11, 15, 25, 0.92) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}

.odoo-reality-section .odoo-shell {
  position: relative !important;
  z-index: 2 !important;
}

.odoo-reality-section .odoo-eyebrow {
  color: #f87171 !important;
}

.odoo-reality-section .odoo-section-title {
  color: #ffffff !important;
}

.odoo-reality-section .odoo-section-desc {
  color: #94a3b8 !important;
}

/* Pain Points Bento Grid */
.odoo-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.odoo-pain-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(22px, 2.5vw, 28px);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odoo-reality-section .odoo-pain-card {
  background: rgba(15, 23, 42, 0.74) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.odoo-reality-section .odoo-pain-card:hover {
  border-color: rgba(248, 113, 113, 0.5) !important;
  box-shadow: 0 12px 36px rgba(193, 40, 45, 0.22) !important;
  transform: translateY(-2px);
}

.odoo-pain-num {
  font-size: 12px;
  font-weight: 900;
  color: #c02030;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.odoo-reality-section .odoo-pain-num {
  color: #f87171 !important;
}

.odoo-pain-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.odoo-reality-section .odoo-pain-title {
  color: #ffffff !important;
}

.odoo-pain-body {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.odoo-reality-section .odoo-pain-body {
  color: #cbd5e1 !important;
}

/* Responsibility Box */
.odoo-responsibility-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  gap: 24px;
}

.odoo-reality-section .odoo-responsibility-box {
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32) !important;
}

.odoo-resp-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c02030;
  margin-bottom: 8px;
}

.odoo-reality-section .odoo-resp-tag {
  color: #f87171 !important;
}

.odoo-resp-col.client .odoo-resp-tag {
  color: #059669;
}

.odoo-reality-section .odoo-resp-col.client .odoo-resp-tag {
  color: #34d399 !important;
}

.odoo-resp-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.odoo-reality-section .odoo-resp-title {
  color: #ffffff !important;
}

.odoo-resp-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.odoo-reality-section .odoo-resp-desc {
  color: #cbd5e1 !important;
}

.odoo-resp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #94a3b8;
}

.odoo-reality-section .odoo-resp-divider {
  color: #64748b !important;
}

/* Architecture Hybrid Section */
.odoo-arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
}

.odoo-arch-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 32px);
}

.odoo-arch-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e2e8f0;
  color: #334155;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.odoo-arch-pill.accent {
  background: #fee2e2;
  color: #c02030;
}

.odoo-arch-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.odoo-arch-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.odoo-arch-list li {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}

.odoo-arch-middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.odoo-sync-badge {
  background: #ffffff;
  border: 1.5px solid #059669;
  color: #059669;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
  white-space: nowrap;
}

.odoo-sync-badge svg {
  width: 16px;
  height: 16px;
}

/* Sprints & Roadmaps */
.odoo-sprint-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.odoo-sprint-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.odoo-sprint-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.odoo-sprint-card.highlight {
  border-color: #c02030;
  background: #fffdfd;
  box-shadow: 0 8px 24px rgba(192, 32, 48, 0.08);
}

.odoo-sprint-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #c02030;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.odoo-sprint-head {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}

.odoo-sprint-num {
  font-size: 30px;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  margin-right: 12px;
}

.odoo-sprint-card.highlight .odoo-sprint-num {
  color: #fca5a5;
}

.odoo-sprint-duration {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}

.odoo-sprint-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.odoo-sprint-summary {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

.odoo-deliv-heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 8px;
}

.odoo-sprint-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.odoo-sprint-deliverables li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.odoo-sprint-deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 900;
}

/* Use-Cases Section - Parallax Pilot AI & Dark Glassmorphism (Duda-Standard Fixed Parallax) */
.odoo-usecases-section {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #0b0f19 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  color: #ffffff !important;
  transform: none !important;
  z-index: 1 !important;
}

.odoo-usecases-parallax-bg {
  background-color: #0b0f19 !important;
  background-image: url("/static/img/public/social-listening-ai-report.webp") !important;
  background-position: center calc(50% + var(--usecases-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--usecases-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.odoo-usecases-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(11, 15, 25, 0.92) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}

.odoo-usecases-section .odoo-shell {
  position: relative !important;
  z-index: 2 !important;
}

.odoo-usecases-section .odoo-eyebrow {
  color: #f87171 !important;
}

.odoo-usecases-section .odoo-section-title {
  color: #ffffff !important;
}

.odoo-usecases-section .odoo-section-desc {
  color: #94a3b8 !important;
}

/* 3 Use-cases Grid */
.odoo-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.odoo-usecase-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(22px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
}

.odoo-usecases-section .odoo-usecase-box {
  background: rgba(15, 23, 42, 0.74) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.odoo-usecases-section .odoo-usecase-box:hover {
  border-color: rgba(248, 113, 113, 0.5) !important;
  box-shadow: 0 12px 36px rgba(193, 40, 45, 0.22) !important;
  transform: translateY(-2px) !important;
}

.odoo-usecase-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c02030;
  margin-bottom: 10px;
}

.odoo-usecases-section .odoo-usecase-pill {
  color: #f87171 !important;
}

.odoo-usecase-heading {
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.odoo-usecases-section .odoo-usecase-heading {
  color: #ffffff !important;
}

.odoo-usecase-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  flex-grow: 1;
  margin-bottom: 20px;
}

.odoo-usecases-section .odoo-usecase-text {
  color: #cbd5e1 !important;
}

.odoo-usecase-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.odoo-usecases-section .odoo-usecase-metric {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.odoo-usecase-metric .val {
  font-size: 24px;
  font-weight: 900;
  color: #059669;
}

.odoo-usecases-section .odoo-usecase-metric .val {
  color: #34d399 !important;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.4) !important;
}

.odoo-usecase-metric .lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.odoo-usecases-section .odoo-usecase-metric .lbl {
  color: #94a3b8 !important;
}

/* Governance Flow & 90 Days */
.odoo-control-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.odoo-step-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.odoo-step-index {
  font-size: 11px;
  font-weight: 900;
  color: #c02030;
  margin-bottom: 4px;
}

.odoo-step-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.odoo-step-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

.odoo-flow-arrow {
  font-size: 20px;
  font-weight: 900;
  color: #cbd5e1;
  text-align: center;
}

.odoo-outcomes-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 40px);
}

.odoo-outcomes-heading {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 28px;
}

.odoo-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.odoo-outcome-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
}

.odoo-outcome-metric {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.odoo-outcome-title {
  font-size: 15px;
  font-weight: 800;
  color: #c02030;
  margin-bottom: 8px;
}

.odoo-outcome-text {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.odoo-disclaimer {
  margin-top: 20px;
  font-size: 11.5px;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  margin-bottom: 0;
}

/* Pricing Grid */
.odoo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.odoo-price-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
}

.odoo-price-card.featured {
  border-color: #c02030;
  box-shadow: 0 10px 28px rgba(192, 32, 48, 0.1);
  position: relative;
  background: #fffefe;
}

.odoo-featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #c02030;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.odoo-price-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.odoo-price-badge.accent {
  color: #c02030;
}

.odoo-price-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

.odoo-price-duration {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

.odoo-price-amount {
  margin: 20px 0;
  padding: 16px 0;
  border-block: 1px solid #f1f5f9;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.odoo-price-from {
  font-size: 13px;
  font-style: italic;
  color: #64748b;
  font-weight: 600;
}

.odoo-price-hero {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.03em;
}

.odoo-price-hero.accent {
  color: #c02030;
}

.odoo-price-hero small {
  font-size: 14px;
  font-weight: 800;
}

.odoo-price-term {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-left: auto;
}

.odoo-price-features {
  flex-grow: 1;
  margin-bottom: 24px;
}

.odoo-feature-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 8px;
}

.odoo-price-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.odoo-price-features li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.odoo-price-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 900;
}

.odoo-price-btn {
  display: block;
  text-align: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  transition: all 0.2s ease;
}

.odoo-price-btn:hover {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}

.odoo-price-btn.primary {
  background: #c02030;
  border-color: #c02030;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(192, 32, 48, 0.25);
}

.odoo-price-btn.primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.odoo-pricing-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

.odoo-footer-col strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.odoo-footer-col p {
  margin: 0;
}

/* First Session & Checklist (Brand Red Focal Section) */
.odoo-session-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(0, 0, 0, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, #c1272d 0%, #a81c22 45%, #881318 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat;
  background-size: auto, auto, auto, 40px 40px;
  color: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 20px 48px -12px rgba(193, 39, 45, 0.45), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.odoo-session-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.odoo-session-heading {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.odoo-session-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.odoo-checklist-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.odoo-checklist-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 14px;
}

.odoo-checklist-head::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #c1272d;
  font-size: 11px;
  font-weight: 900;
}

.odoo-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.odoo-checklist strong {
  color: #ffffff;
}

.odoo-checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.chk-num {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: fit-content;
  flex-shrink: 0;
}

/* Modern Editorial Contact Form (Bespoke B2B Layout) */
.odoo-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 5vw, 64px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

/* Left Column: Trust & Editorial */
.odoo-contact-info {
  display: flex;
  flex-direction: column;
}

.odoo-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #c1272d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(193, 39, 45, 0.15);
  width: fit-content;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c1272d;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.25);
}

.odoo-contact-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.odoo-contact-text {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 28px;
}

.odoo-contact-commitments {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}

.odoo-commit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.commit-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.odoo-commit-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.odoo-commit-item p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.odoo-contact-direct-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.odoo-channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.odoo-channel-chip:hover {
  border-color: #c1272d;
  color: #c1272d;
  transform: translateY(-1px);
}

/* Right Column: Clean Structured Form */
.odoo-contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.odoo-form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odoo-form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
}

/* Step 1: Service Chips */
.odoo-service-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.odoo-chip-btn {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.odoo-chip-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

.chip-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.chip-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}

.chip-tag {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.odoo-chip-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.odoo-chip-btn:has(input:checked) {
  background: #fff8f8;
  border-color: #c1272d;
  box-shadow: 0 2px 10px rgba(193, 39, 45, 0.08);
}

.odoo-chip-btn:has(input:checked) .chip-title {
  color: #c1272d;
}

.odoo-chip-btn:has(input:checked) .chip-tag {
  color: #b91c1c;
  font-weight: 700;
}

/* Step 2: Input Grid */
.odoo-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.odoo-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.odoo-input-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.req {
  color: #c1272d;
  font-weight: 700;
}

.odoo-input-group input,
.odoo-input-group textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13.5px;
  color: #0f172a;
  transition: all 0.2s ease;
  font-family: inherit;
}

.odoo-input-group input::placeholder,
.odoo-input-group textarea::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.odoo-input-group input:focus,
.odoo-input-group textarea:focus {
  border-color: #c1272d;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.1);
  outline: none;
}

/* Step 3: Textarea */
.odoo-input-group textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

/* Submit Footer */
.odoo-form-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.odoo-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #c1272d 0%, #a81c22 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(193, 39, 45, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.odoo-btn-submit:hover {
  background: #ffffff !important;
  color: #c1282d !important;
  border: 1px solid #c1282d !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
  transform: translateY(-1px);
}

.odoo-btn-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease, color 0.2s ease, fill 0.2s ease;
}

.odoo-btn-submit:hover svg {
  transform: translateX(4px);
  color: #c1282d !important;
  fill: currentColor !important;
}

.odoo-form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Book & Monograph Feature */
.odoo-book-card {
  background: #fdfbf7;
  border: 1.5px solid #f1e6d0;
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 40px);
}

.odoo-book-badge {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d97706;
  margin-bottom: 12px;
}

.odoo-book-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}

.odoo-book-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
}

.odoo-book-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

.odoo-book-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.odoo-book-subtext {
  font-size: 12.5px;
  color: #64748b;
  font-style: italic;
}

.odoo-book-highlights {
  background: #ffffff;
  border: 1px solid #e5dcc7;
  border-radius: 12px;
  padding: 22px;
}

.odoo-book-hl-head {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 10px;
}

.odoo-book-hl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.odoo-book-hl-list li {
  padding: 6px 0;
  border-top: 1px solid #f3ece0;
}

.odoo-book-hl-list li:first-child {
  border-top: none;
  padding-top: 0;
}

/* Blog Section on Light Theme */
.public-page-odoo .public-latest {
  background-color: transparent !important;
  padding-top: 0 !important;
}

.public-page-odoo .public-latest[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.public-page-odoo .public-latest .section-copy {
  display: none !important;
}

.public-page-odoo .post-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.public-page-odoo .post-card:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.public-page-odoo .post-card h3 a {
  color: #0f172a !important;
  transition: color 0.18s ease !important;
}

.public-page-odoo .post-card h3 a:hover {
  color: #c02030 !important;
}

.public-page-odoo .post-card p {
  color: #475569 !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 989px) {
  .odoo-hero-grid,
  .odoo-pain-grid,
  .odoo-responsibility-box,
  .odoo-arch-grid,
  .odoo-sprint-cards,
  .odoo-usecases-grid,
  .odoo-outcomes-grid,
  .odoo-pricing-grid,
  .odoo-pricing-footer,
  .odoo-session-box,
  .odoo-contact-wrap,
  .odoo-book-grid {
    grid-template-columns: 1fr !important;
  }

  .odoo-control-flow {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

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

  .odoo-arch-middle {
    margin: 8px 0;
  }

  .odoo-resp-divider {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .odoo-contact-form {
    grid-template-columns: 1fr !important;
  }

  .odoo-service-chips {
    grid-template-columns: 1fr !important;
  }

  .odoo-fields-grid {
    grid-template-columns: 1fr !important;
  }

  .odoo-form-field.span-full {
    grid-column: span 1 !important;
  }

  .odoo-hero-card-col {
    margin-top: 16px;
  }
}

/* 6. Parallax Section: Tri Thức Thực Chiến (Blog / Operating Field Notes) */
.odoo-blog-section {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  clip-path: inset(0) !important;
  z-index: 1 !important;
  padding-top: 100px !important;
  padding-bottom: 110px !important;
}

.odoo-blog-parallax-bg {
  background-color: #0b0f19 !important;
  background-image: url("/static/img/public/presso-next-ai-governance.webp") !important;
  background-position: center calc(50% + var(--blog-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--blog-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.odoo-blog-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(11, 15, 25, 0.92) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}

.odoo-blog-section .odoo-shell {
  position: relative !important;
  z-index: 2 !important;
}

.odoo-blog-section .odoo-eyebrow {
  color: #f87171 !important;
}

.odoo-blog-section .odoo-section-title {
  color: #ffffff !important;
}

.odoo-blog-section .odoo-section-desc {
  color: #cbd5e1 !important;
}

.odoo-blog-section .public-latest {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.odoo-blog-section .public-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  align-items: stretch !important;
  gap: 24px !important;
}

.odoo-blog-section .post-card {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.odoo-blog-section .post-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
  box-shadow: 0 20px 40px rgba(193, 40, 45, 0.25) !important;
}

.odoo-blog-section .post-card img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.35s ease !important;
}

.odoo-blog-section .post-card:hover img {
  transform: scale(1.03) !important;
}

.odoo-blog-section .post-card h3 {
  margin: 20px 22px 12px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  height: calc(1.45em * 2) !important;
  min-height: calc(1.45em * 2) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
}

.odoo-blog-section .post-card h3 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
}

.odoo-blog-section .post-card:hover h3 a {
  color: #f87171 !important;
}

.odoo-blog-section .post-card p {
  margin: 0 22px 22px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
  height: calc(1.55em * 3) !important;
  min-height: calc(1.55em * 3) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  flex-grow: 1 !important;
}

@media (max-width: 989px) {
  .odoo-blog-section .public-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   7. BẢNG SO SÁNH THỰC THỂ CHIẾN LƯỢC (GEO & VALUE MATRIX)
   ========================================================================== */
.odoo-compare-section {
  padding-block: clamp(60px, 6vw, 96px);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.odoo-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  background: #ffffff;
}

.odoo-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  font-size: 14px;
  line-height: 1.5;
}

.odoo-compare-table th,
.odoo-compare-table td {
  padding: 20px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}

.odoo-compare-table thead th {
  background: #f1f5f9;
  font-weight: 800;
  font-size: 14.5px;
  color: #0f172a;
  padding: 22px;
  border-bottom: 2px solid #cbd5e1;
}

.odoo-compare-table thead th small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 4px;
}

.odoo-compare-table thead th.highlight {
  background: #fff5f5 !important;
  border-top: 4px solid #c1282d !important;
  border-left: 3px solid #c1282d !important;
  border-right: 3px solid #c1282d !important;
  border-bottom: 2px solid #fca5a5 !important;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  position: relative;
  box-shadow: 0 -4px 16px rgba(193, 40, 45, 0.08);
}

.odoo-compare-table tbody td.highlight {
  background: #fffaf9 !important;
  border-left: 3px solid #c1282d !important;
  border-right: 3px solid #c1282d !important;
  border-bottom: 1px solid #fee2e2 !important;
}

.compare-recommend-badge {
  display: inline-block;
  background: #c1282d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(193, 40, 45, 0.25);
}

.compare-brand-title {
  display: block;
  font-size: 17.5px;
  font-weight: 900;
  color: #b91c1c;
  line-height: 1.25;
}

.odoo-compare-table tbody th[scope="row"] {
  width: 25%;
  background: #ffffff;
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.odoo-compare-table tbody th[scope="row"] span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.45;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.odoo-compare-table tbody td {
  width: 25%;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.6;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word;
}

.odoo-compare-table .text-positive {
  color: #0f172a;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.odoo-compare-table td.highlight p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.odoo-compare-table tbody tr:last-child th,
.odoo-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.odoo-compare-table tbody tr:last-child td.highlight {
  border-bottom: 4px solid #c1282d !important;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 8px 24px -4px rgba(193, 40, 45, 0.18);
}

/* ==========================================================================
   8. MỤC HỎI ĐÁP VẬN HÀNH TRỰC QUAN (VISUAL FAQ ACCORDION)
   ========================================================================== */
.odoo-faq-section {
  padding-block: clamp(60px, 6vw, 96px);
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.odoo-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odoo-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.odoo-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.odoo-faq-item[open] {
  border-color: #c1272d;
  box-shadow: 0 8px 24px rgba(193, 39, 45, 0.06);
}

.odoo-faq-question {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  user-select: none;
  gap: 16px;
  transition: color 0.18s ease;
}

.odoo-faq-question::-webkit-details-marker {
  display: none;
}

.odoo-faq-item[open] .odoo-faq-question {
  color: #c1272d;
  border-bottom: 1px solid #fef2f2;
}

.odoo-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.odoo-faq-icon::before,
.odoo-faq-icon::after {
  content: "";
  position: absolute;
  background: #64748b;
  border-radius: 2px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.odoo-faq-icon::before {
  width: 12px;
  height: 2px;
}

.odoo-faq-icon::after {
  width: 2px;
  height: 12px;
}

.odoo-faq-item[open] .odoo-faq-icon {
  background: #fef2f2;
  transform: rotate(45deg);
}

.odoo-faq-item[open] .odoo-faq-icon::before,
.odoo-faq-item[open] .odoo-faq-icon::after {
  background: #c1272d;
}

.odoo-faq-answer {
  padding: 18px 24px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

.odoo-faq-answer p {
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.odoo-faq-footer {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.odoo-faq-footer p {
  margin: 0;
  font-size: 15px;
  color: #64748b;
}

.odoo-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.odoo-faq-cta-btn:hover {
  background: #c1272d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 39, 45, 0.25);
}

@media (max-width: 989px) {
  .odoo-faq-question {
    font-size: 15px;
    padding: 16px 18px;
  }

  .odoo-faq-answer {
    padding: 14px 18px 18px;
    font-size: 14px;
  }
}

/* ==========================================================================
   9. QUY TẮC CĂN ĐỀU (JUSTIFY) ĐỒNG BỘ TOÀN BỘ ĐOẠN VĂN TRÊN TRANG ODOO
   ========================================================================== */
.public-page-odoo .odoo-hero-summary,
.public-page-odoo .odoo-card-body,
.public-page-odoo .odoo-pain-body,
.public-page-odoo .odoo-resp-desc,
.public-page-odoo .odoo-arch-card p,
.public-page-odoo .odoo-arch-list li,
.public-page-odoo .odoo-sprint-summary,
.public-page-odoo .odoo-sprint-deliverables li,
.public-page-odoo .odoo-usecase-text,
.public-page-odoo .odoo-step-desc,
.public-page-odoo .odoo-outcome-text,
.public-page-odoo .odoo-price-features li,
.public-page-odoo .odoo-footer-col p,
.public-page-odoo .odoo-session-desc,
.public-page-odoo .odoo-checklist li,
.public-page-odoo .odoo-contact-text,
.public-page-odoo .odoo-commit-item p,
.public-page-odoo .odoo-book-desc,
.public-page-odoo .odoo-book-hl-list li,
.public-page-odoo .odoo-compare-table tbody th[scope="row"],
.public-page-odoo .odoo-compare-table tbody th[scope="row"] span,
.public-page-odoo .odoo-compare-table tbody td,
.public-page-odoo .odoo-compare-table tbody td p,
.public-page-odoo .odoo-compare-table .text-positive,
.public-page-odoo .odoo-faq-answer p,
.public-page-odoo .post-card p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.public-page-odoo .odoo-section p:not(.odoo-eyebrow):not(.odoo-section-desc):not(.text-center):not(.odoo-disclaimer):not(.odoo-form-status):not(.odoo-form-secure):not(.odoo-price-duration):not(.odoo-price-from):not(.odoo-card-label):not(.odoo-resp-tag):not(.odoo-sprint-duration):not(.odoo-deliv-heading):not(.odoo-price-badge):not(.odoo-book-badge):not(.odoo-book-hl-head):not(.odoo-checklist-head):not(.odoo-form-section-title):not(.odoo-faq-footer p),
.public-page-odoo .odoo-section li:not(.odoo-breadcrumb li) {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* ==========================================================================
   PUBLIC PAGE WEB / WEB APP (CLEAN LIGHT THEME & PERFORMANCE ARCHITECTURE)
   ========================================================================== */
.public-page-web {
  background-color: #ffffff;
  color: #0f172a;
}

.public-page-web .web-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 40px);
}

/* Breadcrumb */
.web-breadcrumb-shell {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px clamp(16px, 3.5vw, 40px);
  font-size: 13px;
}

.web-breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.web-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.web-breadcrumb a:hover {
  color: #c1282d;
}

.web-breadcrumb span[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

/* Section Foundation */
.web-section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.web-section-header {
  max-width: 840px;
  margin: 0 auto 50px;
  text-align: center;
}

.web-section-header.inverted .web-eyebrow {
  color: #f87171;
}

.web-section-header.inverted .web-section-title {
  color: #ffffff;
}

.web-section-header.inverted .web-section-desc {
  color: #cbd5e1;
}

.web-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c1282d;
  margin-bottom: 12px;
}

.web-section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.web-section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

/* Hero Section */
.web-hero-section {
  padding: 50px 0 80px;
  background: radial-gradient(circle at 80% 20%, rgba(193, 40, 45, 0.05), transparent 60%);
  border-bottom: 1px solid #f1f5f9;
}

.web-hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.web-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(193, 40, 45, 0.08);
  color: #c1282d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(193, 40, 45, 0.15);
}

.web-badge-icon {
  width: 14px;
  height: 14px;
}

.web-badge-neutral {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.web-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 991px) {
  .web-hero-grid {
    grid-template-columns: 1fr;
  }
}

.web-hero-title {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.22;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.web-hero-summary {
  font-size: 16.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 32px;
}

.web-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.web-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.web-button.primary {
  background-color: #c1282d;
  color: #ffffff;
  border: 1px solid #c1282d;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.25);
}

.web-button.primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.web-button.primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s, color 0.2s, fill 0.2s;
}

.web-button.primary:hover svg {
  transform: translateX(3px);
  color: #c1282d !important;
  fill: currentColor !important;
}

.web-button.secondary {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.web-button.secondary:hover {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}

.web-button.secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s, color 0.2s, fill 0.2s;
}

.web-button.secondary:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

.web-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 575px) {
  .web-trust-strip {
    grid-template-columns: 1fr;
  }
}

.web-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
}

.web-trust-item svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
}

/* Hero Cards */
.web-hero-card-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.web-value-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.web-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.web-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.web-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.web-dot.red { background-color: #c1282d; }
.web-dot.green { background-color: #16a34a; }
.web-dot.blue { background-color: #2563eb; }

.web-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0;
}

.web-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.web-card-body {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}

/* Pain Points / Technical Debt (Box Cards) */
.web-pain-section {
  background-color: #ffffff;
}

.web-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .web-box-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .web-box-grid {
    grid-template-columns: 1fr;
  }
}

.web-box-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.web-box-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.web-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.web-box-icon svg {
  width: 24px;
  height: 24px;
}

.web-box-icon.red { background-color: rgba(193, 40, 45, 0.1); color: #c1282d; }
.web-box-icon.gold { background-color: rgba(217, 119, 6, 0.1); color: #d97706; }
.web-box-icon.purple { background-color: rgba(147, 51, 234, 0.1); color: #9333ea; }
.web-box-icon.blue { background-color: rgba(37, 99, 235, 0.1); color: #2563eb; }

.web-box-title {
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.web-box-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
  flex-grow: 1;
}

/* Comparison Table (Matrix with Bold Red Border on PressUp) */
.web-comparison-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.web-comparison-table-wrap {
  overflow-x: auto;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.web-comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: separate;
  border-spacing: 0;
}

.web-comparison-table th,
.web-comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}

.web-comparison-table thead th {
  background-color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}

.web-comparison-table tbody tr:last-child th,
.web-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.web-col-criteria { width: 22%; font-weight: 700; }
.web-col-market { width: 26%; }
.web-col-agency { width: 26%; }
.web-col-pressup { width: 26%; }

.web-row-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

/* Highlight Column PressUp with Bold Red Border (3px) */
.web-comparison-table th.highlight,
.web-comparison-table td.highlight {
  background-color: rgba(193, 40, 45, 0.025);
  border-left: 3px solid #c1282d !important;
  border-right: 3px solid #c1282d !important;
  color: #0f172a;
}

.web-comparison-table thead th.highlight {
  background-color: rgba(193, 40, 45, 0.08);
  border-top: 3px solid #c1282d !important;
  border-bottom: 2px solid #c1282d !important;
  color: #c1282d;
  font-weight: 800;
}

.web-comparison-table tbody tr:last-child td.highlight {
  border-bottom: 3px solid #c1282d !important;
}

/* Parallax Section - Technical Architecture (Duda-Standard Fixed Parallax) */
.web-parallax-section {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #020617 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  color: #ffffff !important;
  transform: none !important;
  z-index: 1 !important;
}

.web-parallax-bg {
  background-color: #020617 !important;
  background-image: url("/static/img/legacy/service_web_dev_bg_red.webp") !important;
  background-position: center calc(50% + var(--web-arch-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  opacity: var(--web-arch-media-opacity, 1) !important;
  pointer-events: none !important;
  position: fixed !important;
  transition: opacity 140ms ease !important;
  visibility: visible !important;
  will-change: opacity, background-position !important;
  z-index: 0 !important;
}

.web-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.32) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(2, 6, 23, 0.94) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}

.web-parallax-section .web-shell {
  position: relative !important;
  z-index: 2 !important;
}

.web-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .web-arch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .web-arch-grid {
    grid-template-columns: 1fr;
  }
}

.web-arch-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
}

.web-arch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.web-arch-num {
  font-size: 28px;
  font-weight: 900;
  color: #ef4444;
  margin-bottom: 14px;
  font-family: monospace;
}

.web-arch-heading {
  font-size: 17.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.web-arch-body {
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
  flex-grow: 1;
}

/* Solutions Section */
.web-solutions-section {
  background-color: #ffffff;
}

.web-sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .web-sol-grid {
    grid-template-columns: 1fr;
  }
}

.web-sol-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.web-sol-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.web-sol-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c1282d;
  background-color: rgba(193, 40, 45, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.web-sol-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.web-sol-desc {
  font-size: 15px;
  line-height: 1.68;
  color: #334155;
  margin-bottom: 22px;
}

.web-sol-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.web-sol-list li {
  font-size: 14px;
  color: #475569;
  padding-left: 20px;
  position: relative;
}

.web-sol-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: bold;
}

/* Pricing / Sprints */
.web-pricing-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.web-sprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .web-sprint-grid {
    grid-template-columns: 1fr;
  }
}

.web-sprint-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.web-sprint-card.featured {
  border: 2px solid #c1282d;
  box-shadow: 0 12px 36px rgba(193, 40, 45, 0.1);
}

.web-sprint-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c1282d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(193, 40, 45, 0.3);
}

.web-sprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.web-sprint-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #f1f5f9;
  color: #475569;
}

.web-sprint-tag.red {
  background-color: rgba(193, 40, 45, 0.1);
  color: #c1282d;
}

.web-sprint-duration {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.web-sprint-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
}

.web-sprint-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 24px;
  min-height: 72px;
}

.web-sprint-price {
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  min-height: 93px;
  box-sizing: border-box;
}

.web-price-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.web-price-val {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.web-price-val small {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.web-price-val.red {
  color: #c1282d;
}

.web-sprint-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.web-sprint-deliverables li {
  font-size: 13.5px;
  color: #475569;
  padding-left: 20px;
  position: relative;
}

.web-sprint-deliverables li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #c1282d;
  font-size: 18px;
  line-height: 1;
}

/* FAQs Exclusive Accordion */
.web-faq-section {
  background-color: #ffffff;
}

.web-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.web-faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.web-faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.web-faq-question {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 16px;
}

.web-faq-question::-webkit-details-marker {
  display: none;
}

.web-faq-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s;
  flex-shrink: 0;
}

.web-faq-item[open] .web-faq-icon {
  transform: rotate(-135deg);
  border-color: #c1282d;
}

.web-faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid #f8fafc;
}

.web-faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

/* FAQ Footer Advisory Banner */
.web-faq-footer {
  margin-top: 48px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 50%, #fef2f2 100%);
  border: 1.5px solid rgba(193, 40, 45, 0.18);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 28px) clamp(24px, 3.5vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(193, 40, 45, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.web-faq-footer:hover {
  box-shadow: 0 14px 36px rgba(193, 40, 45, 0.1);
  transform: translateY(-2px);
}

.web-faq-footer-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.web-faq-footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(193, 40, 45, 0.1);
  color: #c1282d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.web-faq-footer-icon svg {
  width: 24px;
  height: 24px;
}

.web-faq-footer-text {
  text-align: left;
}

.web-faq-footer-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.4;
}

.web-faq-footer-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.web-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #c1282d;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.3);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.web-faq-cta-btn:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border: 1px solid #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.web-faq-cta-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s, color 0.2s, fill 0.2s;
}

.web-faq-cta-btn:hover svg {
  transform: translateX(3px);
  color: #c1282d !important;
  fill: currentColor !important;
}

@media (max-width: 860px) {
  .web-faq-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px;
  }

  .web-faq-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Blog / Field Notes Section */
.web-blog-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.web-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .web-blog-card-grid {
    grid-template-columns: 1fr;
  }
}

.web-blog-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.web-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.web-blog-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f1f5f9;
}

.web-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.web-blog-card:hover .web-blog-img {
  transform: scale(1.03);
}

.web-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.web-blog-meta {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c1282d;
  margin-bottom: 10px;
}

.web-blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.web-blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.web-blog-title a:hover {
  color: #c1282d;
}

.web-blog-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 20px;
  flex-grow: 1;
}

.web-blog-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.web-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #c1282d;
  text-decoration: none;
  transition: gap 0.2s;
}

.web-blog-link:hover {
  gap: 10px;
}

.web-blog-link svg {
  width: 14px;
  height: 14px;
}

/* Contact Form Section - Brand Red Theme */
.web-contact-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(0, 0, 0, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #c1282d 0%, #a01c21 50%, #7c1014 100%) !important;
  color: #ffffff !important;
  position: relative !important;
  border-top: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.web-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  align-items: center;
}

@media (max-width: 991px) {
  .web-contact-grid {
    grid-template-columns: 1fr;
  }
}

.web-contact-section .web-badge-brand {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(8px) !important;
}

.web-contact-title {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff !important;
  margin: 16px 0;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.web-contact-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 30px;
}

.web-contact-commitments {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.web-commit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #ffffff !important;
}

.web-commit-item svg {
  width: 20px;
  height: 20px;
  color: #4ade80 !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.web-contact-form-wrap {
  width: 100%;
}

.web-form {
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 20px !important;
  padding: clamp(24px, 4vw, 36px) !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.web-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 575px) {
  .web-form-row {
    grid-template-columns: 1fr;
  }
}

.web-form-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a !important;
}

.web-form-input,
.web-form-select,
.web-form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.web-form-input:focus,
.web-form-select:focus,
.web-form-textarea:focus {
  outline: none;
  border-color: #c1282d !important;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.15) !important;
}

.web-form-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  background-color: #c1282d !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.35) !important;
}

.web-form-submit:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border: 1px solid #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.web-form-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s, color 0.2s, fill 0.2s;
}

.web-form-submit:hover svg {
  color: #c1282d !important;
  fill: currentColor !important;
}

.web-form-privacy {
  font-size: 12px;
  color: #64748b !important;
  text-align: center;
  margin: 4px 0 0;
}

/* ==========================================================================
   TYPOGRAPHY RULES & JUSTIFY TEXT ENFORCEMENT
   ========================================================================== */
.public-page-web .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-page-web .line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-page-web .justified-desc,
.public-page-web .web-hero-summary,
.public-page-web .web-card-body,
.public-page-web .web-box-desc,
.public-page-web .web-comparison-table td,
.public-page-web .web-arch-body,
.public-page-web .web-sol-desc,
.public-page-web .web-sprint-desc,
.public-page-web .web-faq-answer p,
.public-page-web .web-blog-desc,
.public-page-web .web-contact-desc {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  hyphens: auto;
}

/* ==========================================================================
   PUBLIC LEAD POPUP MODAL (TOP-OF-FUNNEL LEAD MAGNET / NEWSLETTER)
   ========================================================================== */
.public-lead-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 540px;
  width: calc(100vw - 32px);
  margin: auto;
  border-radius: 20px;
  overflow: visible;
}

.public-lead-dialog::backdrop {
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: leadFadeIn 0.25s ease-out;
}

.public-lead-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 36px 32px 32px;
  overflow: hidden;
  animation: leadScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes leadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes leadScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.public-lead-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 2;
}

.public-lead-close svg {
  width: 18px;
  height: 18px;
}

.public-lead-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: rotate(90deg);
}

.public-lead-header {
  margin-bottom: 24px;
  text-align: left;
}

.public-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #c1282d;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.public-lead-badge svg {
  width: 15px;
  height: 15px;
}

.public-lead-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.015em;
}

.public-lead-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.public-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.public-lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.public-lead-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.public-lead-label .required {
  color: #c1282d;
  font-style: normal;
  font-weight: 700;
}

.public-lead-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.public-lead-input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.public-lead-input-wrap input {
  width: 100%;
  height: 46px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 14px 0 44px;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.public-lead-input-wrap input::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

.public-lead-input-wrap input:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.public-lead-input-wrap input:focus {
  background: #ffffff;
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.12);
}

.public-lead-input-wrap input:focus + .public-lead-input-icon,
.public-lead-input-wrap:focus-within .public-lead-input-icon {
  color: #c1282d;
}

.public-lead-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.public-lead-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  background: #c1282d !important;
  color: #ffffff !important;
  border: 1px solid #c1282d !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.28);
}

.public-lead-submit-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.public-lead-submit-btn:hover {
  background: #a01d22 !important;
  border-color: #a01d22 !important;
  box-shadow: 0 6px 18px rgba(193, 40, 45, 0.38);
  transform: translateY(-1px);
}

.public-lead-submit-btn:hover svg {
  transform: translateX(4px);
}

.public-lead-submit-btn:active {
  transform: translateY(0);
}

.public-lead-dialog .public-form-status {
  margin: 0;
  font-size: 13.5px;
  min-height: 18px;
  text-align: center;
  font-weight: 600;
  color: #15803d;
}

.public-lead-privacy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.public-lead-privacy svg {
  width: 13px;
  height: 13px;
  color: #10b981;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .public-lead-dialog {
    width: calc(100vw - 24px);
  }

  .public-lead-modal-card {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }

  .public-lead-title {
    font-size: 19px;
  }

  .public-lead-desc {
    font-size: 13px;
  }

  .public-lead-input-wrap input {
    height: 44px;
    font-size: 14px;
  }

  .public-lead-submit-btn {
    height: 46px;
    font-size: 14.5px;
  }
}

/* ==========================================================================
   CONTEXTUAL INLINE LINKS (TOPIC CLUSTER ON-PAGE SEO)
   ========================================================================== */
.web-inline-link,
.odoo-inline-link,
.ads-inline-link,
.public-inline-link {
  color: #c1282d !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-color: rgba(193, 40, 45, 0.45) !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
  cursor: pointer;
}

.web-inline-link:hover,
.odoo-inline-link:hover,
.ads-inline-link:hover,
.public-inline-link:hover {
  color: #8f1d22 !important;
  text-decoration-color: #8f1d22 !important;
}

/* ==========================================================================
   PUBLIC ADS SERVICE PAGE (.public-page-ads - CLEAN LIGHT THEME)
   ========================================================================== */
.public-page-ads {
  background-color: #ffffff !important;
  color: #0f172a !important;
  overflow-x: hidden;
}

.ads-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 36px);
  box-sizing: border-box;
}

/* Breadcrumb */
.ads-breadcrumb {
  margin-bottom: 24px;
}
.ads-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: #64748b;
}
.ads-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ads-breadcrumb a:hover {
  color: #c1282d;
}
.ads-breadcrumb li[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

/* Section Header Shared */
.ads-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
}
.ads-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c1282d;
  margin-bottom: 12px;
}
.ads-section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}
.ads-section-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: #475569;
  margin: 0 auto;
}

/* Button Variants */
.ads-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.4;
  text-decoration: none;
}
.ads-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease, fill 0.2s ease;
}
.ads-btn-primary {
  background-color: #c1282d;
  color: #ffffff !important;
  border-color: #c1282d;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.28);
}
.ads-btn-primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}
.ads-btn-primary:hover svg {
  color: #c1282d !important;
  fill: currentColor !important;
}
.ads-btn-secondary {
  background-color: #ffffff;
  color: #0f172a !important;
  border-color: #cbd5e1;
}
.ads-btn-secondary:hover {
  background-color: #c1282d !important;
  border-color: #c1282d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}
.ads-btn-secondary:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}
.ads-btn-outline {
  background-color: transparent;
  color: #0f172a !important;
  border-color: #cbd5e1;
}
.ads-btn-outline:hover {
  background-color: #c1282d !important;
  border-color: #c1282d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}
.ads-btn-outline:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}
.ads-btn-block {
  width: 100%;
}

/* 1. Hero Section */
.ads-hero-section {
  padding: 40px 0 64px 0;
  background: radial-gradient(circle at 50% 0%, rgba(241, 245, 249, 0.8) 0%, rgba(255, 255, 255, 1) 70%);
  border-bottom: 1px solid #f1f5f9;
}
.ads-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 20px;
}
.ads-hero-title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 980px;
  margin: 0 0 24px 0;
}
.ads-title-accent {
  color: #c1282d;
  background: linear-gradient(135deg, #c1282d 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ads-hero-subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: #475569;
  max-width: 900px;
  margin: 0 0 36px 0;
}
.ads-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}

/* Hero Metrics Strip */
.ads-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.ads-metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ads-metric-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #c1282d;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ads-metric-label {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
}

/* 2. Bento Pain Points */
.ads-pain-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ads-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ads-bento-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ads-bento-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ads-bento-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #fee2e2;
  color: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ads-bento-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.ads-bento-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}
.ads-bento-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* 3. Parallax Section (Duda-Standard) */
.ads-parallax-section {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  background-color: #090d16;
  padding: 100px 0;
}
.ads-parallax-section .parallax-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.ads-parallax-section .parallax-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/static/img/legacy/hero-bg-saigon.webp");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.38) saturate(1.2);
}
.ads-parallax-section .parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
}
.parallax-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.parallax-quote-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.parallax-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.parallax-quote {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 28px 0;
  letter-spacing: -0.01em;
}
.parallax-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.parallax-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}
.parallax-author-role {
  font-size: 13.5px;
  color: #94a3b8;
}

/* Fallback Parallax for Mobile */
@media (max-width: 768px) {
  .ads-parallax-section .parallax-media-bg {
    background-attachment: scroll;
  }
}

/* 4. Comparison Table */
.ads-comparison-section {
  padding: 88px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.ads-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.ads-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}
.ads-compare-table th,
.ads-compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.ads-compare-table thead th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ads-compare-table thead th.th-pressup {
  background-color: #fef2f2;
  color: #b91c1c;
  border-left: 2px solid #c1282d;
  border-right: 2px solid #c1282d;
}
.ads-compare-table td.highlight-col {
  background-color: #fffbfb;
  color: #0f172a;
  border-left: 2px solid #c1282d;
  border-right: 2px solid #c1282d;
}
.ads-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.td-factor {
  color: #0f172a;
  font-size: 14.5px;
}

/* 5. Core Channels */
.ads-channels-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ads-channel-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ads-channel-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ads-channel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}
.ads-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ads-channel-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 6px;
}
.tag-google { background-color: #e0f2fe; color: #0284c7; }
.tag-meta { background-color: #ede9fe; color: #6d28d9; }
.tag-tiktok { background-color: #f1f5f9; color: #0f172a; }
.tag-shopee { background-color: #ffedd5; color: #ea580c; }

.ads-channel-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}
.ads-channel-icon svg {
  width: 22px;
  height: 22px;
}
.ads-channel-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}
.ads-channel-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 20px 0;
}
.ads-channel-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ads-channel-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
}
.ads-channel-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c1282d;
  font-weight: 700;
}

/* 6. Technical Foundation Flow - Duda-Standard Parallax */
.ads-tech-section.ads-tech-parallax {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #030712 !important;
  color: #ffffff !important;
  padding: 100px 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  margin-bottom: -1px !important;
}
.ads-tech-parallax-bg {
  background-color: #030712 !important;
  background-image: url("/static/img/legacy/presso/slider-marketing-infra.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  z-index: 0 !important;
  filter: brightness(0.28) saturate(1.2);
}
.ads-tech-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.35) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(16, 185, 129, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(3, 7, 18, 0.95) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}
.ads-tech-container {
  position: relative !important;
  z-index: 2 !important;
}
.ads-tech-parallax .ads-eyebrow {
  color: #f87171 !important;
}
.ads-tech-parallax .ads-section-title {
  color: #ffffff !important;
}
.ads-tech-parallax .ads-section-desc {
  color: #cbd5e1 !important;
}
.ads-tech-parallax .ads-inline-link {
  color: #fca5a5 !important;
  text-decoration-color: rgba(252, 165, 165, 0.5) !important;
}
.ads-tech-parallax .ads-inline-link:hover {
  color: #ffffff !important;
}

.ads-tech-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}
.ads-tech-parallax .ads-flow-step {
  flex: 1;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ads-tech-parallax .ads-flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 40, 45, 0.6) !important;
}
.ads-tech-parallax .ads-flow-number {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fca5a5;
  background-color: rgba(193, 40, 45, 0.25);
  border: 1px solid rgba(193, 40, 45, 0.45);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.ads-tech-parallax .ads-flow-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.ads-tech-parallax .ads-flow-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}
.ads-tech-parallax .ads-flow-arrow {
  align-self: center;
  font-size: 24px;
  color: #ef4444;
  font-weight: bold;
}

@media (max-width: 991px) {
  .ads-tech-flow {
    flex-direction: column;
    gap: 16px;
  }
  .ads-tech-parallax .ads-flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  .ads-tech-parallax .ads-flow-step {
    width: 100%;
    box-sizing: border-box;
  }
}

/* 7. Pricing Section */
.ads-pricing-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ads-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.ads-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.ads-pricing-card.featured-card {
  border: 2px solid #c1282d;
  box-shadow: 0 12px 32px rgba(193, 40, 45, 0.12);
  transform: translateY(-4px);
}
.ads-featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c1282d;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.ads-sprint-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #c1282d;
  background-color: #fef2f2;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.ads-pricing-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.ads-pricing-timeline {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 20px 0;
}
.ads-pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}
.cost-prefix {
  font-size: 14.5px;
  color: #64748b;
}
.cost-number {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.cost-currency {
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
}
.cost-period {
  font-size: 13px;
  font-weight: 400;
}
.ads-pricing-body {
  flex-grow: 1;
}
.ads-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ads-pricing-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
.ads-pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}
/* Pay-per-Qualified-Lead SLA Banner */
.ads-lead-sla-banner {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.ads-lead-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ads-lead-sla-badge svg {
  color: #10b981;
}
.ads-lead-sla-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
.ads-lead-sla-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 24px 0;
}
.ads-lead-sla-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}
.sla-criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sla-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  height: 22px;
  background-color: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sla-criteria-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.sla-criteria-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.ads-lead-sla-cta {
  display: flex;
  flex-direction: column;
}
.sla-cta-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sla-cta-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 10px 0;
}
.sla-cta-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 20px 0;
}
.sla-cta-card .ads-btn {
  width: 100%;
}

@media (max-width: 991px) {
  .ads-lead-sla-banner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 24px;
  }
}
@media (max-width: 640px) {
  .ads-lead-sla-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Dedicated Consultation & Per-Lead Quote Modal */
.ads-quote-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 620px;
  width: calc(100% - 32px);
  margin: auto;
  border-radius: 16px;
  overflow: visible;
}
.ads-quote-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ads-quote-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px 30px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  max-height: 90vh;
  overflow-y: auto;
}
.ads-quote-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ads-quote-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}
.ads-quote-header {
  margin-bottom: 24px;
  text-align: left;
}
.ads-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ads-quote-badge svg {
  color: #c1282d;
}
.ads-quote-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 8px 0;
}
.ads-quote-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.ads-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.ads-field-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ads-field-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ads-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.ads-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.ads-field-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.ads-field-input:focus {
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.12);
}
.ads-quote-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ads-quote-submit-btn {
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ads-quote-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}
@media (max-width: 600px) {
  .ads-quote-card {
    padding: 26px 20px 22px;
  }
  .ads-field-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ads-quote-title {
    font-size: 19px;
  }
}

/* Policy Note under Pricing */
.ads-pricing-policy-note {
  margin-top: 24px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c1282d;
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.policy-note-icon {
  color: #c1282d;
  flex-shrink: 0;
  margin-top: 2px;
}
.policy-note-title,
.policy-note-text > strong:first-child {
  display: block;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 6px;
}
.policy-note-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}
.policy-note-text p strong {
  display: inline;
  color: #0f172a;
}

/* 8. Contact Consultation Form */
.ads-contact-section {
  padding: 88px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.ads-contact-box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.ads-contact-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 16px 0;
}
.ads-contact-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 28px 0;
}
.ads-contact-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
}
.perk-item svg {
  color: #10b981;
  flex-shrink: 0;
}
.ads-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.15);
}
.form-privacy-notice {
  font-size: 12.5px;
  color: #64748b;
  margin: 4px 0 0 0;
  text-align: center;
}

/* 9. Exclusive FAQ Accordion */
.ads-faq-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ads-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ads-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.ads-faq-item[open] {
  border-color: #cbd5e1;
  background-color: #fafafa;
}
.ads-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.ads-faq-summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  width: 20px;
  height: 20px;
  color: #64748b;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.ads-faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: #c1282d;
}
.ads-faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

/* 10. Blog Cards Section */
.ads-blog-section {
  padding: 88px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.ads-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ads-blog-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ads-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ads-blog-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
  overflow: hidden;
}
.ads-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ads-blog-card:hover .ads-blog-img {
  transform: scale(1.03);
}
.ads-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ads-blog-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: #c1282d;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ads-blog-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
}
.ads-blog-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ads-blog-title a:hover {
  color: #c1282d;
}
.ads-blog-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px 0;
  flex-grow: 1;
}
.ads-blog-footer {
  margin-top: auto;
}
.ads-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c1282d;
  text-decoration: none;
  white-space: nowrap;
}
.ads-blog-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ads-blog-link:hover {
  color: #8f1d22;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .ads-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .ads-pricing-grid {
    grid-template-columns: 1fr;
  }
  .ads-pricing-card.featured-card {
    transform: none;
  }
  .ads-contact-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  .ads-blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ads-hero-title {
    font-size: 30px;
  }
  .ads-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ads-hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .ads-bento-grid,
  .ads-channel-cards-grid {
    grid-template-columns: 1fr;
  }
  .ads-tech-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .ads-flow-arrow {
    transform: rotate(90deg);
    margin: 8px auto;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .ads-blog-card-grid {
    grid-template-columns: 1fr;
  }
  .parallax-quote-box {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   ENTERPRISE OPENAI API & AI AUTOMATION SERVICE STYLES (.public-page-ai)
   Clean Light Theme, 2 Duda-Standard Parallax Sections, Enterprise Gateway
   ========================================================================== */

.public-page-ai {
  background-color: #ffffff;
  color: #0f172a;
  font-family: inherit;
  line-height: 1.6;
}

.ai-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. Hero Section (Parallax with Soft White Overlay) */
.ai-hero-section {
  padding: clamp(14px, 2vw, 20px) 0 68px 0;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}
.ai-hero-section.ai-hero-parallax {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #f8fafc !important;
}
.ai-hero-parallax-bg {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  visibility: visible !important;
  z-index: 0 !important;
  background-color: #f8fafc !important;
  background-image: url("/static/img/legacy/team/ai_philosophy_bg.webp") !important;
  background-position: center calc(35% + var(--ai-hero-parallax-offset, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  will-change: background-position !important;
}
.ai-hero-parallax-bg::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  visibility: visible !important;
  z-index: 1 !important;
  background:
    radial-gradient(ellipse 70% 50% at 50% 15%, rgba(193, 40, 45, 0.05) 0%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.84) 45%, rgba(255, 255, 255, 0.94) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, 40px 40px !important;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.ai-hero-content {
  position: relative !important;
  z-index: 2 !important;
}
.ai-hero-section.ai-hero-parallax .ai-hero-metrics {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.ai-breadcrumb {
  width: 100%;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: left;
}
.ai-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  text-align: left;
}
.ai-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ai-breadcrumb a:hover {
  color: #c1282d;
}
.ai-breadcrumb li[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}
.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  color: #c1282d;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
}
.ai-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c1282d;
}
.ai-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  max-width: 980px;
  margin: 0 auto 20px auto;
  letter-spacing: -0.02em;
}
.ai-hero-desc {
  font-size: 17.5px;
  line-height: 1.7;
  color: #475569;
  max-width: 860px;
  margin: 0 auto 36px auto;
}
.ai-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.ai-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease, fill 0.2s ease;
}
.ai-btn-primary {
  background-color: #c1282d;
  color: #ffffff;
  border-color: #c1282d;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.25);
}
.ai-btn-primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
  transform: translateY(-1px);
}
.ai-btn-primary:hover svg {
  color: #c1282d !important;
  fill: currentColor !important;
}
.ai-btn-secondary {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}
.ai-btn-secondary:hover {
  background-color: #c1282d !important;
  border-color: #c1282d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}
.ai-btn-secondary:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}
.ai-btn-outline {
  background-color: transparent;
  color: #c1282d;
  border-color: #c1282d;
}
.ai-btn-outline:hover {
  background-color: #c1282d !important;
  border-color: #c1282d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}
.ai-btn-outline:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* Trust Metrics */
.ai-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.ai-metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.ai-metric-num {
  font-size: 28px;
  font-weight: 800;
  color: #c1282d;
  line-height: 1.2;
}
.ai-metric-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
}

/* Section Shared Headers */
.ai-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px auto;
}
.ai-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c1282d;
  margin-bottom: 12px;
}
.ai-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
  letter-spacing: -0.015em;
}
.ai-section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}
.ai-inline-link {
  color: #c1282d;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.ai-inline-link:hover {
  color: #8f1d22;
}

/* 2. Bento Pain Points */
.ai-pain-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ai-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ai-bento-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.25s ease;
}
.ai-bento-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}
.ai-bento-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ai-bento-icon-wrap.icon-red { background-color: #fee2e2; color: #dc2626; }
.ai-bento-icon-wrap.icon-amber { background-color: #fef3c7; color: #d97706; }
.ai-bento-icon-wrap.icon-purple { background-color: #f3e8ff; color: #7e22ce; }
.ai-bento-icon-wrap.icon-blue { background-color: #dbeafe; color: #2563eb; }
.ai-bento-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.ai-bento-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}
.ai-bento-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 3. Parallax Section 1 (Duda-Standard Clean Architecture) */
.ai-parallax-section {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #090d16 !important;
  color: #ffffff !important;
  padding: 108px 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  margin-bottom: -1px !important;
}
.ai-parallax-section .parallax-media {
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  z-index: 0 !important;
}
.ai-parallax-section .parallax-media-bg {
  position: absolute !important;
  inset: 0 !important;
  background-color: #090d16 !important;
  background-image: url("/static/img/legacy/hero-bg-ai-control.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  filter: brightness(0.25) saturate(1.2);
}
.ai-parallax-section .parallax-overlay {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(193, 40, 45, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(9, 13, 22, 0.92) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(9, 13, 22, 0.95) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, 40px 40px !important;
}
.ai-parallax-section .parallax-content-wrap {
  position: relative !important;
  z-index: 2 !important;
}
.ai-parallax-section .parallax-quote-box {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.ai-parallax-section .parallax-eyebrow {
  color: #f87171 !important;
}
.ai-parallax-section .parallax-quote {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
  font-style: italic;
  color: #f8fafc;
  margin: 0 0 24px 0;
}
.ai-parallax-section .parallax-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ai-parallax-section .parallax-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.ai-parallax-section .parallax-author-role {
  font-size: 13px;
  color: #cbd5e1;
}

/* 4. Comparison Table */
.ai-comparison-section {
  padding: 88px 0;
  background-color: #f8fafc;
}
.ai-table-wrapper {
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.ai-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}
.ai-compare-table th,
.ai-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.ai-compare-table thead th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ai-compare-table .th-criteria { width: 22%; }
.ai-compare-table .th-self { width: 24%; color: #64748b; }
.ai-compare-table .th-grey { width: 24%; color: #64748b; }
.ai-compare-table .th-pressup.highlight-col {
  width: 30%;
  background-color: #fff1f2;
  color: #c1282d;
  font-weight: 800;
  border-left: 2px solid #c1282d;
  border-right: 2px solid #c1282d;
}
.ai-compare-table tbody td.highlight-col {
  background-color: #fff8f8;
  color: #0f172a;
  border-left: 2px solid #c1282d;
  border-right: 2px solid #c1282d;
}
.ai-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.ai-compare-table .td-factor {
  color: #0f172a;
}

/* 5. Models Grid */
.ai-models-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ai-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ai-model-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ai-model-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.ai-model-card.featured-model {
  border: 2px solid #c1282d;
  box-shadow: 0 8px 24px rgba(193, 40, 45, 0.08);
}
.ai-model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ai-model-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
}
.ai-model-badge.badge-green { background-color: #dcfce7; color: #15803d; }
.ai-model-badge.badge-red { background-color: #fee2e2; color: #b91c1c; }
.ai-model-badge.badge-blue { background-color: #dbeafe; color: #1d4ed8; }
.ai-model-badge.badge-purple { background-color: #f3e8ff; color: #6b21a8; }
.ai-model-context {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}
.ai-model-title {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}
.ai-model-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}
.ai-model-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}
.ai-model-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}
.ai-model-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* 6. Parallax Section 2: Enterprise Gateway Flow (Duda-Standard) */
.ai-tech-section.ai-tech-parallax {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #030712 !important;
  color: #ffffff !important;
  padding: 100px 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: -1px !important;
  margin-bottom: -1px !important;
}
.ai-tech-parallax-bg {
  background-color: #030712 !important;
  background-image: url("/static/img/legacy/presso/slider-ai.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  z-index: 0 !important;
  filter: brightness(0.24) saturate(1.2);
}
.ai-tech-parallax-bg::after {
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  visibility: visible !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.35) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(16, 185, 129, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(3, 7, 18, 0.95) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
  z-index: 1 !important;
}
.ai-tech-container {
  position: relative !important;
  z-index: 2 !important;
}
.ai-tech-parallax .ai-eyebrow {
  color: #f87171 !important;
}
.ai-tech-parallax .ai-section-title {
  color: #ffffff !important;
}
.ai-tech-parallax .ai-section-desc {
  color: #cbd5e1 !important;
}
.ai-tech-parallax .ai-inline-link {
  color: #fca5a5 !important;
  text-decoration-color: rgba(252, 165, 165, 0.5) !important;
}
.ai-tech-parallax .ai-inline-link:hover {
  color: #ffffff !important;
}
.ai-tech-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}
.ai-tech-parallax .ai-flow-step {
  flex: 1;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ai-tech-parallax .ai-flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 40, 45, 0.6) !important;
}
.ai-tech-parallax .ai-flow-number {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fca5a5;
  background-color: rgba(193, 40, 45, 0.25);
  border: 1px solid rgba(193, 40, 45, 0.45);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.ai-tech-parallax .ai-flow-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.ai-tech-parallax .ai-flow-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}
.ai-tech-parallax .ai-flow-arrow {
  align-self: center;
  font-size: 24px;
  color: #ef4444;
  font-weight: bold;
}

/* 7. Pricing Section */
.ai-pricing-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ai-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.ai-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.ai-pricing-card.featured-card {
  border: 2px solid #c1282d;
  box-shadow: 0 12px 32px rgba(193, 40, 45, 0.12);
  transform: translateY(-4px);
}
.ai-featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c1282d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ai-tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #c1282d;
  background-color: #fff1f2;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.ai-pricing-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.ai-pricing-timeline {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 20px 0;
}
.ai-pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
}
.ai-pricing-cost .cost-prefix {
  font-size: 14px;
  color: #64748b;
}
.ai-pricing-cost .cost-number {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.ai-pricing-cost .cost-currency {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
}
.ai-pricing-cost .cost-custom {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ai-pricing-body {
  flex-grow: 1;
  margin-bottom: 28px;
}
.ai-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-pricing-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
.ai-pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c1282d;
  font-weight: bold;
}
.ai-pricing-footer {
  margin-top: auto;
}
.ai-pricing-footer .ai-btn {
  width: 100%;
  box-sizing: border-box;
}

/* Policy Note Strip */
.ai-pricing-policy-note {
  margin-top: 48px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c1282d;
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ai-pricing-policy-note .policy-note-icon {
  color: #c1282d;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-pricing-policy-note .policy-note-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  font-size: 15px;
}
.ai-pricing-policy-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.ai-pricing-policy-note p strong {
  color: #0f172a;
  display: inline;
}

/* 8. Contact Form Section */
.ai-contact-section {
  padding: 88px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.ai-contact-box {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.ai-contact-info .ai-eyebrow {
  margin-bottom: 8px;
}
.ai-contact-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}
.ai-contact-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 32px 0;
}
.ai-contact-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ai-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ai-point-item .point-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.2;
}
.ai-point-item strong {
  font-size: 14.5px;
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}
.ai-point-item p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.ai-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.1);
}
.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}
.ai-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 8px;
}

/* 9. FAQ Section */
.ai-faq-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ai-faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ai-faq-item[open] {
  border-color: #c1282d;
  box-shadow: 0 4px 16px rgba(193, 40, 45, 0.05);
}
.ai-faq-summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.ai-faq-summary::-webkit-details-marker {
  display: none;
}
.ai-faq-summary .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ai-faq-item[open] .ai-faq-summary .faq-icon {
  transform: rotate(45deg);
  color: #c1282d;
}
.ai-faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

/* 10. Blog Section */
.ai-blog-section {
  padding: 88px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.ai-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ai-blog-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.ai-blog-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f1f5f9;
}
.ai-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ai-blog-card:hover .ai-blog-img {
  transform: scale(1.03);
}
.ai-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ai-blog-meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c1282d;
  margin-bottom: 8px;
}
.ai-blog-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
}
.ai-blog-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ai-blog-title a:hover {
  color: #c1282d;
}
.ai-blog-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px 0;
  flex-grow: 1;
}
.ai-blog-footer {
  margin-top: auto;
}
.ai-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c1282d;
  text-decoration: none;
  white-space: nowrap;
}
.ai-blog-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ai-blog-link:hover {
  color: #8f1d22;
}

/* Dedicated AI Quote Popup Modal */
.ai-quote-dialog {
  border: none;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  max-width: 620px;
  width: calc(100vw - 32px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}
.ai-quote-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ai-quote-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  color: #0f172a;
}
.ai-quote-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ai-quote-close:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.ai-quote-header {
  margin-bottom: 24px;
  padding-right: 32px;
}
.ai-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #c1282d;
  background: #fff1f2;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ai-quote-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.ai-quote-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.ai-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.ai-field-row.ai-field-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ai-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ai-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.ai-field-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ai-field-input:focus {
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.1);
}
.ai-quote-submit-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
}
.ai-quote-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
}

/* AI Enterprise Applications (Section 6) */
.ai-apps-section {
  padding: 88px 0;
  background-color: #ffffff;
}
.ai-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.ai-app-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.ai-app-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}
.ai-app-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.ai-app-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ai-app-pill.pill-red {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}
.ai-app-pill.pill-blue {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.ai-app-metric {
  font-size: 13px;
  font-weight: 600;
  color: #059669;
  background-color: #ecfdf5;
  padding: 4px 10px;
  border-radius: 6px;
}
.ai-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ai-app-icon.icon-blue {
  background: #eff6ff;
  color: #2563eb;
}
.ai-app-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.ai-app-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 28px;
}
.ai-app-usecases {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  margin-bottom: 32px;
}
.ai-usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s ease;
}
.ai-usecase-item:hover {
  border-color: #cbd5e1;
}
.usecase-bullet {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-usecase-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.4;
}
.ai-usecase-item p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
.ai-app-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}
.ai-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.ai-btn-outline:hover {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}

/* Cross-Department AI Capability Matrix Table */
.ai-more-apps-wrap {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid #e2e8f0;
}
.ai-more-apps-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}
.ai-more-apps-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c1282d;
  margin-bottom: 10px;
}
.ai-more-apps-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.ai-more-apps-desc {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
.ai-matrix-table-wrap {
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.ai-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 800px;
}
.ai-matrix-table thead th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 16px 20px;
  border-bottom: 2px solid #e2e8f0;
  vertical-align: middle;
}
.ai-matrix-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  line-height: 1.6;
}
.ai-matrix-table tbody tr:hover {
  background-color: #f8fafc;
}
.ai-matrix-table tbody tr:last-child td {
  border-bottom: none;
}
.ai-matrix-table .td-dept {
  color: #0f172a;
}
.ai-matrix-table .td-dept strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.dept-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.dept-badge.badge-blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.dept-badge.badge-green { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.dept-badge.badge-red { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.dept-badge.badge-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #f3e8ff; }
.dept-badge.badge-gray { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.impact-tag {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  line-height: 1.35;
}
.impact-tag.tag-green {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Responsive AI Styles */
@media (max-width: 1024px) {
  .ai-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-apps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ai-pricing-grid {
    grid-template-columns: 1fr;
  }
  .ai-pricing-card.featured-card {
    transform: none;
  }
  .ai-contact-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  .ai-blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .ai-tech-flow {
    flex-direction: column;
    gap: 16px;
  }
  .ai-tech-parallax .ai-flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  .ai-tech-parallax .ai-flow-step {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .ai-hero-title {
    font-size: 30px;
  }
  .ai-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ai-hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .ai-bento-grid,
  .ai-models-grid {
    grid-template-columns: 1fr;
  }
  .ai-app-card {
    padding: 28px 20px;
  }
  .ai-app-title {
    font-size: 19px;
  }
  .ai-usecase-item {
    padding: 14px;
  }
  .ai-more-apps-wrap {
    margin-top: 40px;
    padding-top: 36px;
  }
  .ai-more-apps-title {
    font-size: 21px;
  }
  .form-group-row,
  .ai-field-row.ai-field-split {
    grid-template-columns: 1fr;
  }
  .ai-blog-card-grid {
    grid-template-columns: 1fr;
  }
  .ai-parallax-section .parallax-quote-box {
    padding: 28px 20px;
  }
  .ai-quote-card {
    padding: 28px 20px;
  }
}

@media (max-width: 989px), (height >= width) {
  .ai-hero-parallax-bg {
    position: absolute !important;
  }
  .ai-hero-parallax-bg::after {
    position: absolute !important;
  }
}

/* ==========================================================================
   SOLUTIONS SUITE (HUB & 3 SPECIALIZED SUB-PAGES)
   Design System: Clean Light Theme, Duda-Standard Parallax, High-Contrast Typography
   ========================================================================== */

.sol-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.sol-section {
  padding: 96px 0;
  position: relative;
  background-color: #ffffff;
}

.sol-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px auto;
}

.sol-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c1282d;
  margin-bottom: 14px;
}

.sol-section-title {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

.sol-section-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.sol-inline-link {
  color: #c1282d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(193, 40, 45, 0.4);
  transition: all 0.2s ease;
}

.sol-inline-link:hover {
  color: #991b1b;
  text-decoration-color: #991b1b;
}

/* 1. Hero Section (Soft-White Overlay Parallax) */
.sol-hero-section {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  background-color: #f8fafc;
  padding: clamp(14px, 2vw, 20px) 0 clamp(60px, 8vw, 90px) 0;
  border-bottom: 1px solid #e2e8f0;
}

.sol-hero-parallax-bg {
  position: fixed;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.92) saturate(1.1);
  transform: translateY(var(--sol-hero-parallax-offset, 0px));
  will-change: transform;
}

.sol-hero-parallax-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 15%, rgba(193, 40, 45, 0.05) 0%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.76) 45%, rgba(255, 255, 255, 0.90) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat;
  pointer-events: none;
  z-index: 1;
}

.sol-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1240px;
}

.sol-breadcrumb {
  width: 100%;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: left;
}

.sol-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  text-align: left;
}

.sol-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.sol-breadcrumb a:hover,
.sol-breadcrumb a:focus-visible {
  color: #c1282d;
}

.sol-breadcrumb li[aria-hidden="true"],
.sol-breadcrumb span[aria-hidden="true"] {
  color: #94a3b8;
  font-weight: 400;
  user-select: none;
}

.sol-breadcrumb li[aria-current="page"],
.sol-breadcrumb span[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

@media (max-width: 768px) {
  .sol-breadcrumb {
    margin-bottom: 18px;
  }
  .sol-breadcrumb ol {
    font-size: 12.5px;
    gap: 6px;
  }
}

.sol-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(193, 40, 45, 0.08);
  border: 1px solid rgba(193, 40, 45, 0.2);
  color: #c1282d;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.sol-hero-title {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
}

.sol-hero-desc {
  font-size: 19px;
  line-height: 1.65;
  color: #334155;
  margin: 0 auto 36px auto;
  max-width: 860px;
}

.sol-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.sol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sol-btn-primary {
  background-color: #c1282d;
  color: #ffffff !important;
  border: 1px solid #c1282d;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.25);
}

.sol-btn svg {
  transition: transform 0.2s ease, color 0.2s ease, fill 0.2s ease;
}

.sol-btn-primary:hover {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
}

.sol-btn-primary:hover svg {
  color: #c1282d !important;
  fill: currentColor !important;
}

.sol-btn-secondary {
  background-color: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sol-btn-secondary:hover {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
}

.sol-btn-secondary:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

.sol-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.sol-metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sol-metric-num {
  font-size: 28px;
  font-weight: 900;
  color: #c1282d;
  line-height: 1.2;
  margin-bottom: 6px;
}

.sol-metric-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.4;
}

/* 2. Diagnostic & Bento Grid Styles */
.sol-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-diagnostic-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.sol-diagnostic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.sol-diag-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.sol-badge-red {
  background-color: #fee2e2;
  color: #b91c1c;
}

.sol-badge-blue {
  background-color: #e0f2fe;
  color: #0369a1;
}

.sol-badge-emerald {
  background-color: #d1fae5;
  color: #047857;
}

.sol-diag-title {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.sol-diag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.sol-diag-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 12px;
}

.sol-diag-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c1282d;
  font-size: 18px;
  line-height: 1;
  top: 1px;
}

.sol-diag-action {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.sol-diag-target {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sol-diag-link {
  text-decoration: none;
  display: block;
}

.sol-diag-link strong {
  display: block;
  font-size: 15px;
  color: #c1282d;
  transition: color 0.15s ease;
}

.sol-diag-link small {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 3px;
}

.sol-diag-link:hover strong {
  color: #991b1b;
}

/* 3. Comparison Table Styles (Chuẩn Viền Rõ Ràng & Cột Highlight Nổi Bật) */
.sol-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.sol-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}

.sol-table th,
.sol-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.sol-table thead th {
  background-color: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 2px solid #cbd5e1;
}

.sol-table td {
  color: #334155;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.sol-table tbody tr:last-child th,
.sol-table tbody tr:last-child td {
  border-bottom: none;
}

/* Highlight Column PressUp with Bold Red Border (3px) bao trọn khép kín */
.sol-table thead th.th-highlight {
  background-color: #fff5f5 !important;
  color: #c1282d !important;
  border-top: 3px solid #c1282d !important;
  border-left: 3px solid #c1282d !important;
  border-right: 3px solid #c1282d !important;
  border-bottom: 2px solid #fca5a5 !important;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -4px 16px rgba(193, 40, 45, 0.08);
}

.sol-table tbody td.td-highlight {
  background-color: #fffbfc !important;
  color: #0f172a !important;
  border-left: 3px solid #c1282d !important;
  border-right: 3px solid #c1282d !important;
  border-bottom: 1px solid #fee2e2 !important;
}

.sol-table tbody tr:last-child td.td-highlight {
  border-bottom: 3px solid #c1282d !important;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 8px 24px -4px rgba(193, 40, 45, 0.16);
}

/* 4. Duda Parallax Section Styles */
.sol-parallax-section {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #0b0f19 !important;
  color: #ffffff !important;
  padding: 110px 0 !important;
}

.sol-parallax-bg {
  position: fixed !important;
  inset: 0 !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  pointer-events: none !important;
  z-index: 0 !important;
  filter: brightness(0.55) saturate(1.2) contrast(1.05) !important;
}

.sol-parallax-bg::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.30) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.74) 0%, rgba(15, 23, 42, 0.58) 50%, rgba(11, 15, 25, 0.82) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
}

.sol-parallax-container {
  position: relative !important;
  z-index: 2 !important;
}

.sol-header-light .sol-eyebrow {
  color: #f87171 !important;
}

.sol-header-light .sol-section-title {
  color: #ffffff !important;
}

.sol-header-light .sol-section-desc {
  color: #cbd5e1 !important;
}

.sol-spotlight-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 48px;
  backdrop-filter: blur(8px);
}

.sol-spotlight-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f87171;
  margin-bottom: 12px;
}

.sol-spotlight-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 18px 0;
}

.sol-spotlight-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 40px 0;
  max-width: 900px;
}

.sol-spotlight-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.sol-pillar-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 20px;
}

.sol-pillar-num {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #f87171;
  margin-bottom: 10px;
}

.sol-pillar-item strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 8px;
}

.sol-pillar-item p {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* 5. Pipeline Flow (Stage Diagram) */
.sol-pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1.2fr;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

.sol-pipe-step {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 20px 16px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
}

.sol-pipe-step.sol-step-highlight {
  border-color: #ef4444;
  background: rgba(193, 40, 45, 0.15);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2);
}

.sol-pipe-num {
  font-size: 14px;
  font-weight: 900;
  color: #f87171;
  margin-bottom: 8px;
}

.sol-pipe-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.sol-pipe-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
  flex-grow: 1;
}

.sol-pipe-desc .sol-inline-link {
  color: #fca5a5 !important;
}

.sol-pipe-arrow {
  font-size: 20px;
  color: #ef4444;
  font-weight: bold;
  user-select: none;
}

/* 6. Pain Cards & Failure Grid */
.sol-pain-grid,
.sol-fail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-pain-card,
.sol-fail-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.2s ease;
}

.sol-pain-card:hover,
.sol-fail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.sol-pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #fee2e2;
  color: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sol-pain-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sol-pain-title,
.sol-fail-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

.sol-pain-text,
.sol-fail-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.sol-fail-num {
  font-size: 26px;
  font-weight: 900;
  color: #c1282d;
  margin-bottom: 14px;
}

/* 7. Industry Verticals Grid */
.sol-verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sol-vert-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 32px;
}

.sol-vert-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c1282d;
  background-color: rgba(193, 40, 45, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.sol-vert-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.sol-vert-text {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* 8. Sprint & Roadmap Grid */
.sol-sprint-grid,
.sol-roadmap-grid,
.sol-gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.sol-roadmap-grid,
.sol-gov-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sol-sprint-card,
.sol-road-card,
.sol-gov-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px 22px;
}

.sol-sprint-badge,
.sol-road-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sol-sprint-title,
.sol-road-card h4,
.sol-gov-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.sol-sprint-desc,
.sol-road-card p,
.sol-gov-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* 9. Workflow Steps Grid */
.sol-workflow-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.1fr;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.sol-work-step {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px 18px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.sol-work-step.sol-step-highlight {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
}

.sol-work-badge {
  font-size: 12px;
  font-weight: 800;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sol-work-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.sol-work-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.sol-work-desc .sol-inline-link {
  color: #93c5fd !important;
}

.sol-work-arrow {
  font-size: 22px;
  color: #60a5fa;
  font-weight: bold;
}

/* 10. AI 3-Layer Stack & Boundaries */
.sol-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sol-bound-card {
  border-radius: 14px;
  padding: 36px 32px;
  box-sizing: border-box;
}

.sol-bound-bad {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
}

.sol-bound-good {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.sol-bound-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #be123c;
  margin-bottom: 12px;
}

.sol-badge-green {
  color: #15803d !important;
}

.sol-bound-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px 0;
}

.sol-bound-bad h3 { color: #9f1239; }
.sol-bound-good h3 { color: #166534; }

.sol-bound-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sol-bound-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.sol-bound-bad li { color: #881337; }
.sol-bound-good li { color: #14532d; }

.sol-bound-bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #e11d48;
  font-weight: bold;
}

.sol-bound-good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.sol-layers-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.sol-layer-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 32px;
}

.sol-layer-card.sol-layer-highlight {
  border-color: #ef4444;
  background: rgba(193, 40, 45, 0.15);
}

.sol-layer-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #f87171;
  margin-bottom: 10px;
}

.sol-layer-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.sol-layer-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

.sol-layer-desc .sol-inline-link {
  color: #fca5a5 !important;
}

.sol-layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sol-layer-tags span {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  color: #e2e8f0;
}

/* 11. Guardrails Grid */
.sol-guardrails-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sol-guard-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 30px;
}

.sol-guard-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.sol-status-auto {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.sol-status-human {
  background-color: #fef3c7;
  color: #b45309;
}

.sol-guard-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.sol-guard-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sol-guard-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 12px;
}

.sol-guard-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0284c7;
  font-size: 18px;
  top: 1px;
}

/* 12. Solution Suites List (Hub Showcase) */
.sol-suites-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sol-suite-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.sol-suite-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.sol-suite-badge {
  font-size: 32px;
  font-weight: 900;
  color: #c1282d;
  line-height: 1;
  background-color: #ffffff;
  border: 1px solid #fecdd3;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-suite-body {
  flex-grow: 1;
}

.sol-suite-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #c1282d;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sol-suite-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.sol-suite-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 24px 0;
}

.sol-suite-metrics {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.sol-suite-metrics span {
  font-size: 14px;
  color: #64748b;
}

.sol-suite-metrics strong {
  color: #0f172a;
  margin-right: 4px;
}

.sol-suite-btn {
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  color: #c1282d;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sol-suite-btn:hover {
  color: #991b1b;
  transform: translateX(4px);
}

/* 13. Phased Pricing & Framework Tiers */
.sol-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-price-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.sol-price-card-popular {
  border-color: #c1282d;
  box-shadow: 0 12px 30px -5px rgba(193, 40, 45, 0.12);
}

.sol-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c1282d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.sol-price-tier {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #c1282d;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sol-price-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.sol-price-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 24px 0;
}

.sol-price-features {
  list-style: none;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.sol-price-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 12px;
}

.sol-price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.sol-price-footer .sol-btn {
  width: 100%;
}

/* 14. Accordion FAQ Section */
.sol-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sol-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.sol-faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.sol-faq-summary,
.sol-faq-question {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  outline: none;
  user-select: none;
}

.sol-faq-summary::-webkit-details-marker,
.sol-faq-question::-webkit-details-marker {
  display: none !important;
}

.sol-faq-summary::marker,
.sol-faq-question::marker {
  display: none !important;
  content: "" !important;
}

.sol-faq-summary > span:first-child,
.sol-faq-question > span:first-child,
.sol-faq-summary .faq-summary-text {
  text-align: left !important;
  text-align-last: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  word-break: break-word !important;
  text-wrap: balance;
  flex: 1;
  padding-right: 16px;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
  display: block;
}

.sol-faq-icon {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.sol-faq-item[open] .faq-icon svg,
.sol-faq-item[open] .sol-faq-icon {
  transform: rotate(45deg);
  color: #c1282d;
}

.sol-faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

/* 15. Dynamic Blog Grid */
.sol-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-blog-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.sol-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.sol-blog-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f1f5f9;
}

.sol-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sol-blog-card:hover .sol-blog-img {
  transform: scale(1.04);
}

.sol-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sol-blog-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c1282d;
  margin-bottom: 8px;
}

.sol-blog-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4 !important;
  margin: 0 0 10px 0;
  height: calc(1.4em * 2) !important;
  min-height: calc(1.4em * 2) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
}

.sol-blog-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
}

.sol-blog-title a:hover {
  color: #c1282d;
}

.sol-blog-desc {
  font-size: 14px;
  line-height: 1.6 !important;
  color: #64748b;
  margin: 0 0 20px 0;
  height: calc(1.6em * 3) !important;
  min-height: calc(1.6em * 3) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  flex-grow: 1;
}

.sol-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #c1282d;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sol-blog-link:hover {
  color: #991b1b;
  transform: translateX(3px);
}

/* 16. Modal Consultation Dialog */
.sol-quote-dialog {
  padding: 0;
  border: none;
  border-radius: 16px;
  background: transparent;
  max-width: 680px;
  width: 92%;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

.sol-quote-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.sol-quote-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.sol-quote-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.sol-quote-close:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.sol-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #c1282d;
  background: #fee2e2;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sol-quote-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.sol-quote-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 24px 0;
}

.sol-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sol-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sol-field-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sol-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sol-field-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.sol-field-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.sol-field-input:focus {
  outline: none;
  border-color: #c1282d;
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.15);
}

.sol-quote-actions {
  margin-top: 24px;
}

.sol-quote-submit-btn {
  width: 100%;
  padding: 15px;
}

.sol-quote-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-top: 14px;
  text-align: center;
}

/* ==========================================================================
   SOLUTIONS RESPONSIVE & MOBILE FALLBACK (PAGE SPEED 100)
   ========================================================================== */

@media (max-width: 1024px) {
  .sol-pipeline-flow,
  .sol-workflow-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .sol-pipe-arrow,
  .sol-work-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  .sol-spotlight-pillars,
  .sol-sprint-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 989px), (height >= width) {
  .sol-hero-parallax-bg,
  .sol-parallax-bg {
    position: absolute !important;
  }
  .sol-hero-parallax-bg::after,
  .sol-parallax-bg::after {
    position: absolute !important;
  }
}

@media (max-width: 768px) {
  .sol-section {
    padding: 64px 0;
  }
  .sol-hero-section {
    padding: 14px 0 54px 0;
  }
  .sol-hero-title {
    font-size: 32px;
  }
  .sol-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sol-hero-metrics,
  .sol-diagnostic-grid,
  .sol-pain-grid,
  .sol-fail-grid,
  .sol-verticals-grid,
  .sol-roadmap-grid,
  .sol-gov-grid,
  .sol-boundary-grid,
  .sol-guardrails-grid,
  .sol-pricing-grid,
  .sol-blog-grid {
    grid-template-columns: 1fr;
  }
  .sol-suite-card {
    flex-direction: column;
    padding: 28px 20px;
    gap: 16px;
  }
  .sol-spotlight-card {
    padding: 28px 20px;
  }
  .sol-spotlight-pillars,
  .sol-sprint-grid {
    grid-template-columns: 1fr;
  }
  .sol-field-split {
    grid-template-columns: 1fr;
  }
  .sol-quote-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   GLOBAL UTILITIES & SOLUTIONS SUITE TYPOGRAPHY JUSTIFICATION ENFORCEMENT
   Rule: Mọi tiêu đề và mô tả nhiều dòng ở mọi vị trí đều căn đều 2 bên (Justify).
   Card Blog: Tiêu đề 2 dòng cố định, mô tả 3 dòng cố định, text justify.
   ========================================================================== */

/* 1. Global Utilities */
.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.justified-desc {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* 2. Solutions Suite Headings (Tiêu đề các mục / cards ngắt dòng tự nhiên, cân đối, không kéo giãn từ) */
.sol-card-title,
.sol-card-title a,
.sol-diag-title,
.sol-pipe-title,
.sol-pricing-title,
.sol-sprint-title,
.sol-usecase-title,
.sol-flow-title,
.sol-layer-title,
.sol-pillar-item strong,
.sol-bound-card h3,
.sol-step-title,
.sol-faq-summary .faq-summary-text,
.sol-blog-title,
.sol-blog-title a {
  text-align: left !important;
  text-align-last: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  word-break: break-word !important;
  text-wrap: balance;
}

/* 3. Solutions Suite Descriptions & Content Paragraphs ở mọi vị trí */
.sol-hero-desc,
.sol-section-desc,
.sol-card-desc,
.sol-diag-desc,
.sol-diag-card p,
.sol-diag-list li,
.sol-spotlight-desc,
.sol-pillar-item p,
.sol-pipe-desc,
.sol-pipe-step li,
.sol-ledger-col p,
.sol-ledger-table td,
.sol-ledger-table th,
.sol-ledger-table td p,
.sol-usecase-desc,
.sol-usecase-card p,
.sol-usecase-list li,
.sol-sprint-desc,
.sol-sprint-list li,
.sol-pricing-desc,
.sol-pricing-list li,
.sol-faq-answer p,
.sol-matrix-table td,
.sol-matrix-table td p,
.sol-flow-card p,
.sol-flow-desc,
.sol-flow-step p,
.sol-layer-card p,
.sol-layer-desc,
.sol-layer-list li,
.sol-bound-card p,
.sol-bound-list li,
.sol-lead-card p,
.sol-lead-desc,
.sol-quote-desc,
.sol-roi-table td,
.sol-roi-table td p,
.sol-blog-desc {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* ==========================================================================
   MASTER BUTTON INTERACTIVE STANDARD ENFORCEMENT (PressUp Brand Design System)
   - Đảm bảo 100% các nút trên toàn bộ Website (Home, Dịch vụ, Giải pháp, Modal, Form)
     đều tuân thủ đồng bộ quy tắc đảo màu chuẩn mực:
     * Primary: Nền đỏ (#C1282D), viền đỏ, text trắng
       -> Hover: Nền trắng (#ffffff), viền đỏ (#C1282D), text đỏ (#C1282D), icon SVG đỏ.
     * Secondary / Outline: Nền trắng/trong suốt, viền xám (#cbd5e1)/viền đỏ, text đen/đỏ
       -> Hover: Nền đỏ (#C1282D), viền đỏ (#C1282D), text trắng (#ffffff), icon SVG trắng.
   - Transition mượt mà 180ms ease, nâng nhẹ translateY(-1px) và đổ bóng mờ trang nhã.
   ========================================================================== */

/* 1. Tất cả Primary Buttons */
.button:not(.secondary):not(.danger):not(.admin-btn),
.public-cta:not(.secondary),
.web-button.primary,
.web-button:not(.secondary),
.odoo-button.primary,
.odoo-button:not(.secondary),
.odoo-price-btn.primary,
.odoo-btn-submit,
.web-form-submit,
.web-faq-cta-btn,
.ads-btn-primary,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline),
.ai-btn-primary,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline),
.sol-btn-primary,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline),
.sol-quote-submit-btn,
.public-lead-submit-btn {
  background-color: #C1282D !important;
  background-image: none !important;
  border: 1px solid #C1282D !important;
  color: #ffffff !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.button:not(.secondary):not(.danger):not(.admin-btn):hover,
.button:not(.secondary):not(.danger):not(.admin-btn):focus-visible,
.public-cta:not(.secondary):hover,
.public-cta:not(.secondary):focus-visible,
.web-button.primary:hover,
.web-button:not(.secondary):hover,
.odoo-button.primary:hover,
.odoo-button:not(.secondary):hover,
.odoo-price-btn.primary:hover,
.odoo-btn-submit:hover,
.web-form-submit:hover,
.web-faq-cta-btn:hover,
.ads-btn-primary:hover,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline):hover,
.ai-btn-primary:hover,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline):hover,
.sol-btn-primary:hover,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline):hover,
.sol-quote-submit-btn:hover,
.public-lead-submit-btn:hover {
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #C1282D !important;
  color: #C1282D !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.20) !important;
  transform: translateY(-1px) !important;
}

.button:not(.secondary):not(.danger):hover svg,
.public-cta:not(.secondary):hover svg,
.web-button.primary:hover svg,
.web-button:not(.secondary):hover svg,
.odoo-button.primary:hover svg,
.odoo-button:not(.secondary):hover svg,
.odoo-price-btn.primary:hover svg,
.odoo-btn-submit:hover svg,
.web-form-submit:hover svg,
.web-faq-cta-btn:hover svg,
.ads-btn-primary:hover svg,
.ads-btn:not(.ads-btn-secondary):not(.ads-btn-outline):hover svg,
.ai-btn-primary:hover svg,
.ai-btn:not(.ai-btn-secondary):not(.ai-btn-outline):hover svg,
.sol-btn-primary:hover svg,
.sol-btn:not(.sol-btn-secondary):not(.sol-btn-outline):hover svg,
.sol-quote-submit-btn:hover svg,
.public-lead-submit-btn:hover svg {
  color: #C1282D !important;
  fill: currentColor !important;
}

/* 2. Tất cả Secondary & Outline Buttons */
.button.secondary,
.public-cta.secondary,
.web-button.secondary,
.odoo-button.secondary,
.odoo-price-btn:not(.primary),
.ads-btn-secondary,
.ads-btn-outline,
.ai-btn-secondary,
.ai-btn-outline,
.sol-btn-secondary,
.sol-btn-outline {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.button.secondary:hover,
.button.secondary:focus-visible,
.public-cta.secondary:hover,
.public-cta.secondary:focus-visible,
.web-button.secondary:hover,
.odoo-button.secondary:hover,
.odoo-price-btn:not(.primary):hover,
.ads-btn-secondary:hover,
.ads-btn-outline:hover,
.ai-btn-secondary:hover,
.ai-btn-outline:hover,
.sol-btn-secondary:hover,
.sol-btn-outline:hover {
  background-color: #C1282D !important;
  background-image: none !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
  transform: translateY(-1px) !important;
}

.button.secondary:hover svg,
.public-cta.secondary:hover svg,
.web-button.secondary:hover svg,
.odoo-button.secondary:hover svg,
.odoo-price-btn:not(.primary):hover svg,
.ads-btn-secondary:hover svg,
.ads-btn-outline:hover svg,
.ai-btn-secondary:hover svg,
.ai-btn-outline:hover svg,
.sol-btn-secondary:hover svg,
.sol-btn-outline:hover svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* ==========================================================================
   SERVICES PILLAR HUB STYLES (/services & /services/vi)
   Tuân thủ nghiêm ngặt UI_DESIGN_RULES.md
   ========================================================================== */

.public-page-services {
  background-color: #fafbfd;
  color: #0f172a;
}

/* 1. Bento Grid 4 Core Services */
.services-pillar-grid-section {
  padding: 80px 0;
  background-color: #fafbfd;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.services-bento-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.services-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.services-bento-card:hover {
  transform: translateY(-4px);
  border-color: #fecdd3;
  box-shadow: 0 16px 36px rgba(193, 40, 45, 0.08);
}

.services-bento-card:hover::before {
  background: #c1282d;
}

.services-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.services-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-web {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-odoo {
  background-color: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.badge-ads {
  background-color: #fff1f2;
  color: #c1282d;
  border: 1px solid #fecdd3;
}

.badge-ai {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.services-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.services-bento-card:hover .services-card-icon {
  background-color: #fff1f2;
  color: #c1282d;
  border-color: #fecdd3;
  transform: scale(1.05);
}

.services-card-title {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 16px 0;
  text-align: left;
  text-wrap: balance;
  word-spacing: normal;
}

.services-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-card-title a:hover {
  color: #c1282d;
}

.services-card-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 24px 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.services-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-card-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.services-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #c1282d;
}

.services-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.services-card-footer .sol-btn {
  width: 100%;
  justify-content: center;
}

/* 2. The Interoperability Flow */
.services-flow-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.services-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.services-flow-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.services-flow-step:hover {
  background: #ffffff;
  border-color: #fecdd3;
  box-shadow: 0 10px 25px rgba(193, 40, 45, 0.06);
  transform: translateY(-3px);
}

.services-flow-num {
  font-size: 32px;
  font-weight: 800;
  color: #c1282d;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
  letter-spacing: -0.03em;
}

.services-flow-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 12px 0;
  text-align: left;
  text-wrap: balance;
  word-spacing: normal;
}

.services-flow-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 3. Duda Parallax Bridge Section (Services vs Solutions) - Chuẩn Rule 6 */
.services-bridge-parallax {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  isolation: isolate !important;
  background-color: #0b0f19 !important;
  color: #ffffff !important;
  padding: 100px 0 !important;
}

.services-bridge-parallax-bg {
  position: fixed !important;
  inset: 0 !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  pointer-events: none !important;
  z-index: 0 !important;
  filter: brightness(0.52) saturate(1.2) contrast(1.08) !important;
}

.services-bridge-parallax-bg::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background:
    radial-gradient(ellipse 75% 60% at 20% 25%, rgba(193, 40, 45, 0.32) 0%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(193, 40, 45, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.78) 0%, rgba(15, 23, 42, 0.62) 50%, rgba(11, 15, 25, 0.85) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  background-size: auto, auto, auto, 40px 40px !important;
}

.services-bridge-box {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px;
  padding: 52px 44px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(193, 40, 45, 0.12) !important;
  position: relative;
  z-index: 2;
}

.services-bridge-content .bridge-eyebrow {
  color: #f87171 !important;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}

.services-bridge-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff !important;
  margin: 12px 0 20px 0;
  text-align: left;
  text-wrap: balance;
  word-spacing: normal;
}

.services-bridge-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #cbd5e1 !important;
  margin: 0 0 32px 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.services-bridge-solutions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.bridge-sol-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px;
  padding: 22px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.bridge-sol-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(248, 113, 113, 0.6) !important;
  box-shadow: 0 10px 25px rgba(193, 40, 45, 0.22) !important;
  transform: translateX(6px);
}

.bridge-sol-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f87171 !important;
  margin-bottom: 6px;
}

.bridge-sol-item h4 {
  font-size: 17px;
  font-weight: 750;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.bridge-sol-item h4 a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bridge-sol-item h4 a:hover {
  color: #fca5a5 !important;
}

.bridge-sol-item p {
  font-size: 13.5px;
  color: #94a3b8 !important;
  margin: 0;
  line-height: 1.55;
}

/* 4. Delivery Process Section */
.services-process-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.services-process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
}

.services-process-card:hover {
  background: #ffffff;
  border-color: #fecdd3;
  box-shadow: 0 10px 25px rgba(193, 40, 45, 0.06);
  transform: translateY(-3px);
}

.services-process-step {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff1f2;
  color: #c1282d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.services-process-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 14px 0;
  text-align: left;
  text-wrap: balance;
  word-spacing: normal;
}

.services-process-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 5. Responsive Breakpoints */
@media (max-width: 1024px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .services-flow-grid,
  .services-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-bridge-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .services-flow-grid,
  .services-process-grid {
    grid-template-columns: 1fr;
  }
  .services-bento-card {
    padding: 24px 20px;
  }
  .services-bridge-box {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   KNOWLEDGE HUB SUITE STYLES (/insights, /tech-stack, /ebooks, /blog)
   Tuân thủ nghiêm ngặt AGENTS.md & docs/UI_DESIGN_RULES.md
   ========================================================================== */

.kh-page {
  background-color: #fafbfd;
  color: #0f172a;
}

/* Homepage Intelligence Command Pill Links (Color Inversion Standard) */
.legacy-insight-command .kh-home-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 8px 15px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.legacy-insight-command .kh-home-pill-link:hover,
.legacy-insight-command .kh-home-pill-link:focus-visible {
  background-color: #C1282D !important;
  border-color: #C1282D !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22) !important;
  transform: translateY(-1px) !important;
}

/* 1. Knowledge Hub Hero & Crystal LCP Background (Rule 6.1) */
.kh-hero .sol-hero-content {
  max-width: 1240px;
}

.kh-hero .sol-breadcrumb ol {
  justify-content: flex-start !important;
  flex-wrap: wrap;
}

.kh-page .sol-table td:first-child {
  text-align: left !important;
  word-spacing: normal !important;
}

.kh-hero .sol-hero-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.kh-hero .sol-hero-desc {
  max-width: 880px;
}

.kh-hero-bg-wrap {
  filter: none !important;
}

.kh-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) saturate(1.08);
  pointer-events: none;
  z-index: 0;
}

.kh-hero-bg-wrap::after {
  background:
    radial-gradient(ellipse 70% 50% at 50% 15%, rgba(193, 40, 45, 0.06) 0%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.87) 0%, rgba(248, 250, 252, 0.83) 48%, rgba(255, 255, 255, 0.93) 100%),
    url("/static/img/legacy/grid-pattern.svg") repeat !important;
  z-index: 1;
}

/* 2. Information-Scent Cards (/insights Hero) */
.kh-scent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 8px;
}

.kh-scent-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kh-scent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.kh-scent-card:hover {
  transform: translateY(-4px);
  border-color: #fca5a5;
  box-shadow: 0 18px 36px rgba(193, 40, 45, 0.10);
}

.kh-scent-card:hover::before {
  background: #c1282d;
}

.kh-scent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.kh-scent-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #c1282d;
}

.kh-scent-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.kh-scent-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.38;
  margin: 0 0 12px 0;
  color: #0f172a;
  text-align: left;
  text-wrap: balance;
}

.kh-scent-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.kh-scent-title a:hover {
  color: #c1282d;
}

.kh-scent-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.kh-scent-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.kh-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
  color: #c1282d;
  text-decoration: none;
  transition: color 180ms ease;
}

.kh-inline-cta svg {
  transition: transform 180ms ease;
}

.kh-inline-cta:hover {
  color: #991b1b;
}

.kh-inline-cta:hover svg {
  transform: translateX(3px);
}

/* 3. Role-Based Reading Tracks (/insights) */
.kh-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.kh-role-card {
  padding: 32px 26px;
  height: 100%;
}

.kh-track-steps {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kh-track-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kh-track-step:hover {
  background: #fff5f5;
  border-color: #fecdd3;
}

.kh-step-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c1282d;
}

.kh-track-step a {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.kh-track-step a:hover {
  color: #c1282d;
}

/* 4. Three-Column Engineering Physics & Honesty Cards (/tech-stack) */
.kh-pillar-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.kh-pillar-three-grid > * {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 5. Golang x HTMX vs. WordPress Deep-Dive Pillars (/tech-stack) */
.kh-vs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.kh-vs-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kh-vs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.kh-vs-card:hover {
  transform: translateY(-3px);
  border-color: #fca5a5;
  box-shadow: 0 16px 34px rgba(193, 40, 45, 0.08);
}

.kh-vs-card:hover::before {
  background: #c1282d;
}

.kh-vs-index {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #c1282d;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.kh-vs-card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.38;
  color: #0f172a;
  margin: 0 0 14px 0;
  text-align: left;
  text-wrap: balance;
}

.kh-vs-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.kh-vs-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: #f1f5f9;
  color: #be123c;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
}

/* 6. Filter Toolbar, Dropdown, Featured Card & Library Grid (/ebooks & /blog) */
.kh-filter-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 12px;
  width: 100%;
  position: relative;
  z-index: 40;
}

.kh-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.kh-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.kh-filter-label svg {
  color: #c1282d;
  flex-shrink: 0;
}

.kh-filter-dropdown {
  position: relative;
  display: inline-block;
}

.kh-filter-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px 10px 20px;
  min-width: 260px;
  max-width: 380px;
  background-color: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  list-style: none;
  user-select: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease !important;
}

.kh-filter-dropdown-btn::-webkit-details-marker {
  display: none !important;
}

.kh-filter-dropdown-btn::marker {
  display: none !important;
  content: "" !important;
}

.kh-filter-dropdown-btn:hover,
.kh-filter-dropdown-btn:focus-visible {
  border-color: #c1282d;
  color: #c1282d;
  box-shadow: 0 4px 16px rgba(193, 40, 45, 0.16);
}

.kh-filter-dropdown[open] > .kh-filter-dropdown-btn {
  border-color: #c1282d;
  color: #c1282d;
  box-shadow: 0 4px 18px rgba(193, 40, 45, 0.2);
}

.kh-filter-dropdown-current {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-filter-dropdown-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 200ms ease, color 180ms ease;
}

.kh-filter-dropdown[open] .kh-filter-dropdown-chevron {
  transform: rotate(180deg);
  color: #c1282d;
}

.kh-filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 290px;
  max-width: 380px;
  width: max-content;
  max-height: 360px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 6px 14px -2px rgba(15, 23, 42, 0.06);
  padding: 8px;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  animation: khFilterMenuFadeIn 180ms ease-out;
}

.kh-filter-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.kh-filter-dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 999px;
}

@keyframes khFilterMenuFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.kh-filter-dropdown-divider {
  height: 1px;
  background-color: #f1f5f9;
  margin: 6px 4px;
}

.kh-filter-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease !important;
}

.kh-filter-dropdown-item:hover,
.kh-filter-dropdown-item:focus-visible {
  background-color: #fef2f2;
  color: #c1282d;
  font-weight: 600;
}

.kh-filter-dropdown-item.is-active {
  background-color: #c1282d;
  color: #ffffff;
  font-weight: 700;
}

.kh-filter-dropdown-item.is-active:hover,
.kh-filter-dropdown-item.is-active:focus-visible {
  background-color: #a81f24;
  color: #ffffff;
}

.kh-filter-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #ffffff;
}

.kh-filter-dropdown-item:not(.is-active) .kh-filter-check {
  display: none;
}

.kh-filter-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 160ms ease !important;
}

.kh-filter-reset-btn:hover,
.kh-filter-reset-btn:focus-visible {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #c1282d;
}

@media (max-width: 640px) {
  .kh-filter-bar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .kh-filter-label {
    justify-content: center;
  }
  .kh-filter-dropdown {
    width: 100%;
  }
  .kh-filter-dropdown-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .kh-filter-dropdown-menu {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    left: 0;
    transform: none;
  }
  @keyframes khFilterMenuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .kh-filter-reset-btn {
    justify-content: center;
  }
}

.kh-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.kh-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.kh-filter-pill:hover,
.kh-filter-pill:focus-visible {
  background-color: #C1282D;
  color: #ffffff;
  border-color: #C1282D;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.22);
  transform: translateY(-1px);
}

.kh-filter-pill.is-active {
  background-color: #C1282D;
  color: #ffffff;
  border-color: #C1282D;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.24);
}

.kh-filter-pill.is-active:hover,
.kh-filter-pill.is-active:focus-visible {
  background-color: #ffffff;
  color: #C1282D;
  border-color: #C1282D;
}

.kh-featured-card {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  margin-top: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.kh-featured-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 18px 40px rgba(193, 40, 45, 0.10);
}

.kh-featured-media {
  display: block;
  position: relative;
  min-height: 320px;
  background: #0f172a;
  overflow: hidden;
}

.kh-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.kh-featured-card:hover .kh-featured-media img {
  transform: scale(1.03);
}

.kh-featured-body {
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kh-featured-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.kh-badge-primary {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #c1282d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.kh-badge-subtle {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.kh-featured-title {
  font-size: 26px;
  font-weight: 850;
  line-height: 1.32;
  margin: 0 0 16px 0;
  color: #0f172a;
  text-align: left;
  text-wrap: balance;
}

.kh-featured-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.kh-featured-title a:hover {
  color: #c1282d;
}

.kh-featured-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 26px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kh-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

/* Strict Card Alignment & Footer Baseline (Rule 4) */
.sol-blog-card.kh-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kh-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.kh-card-meta-row .sol-blog-category {
  margin-bottom: 0;
}

.kh-read-time {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.sol-blog-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kh-load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
  width: 100%;
}

.public-blog-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.public-blog-load-more:hover,
.public-blog-load-more:focus-visible {
  background-color: #fef2f2;
  border-color: #c1282d;
  color: #c1282d;
  box-shadow: 0 6px 20px rgba(193, 40, 45, 0.18);
  transform: translateY(-2px);
}

.public-blog-load-more svg {
  color: #64748b;
  transition: transform 200ms ease, color 200ms ease;
}

.public-blog-load-more:hover svg,
.public-blog-load-more:focus-visible svg {
  color: #c1282d;
  transform: translateY(2px);
}

.kh-load-more-wrap [hidden],
.public-blog-load-more[hidden] {
  display: none !important;
}

.kh-card.is-blog-hidden,
.kh-featured-card.is-blog-hidden,
[data-blog-item].is-blog-hidden {
  display: none !important;
}

.sol-blog-card:not(.is-blog-hidden) {
  animation: khCardReveal 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes khCardReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kh-empty-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  max-width: 760px;
  margin: 16px auto 0 auto;
}

.kh-empty-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.kh-empty-box p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
}

/* 7. Dark Parallax Bridge & Action Bars */
.bridge-sol-item .kh-bridge-item-title {
  font-size: 17px;
  font-weight: 750;
  margin: 0 0 6px 0;
  line-height: 1.35;
  color: #ffffff !important;
  text-align: left;
  text-wrap: balance;
}

.bridge-sol-item .kh-bridge-item-title a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bridge-sol-item .kh-bridge-item-title a:hover {
  color: #fca5a5 !important;
}

.bridge-sol-item p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

.kh-dual-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.kh-matrix-cta-bar {
  margin-top: 28px;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.kh-matrix-cta-bar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  flex: 1;
}

.kh-section-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.kh-mt-36 {
  margin-top: 36px;
}

.kh-mt-40 {
  margin-top: 40px;
}

.kh-mt-48 {
  margin-top: 48px;
}

/* 8. Knowledge Hub Responsive & Mobile Parallax Fallback (Rule 6.3) */
@media (max-width: 1120px) {
  .kh-scent-grid,
  .kh-role-grid,
  .kh-pillar-three-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 989px) {
  .kh-hero-bg-wrap,
  .kh-hero-bg-wrap::after,
  .kh-dark-parallax .services-bridge-parallax-bg,
  .kh-dark-parallax .services-bridge-parallax-bg::after {
    position: absolute !important;
    transform: none !important;
    will-change: auto !important;
  }

  .kh-vs-pillars-grid,
  .kh-featured-card {
    grid-template-columns: 1fr;
  }

  .kh-featured-media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .kh-featured-body {
    padding: 28px 24px;
  }

  .kh-matrix-cta-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
  }

  .kh-matrix-cta-bar .sol-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .kh-scent-card,
  .kh-role-card,
  .kh-vs-card {
    padding: 24px 20px;
  }

  .kh-featured-title {
    font-size: 21px;
  }

  .kh-dual-actions,
  .kh-section-bottom-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kh-dual-actions .sol-btn,
  .kh-section-bottom-actions .sol-btn,
  .kh-featured-actions .sol-btn {
    width: 100%;
  }
}

/* ==========================================================================
   ABOUT PAGE (BOUTIQUE ENGINEERING & PRAGMATIC GROWTH STUDIO)
   Complies with docs/UI_DESIGN_RULES.md & AGENTS.md
   ========================================================================== */

/* 1. Hero Parallax (Handled cleanly by .sol-hero-section and .sol-hero-parallax-bg) */

/* 2. Frustration Grid (Interest) */
.about-frustration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-frustration-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.about-frustration-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.about-card-badge.danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.about-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.about-card-body {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.about-card-solution {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #c1282d;
  border-radius: 10px;
  padding: 14px 16px;
}

.about-card-solution .sol-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #c1282d;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about-card-solution p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #1e293b;
}

/* 3. Bento Grid (4 Core Pillars) */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.about-bento-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.about-bento-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.about-bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-bento-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: #c1282d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.about-bento-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.about-bento-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 20px 0;
}

.about-bento-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.about-bento-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  text-align: justify !important;
  text-align-last: left !important;
}

.about-bento-bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #c1282d;
  font-weight: 700;
  font-size: 16px;
}

.about-bento-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.about-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c1282d;
  text-decoration: none;
  transition: color 0.18s ease;
}

.about-inline-link svg {
  transition: transform 0.18s ease;
}

.about-inline-link:hover svg {
  transform: translateX(3px);
}

.about-inline-link.muted {
  color: #64748b;
  font-weight: 500;
}

.about-inline-link.muted:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* 4. Matrix Table Enhancements */
.about-matrix-wrap {
  margin-top: 48px;
}

.about-matrix-table td p {
  margin: 6px 0 0 0;
  line-height: 1.55;
}

.about-matrix-table .text-positive {
  color: #15803d;
  font-size: 13.5px;
}

.about-matrix-table .text-negative {
  color: #b91c1c;
  font-size: 13.5px;
  font-weight: 600;
}

/* 5. Culture & Careers Banner */
.about-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-culture-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.about-culture-icon {
  font-size: 28px;
  font-weight: 800;
  color: #fee2e2;
  -webkit-text-stroke: 1.5px #c1282d;
  margin-bottom: 14px;
  line-height: 1;
}

.about-culture-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.about-culture-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-careers-banner {
  margin-top: 44px;
  background: linear-gradient(135deg, #ffffff 0%, #fffbfb 100%);
  border: 1.5px solid #fecaca;
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 8px 30px rgba(193, 40, 45, 0.05);
}

.about-careers-content {
  max-width: 720px;
}

.about-careers-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c1282d;
  margin-bottom: 8px;
}

.about-careers-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.about-careers-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.about-careers-action {
  flex-shrink: 0;
}

/* 6. Text Justification Rule Enforcement */
.about-page p.justified-desc,
.about-page .about-card-body,
.about-page .about-bento-desc,
.about-page .about-matrix-table td p,
.about-page .about-culture-card p,
.about-page .sol-faq-answer p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* 7. Responsive Breakpoints */
@media (max-width: 989px) {
  .about-frustration-grid,
  .about-culture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-bento-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-careers-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
  }

  .about-careers-action .sol-btn {
    width: 100%;
  }
}
/* ==========================================================================
   CONTACT PAGE STYLES (TUÂN THỦ NGHIÊM NGẶT UI_DESIGN_RULES & BRAND IDENTITY)
   ========================================================================== */

/* 1. Contact Hero & Commitments (Handled cleanly by .sol-hero-section and .sol-hero-parallax-bg) */

.contact-commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.contact-commit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-commit-card:hover {
  transform: translateY(-2px);
  border-color: #e11d48;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.08);
}

.contact-commit-card .commit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-commit-card .commit-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-commit-card .commit-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.contact-commit-card .commit-text span {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

/* 2. Bento Grid: 4 Intent Topics */
.contact-intents-section {
  background: #ffffff;
}

.contact-intents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-intent-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-intent-card:hover {
  transform: translateY(-4px);
  border-color: #e11d48;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.08);
}

.contact-intent-card .intent-number {
  font-size: 28px;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 8px;
}

.contact-intent-card .intent-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 12px;
  line-height: 1.35;
}

.contact-intent-card .intent-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  flex-grow: 1;
  margin-bottom: 18px;
}

.contact-intent-card .intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-intent-card .intent-tags span {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.contact-intent-card .intent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e11d48;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.contact-intent-card .intent-link:hover {
  gap: 10px;
  color: #be123c;
}

/* 3. Main Interaction: Form & Corporate Info */
.contact-main-section {
  background: #f8fafc;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.contact-form-card .form-card-head {
  margin-bottom: 24px;
}

.contact-form-card .form-badge {
  display: inline-block;
  background: #fee2e2;
  color: #e11d48;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.contact-form-card .form-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 10px;
}

.contact-form-card .form-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
}

.modern-contact-form .form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.modern-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modern-contact-form .form-group.span-full {
  margin-bottom: 18px;
}

.modern-contact-form .field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.modern-contact-form .field-label .req {
  color: #e11d48;
}

.modern-contact-form .field-input,
.modern-contact-form .field-select,
.modern-contact-form .field-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-contact-form .field-input:focus,
.modern-contact-form .field-select:focus,
.modern-contact-form .field-textarea:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.modern-contact-form .field-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.modern-contact-form .form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* Button Inversion Rule: Red -> White with Red Border & Text */
.modern-contact-form .form-submit-btn {
  width: 100%;
  background: #e11d48 !important;
  color: #ffffff !important;
  border: 2px solid #e11d48 !important;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.modern-contact-form .form-submit-btn span {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.modern-contact-form .form-submit-btn svg {
  stroke: #ffffff !important;
  transition: stroke 0.2s ease;
}

.modern-contact-form .form-submit-btn:hover {
  background: #ffffff !important;
  color: #e11d48 !important;
  border-color: #e11d48 !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.15);
}

.modern-contact-form .form-submit-btn:hover span {
  color: #e11d48 !important;
}

.modern-contact-form .form-submit-btn:hover svg {
  stroke: #e11d48 !important;
}

.modern-contact-form .form-status-box {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.modern-contact-form .form-guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

.modern-contact-form .form-guarantee-note svg {
  flex-shrink: 0;
}

/* Right Column: Entity & Direct Channels */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-entity-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.contact-entity-card .entity-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.contact-entity-card .entity-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.contact-entity-card .entity-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
}

.contact-entity-card .entity-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-entity-card .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.contact-entity-card .detail-row:last-child {
  border-bottom: none;
}

.contact-entity-card .detail-label {
  color: #64748b;
  font-weight: 500;
}

.contact-entity-card .detail-value {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.contact-entity-card .highlight-tax {
  color: #e11d48;
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Direct Channels Card */
.contact-channels-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.contact-channels-card .channels-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.contact-channels-card .channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-channels-card .channel-item:last-child {
  margin-bottom: 0;
}

.contact-channels-card .channel-item:not(.non-link):hover {
  background: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08);
}

.contact-channels-card .channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channels-card .channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channels-card .channel-label {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.2;
}

.contact-channels-card .channel-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

/* Warranty & On-Call Card */
.contact-support-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 22px;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.contact-support-card .support-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.contact-support-card .support-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 0;
}

.contact-support-card .support-desc strong {
  color: #ffffff;
}

/* 4. Text Justification Enforcement */
.contact-page p.justified-desc,
.contact-page .sol-desc,
.contact-page .sol-hero-desc,
.contact-page .intent-desc,
.contact-page .form-desc,
.contact-page .support-desc,
.contact-page .sol-faq-answer p,
.contact-page .sol-article-excerpt {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* 5. Responsive Media Queries */
@media (max-width: 989px) {
  .contact-commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-intents-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .contact-commitments-grid {
    grid-template-columns: 1fr;
  }

  .modern-contact-form .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   FORM PLACEHOLDER HINT TYPOGRAPHY RULE
   Không bold (font-weight: 400), nghiêng nhẹ (font-style: italic),
   màu nhã nhặn tinh tế (#94a3b8)
   ========================================================================== */
.modern-contact-form .field-input::placeholder,
.modern-contact-form .field-textarea::placeholder,
.sol-field-input::placeholder,
.web-form-input::placeholder,
.web-form-textarea::placeholder,
.public-contact-form input::placeholder,
.public-contact-form textarea::placeholder,
.public-home-contact-form input::placeholder,
.public-home-contact-form textarea::placeholder,
.public-lead-input-wrap input::placeholder,
.public-lead-input-wrap textarea::placeholder,
.odoo-input-group input::placeholder,
.odoo-input-group textarea::placeholder,
.ebook-download-form input::placeholder,
.public-newsletter-form input::placeholder,
input::placeholder,
textarea::placeholder {
  font-weight: 400 !important;
  font-style: italic !important;
  color: #94a3b8 !important;
  opacity: 0.88 !important;
}

.modern-contact-form .field-input::-webkit-input-placeholder,
.modern-contact-form .field-textarea::-webkit-input-placeholder,
.sol-field-input::-webkit-input-placeholder,
.web-form-input::-webkit-input-placeholder,
.web-form-textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-weight: 400 !important;
  font-style: italic !important;
  color: #94a3b8 !important;
  opacity: 0.88 !important;
}

.modern-contact-form .field-input::-moz-placeholder,
.modern-contact-form .field-textarea::-moz-placeholder,
.sol-field-input::-moz-placeholder,
.web-form-input::-moz-placeholder,
.web-form-textarea::-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
  font-weight: 400 !important;
  font-style: italic !important;
  color: #94a3b8 !important;
  opacity: 0.88 !important;
}

.modern-contact-form .field-input:-ms-input-placeholder,
.modern-contact-form .field-textarea:-ms-input-placeholder,
.sol-field-input:-ms-input-placeholder,
.web-form-input:-ms-input-placeholder,
.web-form-textarea:-ms-input-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  font-weight: 400 !important;
  font-style: italic !important;
  color: #94a3b8 !important;
  opacity: 0.88 !important;
}

/* ==========================================================================
   PressUp Career Detail Page - Light Theme & B2B Engineering Spec
   Strictly adheres to UI_DESIGN_RULES.md, Button Inversion & AIDA standard
   ========================================================================== */

.career-detail-page.public-light-theme,
main.career-detail-page.public-light-theme {
  background: #f8fafc !important;
  background-image: none !important;
  color: #0f172a !important;
}

/* 1. Hero Section */
.career-detail-page .career-detail-hero-section {
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
}

.career-detail-page .career-main-title {
  color: #0f172a;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}

.career-detail-page .career-hero-summary {
  color: #475569;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 28px;
}

/* 4 Quick Specs Cards */
.career-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 32px;
}

.career-spec-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.career-spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.career-spec-card .spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.08);
  flex-shrink: 0;
}

.career-spec-card .spec-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.career-spec-card .spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
}

.career-spec-card .spec-val {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

/* Hero Action Buttons - Inversion Rule */
.career-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.career-hero-actions .sol-btn-primary {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border: 1.5px solid #e11d48 !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2);
}

.career-hero-actions .sol-btn-primary span,
.career-hero-actions .sol-btn-primary svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

.career-hero-actions .sol-btn-primary:hover {
  background-color: #ffffff !important;
  color: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
}

.career-hero-actions .sol-btn-primary:hover span,
.career-hero-actions .sol-btn-primary:hover svg {
  color: #e11d48 !important;
  stroke: currentColor !important;
}

.career-hero-actions .sol-btn-secondary {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

.career-hero-actions .sol-btn-secondary span {
  color: #0f172a !important;
}

.career-hero-actions .sol-btn-secondary:hover {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
}

.career-hero-actions .sol-btn-secondary:hover span {
  color: #ffffff !important;
}

/* 2. Main Section: 2 Columns */
.career-detail-main-section {
  background-color: #ffffff;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
}

.career-detail-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

/* Left Column: JD Card */
.career-jd-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.career-jd-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
}

.career-jd-head .jd-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.career-jd-head .jd-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 14px;
}

.career-jd-head .jd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.career-jd-head .jd-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Rich Content in JD */
.career-jd-rich {
  color: #334155;
  font-size: 15.5px;
  line-height: 1.75;
}

.career-jd-rich h2,
.career-jd-rich h3,
.career-jd-rich h4 {
  color: #0f172a;
  font-weight: 800;
  margin: 32px 0 14px;
  line-height: 1.3;
}

.career-jd-rich h2 {
  font-size: 21px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.career-jd-rich h3 {
  font-size: 18px;
}

.career-jd-rich p {
  margin: 0 0 16px;
}

.career-jd-rich ul,
.career-jd-rich ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.career-jd-rich li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.career-jd-rich strong {
  color: #0f172a;
  font-weight: 700;
}

/* Right Column: Sticky Sidebar */
.career-detail-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.career-promise-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
}

.career-promise-card .promise-badge {
  font-size: 11px;
  font-weight: 800;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.career-promise-card .promise-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 20px;
  line-height: 1.35;
}

.career-promise-card .promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.career-promise-card .promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.career-promise-card .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  flex-shrink: 0;
  margin-top: 2px;
}

.career-promise-card .promise-list li strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.career-promise-card .promise-list li p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.career-perks-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.career-perks-card .perks-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
}

.career-perks-card .perks-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.career-perks-card .perk-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

.career-perks-card .perk-bullet {
  color: #e11d48;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.career-contact-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}

.career-contact-box .box-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-contact-box .box-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13.5px;
  font-weight: 700;
  flex-wrap: wrap;
}

.career-contact-box .box-links a {
  color: #e11d48;
  text-decoration: none;
}

.career-contact-box .box-links a:hover {
  text-decoration: underline;
}

/* 3. Action Section: Modern Career Apply Form */
.career-detail-page .career-apply-section,
.career-apply-section {
  background: #f8fafc !important;
  background-image: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 68px 0;
  border-top: 1px solid #e2e8f0;
}

.career-apply-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.career-apply-head {
  margin-bottom: 34px;
}

.career-apply-head .sol-title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 12px;
}

form.modern-career-form,
.public-contact-form.modern-career-form,
.career-apply-form.modern-career-form {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
}

.modern-career-form .form-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
  width: 100% !important;
}

.modern-career-form .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.modern-career-form .span-full {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.modern-career-form .field-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  display: block;
}

.modern-career-form .field-input,
.modern-career-form .field-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.modern-career-form .field-input:focus,
.modern-career-form .field-textarea:focus {
  border-color: #e11d48;
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

/* Modern PDF Dropzone */
.career-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-dropzone:hover {
  border-color: #e11d48;
  background: #fff5f5;
}

.career-dropzone .dropzone-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.career-dropzone .dropzone-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  cursor: pointer;
}

.career-dropzone .dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.career-dropzone .dropzone-prompt {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.career-dropzone .dropzone-hint {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
}

/* Submit Button & Inversion */
.career-submit-btn {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border: 1.5px solid #e11d48 !important;
  border-radius: 10px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: 100%;
}

.career-submit-btn span,
.career-submit-btn svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

.career-submit-btn:hover {
  background-color: #ffffff !important;
  color: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.22);
}

.career-submit-btn:hover span,
.career-submit-btn:hover svg {
  color: #e11d48 !important;
  stroke: currentColor !important;
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  justify-content: center;
}

/* 4. Related Roles Section */
.career-detail-page .career-related-section {
  background: #f8fafc !important;
  background-image: none !important;
  margin-top: 0 !important;
  background-color: #f8fafc;
  padding: 60px 0 80px;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Breakpoints */
@media (max-width: 989px) {
  .career-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-detail-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .career-detail-sidebar {
    position: static;
  }

  .career-apply-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .career-specs-grid {
    grid-template-columns: 1fr;
  }

  .modern-career-form .form-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .career-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .career-hero-actions .sol-btn {
    width: 100%;
    justify-content: center;
  }

  .career-apply-wrapper {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .career-jd-card {
    padding: 24px 18px;
  }
}


/* Fix Post Rich Content Light Neutralization for Career JD */
.career-detail-page .post-rich-content.career-jd-rich,
.career-detail-page .career-jd-rich {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #334155 !important;
}

.career-detail-page .career-jd-rich p,
.career-detail-page .career-jd-rich li,
.career-detail-page .career-jd-rich span {
  color: #334155 !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

.career-detail-page .career-jd-rich h1,
.career-detail-page .career-jd-rich h2,
.career-detail-page .career-jd-rich h3,
.career-detail-page .career-jd-rich h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.career-detail-page .career-jd-rich h3 {
  font-size: 18px !important;
  margin-top: 26px !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}

.career-detail-page .career-jd-rich strong,
.career-detail-page .career-jd-rich b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.career-detail-page .career-jd-rich em,
.career-detail-page .career-jd-rich i {
  color: #334155 !important;
}

.career-detail-page .career-jd-rich a {
  color: #e11d48 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.career-detail-page .career-jd-rich blockquote {
  background: #f8fafc !important;
  border-left: 4px solid #e11d48 !important;
  color: #1e293b !important;
  padding: 16px 20px !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 24px 0 !important;
  font-style: italic !important;
}

.career-detail-page .career-jd-rich blockquote p,
.career-detail-page .career-jd-rich blockquote strong {
  color: #1e293b !important;
}

/* Related Career Cards Strict Alignment */
.career-detail-page .career-related-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.career-detail-page .career-related-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  border-color: #cbd5e1 !important;
}

.career-detail-page .career-related-card .sol-blog-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
}

.career-detail-page .career-related-card .sol-blog-title {
  min-height: calc(1.4em * 2) !important;
  max-height: calc(1.4em * 2) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 10px 0 12px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.career-detail-page .career-related-card .sol-blog-desc {
  min-height: calc(1.6em * 3) !important;
  max-height: calc(1.6em * 3) !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  color: #64748b !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

.career-detail-page .career-related-card .sol-blog-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.career-detail-page .career-related-card .sol-blog-link {
  color: #e11d48 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.career-detail-page .career-related-card:hover .sol-blog-link {
  gap: 10px !important;
}


/* ==========================================================================
   PressUp Ebook Detail Page - Light Theme & B2B Knowledge Architecture
   Adheres strictly to UI_DESIGN_RULES.md, Clean Service Layout, AIDA Standard
   ========================================================================== */

.ebook-detail-page.public-light-theme,
main.ebook-detail-page.public-light-theme {
  background: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  min-height: 100vh;
  padding-top: 76px !important; /* Proper clearance for fixed floating header */
}

/* 0. Top Breadcrumb Navigation */
.ebook-breadcrumb-wrap {
  background-color: #ffffff;
  padding-top: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f8fafc;
}

.ebook-breadcrumb-wrap .sol-breadcrumb {
  margin-bottom: 0 !important;
}

/* 1. Attention: Hero Section (Vertical Landscape Layout, Cover below Title, Description below Cover) */
.ebook-hero-section {
  background-color: #ffffff;
  padding: 16px 0 54px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ebook-hero-single-col {
  max-width: 960px;
  margin: 0 auto;
}

.ebook-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.ebook-hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ebook-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ebook-badge-neutral {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ebook-hero-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 900px;
  text-wrap: balance;
}

/* Ebook Landscape Cover below Title - Maintains 3:2 / 16:10 Natural Ratio */
.ebook-cover-landscape-wrap {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 28px auto;
}

.ebook-cover-landscape-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-cover-landscape-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 55px -12px rgba(15, 23, 42, 0.18);
}

.ebook-cover-landscape-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.ebook-cover-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

/* Ebook Summary below Cover - strictly follows UI_DESIGN_RULES justify text */
.ebook-hero-summary-wrap {
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.ebook-hero-summary {
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.75;
  color: #334155;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}

/* 4 Quick Specs Cards: 4 columns on desktop */
.ebook-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 30px auto;
}

.ebook-spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left;
}

.ebook-spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.ebook-spec-card .spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ebook-spec-card .spec-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ebook-spec-card .spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
}

.ebook-spec-card .spec-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2px;
}

/* Hero Action Buttons - Inversion Rule */
.ebook-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ebook-hero-actions .sol-btn-primary {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border: 1.5px solid #e11d48 !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2);
}

.ebook-hero-actions .sol-btn-primary span,
.ebook-hero-actions .sol-btn-primary svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

.ebook-hero-actions .sol-btn-primary:hover {
  background-color: #ffffff !important;
  color: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
}

.ebook-hero-actions .sol-btn-primary:hover span,
.ebook-hero-actions .sol-btn-primary:hover svg {
  color: #e11d48 !important;
  stroke: currentColor !important;
}

.ebook-hero-actions .sol-btn-secondary {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

.ebook-hero-actions .sol-btn-secondary span {
  color: #0f172a !important;
}

.ebook-hero-actions .sol-btn-secondary:hover {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
}

.ebook-hero-actions .sol-btn-secondary:hover span {
  color: #ffffff !important;
}

.ebook-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
}

.ebook-trust-row .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ebook-cover-placeholder.landscape {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ebook-cover-placeholder .placeholder-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f43f5e;
  font-weight: 700;
}

.ebook-cover-placeholder .placeholder-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.ebook-cover-placeholder .placeholder-author {
  font-size: 12px;
  color: #94a3b8;
}

.ebook-cover-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #e11d48;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.ebook-cover-caption {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 12px;
  font-style: italic;
}

/* 2. Interest: What Inside Key Takeaways */
.ebook-takeaways-section {
  background-color: #f8fafc;
  padding: 68px 0;
  border-bottom: 1px solid #e2e8f0;
}

.ebook-takeaways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.takeaway-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.takeaway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.takeaway-num {
  font-size: 28px;
  font-weight: 900;
  color: rgba(225, 29, 72, 0.22);
  line-height: 1;
  margin-bottom: 14px;
  font-family: monospace;
}

.takeaway-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.takeaway-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 3. Desire: Executive Summary & Detailed Content */
.ebook-content-section {
  background-color: #ffffff;
  padding: 68px 0;
}

.ebook-prose-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  max-width: 960px;
  margin: 0 auto 48px auto;
}

.ebook-prose-head {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.ebook-prose-head .prose-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ebook-prose-head .prose-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 12px;
}

.ebook-prose-head .prose-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #64748b;
  font-size: 13px;
}

.ebook-prose-head .meta-dot {
  color: #cbd5e1;
}

/* Neutralize Post Rich Content in Ebook */
.ebook-detail-page .post-rich-content.ebook-jd-rich,
.ebook-detail-page .ebook-jd-rich {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #334155 !important;
}

.ebook-detail-page .ebook-jd-rich p,
.ebook-detail-page .ebook-jd-rich li,
.ebook-detail-page .ebook-jd-rich span {
  color: #334155 !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

.ebook-detail-page .ebook-jd-rich strong,
.ebook-detail-page .ebook-jd-rich b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.ebook-detail-page .ebook-jd-rich em,
.ebook-detail-page .ebook-jd-rich i {
  color: #334155 !important;
}

.ebook-detail-page .ebook-jd-rich h1,
.ebook-detail-page .ebook-jd-rich h2,
.ebook-detail-page .ebook-jd-rich h3,
.ebook-detail-page .ebook-jd-rich h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
  margin: 28px 0 12px !important;
}

.ebook-detail-page .ebook-jd-rich h2 {
  font-size: 22px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.ebook-detail-page .ebook-jd-rich h3 {
  font-size: 18px !important;
}

.ebook-detail-page .ebook-jd-rich a {
  color: #e11d48 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.ebook-detail-page .ebook-jd-rich blockquote {
  background: #f8fafc !important;
  border-left: 4px solid #e11d48 !important;
  color: #1e293b !important;
  padding: 16px 20px !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 24px 0 !important;
  font-style: italic !important;
}

.ebook-detail-page .ebook-jd-rich blockquote p,
.ebook-detail-page .ebook-jd-rich blockquote strong {
  color: #1e293b !important;
}

.ebook-detail-page .ebook-jd-rich code {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  font-size: 0.9em !important;
}

.ebook-detail-page .ebook-jd-rich pre {
  background: #0f172a !important;
  color: #f8fafc !important;
  padding: 18px !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
}

.ebook-detail-page .ebook-jd-rich pre code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

.ebook-detail-page .ebook-jd-rich table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 24px 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.ebook-detail-page .ebook-jd-rich th {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-align: left !important;
}

.ebook-detail-page .ebook-jd-rich td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #334155 !important;
  font-size: 14px !important;
}

/* Light Theme PDF Slide Viewer */
.ebook-viewer-card {
  max-width: 960px;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ebook-viewer-card .viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.ebook-viewer-card .viewer-badge {
  font-size: 11px;
  font-weight: 800;
  color: #e11d48;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.ebook-viewer-card .viewer-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* 3. Slide Preview: Modern Tablet Mockup & Ergonomic Bottom Controls */
.ebook-detail-page .ebook-viewer-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  margin-top: 36px !important;
}

.ebook-detail-page .ebook-preview-frame.modern-slide-viewer,
.modern-slide-viewer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  background: #0b0f19 !important;
  border: 1px solid #1e293b !important;
  border-radius: 20px !important;
  padding: 20px 20px 22px 20px !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.25) !important;
  margin: 0 auto !important;
  max-width: 1040px !important;
  width: 100% !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
  touch-action: pan-y !important;
  overscroll-behavior: auto !important;
}

.modern-slide-viewer .ebook-slide-stage {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  background: #020617 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  cursor: pointer !important;
  touch-action: pan-y !important;
  overscroll-behavior: auto !important;
}

.modern-slide-viewer .ebook-slide-stage canvas {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  background: #ffffff !important;
  border-radius: 6px !important;
}

/* Bottom Center Controls Bar - Never overflows, ergonomic touch target, zero GPU blur lag */
.ebook-detail-page .modern-slide-viewer .ebook-slide-controls,
.modern-slide-viewer .ebook-slide-controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 4px auto 0 auto !important;
  padding: 6px 16px !important;
  background: #1e293b !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  align-self: center !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.modern-slide-viewer .ebook-slide-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
}

.modern-slide-viewer .ebook-slide-button svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  transition: transform 0.2s ease !important;
}

.modern-slide-viewer .ebook-slide-button.btn-prev:hover:not(:disabled) svg {
  transform: translateX(-2px) !important;
}

.modern-slide-viewer .ebook-slide-button.btn-next:hover:not(:disabled) svg {
  transform: translateX(2px) !important;
}

.modern-slide-viewer .ebook-slide-button:hover:not(:disabled) {
  background: #e11d48 !important;
  color: #ffffff !important;
  border-color: #e11d48 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45) !important;
}

.modern-slide-viewer .ebook-slide-button:active:not(:disabled) {
  transform: scale(0.96) !important;
}

.modern-slide-viewer .ebook-slide-button:disabled {
  opacity: 0.25 !important;
  cursor: not-allowed !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.modern-slide-viewer .ebook-slide-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #e2e8f0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 10px !important;
  min-width: 80px !important;
  justify-content: center !important;
  letter-spacing: 0.02em !important;
  user-select: none !important;
}

.modern-slide-viewer .slide-count-current {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.modern-slide-viewer .slide-count-divider {
  color: #64748b !important;
  font-weight: 400 !important;
  margin: 0 2px !important;
}

.modern-slide-viewer .slide-count-total {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

/* Neutralize legacy landscape media queries for modern-slide-viewer */
@media (orientation: landscape), (min-width: 990px) and (orientation: landscape) {
  .ebook-detail-page .ebook-slide-viewer.modern-slide-viewer,
  .modern-slide-viewer {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }

  .ebook-detail-page .modern-slide-viewer .ebook-slide-controls,
  .modern-slide-viewer .ebook-slide-controls {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-self: center !important;
    width: auto !important;
  }
}

/* 4. Action: Modern Ebook Download Form */
.ebook-detail-page .ebook-download-section {
  background-color: #f8fafc !important;
  background-image: none !important;
  padding: 72px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 0 !important;
}

.ebook-download-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

.ebook-download-head {
  margin-bottom: 34px;
}

form.modern-ebook-form,
.public-contact-form.modern-ebook-form,
.ebook-download-form.modern-ebook-form {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
}

.modern-ebook-form .form-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

.modern-ebook-form .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.modern-ebook-form .field-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}

/* Ngăn .public-contact-form ::after tự chèn thêm dấu * thứ 2 khi đã có .req-star */
.modern-ebook-form label:has(:is(input, select, textarea)[required]) > span:first-child::after {
  content: none !important;
  display: none !important;
}

.modern-ebook-form .req-star {
  color: #e11d48 !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.modern-ebook-form .field-input,
.ebook-download-form.modern-ebook-form input.field-input {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.modern-ebook-form .field-input:focus,
.ebook-download-form.modern-ebook-form input.field-input:focus {
  border-color: #e11d48 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12) !important;
}

.modern-ebook-form .form-actions {
  width: 100% !important;
  margin-top: 4px !important;
}

.ebook-submit-btn {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border: 1.5px solid #e11d48 !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  min-height: 50px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}

.ebook-submit-btn span,
.ebook-submit-btn svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

.ebook-submit-btn:hover {
  background-color: #ffffff !important;
  color: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.22);
}

.ebook-submit-btn:hover span,
.ebook-submit-btn:hover svg {
  color: #e11d48 !important;
  stroke: currentColor !important;
}

.ebook-form-footer {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: center !important;
  text-align: center !important;
  margin-top: 18px !important;
}

.ebook-form-footer .form-guarantee-note {
  margin-top: 0 !important;
  justify-content: center !important;
}

.direct-download-hint {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px !important;
  align-items: center !important;
  font-size: 13px !important;
  color: #64748b !important;
}

.direct-download-hint .direct-link {
  color: #e11d48 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.direct-download-hint .direct-link:hover {
  text-decoration: underline !important;
}

/* 5. Related Ebooks Section */
.ebook-detail-page .ebook-related-section {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 68px 0 80px;
  border-top: 1px solid #e2e8f0;
  margin-top: 0 !important;
}

.ebook-detail-page .ebook-related-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.ebook-detail-page .ebook-related-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  border-color: #cbd5e1 !important;
}

.ebook-detail-page .ebook-related-card .sol-blog-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
}

.ebook-detail-page .ebook-related-card .sol-blog-title {
  min-height: calc(1.4em * 2) !important;
  max-height: calc(1.4em * 2) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 10px 0 12px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.ebook-detail-page .ebook-related-card .sol-blog-desc {
  min-height: calc(1.6em * 3) !important;
  max-height: calc(1.6em * 3) !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  color: #64748b !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

.ebook-detail-page .ebook-related-card .sol-blog-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.ebook-detail-page .ebook-related-card .sol-blog-link {
  color: #e11d48 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.ebook-detail-page .ebook-related-card:hover .sol-blog-link {
  gap: 10px !important;
}

/* Responsive Media Queries */
@media (max-width: 989px) {
  .ebook-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebook-takeaways-grid {
    grid-template-columns: 1fr;
  }

  .ebook-prose-card,
  .ebook-viewer-card,
  .ebook-download-wrapper {
    padding: 32px 24px;
  }
}

.ebook-detail-page .ebook-jd-rich .tableWrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  overscroll-behavior-x: contain !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.ebook-detail-page .ebook-jd-rich table,
.ebook-detail-page .ebook-jd-rich table.rich-table {
  background-color: #ffffff !important;
  background-image: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.ebook-detail-page .ebook-jd-rich > table {
  margin: 24px 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.ebook-detail-page .ebook-jd-rich thead th,
.ebook-detail-page .ebook-jd-rich th {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  text-align: left !important;
  vertical-align: top !important;
}

.ebook-detail-page .ebook-jd-rich th:last-child {
  border-right: none !important;
}

.ebook-detail-page .ebook-jd-rich tbody tr {
  background-color: #ffffff !important;
}

.ebook-detail-page .ebook-jd-rich tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.ebook-detail-page .ebook-jd-rich tbody tr:hover {
  background-color: #f1f5f9 !important;
}

.ebook-detail-page .ebook-jd-rich td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 14px !important;
  background-color: transparent !important;
  vertical-align: top !important;
}

.ebook-detail-page .ebook-jd-rich th p,
.ebook-detail-page .ebook-jd-rich td p {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-align-last: left !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.ebook-detail-page .ebook-jd-rich td:last-child {
  border-right: none !important;
}

.ebook-detail-page .ebook-jd-rich tr:last-child td {
  border-bottom: none !important;
}

@media (max-width: 640px) {
  .ebook-specs-grid {
    grid-template-columns: 1fr;
  }

  .modern-ebook-form .form-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ebook-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ebook-hero-actions .sol-btn {
    width: 100%;
    justify-content: center;
  }

  .ebook-prose-card,
  .ebook-download-wrapper {
    padding: 22px 16px !important;
    border-radius: 14px !important;
  }

  .ebook-detail-page .ebook-viewer-card {
    padding: 20px 14px !important;
    border-radius: 16px !important;
    margin-top: 24px !important;
  }

  .ebook-detail-page .ebook-preview-frame.modern-slide-viewer,
  .modern-slide-viewer {
    padding: 10px 10px 14px 10px !important;
    border-radius: 14px !important;
    gap: 12px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
  }

  .modern-slide-viewer .ebook-slide-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .ebook-detail-page .ebook-jd-rich th,
  .ebook-detail-page .ebook-jd-rich td {
    padding: 9px 10px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   PressUp Standard Blog Detail Page - Light Theme & B2B Knowledge Architecture
   Adheres strictly to UI_DESIGN_RULES.md, Clean Service Layout, AIDA Standard
   ========================================================================== */

.blog-detail-page.public-light-theme,
main.blog-detail-page.public-light-theme {
  background: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  min-height: 100vh;
  padding-top: 76px !important; /* Proper clearance for fixed floating header */
}

/* 0. Top Breadcrumb Navigation */
.blog-breadcrumb-wrap {
  background-color: #ffffff;
  padding-top: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f8fafc;
}

.blog-breadcrumb-wrap .sol-breadcrumb {
  margin-bottom: 0 !important;
}

/* 1. Attention: Hero Section (Vertical Landscape Layout, Cover below Title, Description below Cover) */
.blog-hero-section {
  background-color: #ffffff;
  padding: 16px 0 48px 0;
  border-bottom: 1px solid #f1f5f9;
}

.blog-hero-single-col {
  max-width: 960px;
  margin: 0 auto;
}

.blog-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.blog-hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.blog-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-badge-brand .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #e11d48;
}

.blog-badge-neutral {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.blog-hero-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 920px;
  text-wrap: balance;
  text-align: center;
}

/* Blog Landscape Cover below Title - Maintains 3:2 / 16:9 Natural Ratio */
.blog-cover-landscape-wrap {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 28px auto;
}

.blog-cover-landscape-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cover-landscape-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 55px -12px rgba(15, 23, 42, 0.18);
}

.blog-cover-landscape-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.blog-cover-placeholder.landscape {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
  min-height: 360px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  text-align: center;
  gap: 12px;
}

.blog-cover-placeholder .placeholder-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f43f5e;
  font-weight: 800;
}

.blog-cover-placeholder .placeholder-title {
  font-size: 24px;
  max-width: 600px;
  line-height: 1.35;
}

.blog-cover-placeholder .placeholder-author {
  font-size: 13px;
  color: #94a3b8;
}

.blog-cover-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.blog-cover-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

/* Blog Summary below Cover - strictly follows UI_DESIGN_RULES justify text */
.blog-hero-summary-wrap {
  max-width: 900px;
  margin: 0 auto 26px auto;
}

.blog-hero-summary {
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.75;
  color: #334155;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
}

/* Meta Box: Author, Date, Reading time & Tag Pills */
.blog-meta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin: 0 auto 28px auto;
  max-width: 960px;
}

.blog-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-author-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.blog-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.blog-meta-sub {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
}

.blog-tag-pill:hover {
  border-color: #e11d48;
  color: #e11d48;
  background: #fff5f5;
}

/* Quick Actions: CTA & Sharing Group */
.blog-hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.blog-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.blog-share-btn.icon-only {
  padding: 10px 12px !important;
}

/* 2. Desire: Article Content Section */
.blog-content-section {
  padding: 48px 0 72px 0;
  background-color: #ffffff;
}

.blog-prose-card {
  max-width: 940px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px 54px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.03);
}

.blog-author-byline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #e11d48;
  border-radius: 0 14px 14px 0;
  margin-bottom: 36px;
}

.author-badge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #e11d48;
}

.author-byline-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

.byline-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  background: #ffffff;
}

.byline-avatar.is-brand-logo {
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
}

.blog-author-avatar.is-brand-logo {
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  background: #ffffff;
}

.byline-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}

.byline-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  text-align: justify !important;
  text-align-last: left !important;
}

/* Blog Prose Rich Typography Neutralization */
.blog-detail-page .post-rich-content.blog-jd-rich,
.blog-detail-page .blog-jd-rich {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.blog-detail-page .blog-jd-rich p,
.blog-detail-page .blog-jd-rich li,
.blog-detail-page .blog-jd-rich span {
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

.blog-detail-page .blog-jd-rich h1,
.blog-detail-page .blog-jd-rich h2,
.blog-detail-page .blog-jd-rich h3,
.blog-detail-page .blog-jd-rich h4,
.blog-detail-page .blog-jd-rich h5 {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em;
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.blog-detail-page .blog-jd-rich h2 {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.blog-detail-page .blog-jd-rich h3 {
  font-size: clamp(19px, 1.8vw, 22px) !important;
}

.blog-detail-page .blog-jd-rich strong,
.blog-detail-page .blog-jd-rich b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.blog-detail-page .blog-jd-rich em,
.blog-detail-page .blog-jd-rich i {
  color: #334155 !important;
}

.blog-detail-page .blog-jd-rich a {
  color: #e11d48 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.15s ease;
}

.blog-detail-page .blog-jd-rich a:hover {
  color: #be123c !important;
}

.blog-detail-page .blog-jd-rich blockquote {
  background: #f8fafc !important;
  border-left: 4px solid #e11d48 !important;
  color: #1e293b !important;
  padding: 18px 24px !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 28px 0 !important;
  font-style: italic !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.blog-detail-page .blog-jd-rich blockquote p,
.blog-detail-page .blog-jd-rich blockquote strong {
  color: #1e293b !important;
}

.blog-detail-page .blog-jd-rich ul,
.blog-detail-page .blog-jd-rich ol {
  padding-left: 24px !important;
  margin: 18px 0 !important;
}

.blog-detail-page .blog-jd-rich li {
  margin-bottom: 8px !important;
}

/* Rich Tables in Blog Detail: 4-Border Enclosure, Non-Cropped Mobile */
.blog-detail-page .blog-jd-rich .tableWrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  overscroll-behavior-x: contain !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.blog-detail-page .blog-jd-rich table,
.blog-detail-page .blog-jd-rich table.rich-table {
  background-color: #ffffff !important;
  background-image: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.blog-detail-page .blog-jd-rich thead th,
.blog-detail-page .blog-jd-rich th {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  text-align: left !important;
  vertical-align: top !important;
}

.blog-detail-page .blog-jd-rich th:last-child {
  border-right: none !important;
}

.blog-detail-page .blog-jd-rich tbody tr {
  background-color: #ffffff !important;
}

.blog-detail-page .blog-jd-rich tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.blog-detail-page .blog-jd-rich tbody tr:hover {
  background-color: #f1f5f9 !important;
}

.blog-detail-page .blog-jd-rich td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 14px !important;
  background-color: transparent !important;
  vertical-align: top !important;
}

.blog-detail-page .blog-jd-rich th p,
.blog-detail-page .blog-jd-rich td p {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: 1.5 !important;
  text-align: left !important;
  text-align-last: left !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.blog-detail-page .blog-jd-rich td:last-child {
  border-right: none !important;
}

.blog-detail-page .blog-jd-rich tr:last-child td {
  border-bottom: none !important;
}

/* 3. Action: Blog CTA Section */
.blog-detail-page .blog-cta-section {
  background-color: #f8fafc !important;
  background-image: none !important;
  padding: 68px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 0 !important;
}

.blog-cta-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.blog-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #475569;
}

.blog-trust-row .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 4. Retention: Related Articles Grid */
.blog-detail-page .blog-related-section {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 68px 0 84px;
  border-top: 1px solid #e2e8f0;
  margin-top: 0 !important;
}

.blog-detail-page .blog-related-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.blog-detail-page .blog-related-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  border-color: #cbd5e1 !important;
}

.blog-detail-page .blog-related-card .sol-blog-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 22px !important;
}

.blog-detail-page .blog-related-card .sol-blog-title {
  min-height: calc(1.4em * 2) !important;
  max-height: calc(1.4em * 2) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 10px 0 12px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.blog-detail-page .blog-related-card .sol-blog-desc {
  min-height: calc(1.6em * 3) !important;
  max-height: calc(1.6em * 3) !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  color: #64748b !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

.blog-detail-page .blog-related-card .sol-blog-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.blog-detail-page .blog-related-card .sol-blog-link {
  color: #e11d48 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.blog-detail-page .blog-related-card:hover .sol-blog-link {
  gap: 10px !important;
}

/* Responsive Media Queries */
@media (max-width: 989px) {
  .blog-prose-card,
  .blog-cta-card {
    padding: 36px 28px !important;
  }

  .blog-meta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .blog-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .blog-hero-actions .sol-btn,
  .blog-share-group {
    width: 100%;
    justify-content: center;
  }

  .blog-share-group .blog-share-btn:first-child {
    flex: 1;
  }

  .blog-prose-card,
  .blog-cta-card {
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }

  .blog-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .blog-cta-actions .sol-btn {
    width: 100%;
    justify-content: center;
  }

  .blog-detail-page .blog-jd-rich th,
  .blog-detail-page .blog-jd-rich td {
    padding: 9px 10px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   FAQS PAGE (TRANSPARENT TECHNICAL & ARCHITECTURE FAQ HUB)
   Tuân thủ nghiêm ngặt AGENTS.md & docs/UI_DESIGN_RULES.md
   - Public Light Theme (#ffffff / #f8fafc)
   - Rule 2: Button Inversion (Primary & Secondary)
   - Rule 3: Text Justification (.justified-desc)
   - Rule 5: Accordion 100% closed by default on initial page load
   - Rule 6: Soft-white overlay parallax
   - Clean 2-column sticky layout on Desktop, responsive select on Mobile
   ========================================================================== */

.faqs-page,
main.faqs-page {
  background-color: #ffffff !important;
  color: #0f172a !important;
  min-height: 100vh;
  padding-top: 76px !important;
}

/* 1. Hero Parallax */
.faqs-hero {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  background-color: #f8fafc;
  padding: 20px 0 clamp(50px, 6vw, 76px) 0;
  border-bottom: 1px solid #e2e8f0;
}

.faqs-hero .sol-hero-content {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.faqs-hero .sol-breadcrumb {
  margin-bottom: 24px;
}

.faqs-hero .sol-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fef2f2;
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 20px;
}

.faqs-hero .sol-hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

.faqs-hero .sol-hero-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 auto 20px auto;
  max-width: 980px;
}

.faqs-hero .sol-hero-desc {
  font-size: 16.5px;
  line-height: 1.7;
  color: #475569;
  max-width: 860px;
  margin: 0 auto 36px auto;
}

/* 4 SLA Commitment Cards */
.faqs-commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}

.faqs-commit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faqs-commit-card:hover {
  transform: translateY(-2px);
  border-color: #e11d48;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.08);
}

.faqs-commit-card .commit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e11d48;
}

.faqs-commit-card .commit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faqs-commit-card .commit-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.faqs-commit-card .commit-text span {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

/* 2. Main FAQ Section */
.faqs-main-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background-color: #fafbfd;
  border-bottom: 1px solid #e2e8f0;
}

.faqs-mobile-selector-wrap {
  display: none;
  margin-bottom: 32px;
  position: relative;
  z-index: 40;
}

.faqs-custom-select {
  position: relative;
  width: 100%;
}

.faqs-custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-align: left;
}

.faqs-custom-select-trigger:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}

.faqs-custom-select-trigger:focus,
.faqs-custom-select.is-open .faqs-custom-select-trigger {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.14);
  background-color: #ffffff;
}

.trigger-label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.trigger-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #e11d48;
  background: #fff1f2;
  border-radius: 8px;
  flex-shrink: 0;
}

.trigger-text {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trigger-count {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  flex-shrink: 0;
}

.trigger-chevron {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faqs-custom-select.is-open .trigger-chevron {
  transform: rotate(180deg);
  color: #e11d48;
}

/* Dropdown Menu Container */
.faqs-custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 8px;
  z-index: 100;
  overscroll-behavior: contain;
  animation: faqsDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faqs-custom-options[hidden] {
  display: none !important;
}

@keyframes faqsDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Individual Option Button */
.faqs-custom-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.faqs-custom-option:hover {
  background-color: #f1f5f9;
}

.faqs-custom-option.is-active {
  background-color: #fff1f2;
}

.option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  flex-shrink: 0;
}

.faqs-custom-option.is-active .option-badge {
  color: #e11d48;
  background: #ffe4e6;
}

.option-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faqs-custom-option.is-active .option-title {
  color: #e11d48;
  font-weight: 700;
}

.option-count {
  font-size: 12.5px;
  color: #94a3b8;
  flex-shrink: 0;
}

.option-check {
  color: #e11d48;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.faqs-custom-option.is-active .option-check {
  opacity: 1;
  transform: scale(1);
}

/* 2-Column Desktop Grid */
.faqs-main-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 50px;
}

/* Left Column: Sticky Sidebar Nav */
.faqs-sidebar-nav {
  position: sticky;
  top: 96px;
  z-index: 10;
}

.faqs-nav-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.faqs-nav-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.faqs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faqs-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.faqs-nav-item:hover,
.faqs-nav-item.active {
  background: #fff1f2;
  color: #e11d48;
}

.faqs-nav-item:hover .nav-idx,
.faqs-nav-item.active .nav-idx {
  color: #e11d48;
}

.faqs-nav-item:hover .nav-count,
.faqs-nav-item.active .nav-count {
  background: #fee2e2;
  color: #e11d48;
}

.faqs-nav-item .nav-idx {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.faqs-nav-item .nav-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faqs-nav-item .nav-count {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.faqs-nav-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faqs-nav-footer .nav-footer-tip {
  font-size: 12px;
  color: #94a3b8;
}

.faqs-nav-footer .nav-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #e11d48;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.faqs-nav-footer .nav-footer-link:hover {
  gap: 10px;
}

/* Right Column: FAQ Groups Container */
.faqs-groups-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faqs-group-block {
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faqs-group-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.faqs-group-banner .group-badge-num {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  font-weight: 800;
  color: #e11d48;
  background: #fff1f2;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.faqs-group-banner .group-heading-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faqs-group-banner .group-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #94a3b8;
}

.faqs-group-banner .group-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0 0 0;
  line-height: 1.3;
}

.faqs-group-banner .group-total-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Accordion Card List */
.faqs-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faqs-accordion-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faqs-accordion-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.faqs-accordion-card[open] {
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.06);
}

.faqs-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.faqs-summary::-webkit-details-marker {
  display: none;
}

.faqs-summary:hover {
  background: #fbfcfe;
}

.faqs-summary .summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.faqs-summary .faq-q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.faqs-accordion-card[open] .faq-q-mark {
  background: #e11d48;
  color: #ffffff;
}

.faqs-summary .faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faqs-accordion-card[open] .faq-q-text {
  color: #e11d48;
}

.faqs-summary .summary-right {
  flex-shrink: 0;
}

.faqs-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.faqs-accordion-card[open] .faqs-toggle-btn {
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.2);
  color: #e11d48;
  transform: rotate(45deg);
}

.faqs-answer-content {
  border-top: 1px solid #f1f5f9;
  padding: 20px 22px 24px 22px;
  background: #fafafa;
}

.faqs-answer-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

/* Empty State */
.faqs-empty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 60px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.faqs-empty-card .empty-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff1f2;
  margin-bottom: 20px;
}

.faqs-empty-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

/* 3. Action Section: CTA Card with Button Inversion */
.faqs-cta-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.faqs-cta-card {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 56px 40px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.faqs-cta-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.faqs-cta-card .sol-eyebrow {
  color: #fb7185;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.faqs-cta-card .sol-title {
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 auto 16px auto;
  max-width: 840px;
}

.faqs-cta-card .sol-desc {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.68;
}

.faqs-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Button Inversion Rule inside Dark CTA Card */
.faqs-cta-actions .sol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.faqs-cta-actions .sol-btn svg {
  transition: transform 180ms ease;
  fill: currentColor;
  stroke: currentColor;
}

.faqs-cta-actions .sol-btn:hover svg {
  transform: translateX(3px);
}

.faqs-cta-actions .sol-btn-primary {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border: 1px solid #c1282d !important;
  box-shadow: 0 4px 14px rgba(193, 40, 45, 0.35);
}

.faqs-cta-actions .sol-btn-primary:hover,
.faqs-cta-actions .sol-btn-primary:focus-visible {
  background-color: #ffffff !important;
  color: #c1282d !important;
  border-color: #c1282d !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.faqs-cta-actions .sol-btn-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
}

.faqs-cta-actions .sol-btn-secondary:hover,
.faqs-cta-actions .sol-btn-secondary:focus-visible {
  background-color: #c1282d !important;
  color: #ffffff !important;
  border-color: #c1282d !important;
  box-shadow: 0 6px 20px rgba(193, 40, 45, 0.35);
  transform: translateY(-1px);
}

/* Trust Strip */
.faqs-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.faqs-trust-row .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
}

/* 4. Ecosystem Section */
.faqs-ecosystem-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background-color: #fafbfd;
}

.faqs-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.faqs-ecosystem-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.faqs-ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: #e11d48;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.08);
}

.faqs-ecosystem-card .eco-num {
  font-family: var(--font-mono, monospace);
  font-size: 28px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.faqs-ecosystem-card:hover .eco-num {
  color: #fecdd3;
}

.faqs-ecosystem-card .eco-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.faqs-ecosystem-card .eco-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex: 1;
}

.faqs-ecosystem-card .eco-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #e11d48;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.faqs-ecosystem-card:hover .eco-link {
  gap: 12px;
}

/* Text Justification Enforcement */
.faqs-page p.justified-desc,
.faqs-page .sol-desc,
.faqs-page .sol-hero-desc,
.faqs-page .faqs-answer-body p,
.faqs-page .eco-desc {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* 5. Responsive Media Queries */
@media (max-width: 1024px) {
  .faqs-commitments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faqs-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faqs-sidebar-nav {
    display: none;
  }

  .faqs-mobile-selector-wrap {
    display: block;
  }

  .faqs-ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .faqs-commitments-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faqs-group-banner {
    padding: 14px 16px;
    gap: 12px;
  }

  .faqs-group-banner .group-title {
    font-size: 17px;
  }

  .faqs-group-banner .group-total-pill {
    display: none;
  }

  .faqs-summary {
    padding: 14px 16px;
    gap: 12px;
  }

  .faqs-summary .faq-q-mark {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .faqs-summary .faq-q-text {
    font-size: 14.5px;
  }

  .faqs-toggle-btn {
    width: 28px;
    height: 28px;
  }

  .faqs-answer-content {
    padding: 16px;
  }

  .faqs-cta-card {
    padding: 36px 20px;
    border-radius: 16px;
  }

  .faqs-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .faqs-cta-actions .sol-btn {
    width: 100%;
    justify-content: center;
  }

  .faqs-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 989px), (orientation: portrait) {
  body .public-header.public-header:not(.is-open) {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }

  .public-header:not(.is-open) .public-nav-button span {
    background: #c1282d !important;
  }

  body .public-header.public-header.is-open {
    background:
      radial-gradient(circle at 18% 8%, rgba(193, 40, 45, 0.22), transparent 28%),
      radial-gradient(circle at 86% 82%, rgba(14, 165, 233, 0.12), transparent 32%),
      linear-gradient(145deg, rgba(7, 10, 16, 0.98), rgba(0, 0, 0, 0.985)) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .public-header.is-open .public-nav-button span {
    background: #ffffff !important;
  }

  .public-header-home .public-nav-button {
    display: inline-grid;
  }

  .public-header-home:not(.is-open) .public-nav {
    display: none;
  }
}

@media (min-width: 990px) and (orientation: portrait) {
  body.public-menu-lock { overflow: hidden; }
  .public-header { grid-template-columns: minmax(0, 1fr) auto; }
  .public-header .public-nav-button { display: inline-grid; gap: 5px; grid-column: 2; justify-self: end; padding: 10px; }
  .public-header .public-nav-button span { background: #0f172a; border-radius: 999px; display: block; height: 2px; width: 24px; }
  .public-header:not(.is-open) .public-nav,
  .public-header:not(.is-open) .public-header-actions { display: none; }
  .public-header.is-open .public-nav,
  .public-header.is-open .public-header-actions { display: flex; flex-direction: column; grid-column: 1 / -1; grid-row: auto; justify-self: stretch; align-items: stretch; gap: 12px; }
  .public-header.is-open .public-nav { max-height: calc(100svh - 180px); overflow-y: auto; }
}

@media (max-width: 989px) and (orientation: portrait) {
  .public-header.is-open .public-header-actions .lang-link {
    grid-row: 1;
    min-height: 0;
  }
}

@media (max-width: 989px), (orientation: portrait) {
  .public-request-dialog .public-contact-form label:has([data-request-service]) {
    grid-row: 3;
  }
}

.public-request-service-picker {
  position: relative;
  width: 100%;
}

.public-request-service-trigger {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  min-height: 46px;
  padding: 12px 13px;
  text-align: left;
  width: 100%;
}

.public-request-service-trigger.is-placeholder {
  color: #64748b;
}

.public-request-service-trigger:focus-visible {
  border-color: rgba(193, 40, 45, 0.68);
  box-shadow: 0 0 0 3px rgba(193, 40, 45, 0.13);
  outline: none;
}

.public-request-service-trigger svg {
  flex: 0 0 16px;
  height: 16px;
  margin-left: 12px;
  transition: transform 160ms ease;
  width: 16px;
}

.public-request-service-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.public-request-service-options {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  display: grid;
  left: 0;
  margin-top: 4px;
  max-height: 185px;
  overflow-y: auto;
  padding: 4px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.public-request-service-options[hidden] {
  display: none;
}

.public-request-service-options button {
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.public-request-service-options button:hover,
.public-request-service-options button:focus-visible,
.public-request-service-options button[aria-selected="true"] {
  background: #fef2f2;
  color: #a01d22;
  outline: none;
}

@media (max-width: 989px), (orientation: portrait) {
  .public-request-service-trigger {
    min-height: 42px;
    padding: 10px 11px;
  }

  .public-request-service-options button {
    padding: 8px 9px;
  }

  .partner-card img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   MOBILE STACKED CARD TABLES (<= 768px) - TÁCH DÒNG TRÊN MOBILE, PC GIỮ NGUYÊN
   Áp dụng đồng bộ cho toàn bộ 17 bảng so sánh / ma trận trên 15 trang Public
   ========================================================================== */
@media (max-width: 768px) {
  html body .sol-table-wrap,
  html body .odoo-compare-table-wrap,
  html body .web-comparison-table-wrap,
  html body .ads-table-wrapper,
  html body .ai-table-wrapper,
  html body .ai-matrix-table-wrap {
    overflow-x: visible !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  html body table.sol-table,
  html body table.odoo-compare-table,
  html body table.web-comparison-table,
  html body table.ads-compare-table,
  html body table.ai-compare-table,
  html body table.ai-matrix-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }

  html body table.sol-table thead,
  html body table.odoo-compare-table thead,
  html body table.web-comparison-table thead,
  html body table.ads-compare-table thead,
  html body table.ai-compare-table thead,
  html body table.ai-matrix-table thead {
    display: none !important;
  }

  html body table.sol-table tbody,
  html body table.odoo-compare-table tbody,
  html body table.web-comparison-table tbody,
  html body table.ads-compare-table tbody,
  html body table.ai-compare-table tbody,
  html body table.ai-matrix-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
  }

  html body table.sol-table tbody tr,
  html body table.odoo-compare-table tbody tr,
  html body table.web-comparison-table tbody tr,
  html body table.ads-compare-table tbody tr,
  html body table.ai-compare-table tbody tr,
  html body table.ai-matrix-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
    padding: 0 0 6px 0 !important;
  }

  /* Dòng 1: Tiêu chí / Chỉ số đánh giá (Header của Thẻ) */
  html body table.sol-table tbody tr > th:first-child,
  html body table.sol-table tbody tr > td:first-child,
  html body table.odoo-compare-table tbody tr > th:first-child,
  html body table.odoo-compare-table tbody tr > td:first-child,
  html body table.web-comparison-table tbody tr > th:first-child,
  html body table.web-comparison-table tbody tr > td:first-child,
  html body table.ads-compare-table tbody tr > th:first-child,
  html body table.ads-compare-table tbody tr > td:first-child,
  html body table.ai-compare-table tbody tr > th:first-child,
  html body table.ai-compare-table tbody tr > td:first-child,
  html body table.ai-matrix-table tbody tr > th:first-child,
  html body table.ai-matrix-table tbody tr > td:first-child {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #cbd5e1 !important;
    text-align: left !important;
    text-align-last: left !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  html body table.sol-table tbody tr > th:first-child::before,
  html body table.sol-table tbody tr > td:first-child::before,
  html body table.odoo-compare-table tbody tr > th:first-child::before,
  html body table.odoo-compare-table tbody tr > td:first-child::before,
  html body table.web-comparison-table tbody tr > th:first-child::before,
  html body table.web-comparison-table tbody tr > td:first-child::before,
  html body table.ads-compare-table tbody tr > th:first-child::before,
  html body table.ads-compare-table tbody tr > td:first-child::before,
  html body table.ai-compare-table tbody tr > th:first-child::before,
  html body table.ai-compare-table tbody tr > td:first-child::before,
  html body table.ai-matrix-table tbody tr > th:first-child::before,
  html body table.ai-matrix-table tbody tr > td:first-child::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 4px;
  }

  /* Các dòng so sánh thông thường */
  html body table.sol-table tbody tr > td:not(:first-child),
  html body table.odoo-compare-table tbody tr > td:not(:first-child),
  html body table.web-comparison-table tbody tr > td:not(:first-child),
  html body table.ads-compare-table tbody tr > td:not(:first-child),
  html body table.ai-compare-table tbody tr > td:not(:first-child),
  html body table.ai-matrix-table tbody tr > td:not(:first-child) {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    text-align: justify !important;
    text-align-last: left !important;
    background: #ffffff !important;
  }

  html body table.sol-table tbody tr > td:not(:first-child):last-child,
  html body table.odoo-compare-table tbody tr > td:not(:first-child):last-child,
  html body table.web-comparison-table tbody tr > td:not(:first-child):last-child,
  html body table.ads-compare-table tbody tr > td:not(:first-child):last-child,
  html body table.ai-compare-table tbody tr > td:not(:first-child):last-child,
  html body table.ai-matrix-table tbody tr > td:not(:first-child):last-child {
    border-bottom: none !important;
  }

  html body table.sol-table tbody tr > td:not(:first-child)::before,
  html body table.odoo-compare-table tbody tr > td:not(:first-child)::before,
  html body table.web-comparison-table tbody tr > td:not(:first-child)::before,
  html body table.ads-compare-table tbody tr > td:not(:first-child)::before,
  html body table.ai-compare-table tbody tr > td:not(:first-child)::before,
  html body table.ai-matrix-table tbody tr > td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
    text-align: left !important;
  }

  /* Dòng giải pháp PressUp Highlight: Đóng khung viền đỏ đậm 3px khép kín 4 cạnh (Rule 7.1) */
  html body table.sol-table tbody tr > td.td-highlight,
  html body table.sol-table tbody tr > td.highlight,
  html body table.odoo-compare-table tbody tr > td.highlight,
  html body table.web-comparison-table tbody tr > td.highlight,
  html body table.ads-compare-table tbody tr > td.highlight-col,
  html body table.ai-compare-table tbody tr > td.highlight-col {
    width: calc(100% - 24px) !important;
    margin: 10px 12px !important;
    padding: 14px 16px !important;
    background-color: #fff5f5 !important;
    color: #0f172a !important;
    border: 3px solid #c1282d !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(193, 40, 45, 0.12) !important;
  }

  html body table.sol-table tbody tr > td.td-highlight::before,
  html body table.sol-table tbody tr > td.highlight::before,
  html body table.odoo-compare-table tbody tr > td.highlight::before,
  html body table.web-comparison-table tbody tr > td.highlight::before,
  html body table.ads-compare-table tbody tr > td.highlight-col::before,
  html body table.ai-compare-table tbody tr > td.highlight-col::before {
    color: #c1282d !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px dashed rgba(193, 40, 45, 0.3) !important;
  }
}
