:root {
  --brand-red: #c03040;
  --brand-red-dark: #942637;
  --ink: #111111;
  --muted: #66666a;
  --line: #dedbd6;
  --paper: #ffffff;
  --soft: #f5f4f1;
  --charcoal: #171717;
  --steel: #30343a;
  --blue: #174bb6;
  --yellow: #f2c400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: min(360px, 44vw);
}

.brand-mark {
  display: none;
}

.brand-logo {
  width: clamp(220px, 24vw, 340px);
  height: auto;
}

.brand strong,
.brand small {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: #272727;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #f8f8f6;
  background-image: url("assets/polyper-3d-product-family.png?v=20260611b");
  background-position: center 56%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.72) 44%, rgba(12, 12, 12, 0.18) 78%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.42), rgba(12, 12, 12, 0.02));
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(10px, 1.4vw, 22px);
  background: var(--brand-red);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px - clamp(18px, 7vw, 92px)));
  padding: clamp(72px, 12vw, 138px) 0 clamp(46px, 8vw, 86px);
  margin-left: clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbdc6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: min(680px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--brand-red);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-red-dark);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  padding: 0;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 146px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-red);
  background: rgba(0, 0, 0, 0.32);
}

.hero-stats dt {
  font-size: 1.04rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.section {
  padding: clamp(48px, 6vw, 84px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(36px, 5vw, 62px) 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.split p:last-child,
.section-heading p,
.photo-layout p,
.capability-layout p,
.quote-layout p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 28px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: end center;
  height: 230px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f6f6f3 0%, #ece9e4 100%);
}

.product-visual::before {
  position: absolute;
  inset: auto auto 24px 50%;
  width: var(--w, 110px);
  height: var(--h, 155px);
  border: 4px solid rgba(17, 17, 17, 0.18);
  border-radius: var(--shape, 24px 24px 18px 18px);
  background: var(--fill, #e9ebe8);
  box-shadow: inset -18px -18px 0 rgba(0, 0, 0, 0.08), 0 18px 28px rgba(0, 0, 0, 0.1);
  content: "";
  transform: translateX(-50%);
}

.product-visual::after {
  position: absolute;
  left: 50%;
  bottom: calc(24px + var(--h, 155px) - 2px);
  width: 34px;
  height: 22px;
  border: 4px solid rgba(17, 17, 17, 0.18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--fill, #e9ebe8);
  content: "";
  transform: translateX(-50%);
}

.product-visual.product-render::before,
.product-visual.product-render::after {
  display: none;
}

.product-render img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
}

.product-visual.def {
  --fill: #edf0ec;
  --w: 144px;
  --h: 128px;
  --shape: 18px 18px 14px 14px;
}

.product-visual.chemical-large {
  --fill: var(--yellow);
  --w: 124px;
  --h: 162px;
  --shape: 28px 28px 16px 16px;
}

.product-visual.chemical-mid {
  --fill: #f3f1e7;
  --w: 112px;
  --h: 168px;
  --shape: 48px 48px 18px 18px;
}

.product-visual.gallon {
  --fill: #f4f2e8;
  --w: 108px;
  --h: 150px;
  --shape: 54px 54px 18px 18px;
}

.product-visual.fstyle {
  --fill: var(--blue);
  --w: 144px;
  --h: 132px;
  --shape: 18px 18px 12px 12px;
}

.product-visual.oil {
  --fill: #101216;
  --w: 92px;
  --h: 136px;
  --shape: 18px 38px 12px 12px;
}

.product-body {
  padding: 22px;
}

.product-body p {
  min-height: 78px;
  margin-bottom: 16px;
  color: var(--muted);
}

.product-body span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-link:hover,
.product-link:focus-visible {
  color: var(--brand-red);
}

.extended-products {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: clamp(30px, 5vw, 52px);
  border-top: 1px solid var(--line);
}

.extended-copy h3 {
  max-width: 520px;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.extended-copy p:last-child {
  max-width: 540px;
  color: var(--muted);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.opportunity-grid article {
  min-height: 142px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.opportunity-grid strong,
.opportunity-grid span {
  display: block;
}

.opportunity-grid strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.98rem;
}

.opportunity-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.photo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.tooling-photo {
  margin: 0;
}

.tooling-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center 42%;
}

.tooling-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  padding-left: 16px;
  border-left: 3px solid var(--brand-red);
  font-weight: 700;
}

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.section-dark .section-heading p,
.section-dark .process-step p {
  color: rgba(255, 255, 255, 0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step span {
  display: block;
  margin-bottom: 42px;
  color: #ffbdc6;
  font-weight: 800;
}

.motion-section {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

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

.motion-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.motion-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.motion-card div {
  padding: 20px;
}

.motion-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.capability-layout,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.spec-table {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table strong {
  color: var(--ink);
}

.spec-table span {
  color: var(--muted);
}

.video-panel {
  overflow: hidden;
  border: 1px solid #262b32;
  background: #111;
  color: #fff;
}

.video-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.video-panel div {
  padding: 22px;
}

.video-panel span {
  display: block;
  color: #ffbdc6;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.video-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 2.1rem;
  line-height: 1.05;
}

.video-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.markets-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.market-grid article {
  min-height: 230px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8f8f6 100%);
}

.market-grid h3 {
  margin-top: 0;
  font-size: 1.04rem;
}

.market-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.seo-panels article {
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-red);
  background: var(--soft);
}

.seo-panels span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-panels h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.seo-panels p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faq-grid details {
  border: 1px solid var(--line);
  background: #fff;
}

.faq-grid summary {
  min-height: 54px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-grid details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-grid p {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--muted);
}

.keyword-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.keyword-link-grid a {
  display: flex;
  min-height: 84px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.keyword-link-grid a:hover,
.keyword-link-grid a:focus-visible {
  border-color: var(--brand-red);
  outline: 3px solid rgba(192, 48, 64, 0.14);
}

.landing-hero {
  padding: clamp(72px, 11vw, 132px) 0 clamp(42px, 7vw, 72px);
  background:
    linear-gradient(90deg, rgba(18, 20, 24, 0.9), rgba(18, 20, 24, 0.72)),
    url("assets/polyper-3d-product-family.png?v=20260611b") center / cover;
  color: #fff;
}

.landing-hero .section-inner {
  width: min(1040px, calc(100% - 36px));
}

.landing-hero h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.landing-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.landing-content {
  padding: clamp(42px, 7vw, 82px) 0;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.landing-main {
  display: grid;
  gap: 34px;
}

.landing-main article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.landing-main article:last-child {
  border-bottom: 0;
}

.landing-main p,
.landing-main li,
.landing-aside p {
  color: var(--muted);
}

.landing-main ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.landing-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.landing-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.landing-product-image {
  width: 100%;
  max-height: 220px;
  margin-bottom: 18px;
  object-fit: contain;
}

.landing-card .button {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.related-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.related-links a {
  color: var(--brand-red);
  font-weight: 800;
  text-decoration: none;
}

.related-links a:hover,
.related-links a:focus-visible {
  text-decoration: underline;
}

.quote-section {
  background: var(--soft);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #2f2f32;
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #c9c7c2;
  border-radius: 4px;
  padding: 12px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--brand-red);
  outline: 3px solid rgba(192, 48, 64, 0.14);
}

.quote-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.quote-status.is-ready {
  color: var(--brand-red);
}

.quote-status.is-error {
  color: #9f1f2f;
}

.direct-contact {
  display: grid;
  gap: 10px;
  width: min(480px, 100%);
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--brand-red);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.direct-contact a,
.footer-contact a,
.chat-direct-contact a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.direct-contact span {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  padding: 26px 0;
  background: #0f0f0f;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner > div,
.footer-contact {
  display: grid;
  gap: 6px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  width: 168px;
  height: auto;
  margin-bottom: 12px;
}

.footer-inner strong {
  display: block;
  color: #fff;
}

.footer-contact {
  margin: 0;
  text-align: right;
  font-style: normal;
}

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

.chat-widget {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 30;
  font-family: Arial, Helvetica, sans-serif;
}

.chat-widget [hidden] {
  display: none !important;
}

.chat-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.chat-launch span {
  position: relative;
  width: 22px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.chat-launch span::after {
  position: absolute;
  right: 4px;
  bottom: -7px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: var(--brand-red);
  content: "";
  transform: rotate(45deg);
}

.chat-launch strong {
  font-size: 0.92rem;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(420px, calc(100vw - 28px));
  height: min(680px, calc(100vh - 96px));
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: #111;
  color: #fff;
}

.chat-header .eyebrow {
  margin-bottom: 4px;
  color: #ffbdc6;
}

.chat-header h2 {
  margin: 0;
  font-size: 1.18rem;
}

.chat-close {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.chat-close::before,
.chat-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  content: "";
}

.chat-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.chat-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.chat-lead-form {
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.chat-intro {
  margin-bottom: 16px;
  color: var(--muted);
}

.chat-lead-form {
  display: grid;
  gap: 12px;
}

.chat-lead-form label {
  display: grid;
  gap: 6px;
  color: #252527;
  font-size: 0.84rem;
  font-weight: 800;
}

.chat-lead-form input,
.chat-lead-form select,
.chat-lead-form textarea,
.chat-message-form input {
  width: 100%;
  border: 1px solid #c9c7c2;
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.chat-lead-form textarea {
  resize: vertical;
}

.chat-lead-form input:focus,
.chat-lead-form select:focus,
.chat-lead-form textarea:focus,
.chat-message-form input:focus {
  border-color: var(--brand-red);
  outline: 3px solid rgba(192, 48, 64, 0.14);
}

.chat-conversation {
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto auto auto;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 4px;
}

.chat-message {
  max-width: 88%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.chat-message.assistant {
  justify-self: start;
  background: var(--soft);
  color: #272727;
}

.chat-message.user {
  justify-self: end;
  background: var(--brand-red);
  color: #fff;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-quick-actions button,
.chat-copy,
.chat-quote-link {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #272727;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.chat-quick-actions button:hover,
.chat-copy:hover,
.chat-quote-link:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.chat-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.chat-message-form button {
  position: relative;
  border: 0;
  border-radius: 4px;
  background: var(--brand-red);
  cursor: pointer;
}

.chat-message-form button::before {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 13px;
  height: 13px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chat-direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-direct-contact a:hover {
  color: var(--brand-red);
}

.chat-quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .product-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .photo-layout,
  .capability-layout,
  .quote-layout,
  .extended-products,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .motion-grid {
    grid-template-columns: 1fr;
  }

  .market-grid,
  .seo-panels,
  .keyword-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-aside {
    position: static;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(270px, 76vw);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(270px, 76vw);
  }

  .hero {
    min-height: 82vh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.6) 100%);
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    padding-top: 72px;
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .product-grid,
  .process-grid,
  .opportunity-grid,
  .market-grid,
  .seo-panels,
  .keyword-link-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 56px;
  }

  .product-body p {
    min-height: auto;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .chat-launch {
    margin-left: auto;
  }

  .chat-panel {
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100vh - 92px);
  }
}
