/* ================================================================
   QUALZY — Platform Page Styles
   platform.html · 8-section layout
   ================================================================ */


/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.plhero {
  position: relative;
  background: var(--dk);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 80px 110px;
  overflow: hidden;
}

.plhsvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.plhi {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

/* Eyebrow on dark */
.plhero .ey {
  background: rgba(250, 88, 2, 0.15);
  border-color: rgba(250, 88, 2, 0.4);
  color: var(--o);
}

.plhi h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  margin-top: 18px;
}

.plhi h1 em {
  font-style: italic;
  color: var(--o);
}

.plhsub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 36px;
}

.plhbtns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

/* Quick-jump nav inherits .sol-hero-nav / .sol-tab from solutions.css —
   just ensure it sits correctly in the platform hero context */
.plhero .sol-hero-nav {
  margin-top: 0;
}

/* Hero stat bar on dark — reuse .hst / .sn / .sl from components.css */
.plhero .hst {
  max-width: 520px;
  border-color: rgba(255, 255, 255, 0.08);
}
.plhero .hst > div {
  border-color: rgba(255, 255, 255, 0.08);
}
.plhero .hst .sl {
  color: rgba(255, 255, 255, 0.35);
}


/* ----------------------------------------------------------------
   SECTION 2 — FEATURE OVERVIEW (5 cards)
   ---------------------------------------------------------------- */
.plfo {
  background: #fff;
  border-top: 1px solid var(--rule);
}

.plfoh {
  text-align: center;
  margin-bottom: 40px;
}

.plfoh .stit { margin-bottom: 0; }

.plfg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.plfc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  text-decoration: none;
  background: var(--wh);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  position: relative;
}

.plfc:hover {
  border-color: var(--o);
  box-shadow: 0 8px 32px rgba(250, 88, 2, 0.1);
  transform: translateY(-2px);
}

.plfci {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--mu);
  transition: color var(--t-base);
}

.plfci svg { width: 20px; height: 20px; }

.plfc:hover .plfci { color: var(--o); }

.plfct {
  flex: 1;
}

.plfct strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 4px;
  transition: color var(--t-base);
}

.plfc:hover .plfct strong { color: var(--o); }

.plfct p {
  font-size: 12.5px;
  color: var(--mu);
  line-height: 1.55;
  margin: 0;
}

.plfarr {
  font-size: 16px;
  color: var(--rule);
  transition: color var(--t-base), transform var(--t-base);
  margin-top: auto;
  align-self: flex-end;
}

.plfc:hover .plfarr {
  color: var(--o);
  transform: translateX(3px);
}


/* ----------------------------------------------------------------
   KEY FEATURES — CENTRED BLOCKQUOTE
   ---------------------------------------------------------------- */
.plq {
  margin: 52px auto 0;
  max-width: 680px;
  text-align: center;
  padding: 0;
  border: none;
}

.plq::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--o);
  margin-bottom: 4px;
  opacity: 0.7;
}

.plq p {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.6;
  color: var(--dk);
  margin-bottom: 18px;
}

.plq cite {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mu);
  font-style: normal;
}

.plq cite a {
  color: var(--o);
  text-decoration: none;
}

.plq cite a:hover { text-decoration: underline; }


/* ----------------------------------------------------------------
   SECTION 3 — AI PROCESSING (dark)
   ---------------------------------------------------------------- */
.plai {
  background: var(--dk);
  padding: 100px 80px;
  overflow: hidden;
}

.plai .inn { position: relative; z-index: 1; }

.plaih {
  text-align: center;
  margin-bottom: 64px;
}

.plaih .sbod { margin: 0 auto; }

/* 3-step flow */
.plaif {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 56px;
}

.plais {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px 28px;
}

.plais h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.plais p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 0;
}

.plais p strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.plaino {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--o);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.plaisarr {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.2);
  padding: 0 20px;
  align-self: center;
  margin-top: -24px;
}

/* Maizy Chat + Theme callout blocks */
.plaib {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plaibk {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 28px;
  border-left: 3px solid var(--o);
}

.plaibk--theme {
  border-left-color: rgba(255, 255, 255, 0.25);
}

.plaibki {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--o);
  margin-top: 2px;
}

.plaibk--theme .plaibki {
  color: rgba(255, 255, 255, 0.4);
}

