/* Kompas Kerjaya landing page – Global Psytech */
:root {
  --blue-900: #000000;
  --blue-700: #40479b;
  --blue-500: #1a6fd0;
  --blue-100: #e8ecf7;
  --accent: #8cb4ce;
  --ink: #212529;
  --muted: #5a6f7c;
  --line: #dbe5ec;
  --bg: #ffffff;
  --tint: #f3f6fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 58, 82, 0.08);
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--blue-900);
}
h1 {
  line-height: 2.0;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}
a {
  color: var(--blue-700);
}
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1.2em;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #a3c6dc;
}
.btn-ghost {
  border-color: var(--blue-700);
  color: var(--blue-700);
}
.btn-ghost:hover {
  background: var(--blue-100);
}
.btn-light {
  background: #fff;
  color: var(--blue-900);
}
.btn-sm {
  padding: 0.5em 1.1em;
  font-size: 0.95rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-kk {
  height: 48px;
  width: auto;
}
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  border: 0;
  background: none;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--blue-700);
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: #fff;
  padding: clamp(20px, 3vw, 36px) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  object-fit: cover;
  object-position: 78% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  margin-right: 8px;
}

/* Sections */
.section {
  padding: clamp(28px, 4vw, 48px) 0;
}
.section-tint {
  background: var(--tint);
}
.section-dark {
  background: #40479b;
  color: #dbe9f2;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.section-dark .eyebrow {
  color: #b9d3e6;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 1.1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.intro-body {
  color: var(--muted);
}
.note {
  color: var(--blue-700);
  font-weight: 600;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.card-lg {
  padding: 32px;
  border-top: 4px solid var(--blue-500);
}
.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e4eef5;
  margin-bottom: 16px;
}
.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #40479b;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.feature-intro p {
  color: var(--muted);
}
.report-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.report {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}
.report-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.report-for {
  color: var(--muted);
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.ticks li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 0.5em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: rotate(-45deg);
}
.best {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  padding-top: 1em;
  border-top: 1px solid var(--line);
}
.best strong {
  color: var(--ink);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: s;
}
.steps li {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}
.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps p {
  margin: 0;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}
.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  color: var(--blue-900);
  position: relative;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--blue-500);
  line-height: 1;
}
.accordion details[open] summary::after {
  content: "\2212";
}
.accordion details[open] {
  border-color: var(--blue-500);
}
.accordion details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--muted);
}

