:root {
  --pl-bg: #f5f1e8;
  --pl-ink: #1f2a24;
  --pl-muted: #5e685f;
  --pl-surface: #fffdf8;
  --pl-line: rgba(31, 42, 36, 0.1);
  --pl-accent: #0f766e;
  --pl-shadow: 0 24px 60px rgba(31, 42, 36, 0.12);
  --pl-radius: 28px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(201, 106, 61, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f2e8 0%, #f3eee4 45%, #f8f5ef 100%);
  color: var(--pl-ink);
}

.product-nav {
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
}

.product-shell {
  padding: 32px 0 72px;
}

.page-section {
  margin-top: 28px;
}

.section-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 118, 110, 0.14), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(201, 106, 61, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--pl-accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-title {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--pl-muted);
}

.hero-description {
  max-width: 720px;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: #354038;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 780px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-meta {
  margin-top: 30px;
}

.hero-primary-btn,
.hero-secondary-btn {
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
}

.hero-primary-btn {
  background: var(--pl-accent);
  border-color: var(--pl-accent);
}

.hero-primary-btn:hover,
.hero-primary-btn:focus {
  background: #0b5c56;
  border-color: #0b5c56;
}

.hero-secondary-btn {
  background: transparent;
  color: var(--pl-ink);
  border: 1px solid rgba(31, 42, 36, 0.18);
}

.hero-meta-pill {
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 42, 36, 0.08);
  color: #314039;
  font-weight: 600;
}

.hero-tag-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 42, 36, 0.06);
  border: 1px solid rgba(31, 42, 36, 0.08);
  color: rgba(31, 42, 36, 0.72);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-visual {
  min-height: 100%;
  padding: 22px;
}

.hero-visual-frame {
  height: 100%;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.14), rgba(201, 106, 61, 0.12)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 42, 36, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-fallback {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: grid;
  gap: 16px;
  align-content: center;
}

.hero-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(31, 42, 36, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.section-head {
  margin-bottom: 20px;
}

.section-kicker {
  color: var(--pl-accent);
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-text {
  margin-top: 8px;
  color: var(--pl-muted);
  max-width: 760px;
}

.highlight-card,
.workflow-card,
.spec-card,
.compare-card,
.final-cta-card {
  height: 100%;
  padding: 24px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--pl-line);
  border-radius: 24px;
}

.highlight-card strong,
.workflow-card strong,
.spec-card strong {
  display: block;
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.technical-doc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.technical-doc-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.technical-doc-link:hover,
.technical-doc-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 28px 54px rgba(31, 42, 36, 0.16);
}

.technical-doc-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--pl-accent);
  font-size: 1.45rem;
}

.technical-doc-icon.is-pdf {
  background: rgba(220, 53, 69, 0.12);
  color: #c62828;
}

.technical-doc-icon.is-excel {
  background: rgba(25, 135, 84, 0.12);
  color: #1b8f5a;
}

.technical-doc-icon.is-word {
  background: rgba(13, 110, 253, 0.12);
  color: #0b63d1;
}

.technical-doc-icon.is-image {
  background: rgba(255, 193, 7, 0.18);
  color: #b7791f;
}

.technical-doc-icon.is-generic {
  background: rgba(108, 117, 125, 0.12);
  color: #5c6670;
}

.technical-doc-actions {
  display: none;
}

.required-modules-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.required-modules-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.required-modules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.required-module-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.14);
  color: #204138;
  font-weight: 600;
}

.workflow-index {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--pl-accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.compare-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.compare-card.is-old {
  background: rgba(255, 244, 238, 0.92);
}

.compare-card.is-new {
  background: rgba(238, 249, 247, 0.94);
}

.compare-list,
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare-list li,
.spec-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.compare-list li + li,
.spec-list li + li {
  margin-top: 14px;
}

.compare-list i,
.spec-list i {
  margin-top: 2px;
}

.product-story {
  padding: 18px;
}

.story-panel {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.story-panel.is-reversed .story-copy {
  order: 2;
}

.story-panel.is-reversed .story-media {
  order: 1;
}

.story-copy,
.story-media {
  min-height: 100%;
}

.story-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 800;
}

.story-copy p {
  margin: 0;
  color: #38443d;
  line-height: 1.8;
}

.story-media {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(201, 106, 61, 0.14)),
    rgba(255, 255, 255, 0.7);
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.story-media-fallback {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pl-muted);
  font-weight: 700;
}

.spec-card small {
  display: block;
  color: var(--pl-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.spec-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.final-cta-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(201, 106, 61, 0.08)),
    rgba(255, 253, 248, 0.94);
}

.empty-state {
  padding: 34px;
  text-align: center;
  color: var(--pl-muted);
}

@media (max-width: 991.98px) {
  .hero-inner {
    padding: 28px;
  }

  .story-panel {
    grid-template-columns: 1fr;
  }

  .story-panel.is-reversed .story-copy,
  .story-panel.is-reversed .story-media {
    order: initial;
  }

  .story-copy {
    padding: 26px;
  }

  .hero-visual {
    padding: 0 28px 28px;
  }

  .hero-visual-frame img,
  .story-media img {
    height: auto;
    min-height: 0;
    max-height: 70vh;
    object-fit: contain;
    object-position: center;
  }
}