.plaibki svg { width: 22px; height: 22px; }

.plaibkl {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.plaibk p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 0;
}


/* ----------------------------------------------------------------
   SECTION 4 — ACTIVITY TYPES (orange-tinted)
   ---------------------------------------------------------------- */
.plat {
  background: var(--op);
}

.plath {
  text-align: center;
  margin-bottom: 52px;
}

.plath .sbod {
  margin: 0 auto;
}

.platg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.platc {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.12);
  border-radius: 12px;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.platc:hover {
  border-color: var(--o);
  box-shadow: 0 4px 20px rgba(250, 88, 2, 0.1);
}

/* Icon: row 1, col 1 */
.platci {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: 22px;
  height: 22px;
  color: var(--mu);
  align-self: center;
  transition: color var(--t-base);
}

.platci svg { width: 18px; height: 18px; }

.platc:hover .platci { color: var(--o); }

/* Title: row 1, col 2 — always single line */
.platct {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--dk);
  align-self: center;
  white-space: nowrap;
}

/* Description: row 2, spans both columns */
.platcb {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 12.5px;
  color: var(--mu);
  line-height: 1.55;
  margin: 0;
}

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


/* ----------------------------------------------------------------
   PLATFORM & TRUST
   ---------------------------------------------------------------- */
.pltr {
  background: #fff;
  border-top: 1px solid var(--rule);
}

.pltrh {
  text-align: center;
  margin-bottom: 52px;
}

.pltrh .stit { margin-bottom: 0; }

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

.pltr-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wh);
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.pltr-card:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 4px 20px rgba(250, 88, 2, 0.08);
}

.pltr-card-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--mu);
  transition: color var(--t-base);
}

.pltr-card:hover .pltr-card-icon { color: var(--o); }
.pltr-card-icon svg { width: 18px; height: 18px; }

.pltr-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dk);
  transition: color var(--t-base);
}

.pltr-card:hover .pltr-card-title { color: var(--o); }

.pltr-card-note {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.6;
}

.pltr-centre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dk);
  border-radius: 14px;
  padding: 24px 32px;
  text-decoration: none;
  transition: background var(--t-base);
  gap: 20px;
}

.pltr-centre:hover { background: #1a1915; }

.pltr-centre-label {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pltr-centre-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.pltr-centre-arr {
  font-size: 24px;
  color: var(--o);
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   SECTION 5 — PROJECT TYPES (white)
   ---------------------------------------------------------------- */
.plpt {
  background: #fff;
  border-top: 1px solid var(--rule);
}

.plpth {
  text-align: center;
  margin-bottom: 52px;
}

.plptg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plptc {
  background: var(--wh);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-base);
}

.plptc:hover {
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.08);
}

.plptdur {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 10px;
}

.plptc h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 14px;
  line-height: 1.2;
}

.plptc > p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

.plptl {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plptl li {
  font-size: 13px;
  color: var(--mid);
  padding-left: 16px;
  position: relative;
}

.plptl li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--o);
  font-weight: 700;
}

.plptlnk {
  font-size: 13px;
  font-weight: 600;
  color: var(--o);
  text-decoration: none;
  transition: color var(--t-fast);
}

.plptlnk:hover { color: var(--o2); }


/* ----------------------------------------------------------------
   SECTION 6 — PLATFORM CAPABILITIES (dark)
   ---------------------------------------------------------------- */
.plcap {
  background: #1A1915;
  padding: 100px 80px;
}

.plcap .inn { position: relative; }

.plcaph {
  text-align: center;
  margin-bottom: 56px;
}

.plcaph .stit em { color: var(--o); }

.plcapg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
}

.plcapc {
  padding: 36px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--t-base);
}

.plcapc:hover {
  background: rgba(255, 255, 255, 0.03);
}

.plcapc:nth-child(3n) { border-right: none; }
.plcapc:nth-child(4),
.plcapc:nth-child(5),
.plcapc:nth-child(6) { border-bottom: none; }

.plcapci {
  width: 40px;
  height: 40px;
  color: var(--o);
  margin-bottom: 16px;
}

.plcapci svg { width: 24px; height: 24px; }

.plcapct {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.plcapc p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin: 0;
}