/* CTA + footer */
.cta-band {
  background: linear-gradient(120deg, #40479b, #2c3275);
  color: #fff;
  padding: 56px 0;
}
.cta-band h2 {
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-inner p {
  margin: 0;
  max-width: 36em;
  color: #d3e6f2;
}
.site-footer {
  background: #40479b;
  color: #e4e7f7;
  padding: 32px 0;
  font-size: 0.92rem;
}
.footer-logo {
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  height: 52px;
  width: auto;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}
.footer-inner p {
  margin: 0;
}

/* Tablet */

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 8px 20px 16px;
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
  .card-grid.three {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  :root {
    --header-h: 64px;
  }
  .brand-kk {
    display: none;
  }

  .header-actions .cta-link {
    display: none;
  }
  .card-grid.two,
  .report-cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .btn-row .btn {
    flex: 1 1 100%;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

.intro-photo {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
}
@media (max-width: 860px) {
  .hero-media img {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 16px;
  }
}

.hero-media--photo img {
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 20px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  max-height: none;
  object-position: center 30%;
}
.platform-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.platform-intro h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.platform-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 420px;
  object-fit: cover;
  object-position: 78% center;
  border-radius: 20px;
}
.plat-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  max-width: 40rem;
}
@media (max-width: 860px) {
  .platform-intro {
    grid-template-columns: 1fr;
  }
  .platform-img {
    aspect-ratio: 16 / 10;
  }
}
.site-nav a,
.header-actions .btn {
  white-space: nowrap;
}

/* ---- Compact layout (desktop: see most content at once) ---- */
h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}
h3 {
  font-size: 1.05rem;
}
.lead {
  font-size: 1rem;
}
.btn-row {
  margin: 1rem 0;
}
.hero-grid {
  gap: clamp(20px, 3vw, 40px);
}
.hero-media--photo img {
  aspect-ratio: 16 / 10;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-bottom: 20px;
}
.overview-grid p {
  margin-bottom: 0.7em;
}
.overview-grid .report {
  padding: 20px 22px;
}
.report-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.8em 0 0;
}
.benefits-row {
  gap: 14px;
}
.benefits-row .card {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
}
.benefits-row .icon {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  margin: 0;
}
.benefits-row h3 {
  margin: 0;
}
.benefits-row p {
  font-size: 0.9rem;
}
.steps {
  gap: 16px;
}
.steps li {
  padding-top: 14px;
}
.step-n {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}
.steps p {
  font-size: 0.92rem;
}
.card-lg {
  padding: 20px 24px;
}
.card-grid {
  gap: 14px;
}
.card {
  padding: 18px 20px;
}
.platform-intro {
  margin-bottom: 20px;
  gap: 28px;
}
.platform-img {
  max-height: 280px;
}
.platform-intro h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
.plat-sub {
  font-size: 1.05rem;
}
.card p {
  font-size: 0.92rem;
}
.accordion summary {
  padding: 13px 48px 13px 18px;
}
.accordion details {
  margin-bottom: 8px;
}
.cta-band {
  padding: 32px 0;
}
.site-footer {
  padding: 20px 0;
}
@media (max-width: 860px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}
.container {
  width: min(1240px, 100% - 48px);
}
.hero-media--photo img {
  aspect-ratio: 2 / 1;
}
.hero-grid {
  grid-template-columns: 1.1fr 1fr;
}
.overview-grid {
  grid-template-columns: 1.3fr 1fr;
  margin-bottom: 14px;
}
.section-compact {
  padding-top: 20px;
}
.platform-img {
  max-height: 230px;
}
.steps li {
  padding-top: 10px;
}
@media (min-width: 1000px) {
  .faq-wrap {
    max-width: 1000px;
  }
  .accordion {
    columns: 2;
    column-gap: 14px;
  }
  .accordion details {
    break-inside: avoid;
  }
}

/* ---- Split hero (reference layout) ---- */
.kk-hero {
  padding: 18px 0 20px;
  background: #fff;
}
.kk-hero-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 28px;
  align-items: stretch;
}
.kk-photo {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
}
.kk-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}
.kk-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 22px 20px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.55;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}
.kk-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.kk-main .eyebrow {
  margin: 0 0 -8px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.kk-main h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tile {
  background: var(--tint);
  border-radius: 10px;
  padding: 14px 16px;
}
.tile .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  background: #fff;
}
.tile h2 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.tile p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.kk-sub {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 -4px;
}
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff;
}
.info-card h3 {
  font-size: 1.15rem;
  margin: 0 0 2px;
}
.info-card .for {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.6em;
}
.info-card .ticks li {
  font-size: 0.92rem;
  margin-bottom: 0.3em;
}
.info-card .best {
  font-size: 0.86rem;
  padding-top: 0.7em;
}
.btn-wide {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: 10px;
  font-size: 1.05rem;
}
@media (max-width: 960px) {
  .kk-hero-grid {
    grid-template-columns: 1fr;
  }
  .kk-photo {
    min-height: 260px;
  }
  .tiles,
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.btn-primary {
  background: #40479b;
  color: #fff;
  border: 1px solid #40479b;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(64, 71, 155, 0.3);
}

.btn-primary:hover {
  background: #333a85;
  border-color: #333a85;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(64, 71, 155, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(64, 71, 155, 0.3);
}


.btn-ghost {
  border: 1px solid teal;
  color: #fff;
  background: teal;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.3);
}

.btn-ghost:hover {
  background: #005454;
  border-color: #004646;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 128, 128, 0.4);
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.3);
}
.btn-light {
  background: #fff;
  color: #40479b;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.site-nav a[data-cta] {
  color: #40479b;
  font-weight: 600;
}

