/* ============================================================
   platform pages — one stylesheet for the nine embedded-platform
   pages (great-astrology, hindu-deities, wedding-planner,
   discount-coupon, bp-sugar-tracker, chemistry-tutors,
   examination-news, exam-resources, periodic-table).
   Everything rides on the shared tokens; the per-page accent hue
   cycles via a body class (.plt-t1 … .plt-t6) so both themes take
   over automatically. .plt- prefix throughout.
   ============================================================ */

/* -- per-page accent hue, cycled by a body class -- */
body.plt-t1 { --plt-hue: var(--hue-gold); }
body.plt-t2 { --plt-hue: var(--hue-blue); }
body.plt-t3 { --plt-hue: var(--hue-rose); }
body.plt-t4 { --plt-hue: var(--hue-purple); }
body.plt-t5 { --plt-hue: var(--hue-teal); }
body.plt-t6 { --plt-hue: var(--hue-green); }

/* -- compact hero: the employment.css .emp-hero recipe --
   navy gradient + ONE gold glow; the gold top hairline comes from
   the shared .ab-hero__panel::after. */
.plt-hero .ab-hero__panel {
  text-align: center;
  padding: clamp(28px, 4vw, 46px) clamp(26px, 6vw, 84px);
  background:
    radial-gradient(720px 300px at 50% -35%, rgba(201, 168, 76, .38), transparent 62%),
    var(--deep-navy-grad);
}
.plt-hero .ab-kicker { margin-bottom: 12px; }
/* the kicker rule becomes symmetric on the centred compact hero */
.plt-hero .ab-kicker::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--gold);
}
.plt-hero .ab-hero__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: .01em;
}
/* the platform's live domain, as a mono gold-ink line */
.plt-hero__domain {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: lowercase;
  color: var(--gold-soft);
}

/* -- the story -- */
.plt-story {
  max-width: 78ch;
}
.plt-story p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 16px;
}
.plt-story p:last-child { margin-bottom: 0; }

/* dot-pill rail of the platform's key features */
.plt-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
}
.plt-pills li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-nav);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(27, 42, 94, .04);
}
.plt-pills li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plt-hue, var(--gold));
  flex: 0 0 auto;
}

/* -- the embed frame (shared .ab-embed browser chrome from site.css) -- */
.plt-frame {
  height: 72vh;
  min-height: 420px;
  width: 100%;
  border: 0;
  background: var(--paper);
}

/* no-iframe pages: same framed chrome, token-styled panel inside */
.plt-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 40px 24px;
  background:
    radial-gradient(520px 220px at 50% -30%, rgba(201, 168, 76, .10), transparent 62%),
    var(--paper);
  text-align: center;
}
.plt-secure p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--ink);
}

/* the always-there escape hatch below the frame */
.plt-open {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

@media (max-width: 560px) {
  .plt-frame { height: 64vh; }
  .plt-story p { font-size: 15.5px; }
}