/* ----------------------------------------------------------------
   SECTION 7 — OTHER FEATURES (off-white)
   ---------------------------------------------------------------- */
.plof {
  background: var(--wh);
  border-top: 1px solid var(--rule);
}

.plofh {
  max-width: 600px;
  margin-bottom: 52px;
}

.plofg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.plofc {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px;
  border-right: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
  transition: background var(--t-base);
}

.plofc:hover {
  background: var(--op);
}

/* Remove right border on even items (right column) */
.plofc:nth-child(even) { border-right: none; }

/* Remove bottom border on last two items */
.plofc:nth-last-child(-n+2) { border-bottom: none; }

.plofci {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--mu);
  margin-top: 2px;
  transition: color var(--t-base);
}

.plofc:hover .plofci { color: var(--o); }

.plofci svg { width: 20px; height: 20px; }

.plofct {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 5px;
}

.plofc p {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.65;
  margin: 0;
}


/* ----------------------------------------------------------------
   SECTION 8 — CTA (dark)
   ---------------------------------------------------------------- */
.plcta {
  background: var(--dk);
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.plcta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(250, 88, 2, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.plctai {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.plctai .stit em { color: var(--o); }

.plctab {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.plctar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
}

.plctar span {
  color: rgba(255, 255, 255, 0.2);
}

.plctar a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-base);
}

.plctar a:hover { color: rgba(255, 255, 255, 0.85); }


/* ----------------------------------------------------------------
   SECTION A — PAIN-LED (white)
   ---------------------------------------------------------------- */
.plpn {
  background: #fff;
  border-top: 1px solid var(--rule);
}

.plpnh {
  text-align: center;
  margin-bottom: 52px;
}

.plpnh .stit { margin-bottom: 16px; }

.plpnsub {
  max-width: 560px;
  margin: 0 auto;
}

.plpng {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plpnc {
  background: #fff;
  border: 1.5px solid rgba(232, 97, 44, 0.12);
  border-radius: 14px;
  padding: 28px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.plpnc:hover {
  border-color: var(--o);
  box-shadow: 0 8px 32px rgba(232, 97, 44, 0.1);
}

.plpnpain {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: var(--dk);
  line-height: 1.35;
  margin: 0 0 20px;
}

.plpndiv {
  width: 40px;
  height: 1.5px;
  background: rgba(232, 97, 44, 0.25);
  margin-bottom: 16px;
}

.plpnans {
  font-size: 12px;
  font-weight: 700;
  color: var(--o);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.5;
}

.plpnexp {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.7;
  margin: 0;
}


/* ----------------------------------------------------------------
   SECTION B — BRIEF TO DELIVERABLE FLOW (dark)
   ---------------------------------------------------------------- */
.plbd {
  background: var(--dk);
  padding: 100px 80px;
  overflow: hidden;
}

.plbd .inn { position: relative; z-index: 1; }

.plbdh {
  text-align: center;
  margin-bottom: 64px;
}

.plbdh .stit em { color: var(--o); }

.plbdsub {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.55);
}

.plbd-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.plbd-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  min-width: 0;
}

.plbd-stepno {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  color: var(--o);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.plbd-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--o);
  margin-bottom: 14px;
}

.plbd-icon svg {
  width: 20px;
  height: 20px;
}

.plbd-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.plbd-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
}

.plbd-arrow {
  flex: 0 0 32px;
  align-self: center;
  position: relative;
  height: 2px;
  border-top: 1.5px dashed rgba(232, 97, 44, 0.4);
  margin-top: -24px;
  overflow: visible;
}

.plbd-dot {
  width: 8px;
  height: 8px;
  background: var(--o);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 0;
  animation: flowDot 2.4s linear infinite;
}