/* Hero hierarchy */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: -4px 0 0;
  padding: 0;
}
.pills li {
  background: var(--blue-100);
  color: #40479b;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
}
.kk-main h1 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
}
.tile h2 {
  font-size: 1.05rem;
}
.tile p {
  font-size: 0.8125rem;
}
.report-card {
  border: 2px solid #40479b;
  border-radius: 14px;
  padding: 18px 22px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(64, 71, 155, 0.1);
}
.report-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.report-head h2 {
  font-size: 1.3rem;
  margin: 0;
}
.report-head .for {
  color: var(--muted);
  font-size: 0.85rem;
}
.report-card .ticks {
  margin-bottom: 0.6em;
}
.report-card .ticks li {
  font-size: 0.9375rem;
  margin-bottom: 0.3em;
}
.report-card .best {
  font-size: 0.9375rem;
  padding-top: 0.7em;
}
@media (min-width: 700px) {
  .ticks.cols {
    columns: 2;
    column-gap: 24px;
  }
  .ticks.cols li {
    break-inside: avoid;
  }
}
.cta-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: stretch;
}
.cta-row .btn-wide {
  border-radius: 10px;
}
.cta-row .btn-sm {
  border-radius: 10px;
  white-space: nowrap;
}
.btn[data-placeholder] {
  border-style: none;
}
@media (max-width: 600px) {
  .cta-row {
    grid-template-columns: 1fr 1fr;
  }
  .cta-row .btn-wide {
    grid-column: 1 / -1;
  }
}

/* Card body 15px */
.card p,
.steps p {
  font-size: 0.9375rem;
}

/* How It Works on light background */
#how-it-works {
  background: var(--tint);
  color: var(--ink);
}
#how-it-works h2,
#how-it-works h3 {
  color: #000;
}
#how-it-works .eyebrow {
  color: var(--blue-500);
}
#how-it-works .steps li {
  border-top: 2px solid #40479b;
}
#how-it-works .step-n {
  background: #40479b;
  color: #fff;
}
#platform {
  background: #fff;
}

/* Education Analytics: rounded tinted panel */
.vertical-note {
  display: inline-block;
  background: var(--blue-100);
  color: #40479b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.8em;
}
.platform-panel {
  background: linear-gradient(135deg, #e8ecf7, #dbe9f2);
  border-radius: 20px;
  padding: 14px;
}
.platform-img {
  border-radius: 14px;
  max-height: 240px;
}
#platform .card {
  background: var(--tint);
  border: 0;
}

