/* NeoGateway Platform page — distinct from landing (home.css) */

.page-platform {
  --pf-red: var(--brand-red);
  --pf-ink: var(--ink-950);
  --pf-line: var(--border-default);
  --pf-soft: var(--surface-muted);
  --pf-tech: var(--surface-technical);
}

.page-platform .section {
  padding-block: clamp(32px, 4vw, 56px);
}

.page-platform .pf-section__header {
  margin-bottom: var(--space-5);
  max-width: 38rem;
}

.page-platform .pf-section__header .lead {
  margin-bottom: 0;
}

.page-platform .eyebrow {
  margin-bottom: var(--space-2);
}

/* ── Reveal ── */
[data-platform-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-platform-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  [data-platform-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

.pf-section__link {
  margin: var(--space-4) 0 0;
}

.pf-section__link a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: var(--text-ui);
  text-decoration: none;
  color: var(--croem-red);
}

.pf-section__link a:hover {
  color: var(--brand-red-hover);
}

/* ═══════════════════════════════════════
   Hero
   ═══════════════════════════════════════ */

.pf-hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.pf-hero__grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--surface-soft) 0%, #fff 70%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(16, 24, 32, 0.035) 47px,
      rgba(16, 24, 32, 0.035) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(16, 24, 32, 0.035) 47px,
      rgba(16, 24, 32, 0.035) 48px
    );
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  pointer-events: none;
}

.pf-hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 992px) {
  .pf-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-8);
  }
}

.pf-hero__copy {
  max-width: 36rem;
}

.pf-hero__copy h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pf-hero__copy .lead {
  margin-bottom: 0;
}

/* Architecture visual — linear flow */

.pf-arch {
  margin: 0;
}

.pf-arch__canvas {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #101820 0%, #1a242c 55%, #243038 100%);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  min-height: 280px;
  display: grid;
  align-items: center;
}

.pf-arch__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.pf-arch__flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.pf-arch__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
}

.pf-arch__step:not(:last-child) {
  margin-bottom: 1.15rem;
}

.pf-arch__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.95rem;
  width: 1px;
  height: 0.7rem;
  background: linear-gradient(180deg, rgba(249, 53, 73, 0.8), rgba(255, 255, 255, 0.25));
  transform: translateX(-50%);
}

.pf-arch__step--core {
  border-color: rgba(213, 0, 55, 0.5);
  background: linear-gradient(120deg, rgba(213, 0, 55, 0.24), rgba(16, 24, 32, 0.45));
  padding: 1rem 1.1rem;
}

.pf-arch__step--core strong {
  font-size: 1rem;
  color: #fff;
}

.pf-arch__step--core em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pf-arch__step--finance {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .pf-arch__step {
    animation: pf-arch-in 0.5s ease both;
  }

  .pf-arch__step:nth-child(1) { animation-delay: 0.05s; }
  .pf-arch__step:nth-child(2) { animation-delay: 0.12s; }
  .pf-arch__step:nth-child(3) { animation-delay: 0.2s; }
  .pf-arch__step:nth-child(4) { animation-delay: 0.28s; }
  .pf-arch__step:nth-child(5) { animation-delay: 0.36s; }
}

@keyframes pf-arch-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════
   Layer map (interactive blueprint)
   ═══════════════════════════════════════ */

.pf-layers {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 992px) {
  .pf-layers {
    grid-template-columns: minmax(14rem, 0.9fr) 1.4fr;
    gap: var(--space-6);
    align-items: start;
  }
}

.pf-layers__nav {
  display: grid;
  gap: 0.5rem;
}

.pf-layers__tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid var(--pf-line);
  border-radius: var(--radius);
  background: var(--surface-white);
  color: var(--text-primary);
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pf-layers__tab:hover {
  border-color: rgba(213, 0, 55, 0.35);
}

.pf-layers__tab[aria-selected="true"] {
  border-color: rgba(213, 0, 55, 0.45);
  background: var(--brand-red-muted);
  box-shadow: var(--shadow-soft);
}

.pf-layers__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--pf-tech);
  color: var(--croem-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.pf-layers__tab[aria-selected="true"] .pf-layers__num {
  background: var(--croem-red);
  color: #fff;
}

.pf-layers__panel {
  padding: var(--space-5);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-soft);
  min-height: 18rem;
}

.pf-layers__panel-head {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.pf-layers__panel-head h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.35rem;
}