@keyframes flowDot {
  0%   { left: 0;    opacity: 1; }
  85%  { left: calc(100% - 8px); opacity: 1; }
  86%  { left: calc(100% - 8px); opacity: 0; }
  87%  { left: 0;    opacity: 0; }
  100% { left: 0;    opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .plbd-dot {
    animation: none;
    opacity: 0;
  }
}


/* ----------------------------------------------------------------
   SECTION C — YOU'LL BE SURPRISED (warm orange-tinted)
   ---------------------------------------------------------------- */
.plys {
  background: var(--op);
  border-top: 1px solid rgba(232, 97, 44, 0.1);
}

.plysh {
  text-align: center;
  margin-bottom: 52px;
}

.plysh .stit em {
  font-style: italic;
  color: var(--dk);
}

.plysg {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plysc {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow var(--t-base);
}

.plysc:hover {
  box-shadow: 0 8px 32px rgba(232, 97, 44, 0.1);
}

.plyscrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.plyscmost {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--mu);
  flex-shrink: 0;
  max-width: 340px;
}

.plyscarr {
  font-size: 18px;
  color: var(--o);
  font-weight: 700;
  flex-shrink: 0;
}

.plyscans {
  font-size: 14px;
  font-weight: 600;
  color: var(--dk);
  line-height: 1.45;
}

.plyscexp {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.7;
  margin: 0;
  max-width: 840px;
}


/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .plcapg {
    grid-template-columns: repeat(2, 1fr);
  }

  .plcapc:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, 0.07); }
  .plcapc:nth-child(even) { border-right: none; }
  .plcapc:nth-child(4),
  .plcapc:nth-child(5),
  .plcapc:nth-child(6) { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .plcapc:nth-child(5),
  .plcapc:nth-child(6) { border-bottom: none; }
}

@media (max-width: 900px) {
  /* Section A — pain cards: 1 col */
  .plpng {
    grid-template-columns: 1fr;
  }

  /* Section B — flow: vertical stack */
  .plbd {
    padding: 60px 24px;
  }

  .plbd-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .plbd-step {
    align-items: flex-start;
    text-align: left;
  }

  .plbd-arrow {
    flex: 0 0 auto;
    align-self: stretch;
    width: 2px;
    height: 32px;
    border-top: none;
    border-left: 1.5px dashed rgba(232, 97, 44, 0.4);
    margin: 0 0 0 28px;
    overflow: visible;
  }

  .plbd-dot {
    width: 8px;
    height: 8px;
    top: 0;
    left: -4px;
    animation: flowDotV 2.4s linear infinite;
  }

  @keyframes flowDotV {
    0%   { top: 0;              opacity: 1; }
    85%  { top: calc(100% - 8px); opacity: 1; }
    86%  { top: calc(100% - 8px); opacity: 0; }
    87%  { top: 0;              opacity: 0; }
    100% { top: 0;              opacity: 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    .plbd-dot { animation: none; opacity: 0; }
  }

  /* Section C — surprise rows keep layout but tighter */
  .plyscmost {
    max-width: 100%;
  }

  .plhero {
    padding: 120px 24px 80px;
    min-height: auto;
  }

  .plhero .hst {
    max-width: 100%;
  }

  /* AI flow: stack vertically */
  .plaif {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .plaisarr {
    transform: rotate(90deg);
    align-self: center;
    padding: 8px 0;
    margin-top: 0;
  }

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

  .plai { padding: 60px 24px; }
  .plcap { padding: 60px 24px; }
  .plcta { padding: 80px 24px; }

  /* Activity types: 2 col */
  .platg {
    grid-template-columns: 1fr 1fr;
  }

  /* Project types: stack */
  .plptg {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Cap: 1 col */
  .plcapg {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .plcapc {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .plcapc:last-child {
    border-bottom: none !important;
  }

  /* Other features: 1 col */
  .plofg {
    grid-template-columns: 1fr;
  }

  .plofc {
    border-right: none !important;
    border-bottom: 1.5px solid var(--rule) !important;
  }

  .plofc:last-child {
    border-bottom: none !important;
  }
}

@media (max-width: 600px) {
  /* Section A */
  .plpnpain {
    font-size: 18px;
  }

  /* Section B */
  .plbd-flow {
    gap: 0;
  }

  /* Section C — stack the comparison row vertically */
  .plyscrow {
    flex-direction: column;
    gap: 8px;
  }

  .plyscmost {
    max-width: 100%;
  }

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

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

  .plhero .hst {
    flex-direction: column;
    border-radius: 12px;
  }

  .plhero .hst > div {
    border-right: none;
    border-bottom: 1.5px solid var(--rule);
    padding: 16px;
  }

  .plhero .hst > div:last-child {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .pltr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .plfg {
    grid-template-columns: 1fr;
  }

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