/* About us */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.about-sub {
  margin-top: 1.2em;
}
.about-grid p {
  color: var(--muted);
}
.stats {
  display: grid;
  gap: 12px;
  margin: 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #40479b;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column-reverse;
}
.stat dt {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #40479b;
  line-height: 1.1;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Collapsible hero caption */
.kk-photo figcaption.kk-caption {
  padding: 70px 22px 18px;
  background: linear-gradient(transparent, rgba(72, 72, 72, 0.85) 30%);
}
.kk-caption-text {
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kk-caption.open .kk-caption-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.kk-caption.open {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 30%);
  padding-top: 90px;
}
.kk-caption-toggle {
  background: none;
  border: 0;
  padding: 0;
  color: #ffd27a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kk-caption-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.steps {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

  .mobile-kk-logo {
    display: none;
  }

.mobile-kk-logo-aurora{
  display: none;
}

@media (max-width: 600px) {
  .mobile-logo {
    display: flex;
    position: relative;
  }

  .mobile-kk-logo {
    display: block;
    position: absolute;
    right: 30px;
    margin-top: 10px;
    z-index: 9;
  }
  .mobile-kk-logo-aurora {
    display: block;
    position: absolute;
    left: 25px;
    z-index: 9;
  }
  .mobile-logo-img {
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .kk-caption-text {
    font-size: 10px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(64, 71, 155, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(64, 71, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(64, 71, 155, 0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Base reveal class – applied via JS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
  transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero grid – subtle staggered entrance */
.kk-hero-grid > * {
  animation: fadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.kk-hero-grid > :nth-child(1) { animation-delay: 0.05s; }
.kk-hero-grid > :nth-child(2) { animation-delay: 0.12s; }
.kk-hero-grid > :nth-child(3) { animation-delay: 0.2s; }
.kk-hero-grid > :nth-child(4) { animation-delay: 0.28s; }

/* Tiles – hover lift + icon pulse */
.tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 58, 82, 0.12);
}

.tile .icon {
  transition: transform 0.35s ease, background 0.35s ease;
}

.tile:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  background: #40479b;
}

.tile:hover .icon svg {
  stroke: #fff;
}

/* Report card – subtle border glow */
.report-card {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.report-card:hover {
  box-shadow: 0 10px 32px rgba(64, 71, 155, 0.18);
  border-color: #1a6fd0;
}

/* Buttons – refined hover */
.btn-primary,
.btn-ghost {
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(64, 71, 155, 0.35);
}

.btn-ghost:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 128, 128, 0.35);
}

.btn-primary:active,
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* Primary CTA – subtle pulse */
.btn-wide.btn-primary {
  animation: pulseGlow 3s infinite;
}

/* Steps – icon float */
.step-n {
  transition: transform 0.3s ease, background 0.3s ease;
}

.steps li:hover .step-n {
  transform: scale(1.12) rotate(6deg);
  background: #1a6fd0;
}

/* Cards – hover lift */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 58, 82, 0.1);
}

/* Stats – hover pop */
.stat {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(64, 71, 155, 0.12);
  border-left-color: #1a6fd0;
}

/* FAQ accordion – smooth open */
.accordion details {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion details[open] {
  box-shadow: 0 6px 20px rgba(64, 71, 155, 0.08);
}

.accordion summary {
  transition: color 0.2s ease, padding 0.2s ease;
}

.accordion summary:hover {
  color: #40479b;
  padding-left: 26px;
}

/* Platform image – float animation */
.platform-img {
  animation: float 5s ease-in-out infinite;
}

/* Caption toggle – underline shimmer */
.kk-caption-toggle {
  position: relative;
  transition: color 0.2s ease;
}

.kk-caption-toggle:hover {
  color: #fff;
}

/* Nav link – underline grow */
.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #40479b;
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* Footer logo – subtle hover */
.footer-logo {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* CTA band buttons */
.btn-light,
.btn-outline-light {
  transition: all 0.3s ease;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* Image hover – subtle zoom */
.kk-photo img {
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.kk-photo:hover img {
  transform: scale(1.03);
}

/* Section headings – subtle accent */
.section-head .eyebrow {
  display: inline-block;
  position: relative;
}

.section-head .eyebrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #40479b;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.section-head:hover .eyebrow::after {
  width: 70px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .platform-img {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .kk-hero-grid > * {
    animation-duration: 0.6s;
  }
}

/* ===== Dropdown (for Sample Report / Brochure) ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.dropdown.open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 -12px 32px rgba(15, 58, 82, 0.15);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 20;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--blue-100);
  color: var(--blue-700);
  outline: none;
}

/* Mobile: menu opens to full width of dropdown */
@media (max-width: 600px) {
  .dropdown {
    width: 100%;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  .dropdown-menu {
    left: 0;
    right: 0;
    min-width: 0;
  }
}

.guide-trigger-wrapper {
  display: flex;
  justify-content: center;
  margin-left: 40px;
}

.guide-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 10px 22px 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-700);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease,
  transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s ease;
}

.guide-icon-btn:hover {
  background: var(--blue-100);
  border-color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(64, 71, 155, 0.18);
}

.guide-icon-btn:hover svg {
  transform: scale(1.1) rotate(-6deg);
}

.guide-icon-btn:active {
  transform: translateY(0) scale(0.98);
}

.guide-icon-btn:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 40, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.guide-modal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px 36px;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(15, 58, 82, 0.28);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.modal-overlay.show .guide-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--blue-100);
  color: var(--blue-700);
  transform: rotate(90deg);
}

.modal-close:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

.guide-modal h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  color: var(--blue-900);
  padding-right: 40px;
}

.modal-subhead {
  background: var(--tint);
  border-left: 4px solid var(--blue-700);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.55;
}

.modal-subhead strong {
  color: var(--blue-700);
}

.guide-visual {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 22px;
}

.login-card-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 14px 34px -12px rgba(15, 58, 82, 0.18);
}

.login-card-mock .field {
  margin-bottom: 16px;
}

.login-card-mock .field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.login-card-mock .field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}

.login-card-mock .enter-btn {
  margin-top: 6px;
  background: var(--blue-700);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  padding: 12px 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(64, 71, 155, 0.28);
}

.login-card-mock .user-guide-link {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-steps {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin: 4px 0 0;
}

.guide-steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  align-items: flex-start;
}

.guide-steps li::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 9px;
  margin-top: 1px;
}