.pf-layers__panel-head p:not(.eyebrow) {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 1rem;
}

.pf-layers__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}

.pf-layers__caps li {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--pf-soft);
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}

.pf-layers__connect {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--pf-line);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pf-layers__connect-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--ff-head);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--croem-red);
}

/* ═══════════════════════════════════════
   Configuration explorer
   ═══════════════════════════════════════ */

.pf-config {
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pf-config__layout {
  display: flex;
  flex-direction: column;
}

.pf-config__nav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--pf-line);
}

.pf-config__level {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--pf-line);
  border-left: 3px solid transparent;
  background: var(--surface-white);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pf-config__level:last-child {
  border-bottom: 0;
}

.pf-config__level:hover {
  background: var(--pf-soft);
}

.pf-config__level:focus-visible {
  outline: 2px solid var(--croem-focus);
  outline-offset: -2px;
  z-index: 1;
}

.pf-config__level.is-active {
  background: var(--brand-red-muted);
  border-left-color: var(--croem-red);
}

.pf-config__level-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--pf-tech);
  color: var(--text-muted);
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
}

.pf-config__level.is-active .pf-config__level-num {
  background: var(--croem-red);
  color: #fff;
}

.pf-config__level-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.pf-config__level-copy strong {
  font-family: var(--ff-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  pointer-events: none;
}

.pf-config__level-copy span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-secondary);
  pointer-events: none;
}

.pf-config__level-mark {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.pf-config__level.is-active .pf-config__level-mark {
  background: var(--croem-red);
  box-shadow: 0 0 0 4px var(--brand-red-soft);
}

.pf-config__panels {
  background: var(--surface-soft);
}

.pf-config__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.35rem;
  box-sizing: border-box;
}

.pf-config__panel[hidden] {
  display: none !important;
}

.pf-config__panel-head {
  margin-bottom: var(--space-4);
  max-width: 40rem;
}

.pf-config__panel-head h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
}

.pf-config__panel-head p:not(.eyebrow) {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

.pf-config__scope {
  margin-bottom: var(--space-5);
}

.pf-config__scope-label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--ff-head);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--croem-red);
}

.pf-config__relations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pf-config__relations li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--surface-white);
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pf-config__groups {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

@media (min-width: 640px) {
  .pf-config__groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pf-config__group h4 {
  margin: 0 0 var(--space-3);
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--croem-red);
}

.pf-config__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pf-config__caps li {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.pf-config__note {
  margin: auto 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--croem-red);
  background: var(--surface-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .pf-config__panel.is-active {
    animation: pf-config-panel-in 0.2s ease both;
  }
}

@keyframes pf-config-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Desktop: full-height right panel aligned with hierarchy */
@media (min-width: 992px) {
  .pf-config__layout {
    display: grid;
    grid-template-columns: minmax(15rem, 34%) minmax(0, 66%);
    align-items: stretch;
  }

  .pf-config__nav {
    border-bottom: 0;
    border-right: 1px solid var(--pf-line);
    height: 100%;
  }

  .pf-config__level {
    flex: 1 1 auto;
    min-height: 4.75rem;
  }

  .pf-config__panels {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    background: var(--surface-soft);
  }

  .pf-config__panel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    padding: var(--space-6);
  }

  .pf-config__panel.is-active {
    display: flex !important;
  }

  .pf-config__groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════
   Merchant lifecycle
   ═══════════════════════════════════════ */

.pf-life {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
}

@media (min-width: 640px) {
  .pf-life {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .pf-life {
    grid-template-columns: repeat(8, 1fr);
    gap: 0;
  }
}

.pf-life__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  padding: 0.35rem;
}

@media (min-width: 992px) {
  .pf-life__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.7rem;
    left: calc(50% + 0.7rem);
    right: calc(-50% + 0.7rem);
    height: 1px;
    background: linear-gradient(90deg, var(--croem-red), var(--border-strong));
  }
}

.pf-life__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--surface-white);
  border: 2px solid var(--croem-red);
  box-shadow: 0 0 0 4px var(--brand-red-muted);
  z-index: 1;
}

.pf-life__label {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pf-life__caps {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .pf-life__caps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pf-life__caps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pf-life__caps li {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--croem-red);
  background: var(--surface-white);
  border-top: 1px solid var(--pf-line);
  border-right: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   Settlement flow
   ═══════════════════════════════════════ */

.pf-settle {
  position: relative;
}

.pf-settle__track {
  display: grid;
  gap: 0.65rem;
  margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
  .pf-settle__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .pf-settle__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pf-settle__step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--pf-line);
  border-radius: var(--radius);
  background: var(--surface-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pf-settle__step.is-active {
  border-color: rgba(213, 0, 55, 0.4);
  background: var(--brand-red-muted);
  box-shadow: var(--shadow-soft);
}

.pf-settle__marker {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--border-strong);
}

.pf-settle__step.is-active .pf-settle__marker {
  background: var(--croem-red);
  box-shadow: 0 0 0 4px var(--brand-red-soft);
}

.pf-settle__text {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.pf-settle__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pf-settle__caps li {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--pf-soft);
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-secondary);
}

.pf-settle__pulse {
  display: none;
}

/* ═══════════════════════════════════════
   Operational visibility + roles
   ═══════════════════════════════════════ */

.pf-ops {
  display: grid;
  gap: var(--space-5);
}

.pf-zoom {
  display: grid;
  gap: var(--space-4);
}

.pf-zoom__nav {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 768px) {
  .pf-zoom__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pf-zoom__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pf-zoom__tab {
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--pf-line);
  border-radius: var(--radius);
  background: var(--surface-white);
  color: var(--text-primary);
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pf-zoom__tab:hover {
  border-color: rgba(213, 0, 55, 0.35);
}

.pf-zoom__tab[aria-selected="true"] {
  border-color: rgba(213, 0, 55, 0.45);
  background: var(--brand-red-muted);
  box-shadow: var(--shadow-soft);
}

.pf-zoom__panel {
  padding: var(--space-5);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-soft);
}

.pf-zoom__caps {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .pf-zoom__caps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pf-zoom__caps li {
  position: relative;
  padding: 0.7rem 0.85rem 0.7rem 1.6rem;
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-sm);
  background: var(--pf-soft);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.pf-zoom__caps li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.05rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--croem-red);
}

.pf-ops__roles {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
}

.pf-ops__roles-lead {
  margin: 0 0 var(--space-3);
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pf-ops__role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--space-3);
}

.pf-ops__role-list li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--pf-soft);
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pf-ops__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.pf-ops__meta li {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.pf-ops__meta li::before {
  content: "·";
  margin-right: 0.45rem;
  color: var(--croem-red);
}

.pf-ops__meta li:first-child::before {
  content: none;
  margin: 0;
}

/* ═══════════════════════════════════════
   Solutions (compact)
   ═══════════════════════════════════════ */

.pf-solutions {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .pf-solutions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pf-solutions {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .pf-solutions {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pf-solutions__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-4);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius);
  background: var(--surface-white);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pf-solutions__item:hover {
  border-color: rgba(213, 0, 55, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  color: inherit;
}

.pf-solutions__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pf-solutions__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pf-solutions__type {
  margin: 0;
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--croem-red);
}

.pf-solutions__desc {
  margin: 0;
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.4;
}

.pf-solutions__cta {
  margin-top: 0.25rem;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--croem-red);
}

.pf-solutions__item.is-soon {
  opacity: 0.88;
  cursor: default;
  pointer-events: none;
}

.pf-solutions__item.is-soon:hover {
  border-color: var(--pf-line);
  box-shadow: none;
  transform: none;
}

.pf-solutions__item.is-soon .pf-solutions__cta {
  color: var(--croem-muted);
}

/* ═══════════════════════════════════════
   Close: extensibility + CTA
   ═══════════════════════════════════════ */

.pf-close {
  position: relative;
  overflow: hidden;
}

.pf-close__extend {
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pf-close__extend-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
}

.pf-close__extend-lead {
  margin: 0 0 var(--space-4);
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.5;
}

.pf-close__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pf-close__chips li {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.pf-close__cta {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 768px) {
  .pf-close__cta {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

.pf-cta__copy {
  max-width: 38rem;
}

.pf-cta__copy h2 {
  margin: 0 0 var(--space-3);
}

.pf-cta__copy p {
  margin: 0;
}

.pf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .pf-cta__actions {
    justify-content: flex-end;
  }
}

/* Mobile: layer tabs become stacked readable panels already via tabs.js */
@media (max-width: 991px) {
  .pf-layers__nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(10.5rem, 1fr);
    overflow-x: auto;
    padding-bottom: 0.25rem;
    gap: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pf-layers__tab {
    scroll-snap-align: start;
    min-width: 10.5rem;
  }
}