.guide-steps strong {
  color: var(--blue-900);
  font-weight: 600;
}

.modal-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-100);
  color: var(--blue-900);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal-note svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-note strong {
  color: var(--blue-700);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .guide-modal {
    padding: 26px 20px 28px;
    border-radius: 20px;
  }

  .guide-visual {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .login-card-mock {
    max-width: 260px;
    margin-inline: auto;
  }

  .modal-subhead {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .guide-steps li {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .guide-modal,
  .guide-icon-btn,
  .guide-icon-btn svg,
  .modal-close {
    transition: none;
  }
}

.footer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  opacity: 0.75;
}


/* =========================
   TERMS & CONDITIONS MODAL
   ========================= */

.tnc-modal {
  position: relative;

  width: min(900px, calc(100% - 32px));
  max-height: 85vh;

  background: #fff;
  border-radius: 20px;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.tnc-header {
  padding: 32px 40px 20px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.tnc-header h2 {
  margin: 4px 0 6px;
}

.tnc-updated {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.65;
}

.tnc-content {
  padding: 28px 40px 40px;

  overflow-y: auto;
  overscroll-behavior: contain;

  line-height: 1.7;
}

.tnc-content section + section {
  margin-top: 32px;
}

.tnc-content h3 {
  margin-bottom: 12px;
}

.tnc-content h4 {
  margin: 20px 0 8px;
}

.tnc-content p {
  margin: 0 0 14px;
}


/* Mobile */
@media (max-width: 600px) {
  .tnc-modal {
    width: calc(100% - 20px);
    max-height: 90vh;
    border-radius: 16px;
  }

  .tnc-header {
    padding: 24px 24px 16px;
  }

  .tnc-content {
    padding: 22px 24px 32px;
  }
}
/* ================================================================
   PRODUCT TABS (Kompas Kerjaya / PTS) — pill switcher above the hero
   ================================================================ */
.product-panel[hidden] {
  display: none !important;
}
.product-tabs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.product-tabs-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.product-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  padding: 6px 22px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.product-tab:hover {
  background: #fff;
}
.product-tab[aria-selected="true"] {
  background: #40479b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(64, 71, 155, 0.28);
}
.product-tab:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}
.product-tab-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #40479b;
  overflow: hidden;
}
.product-tab[aria-selected="true"] .product-tab-logo {
  background: rgba(255, 255, 255, 0.16);
}
.product-tab-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
/* white badge for full-colour logos (PTS) so all colours stay visible */
.product-tab-logo--light,
.product-tab[aria-selected="true"] .product-tab-logo--light {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.product-tab-logo--light img {
  width: 28px;
  height: 28px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.product-tab-logo--text {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* countdown bar on the active pill — width driven by --progress (0..1) from JS */
.product-tab-progress {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-tab-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
}
.product-tab[aria-selected="true"] .product-tab-progress {
  opacity: 1;
}
.product-tabs-wrap.is-paused .product-tab-progress {
  opacity: 0;
}
.tabs-autoplay {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}
.tabs-autoplay:hover {
  background: var(--tint);
}
.tabs-autoplay svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.tabs-autoplay .icon-play,
.tabs-autoplay[data-state="paused"] .icon-pause {
  display: none;
}
.tabs-autoplay[data-state="paused"] .icon-play {
  display: block;
}

/* PTS placeholders (remove once real assets are in) */
.product-logo-placeholder {
  display: grid;
  place-items: center;
  flex: none;
  width: 130px;
  height: 60px;
  border: 2px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 600px) {
  .product-tabs-wrap {
    margin-bottom: 14px;
  }
  .product-tabs-row {
    width: 100%;
  }
  .product-tabs {
    flex: 1;
    min-width: 0;
  }
  .product-tab {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    min-height: 46px;
    padding-right: 10px;
    font-size: 0.84rem;
  }
  .product-tab-logo {
    width: 32px;
    height: 32px;
  }
  .product-tab-logo img {
    width: 22px;
    height: 22px;
  }
  .product-tab-name {
    line-height: 1.15;
    text-align: left;
  }
  .product-logo-placeholder {
    display: none;
  }
  .product-tab-progress {
    left: 12px;
    right: 12px;
    bottom: 3px;
  }
}
@media (max-width: 380px) {
  .product-tabs {
    padding: 4px;
    gap: 4px;
  }
  .product-tab {
    gap: 6px;
    padding: 4px 8px 4px 4px;
    font-size: 0.78rem;
  }
  .product-tab-logo {
    width: 28px;
    height: 28px;
  }
  .product-tab-logo img {
    width: 19px;
    height: 19px;
  }
  .product-tab-logo--light img {
    width: 22px;
    height: 22px;
  }
}
/* PTS logo is transparent: give it a white tile where it sits on the photo (mobile) */
.mobile-logo-img--pts {
  width: auto;
  height: 52px;
  padding: 4px;
  background: #fff;
  object-fit: contain;
}

/* FAQ: one group per product; grid keeps the reading order stable in EN and BM */
.faq-group-title {
  margin: 26px 0 12px;
  font-size: 1.05rem;
  color: var(--blue-700);
}
.section-head + .faq-group-title {
  margin-top: 6px;
}
@media (min-width: 1000px) {
  .accordion {
    columns: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    align-items: start;
  }
}

/* Product groups inside shared sections (How it works, Who it's for) */
.group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}
.group-head--next {
  margin-top: 40px;
}
.group-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-700);
}
p.group-title {
  margin: 4px 0 4px;
}
.group-title--next {
  margin-top: 40px !important;
}
.group-h2 {
  margin: 0 0 18px;
}

/* SLI hero: longer headline, lead paragraph, two-part caption, report intro */
.kk-main h1.kk-title-long {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}
.kk-lead {
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 40em;
}
.kk-caption-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}
.report-intro {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 600px) {
  .kk-caption-title {
    font-size: 0.8rem;
  }
}
.kk-caption--full .kk-caption-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.kk-main h1.kk-title-long {
  margin-top: 10px;
}
@media (max-width: 600px) {
  /* phones show the product logo over the photo instead, so free up the headline width */
  .kk-main .brand {
    display: none;
  }
}
.group-head .group-title {
  color: var(--blue-700);
}
/* Only the active product's block is shown in shared sections (see js "PRODUCT TABS") */
.product-section[hidden] {
  display: none !important;
}
.group-head--next {
  margin-top: 6px;
}
.group-title--next {
  margin-top: 4px !important;
}
/* FAQ: equal-height question cards on wide screens (room for 2 lines) */
@media (min-width: 1000px) {
  .accordion summary {
    display: flex;
    align-items: center;
    min-height: 78px;
  }
}
/* Product logo beside the headline: keep its natural shape */
.kk-main .brand {
  flex: none;
}
.kk-main .brand img.brand-kk {
  width: auto;
  max-width: none;
  height: 60px;
  object-fit: contain;
}
/* Educational Analytic Platform logo (wide) on the hero photo, phones only */
.mobile-logo-img-aurora {
  width: auto;
  height: 38px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
