/* Refinement of the verified 12 Oct public site. Keep page content and card language. */
@media screen {
  :root {
    --lp-indigo: #2b2e83;
    --lp-ink: #202b36;
    --lp-muted: #59665f;
    --lp-gold: #d8a63d;
    --lp-green: #0a7a52;
    --lp-surface: #ffffff;
    --lp-border: #e4e7ed;
    --lp-radius: 24px;
    --lp-gap: clamp(16px, 2vw, 24px);
    --lp-header: 83px;
    --lp-wave-depth: clamp(10px, 1.4vw, 22px);
    --lp-card-motion: cubic-bezier(.2, .75, .2, 1);
    --lp-card-lift: -5px;
  }

  html { scroll-snap-type: none !important; scroll-behavior: smooth; }
  body { background: #f7f8fb; }

  /* Each section owns its background. The old masks and negative margins caused
     the visible fog and made the snap point drift from the actual content. */
  body section,
  body .cta-footer-connect {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    margin-top: 0 !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    scroll-margin-top: var(--lp-header);
  }
  body section { padding-block: clamp(48px, 5vw, 76px); }
  /* Preserve each page's centered .wrap width. Forcing it to 100% pushed
     E-Learning's breadcrumb and copy against the viewport edge. */
  body section > .wrap { min-width: 0; }
  body :is(.hero, .kelas, .harga-content, .jadwal-hero)::after { display: none !important; }
  body .cta-footer-connect { padding-top: 0 !important; }
  body .cta-footer-connect .cta-final { margin-top: 0 !important; }

  /* Four deterministic arc variants at actual page-level boundaries. The
     direction and depth change without a jarring random jump on reload. Each
     next section paints its own edge: no fog, duplicate image, or overlay. */
  body > section + section,
  body > main > section + section,
  body > section + .cta-footer-connect,
  body > main + footer,
  body > main + .gallery-ending,
  body > section + footer {
    --lp-wave-left: 50%;
    --lp-wave-right: 50%;
    --lp-wave-left-depth: var(--lp-wave-depth);
    --lp-wave-right-depth: var(--lp-wave-depth);
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--lp-wave-depth)) !important;
    border-radius: var(--lp-wave-left) var(--lp-wave-right) 0 0 /
      var(--lp-wave-left-depth) var(--lp-wave-right-depth) 0 0;
  }
  body > section:nth-of-type(4n + 2),
  body > main > section:nth-of-type(4n + 2) {
    --lp-wave-left: 38%; --lp-wave-right: 62%;
    --lp-wave-left-depth: calc(var(--lp-wave-depth) * .66);
  }
  body > section:nth-of-type(4n + 3),
  body > main > section:nth-of-type(4n + 3) {
    --lp-wave-left: 61%; --lp-wave-right: 39%;
    --lp-wave-right-depth: calc(var(--lp-wave-depth) * .68);
  }
  body > section:nth-of-type(4n + 4),
  body > main > section:nth-of-type(4n + 4) {
    --lp-wave-left: 46%; --lp-wave-right: 54%;
    --lp-wave-left-depth: calc(var(--lp-wave-depth) * .82);
    --lp-wave-right-depth: calc(var(--lp-wave-depth) * .76);
  }
  body > section + .cta-footer-connect,
  body > main + .gallery-ending {
    --lp-wave-left: 57%; --lp-wave-right: 43%;
    --lp-wave-right-depth: calc(var(--lp-wave-depth) * .72);
  }
  body > main + footer,
  body > section + footer {
    --lp-wave-left: 43%; --lp-wave-right: 57%;
    --lp-wave-left-depth: calc(var(--lp-wave-depth) * .74);
  }
  body main + .gallery-ending { overflow: hidden; }

  /* A section that fits gets one useful screen. Dense sections can grow rather
     than squeeze, hide content, or add an empty transition runway. */
  @media (min-width: 1024px) and (min-height: 700px) {
    body :is(.hero, .layanan, .proses, .kelas, .el-home, .testi,
      .brevet-hero, .brevet-guide, .brevet-features, .brevet-cta,
      .gallery-hero, .gallery-film, .gallery-next,
      .portal-hero, .portal-section, .portal-section-cta,
      .harga-cta, .jadwal-hero, .jadwal-cta, .cek-next,
      .ebook-hero, .ebook-cta) {
      min-height: calc(100svh - var(--lp-header)) !important;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    body :is(.hero, .layanan, .proses, .kelas, .el-home, .testi,
      .brevet-hero, .brevet-guide, .brevet-features, .brevet-cta,
      .gallery-hero, .gallery-film, .gallery-next,
      .portal-hero, .portal-section, .portal-section-cta,
      .harga-cta, .jadwal-hero, .jadwal-cta, .cek-next,
      .ebook-hero, .ebook-cta) {
      padding-block: clamp(40px, 4.8vw, 70px) !important;
    }
  }

  /* Retain the white cards the owner likes, with one radius, accent, border,
     and typography family. Media cards keep their photo/video layout. */
  body :is(.layanan .card, .keunggulan-card, .materi-card, .testi-card,
    .jadwal-card, .jl-card, .portal-card, .reg-card, .lokasi-card,
    .policy-block, .cek-card, .ebook-card, .ebook-bundle-card,
    .ebook-guide-card, .webinar-soon-card, .method-card) {
    border-radius: var(--lp-radius);
    border-color: var(--lp-border);
    background-color: var(--lp-surface);
    box-shadow: 0 12px 34px rgba(24, 30, 78, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body :is(.layanan .card, .keunggulan-card, .materi-card, .testi-card,
    .jadwal-card, .jl-card, .portal-card, .method-card) :is(h2, h3, h4) {
    color: var(--lp-indigo);
    font-family: 'Outfit', sans-serif;
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  body :is(.layanan .card, .keunggulan-card, .materi-card, .testi-card,
    .jadwal-card, .jl-card, .portal-card, .method-card) p {
    color: var(--lp-muted);
    line-height: 1.62;
    text-align: left;
    overflow-wrap: break-word;
  }
  body :is(.grid-2, .grid-3, .keunggulan-grid, .materi-grid,
    .portal-grid, .jadwal-cards, .method-grid) { gap: var(--lp-gap); align-items: stretch; }
  body :is(.section-head, .materi-head) { margin-bottom: clamp(24px, 3vw, 38px); }
  body :is(.section-head h2, .materi-head h2) { letter-spacing: -.035em; line-height: 1.16; }

  /* Hero proof uses the same white-card family as services and Brevet, not a
     large floating container holding five unrelated icon tiles. */
  body .hero-card {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    opacity: 1;
    animation: none;
    transform: none;
  }
  body .hero-card:hover { box-shadow: none; animation: none; }
  body .hero-card-ribbon { display: none; }
  body .hero-card h3 {
    max-width: 19ch;
    margin: 0 0 clamp(20px, 2.2vw, 30px);
    padding-top: 18px;
    color: #fff;
    font: 750 clamp(25px, 2.4vw, 35px)/1.13 'Outfit', sans-serif;
    letter-spacing: -.035em;
    text-shadow: none;
    opacity: 1;
    animation: none;
  }
  body .hero-card h3::before {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin-bottom: 20px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, var(--lp-gold), #0ea672);
  }
  body .hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.3vw, 18px);
    counter-reset: lp-proof;
  }
  body .hero-feature,
  body .hero-feature.hero-feature-full {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: clamp(138px, 11vw, 156px);
    padding: 30px clamp(18px, 1.8vw, 26px) 22px;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    background: #fff;
    box-shadow: 0 14px 36px rgba(7, 9, 42, .15), inset 0 1px 0 #fff;
    color: var(--lp-ink);
    opacity: 1;
    animation: none;
    transform: none;
    counter-increment: lp-proof;
    transition: border-color .24s ease, box-shadow .24s ease;
  }
  body .hero-feature.hero-feature-full { grid-column: 1 / -1; min-height: 118px; }
  body .hero-feature::before {
    content: '';
    position: absolute;
    inset: 0 auto auto clamp(18px, 1.8vw, 26px);
    width: 58px;
    height: 4px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, var(--lp-gold), #0ea672);
  }
  body .hero-feature::after {
    content: counter(lp-proof, decimal-leading-zero);
    position: absolute;
    top: 16px;
    right: 16px;
    color: #2b2e8314;
    font: 800 48px/1 'Outfit', sans-serif;
    letter-spacing: -.06em;
    pointer-events: none;
  }
  body .hero-feature:hover {
    transform: none;
    border-color: #c8cedf;
    box-shadow: 0 18px 42px rgba(7, 9, 42, .19), inset 0 1px 0 #fff;
  }
  body .hero-feature-icon { display: none; }
  body .hero-feature > div { position: relative; z-index: 1; min-width: 0; }
  body .hero-feature h4 {
    max-width: calc(100% - 28px);
    margin: 0 0 10px;
    color: var(--lp-indigo);
    font: 750 clamp(16px, 1.35vw, 19px)/1.22 'Outfit', sans-serif;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
  }
  body .hero-feature p {
    max-width: 34ch;
    margin: 0;
    color: var(--lp-muted);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }
  @media (max-width: 600px) {
    body .hero-card { max-width: none; }
    body .hero-card h3 { max-width: 25ch; font-size: clamp(25px, 7vw, 31px); }
    body .hero-features { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .hero-feature,
    body .hero-feature.hero-feature-full {
      grid-column: auto;
      min-height: 112px;
      padding: 24px 20px 19px;
      border-radius: 20px;
    }
    body .hero-feature::before { left: 20px; }
    body .hero-feature::after { top: 13px; right: 18px; font-size: 42px; }
    body .hero-feature h4 { margin-bottom: 6px; font-size: 17px; }
  }

  /* These dots are ornamental, not status indicators. Keep real live-status
     markers and functional icons intact. */
  body .ebook-promo-eyebrow > i,
  body .webinar-eyebrow .live-dot,
  body .film-label .film-dot { display: none !important; }

  /* Editorial section labels replace the repeated outlined capsules. The
     short/long strokes alternate, while colour still follows each section's
     own light/dark theme. Functional status pills remain untouched. */
  body .kicker,
  body.page-webinar .webinar-eyebrow {
    --lp-label-leading: 28px;
    --lp-label-trailing: 14px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font: 800 clamp(10px, .9vw, 12px)/1.35 'Outfit', sans-serif;
    letter-spacing: .17em;
    text-transform: uppercase;
    text-wrap: balance;
  }
  body > section:nth-of-type(even) .kicker,
  body > main > section:nth-of-type(even) .kicker {
    --lp-label-leading: 14px;
    --lp-label-trailing: 28px;
  }
  body .kicker::before,
  body.page-webinar .webinar-eyebrow::before,
  body .kicker::after,
  body.page-webinar .webinar-eyebrow::after {
    content: '';
    display: block !important;
    flex: 0 0 auto;
    height: 2px !important;
    border: 0 !important;
    border-radius: 99px !important;
    background: linear-gradient(90deg, var(--lp-gold), #0ea672) !important;
    box-shadow: none !important;
  }
  body .kicker::before,
  body.page-webinar .webinar-eyebrow::before { width: var(--lp-label-leading) !important; }
  body .kicker::after,
  body.page-webinar .webinar-eyebrow::after { width: var(--lp-label-trailing) !important; }
  @media (max-width: 600px) {
    body .kicker,
    body.page-webinar .webinar-eyebrow {
      --lp-label-leading: 20px;
      --lp-label-trailing: 10px;
      gap: 8px;
      letter-spacing: .12em;
    }
    body > section:nth-of-type(even) .kicker,
    body > main > section:nth-of-type(even) .kicker {
      --lp-label-leading: 10px;
      --lp-label-trailing: 20px;
    }
  }

  /* The public E-Learning page has one measured content column and a calmer
     image/CTA relationship; account and course mechanisms stay untouched. */
  body[data-public-portal="elearning"] .portal-hero {
    grid-template-rows: auto 1fr;
    gap: clamp(20px, 3vw, 32px);
    padding-block: 20px clamp(42px, 5vw, 64px);
  }
  body[data-public-portal="elearning"] .portal-breadcrumb {
    width: min(calc(100% - 48px), 1200px);
    margin-inline: auto;
    gap: 10px;
  }
  body[data-public-portal="elearning"] .portal-split {
    width: min(calc(100% - 48px), 1200px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: clamp(28px, 4vw, 56px);
  }
  body[data-public-portal="elearning"] .portal-intro { max-width: 600px; }
  body[data-public-portal="elearning"] .portal-hero h1 {
    font-size: clamp(38px, 4.4vw, 64px);
    line-height: 1.1;
  }
  body[data-public-portal="elearning"] .portal-learning-visual { width: 100%; }
  body[data-public-portal="elearning"] .portal-photo img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: brightness(1.08) contrast(1.03) saturate(1.05);
  }
  /* These three captions duplicate the schedule/attendance/exam cards below
     and were leaving the hero's final row below a one-screen viewport. */
  body[data-public-portal="elearning"] .portal-learning-visual .portal-facts { display: none; }
  body[data-public-portal="elearning"] .portal-section > .wrap {
    width: min(calc(100% - 48px), 1200px);
    margin-inline: auto;
  }
  body[data-public-portal="elearning"] .portal-heading { margin-bottom: 30px; }
  body[data-public-portal="elearning"] .portal-journey {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
  }
  body[data-public-portal="elearning"] .portal-journey li { grid-column: span 2; }
  body[data-public-portal="elearning"] .portal-journey li:nth-child(4) { grid-column: 2 / span 2; }
  body[data-public-portal="elearning"] .portal-journey li:nth-child(5) { grid-column: 4 / span 2; }
  @media (max-width: 900px) {
    body[data-public-portal="elearning"] .portal-split { grid-template-columns: 1fr; }
    body[data-public-portal="elearning"] .portal-intro { max-width: 700px; }
    body[data-public-portal="elearning"] .portal-journey { grid-template-columns: 1fr; }
    body[data-public-portal="elearning"] .portal-journey li,
    body[data-public-portal="elearning"] .portal-journey li:nth-child(4),
    body[data-public-portal="elearning"] .portal-journey li:nth-child(5) { grid-column: 1; }
  }
  @media (max-width: 600px) {
    body[data-public-portal="elearning"] .portal-breadcrumb,
    body[data-public-portal="elearning"] .portal-split,
    body[data-public-portal="elearning"] .portal-section > .wrap {
      width: calc(100% - 32px);
    }
    body[data-public-portal="elearning"] .portal-hero { gap: 20px; padding-block: 12px 42px; }
    body[data-public-portal="elearning"] .portal-hero h1 { font-size: clamp(35px, 9vw, 42px); }
    body[data-public-portal="elearning"] .portal-photo img { aspect-ratio: 4 / 3; }
  }

  /* The homepage had four separate fades into the next section. Keep each
     authentic background, but give it one even, readable tint from top to
     bottom. A clean edge is calmer than a translucent overlap. */
  body .layanan {
    background: linear-gradient(rgba(247, 249, 253, .94), rgba(247, 249, 253, .94)),
      url('coretax-bg-v2.jpg') center / cover no-repeat;
  }
  body .proses {
    background: linear-gradient(rgba(251, 249, 244, .94), rgba(251, 249, 244, .94)),
      url('proses-kerjasama-bg.jpg') center / cover no-repeat;
  }
  body .kelas {
    background: linear-gradient(115deg, rgba(25, 28, 89, .9), rgba(22, 35, 87, .83)),
      url('galeri/sesi-belajar.jpg') center / cover no-repeat;
  }
  body .testi {
    background: linear-gradient(rgba(249, 248, 245, .93), rgba(249, 248, 245, .93)),
      url('galeri/foto-bersama-kelas.jpg') center / cover no-repeat;
  }
  body .el-home {
    background: linear-gradient(rgba(245, 251, 248, .95), rgba(255, 255, 255, .97)),
      url('galeri/diskusi-materi.jpg') center / cover no-repeat;
  }
  body[data-public-portal="elearning"] .portal-hero {
    background-image:
      radial-gradient(ellipse at 20% 30%, rgba(216, 166, 61, .08), transparent 60%),
      linear-gradient(115deg, rgba(20, 22, 66, .95), rgba(43, 46, 131, .89) 58%, rgba(15, 78, 80, .91)),
      url('galeri/sesi-belajar.jpg');
  }
  body[data-public-portal="elearning"] .portal-section-cta {
    background-image:
      linear-gradient(110deg, rgba(24, 26, 78, .94), rgba(31, 34, 97, .9) 60%, rgba(14, 67, 65, .91)),
      url('galeri/diskusi-materi.jpg');
  }
  body[data-public-portal="elearning"] .portal-tint {
    background-image:
      linear-gradient(120deg, rgba(239, 244, 247, .97), rgba(246, 249, 246, .96)),
      url('galeri/foto-bersama-hero.jpg');
  }
  /* Full-size originals on wide screens; lightweight existing derivatives on
     narrower devices. The originals are 4032px and 5712px, not upscales. */
  @media (min-width: 1024px) {
    body .kelas {
      background-image: linear-gradient(115deg, rgba(25, 28, 89, .89), rgba(22, 35, 87, .82)),
        url('galeri/kelas-asli-4032.jpg');
    }
    body .testi {
      background-image: linear-gradient(rgba(249, 248, 245, .92), rgba(249, 248, 245, .92)),
        url('galeri/alumni-asli-5712.jpg');
    }
    body[data-public-portal="elearning"] .portal-hero {
      background-image:
        radial-gradient(ellipse at 20% 30%, rgba(216, 166, 61, .08), transparent 60%),
        linear-gradient(115deg, rgba(20, 22, 66, .95), rgba(43, 46, 131, .89) 58%, rgba(15, 78, 80, .91)),
        url('galeri/kelas-asli-4032.jpg');
    }
  }
  /* Make authentic classroom photos read cleaner without changing faces or
     inflating the original file's pixel dimensions. */
  body :is(.kelas, .testi, .portal-hero, .portal-section-cta) {
    background-blend-mode: normal, normal;
  }
  body .testi .section-head,
  body .proses-trust {
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: 0 12px 34px rgba(24, 30, 78, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* The old review chip was designed for a dark testimonial background.
     Keep the link legible against the current light photo treatment. */
  body .testi .testi-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 7px;
    width: fit-content;
    max-width: min(100%, 600px);
    padding: 12px 20px;
    color: #34413e;
    background: #fff;
    border: 1px solid #dce2dc;
    box-shadow: 0 12px 30px rgba(24, 30, 78, .1);
    text-align: center;
  }
  body .testi .testi-more a,
  body .testi .testi-more a:visited {
    color: #086345;
    font-weight: 800;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
  }
  body .testi .testi-more a:hover { color: #054a35; }
  body .proses .step {
    position: relative;
    overflow: visible;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    background: #fff;
    box-shadow: 0 12px 34px rgba(24, 30, 78, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body .proses .step::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 67px;
    width: 58px;
    height: 4px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, var(--lp-gold), #11a76d);
  }
  body .proses .step-bar { display: none; }

  /* One motion language across content, course, price, article, and media
     cards. Transform affects only the painted layer, never document flow or
     the alignment of neighbouring cards. No cursor or click action is added. */
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body :is(.hero-feature, .layanan .card, .proses .step,
      .keunggulan-card, .materi-card, .testi-card, .jadwal-card, .jl-card,
      .portal-card, .portal-journey > li, .reg-card, .lokasi-card,
      .policy-block, .cek-card, .brevet-programs > article,
      .ebook-card, .ebook-bundle-card, .ebook-guide-card,
      .ebook-roadmap-mini-card, .webinar-soon-card, .method-card,
      .el-card, .sertifikat-card, .artikel-card, .artikel-feature-story,
      .article-side-card, .gallery-tile) {
      transition-property: transform, box-shadow, border-color, filter;
      transition-duration: .38s, .38s, .28s, .38s;
      transition-timing-function: var(--lp-card-motion);
      backface-visibility: hidden;
    }
    body :is(.hero-feature, .layanan .card, .proses .step,
      .keunggulan-card, .materi-card, .testi-card, .jadwal-card, .jl-card,
      .portal-card, .portal-journey > li, .reg-card, .lokasi-card,
      .policy-block, .cek-card, .brevet-programs > article,
      .ebook-card, .ebook-bundle-card, .ebook-guide-card,
      .ebook-roadmap-mini-card, .webinar-soon-card, .method-card,
      .el-card, .sertifikat-card, .artikel-card, .artikel-feature-story,
      .article-side-card, .gallery-tile):hover,
    body :is(.portal-card-link, .gallery-tile, .ebook-card,
      .ebook-bundle-card, .ebook-guide-card, .artikel-card):focus-within {
      transform: translate3d(0, var(--lp-card-lift), 0);
      border-color: rgba(216, 166, 61, .55);
      box-shadow: 0 24px 52px rgba(19, 27, 76, .16),
        0 2px 0 rgba(216, 166, 61, .14), inset 0 1px 0 rgba(255, 255, 255, .75);
    }
    body :is(.hero-feature, .proses .step, .portal-journey > li):hover {
      --lp-card-lift: -4px;
    }
    body :is(.gallery-tile, .el-card, .sertifikat-card):hover {
      box-shadow: 0 26px 54px rgba(7, 11, 49, .22);
    }
    body.page-ebook :is(.ebook-card, .ebook-bundle-card,
      .ebook-guide-card, .ebook-roadmap-mini-card):hover {
      transform: translate3d(0, -5px, 0);
      box-shadow: 0 24px 52px rgba(19, 27, 76, .16),
        0 2px 0 rgba(216, 166, 61, .14), inset 0 1px 0 rgba(255, 255, 255, .75);
    }
  }

  /* Better exposure for authentic documentation without changing faces, the
     room, or any original image data. Keeps gallery and video poster in sync. */
  body :is(.gallery-tile img, .hero-photo-frame img, .hero-mini-photo img,
    .film-frame video, .gallery-photo img) {
    filter: brightness(1.08) contrast(1.035) saturate(1.06);
  }
  body .film-frame video { filter: brightness(1.06) contrast(1.025) saturate(1.04); }

  /* The shared shell gets subtle branded motion, not a distracting loop over
     content. Keyboard and reduced-motion preferences remain intact. */
  header::after, footer::before {
    background-size: 200% 100%;
    animation: lp-accent-drift 9s ease-in-out infinite alternate;
  }
  header .brand-group, footer .foot-center .foot-logo {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  header .brand-group:hover, header .brand-group:focus-within,
  footer .foot-center:has(.foot-logo:hover) .foot-logo {
    transform: translateY(-2px);
  }
  @keyframes lp-accent-drift {
    from { background-position: 0 50%; opacity: .55; }
    to { background-position: 100% 50%; opacity: 1; }
  }

  /* Remove blur from the loading screen; short fades on actual controls remain. */
  .preloader.is-hiding { filter: none !important; }
  :focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 3px; }

  @media (max-width: 1023px), (max-height: 699px) {
    body section { min-height: 0; height: auto; padding-block: clamp(38px, 8vw, 64px); }
    body :is(.hero, .brevet-hero, .gallery-hero, .portal-hero) { min-height: min(720px, 100svh); }
  }
  @media (max-width: 600px) {
    :root { --lp-header: 69px; }
    body section { padding-block: 40px; }
    body :is(.section-head, .materi-head) { margin-bottom: 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    header::after, footer::before { animation: none; }
    header .brand-group, footer .foot-center .foot-logo { transition: none; }
    body :is(.gallery-tile img, .hero-photo-frame img, .hero-mini-photo img,
      .film-frame video, .gallery-photo img) { transition: none !important; }
    body :is(.hero-feature, .layanan .card, .proses .step,
      .keunggulan-card, .materi-card, .testi-card, .jadwal-card, .jl-card,
      .portal-card, .portal-journey > li, .reg-card, .lokasi-card,
      .policy-block, .cek-card, .brevet-programs > article,
      .ebook-card, .ebook-bundle-card, .ebook-guide-card,
      .ebook-roadmap-mini-card, .webinar-soon-card, .method-card,
      .el-card, .sertifikat-card, .artikel-card, .artikel-feature-story,
      .article-side-card, .gallery-tile) {
      transition: none !important;
      transform: none !important;
    }
  }
}
/* Match the site shell to the first and last section of each page. Keep the
   header/footer dark enough for the existing white logos and navigation. */
@media screen {
  body {
    --shell-header-a: #17194d;
    --shell-header-b: #292c78;
    --shell-header-c: #17234d;
    --shell-footer-edge: #11133e;
    --shell-footer-a: #11133e;
    --shell-footer-b: #17194d;
    --shell-footer-c: #0e173a;
    --shell-glow: rgba(216, 166, 61, .13);
  }

  /* Classroom, gallery and learning pages carry the indigo-to-teal palette
     of their adjacent photographic sections. */
  body:has(.brevet-hero),
  body:has(.gallery-hero),
  body[data-public-portal="elearning"],
  body.page-ebook {
    --shell-header-a: #0d123b;
    --shell-header-b: #292c79;
    --shell-header-c: #105450;
    --shell-glow: rgba(36, 197, 139, .16);
  }
  body:has(.brevet-cta),
  body:has(.gallery-ending),
  body[data-public-portal="elearning"],
  body.page-ebook {
    --shell-footer-edge: #17194d;
    --shell-footer-a: #17194d;
    --shell-footer-b: #202462;
    --shell-footer-c: #104341;
  }

  /* The article and schedule closers finish in deep navy, without a sudden
     green cast from the generic footer. */
  body:has(.article-next),
  body:has(.artikel-cta),
  body:has(.jadwal-cta),
  body:has(.harga-cta),
  body:has(.kalk-cta) {
    --shell-footer-edge: #11133e;
    --shell-footer-a: #17194d;
    --shell-footer-b: #17194d;
    --shell-footer-c: #101338;
  }
  body:has(.article-next) { --shell-footer-edge: #171947; }
  body:has(.cek-next) {
    --shell-footer-edge: #202363;
    --shell-footer-a: #202363;
    --shell-footer-b: #202363;
    --shell-footer-c: #174c50;
  }
  body.page-404,
  body.page-webinar {
    --shell-header-a: #10133d;
    --shell-header-b: #292c78;
    --shell-header-c: #17194d;
  }

  /* These pages end on a light surface. A short colour runway connects that
     surface to a legible dark footer; text starts only after the dark tone. */
  body[data-public-portal="informasi"],
  body[data-public-portal="masuk"] {
    --shell-footer-edge: #f8f9fc;
    --shell-footer-a: #18204b;
    --shell-footer-b: #1a2759;
    --shell-footer-c: #103c42;
  }

  body header {
    background-color: var(--shell-header-a) !important;
    background-image:
      radial-gradient(circle at 13% 135%, rgba(246, 197, 18, .12), transparent 38%),
      radial-gradient(circle at 91% -45%, var(--shell-glow), transparent 42%),
      linear-gradient(110deg, var(--shell-header-a), var(--shell-header-b) 56%, var(--shell-header-c)) !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    border-bottom-color: rgba(255, 255, 255, .12);
  }
  body header.is-scrolled {
    box-shadow: 0 14px 34px rgba(5, 8, 38, .2);
  }
  body footer {
    background-color: var(--shell-footer-a) !important;
    background-image:
      radial-gradient(circle at 12% 120%, rgba(216, 166, 61, .12), transparent 38%),
      radial-gradient(circle at 90% 0%, rgba(43, 214, 150, .1), transparent 36%),
      linear-gradient(180deg, var(--shell-footer-edge) 0, var(--shell-footer-a) 52px,
        var(--shell-footer-b) 56%, var(--shell-footer-c) 100%) !important;
    background-size: 100% 100% !important;
    background-position: center !important;
  }
  body footer .foot-bottom { color: #b9c5d8; }
  /* No divider at the footer edge or above the copyright line. */
  body footer,
  body footer .foot-bottom { border-top: 0 !important; }
  body footer::before { display: none !important; content: none !important; }

  /* Home and gallery already place the footer inside the final section's own
     background. Preserve that continuity instead of painting a second panel. */
  body .cta-footer-connect footer,
  body .gallery-ending footer {
    background: transparent !important;
    background-image: none !important;
  }
}

/* Unify dark section backgrounds with each page's existing header palette.
   Only the tint changes; keep the original photography, artwork and light
   reading surfaces intact. */
@media screen {
  body {
    --section-header-deep: #07101f;
    --section-header-navy: #0b1730;
    --section-header-edge: #151f47;
    --section-header-tint: linear-gradient(108deg,
      color-mix(in srgb, var(--section-header-deep) 96%, transparent),
      color-mix(in srgb, var(--section-header-navy) 92%, transparent) 64%,
      color-mix(in srgb, var(--section-header-edge) 92%, transparent));
    --section-header-solid: linear-gradient(108deg,
      var(--section-header-deep), var(--section-header-navy) 64%, var(--section-header-edge));
  }

  body .hero {
    background-color: var(--section-header-deep);
    background-image: url('spiral-rings-dark.svg'), var(--section-header-tint), url('hero-taxwork-bg.jpg');
  }
  body .kelas {
    background-color: var(--section-header-deep);
    background-image: var(--section-header-tint), url('galeri/sesi-belajar.jpg');
  }
  body .cta-footer-connect {
    background-color: var(--section-header-deep);
    background-image: url('spiral-complex-dark.svg'), var(--section-header-tint), url('cta-dataviz-bg.jpg');
  }
  body .brevet-hero {
    background-color: var(--section-header-deep);
    background-image:
      radial-gradient(circle at 82% 12%, rgba(14, 166, 114, .18), transparent 39%),
      var(--section-header-tint), url('kelas-classroom-bg.jpg');
  }
  body .brevet-cta {
    background-color: var(--section-header-deep);
    background-image:
      radial-gradient(circle at 18% 110%, rgba(216, 166, 61, .16), transparent 34%),
      radial-gradient(circle at 87% -10%, rgba(14, 166, 114, .15), transparent 32%),
      var(--section-header-tint), url('brevet-cta-bg-ai.jpg');
  }
  body :is(.jadwal-hero, .artikel-hero) {
    background-color: var(--section-header-deep);
    background-image: url('spiral-flow-hero.svg?v=20261017a'), var(--section-header-tint), var(--section-photo);
  }
  body:has(.jadwal-hero) { --section-photo: url('schedule-hero-bg-ai.jpg'); }
  body:has(.artikel-hero) { --section-photo: url('artikel-pustaka-sketsa.jpg'); }
  body.page-tax-calculator .kalk-hero.kalk-hero {
    background-color: var(--section-header-deep);
    background-image:
      radial-gradient(circle at 12% 20%, rgba(216, 166, 61, .18), transparent 30%),
      radial-gradient(circle at 90% 78%, rgba(43, 214, 150, .12), transparent 30%),
      var(--section-header-tint), url('hero-taxwork-bg.jpg');
    background-position: center, center, center, center 48%;
    background-size: 100% 100%, 100% 100%, 100% 100%, cover;
    background-repeat: no-repeat;
  }
  body :is(.jadwal-cta, .artikel-cta, .harga-cta, .kalk-cta) {
    background-color: var(--section-header-deep);
    background-image: url('spiral-flow-cta.svg?v=20261017a'), var(--section-header-solid), var(--section-header-solid);
  }

  body :is(.gallery-hero, .gallery-film, .gallery-ending) {
    background-color: var(--section-header-deep);
    background-image: var(--section-header-tint), var(--gallery-section-photo);
  }
  body .gallery-hero { --gallery-section-photo: url('galeri/backgrounds/section-1-hero-desktop.jpg'); }
  body .gallery-film { --gallery-section-photo: url('galeri/backgrounds/section-3-film-desktop.jpg'); }
  body .gallery-ending { --gallery-section-photo: url('galeri/backgrounds/section-4-next-desktop.jpg'); }

  body[data-public-portal] .portal-hero {
    background-color: var(--section-header-deep);
    background-image:
      radial-gradient(ellipse at 20% 30%, rgba(216, 166, 61, .08), transparent 60%),
      var(--section-header-tint), url('home-training-bg-ai.jpg');
  }
  body[data-public-portal] .portal-section-cta {
    background-color: var(--section-header-deep);
    background-image: var(--section-header-tint), url('home-training-bg-ai.jpg');
  }
  body[data-public-portal="elearning"] .portal-hero {
    background-image:
      radial-gradient(ellipse at 20% 30%, rgba(216, 166, 61, .08), transparent 60%),
      var(--section-header-tint), url('galeri/sesi-belajar.jpg');
  }
  body[data-public-portal="elearning"] .portal-section-cta {
    background-image: var(--section-header-tint), url('galeri/diskusi-materi.jpg');
  }

  body .article-hero,
  body .article-next { background: var(--section-header-solid); }
  body .cek-next { background: var(--section-header-solid) !important; }
  body .err-page {
    background-color: var(--section-header-deep);
    background-image: url('spiral-flow-hero.svg?v=20261017a'), var(--section-header-tint), url('not-found-bg-ai.jpg');
  }

  /* Preserve the e-book hero's intentional transition into its paper section. */
  body.page-ebook .ebook-hero {
    background-color: var(--section-header-deep);
    background-image:
      linear-gradient(180deg in oklab, transparent 54%, rgba(21, 31, 71, .18) 72%, rgba(177, 181, 199, .7) 91%, var(--ebook-paper) 100%),
      radial-gradient(circle at 83% 22%, rgba(85, 211, 175, .16), transparent 31%),
      radial-gradient(circle at 12% 16%, rgba(224, 174, 66, .14), transparent 26%),
      var(--section-header-tint), url('ebook-learning-bg-ai.jpg');
  }
  body.page-ebook .ebook-bundles {
    background-color: var(--section-header-deep) !important;
    background-image:
      var(--section-header-tint),
      radial-gradient(circle at 12% 24%, rgba(224, 174, 66, .14), transparent 25%),
      radial-gradient(circle at 90% 62%, rgba(85, 211, 175, .13), transparent 28%),
      url('ebook-bundle-bg-v1.jpg') !important;
  }
  body.page-ebook .ebook-cta {
    background-color: var(--section-header-deep) !important;
    background-image:
      var(--section-header-tint),
      radial-gradient(circle at 18% 80%, rgba(224, 174, 66, .2), transparent 31%),
      radial-gradient(circle at 88% 18%, rgba(85, 211, 175, .2), transparent 31%),
      url('ebook-cta-bg-v1.jpg') !important;
  }

  @media (min-width: 1024px) {
    body .kelas { background-image: var(--section-header-tint), url('galeri/kelas-asli-4032.jpg'); }
    body[data-public-portal="elearning"] .portal-hero {
      background-image:
        radial-gradient(ellipse at 20% 30%, rgba(216, 166, 61, .08), transparent 60%),
        var(--section-header-tint), url('galeri/kelas-asli-4032.jpg');
    }
  }
  @media (max-width: 720px) {
    body .gallery-hero { --gallery-section-photo: url('galeri/backgrounds/section-1-hero-mobile.jpg'); }
    body .gallery-film { --gallery-section-photo: url('galeri/backgrounds/section-3-film-mobile.jpg'); }
    body .gallery-ending { --gallery-section-photo: url('galeri/backgrounds/section-4-next-mobile.jpg'); }
  }
}

/* Carry the header's deep-navy palette through every page ending. The
   Learning Center strip is inserted immediately before the footer by JS. */
@media screen {
  body footer,
  body .cta-footer-connect footer,
  body .gallery-ending footer {
    background-color: #07101f !important;
    background-image:
      radial-gradient(circle at 12% 120%, rgba(216, 166, 61, .08), transparent 36%),
      linear-gradient(110deg, #07101f 0%, #0b1730 62%, #151f47 100%) !important;
    background-size: 100% 100% !important;
    border-top: 0 !important;
    box-shadow: none !important;
  }
  body .el-strip {
    background-color: #07101f;
    background-image: linear-gradient(110deg, #07101f 0%, #0b1730 62%, #151f47 100%);
    border-block-color: rgba(255, 255, 255, .08);
  }
}

/* Crisp section hand-offs: supersede legacy crossfade masks and veils without
   changing photos, cards, or their content. The thin green edge follows the
   existing four arc variants. */
@media screen {
  body :is(section, .cta-footer-connect, .gallery-ending) {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  body :is(.layanan, .proses, .kelas, .testi, .brevet-features,
    .brevet-cta, .harga-cta, .jadwal-content, .jadwal-cta,
    .ebook-catalog, .ebook-bundles, .ebook-guide, .ebook-cta) {
    margin-top: calc(-1 * var(--lp-wave-depth)) !important;
    padding-top: clamp(48px, 5vw, 76px) !important;
  }
  body :is(.hero, .kelas, .harga-content, .jadwal-hero, .jadwal-content,
    .kalk-hero, .artikel-hero, .reg-page, .lokasi-page, .faq-page,
    .policy-page, .comingsoon-page, .err-page)::after {
    display: none !important;
    content: none !important;
  }
  body :is(.brevet-hero, .brevet-features, .brevet-cta) {
    box-shadow: none !important;
  }
  body > section + section,
  body > main > section + section,
  body > section + .cta-footer-connect,
  body > main + .gallery-ending {
    border-top: 2px solid rgba(43, 214, 150, .9) !important;
    box-shadow: 0 -2px 9px rgba(43, 214, 150, .2);
  }
  body .harga-table thead th {
    background: #0b1730 !important;
    border-right-color: rgba(255, 255, 255, .1);
  }
  body .harga-table thead th:first-child { background: #07101f !important; }
  body .harga-table thead th:last-child { background: #151f47 !important; }
  body .harga-table thead .sub { color: #c6d4e6; }
  body .article-table thead th { background: #0b1730 !important; }
  body .harga-table-wrap {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* The old near-white photo veils made these real section images look foggy. */
  body .layanan {
    background-image:
      linear-gradient(180deg, rgba(245, 247, 251, .68), rgba(250, 250, 250, .65)),
      url('coretax-bg-v2.jpg') !important;
  }
  body .proses {
    background-image:
      linear-gradient(180deg, rgba(250, 248, 242, .67), rgba(248, 248, 246, .65)),
      url('proses-kerjasama-bg.jpg') !important;
  }
  body .testi {
    background-image:
      linear-gradient(180deg, rgba(248, 246, 239, .7), rgba(246, 248, 245, .68)),
      url('testimonials-trust-bg-ai.jpg') !important;
  }
  body .el-home {
    background-image:
      linear-gradient(180deg, rgba(245, 251, 248, .7), rgba(255, 255, 255, .68)),
      url('galeri/diskusi-materi.jpg') !important;
  }
  body[data-public-portal] .portal-section-soft {
    background-image:
      linear-gradient(145deg, rgba(245, 247, 251, .72), rgba(250, 249, 246, .7)),
      url('galeri/backgrounds/section-2-moments-desktop.jpg') !important;
  }
  body[data-public-portal] .portal-tint {
    background-image:
      linear-gradient(145deg, rgba(245, 247, 251, .72), rgba(250, 249, 246, .7)),
      url('galeri/foto-bersama-hero.jpg') !important;
  }
  /* Navy from the header palette gives light photo sections a consistent,
     legible ink without recolouring links, accent labels, or buttons. */
  body :is(.layanan, .proses, .el-home, .testi, .portal-section-soft, .portal-tint)
    :is(h1, h2, h3, h4, h5, h6) { color: #0b1730 !important; }
  body :is(.layanan, .proses, .el-home, .testi, .portal-section-soft, .portal-tint)
    :is(.section-head p, .card p, .step-body p, .proses-trust p,
      .el-lead, .el-points .d, .el-note, .testi-card p, .testi-card span,
      .portal-heading p, .portal-card p) { color: #253752 !important; }
}

/* 16 Oct finish: subdued photography, header-navy ink, consistent card
   surfaces and a crisp curved footer. Presentation only. */
@media screen {
  :root {
    --site-light-ink: #0b1730;
    --site-light-copy: #2b3e56;
    --site-light-paper: #f5f4f0;
    --site-light-veil: linear-gradient(180deg,
      rgba(246, 245, 241, .9), rgba(248, 247, 244, .92));
    --pc-ink: var(--site-light-ink);
    --pc-copy: var(--site-light-copy);
    --pc-border: #dce4eb;
    --pc-inner: #f8f7f3;
    --lp-ink: var(--site-light-ink);
    --lp-muted: var(--site-light-copy);
  }

  /* The previous revision made photos too prominent. Keep them as quiet,
     neutral-toned texture; never lower the opacity of section content. */
  body :is(.layanan, .proses, .testi, .el-home,
    .harga-content, .reg-page, .jadwal-content, .brevet-features,
    .kalk-form, .artikel-hub, .lokasi-page, .gallery-collection,
    .ebook-catalog, .portal-section-soft, .portal-tint) {
    background-color: var(--site-light-paper) !important;
    background-position: center, center, center !important;
    background-size: 100% 100%, 100% 100%, cover !important;
    background-repeat: no-repeat !important;
  }
  body :is(.layanan, .proses, .testi, .el-home, .jadwal-content,
    .brevet-features, .gallery-collection, .ebook-catalog,
    .portal-section-soft, .portal-tint) {
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  body .layanan { background-image: var(--site-light-veil), url('coretax-bg-v2.jpg') !important; }
  body .proses { background-image: var(--site-light-veil), url('proses-kerjasama-bg.jpg') !important; }
  body .testi { background-image: var(--site-light-veil), url('testimonials-trust-bg-ai.jpg') !important; }
  body .el-home { background-image: var(--site-light-veil), url('galeri/diskusi-materi.jpg') !important; }
  body .harga-content {
    background-image: url('spiral-flow-features-top.svg?v=20261017a'), var(--site-light-veil),
      url('pricing-bg-ai.jpg') !important;
  }
  body .reg-page {
    background-image: url('spiral-flow-features-top.svg?v=20261017a'), var(--site-light-veil),
      url('registration-bg-ai.jpg') !important;
  }
  body .jadwal-content {
    background-image: var(--site-light-veil), url('schedule-planner-bg-ai.jpg') !important;
  }
  body .brevet-features {
    background-image: var(--site-light-veil), url('brevet-curriculum-bg-ai.jpg') !important;
  }
  body .kalk-form {
    background-image: url('spiral-flow-features-bottom.svg?v=20261017a'), var(--site-light-veil),
      url('finance-photo.jpg') !important;
  }
  body .artikel-hub {
    background-image: url('spiral-flow-features-bottom.svg?v=20261017a'), var(--site-light-veil),
      url('artikel-pustaka-sketsa.jpg') !important;
  }
  body .lokasi-page {
    background-image: url('map-route.svg?v=20261017a'), var(--site-light-veil),
      url('location-office-bg-ai.jpg') !important;
  }
  body .gallery-collection {
    background-image: var(--site-light-veil),
      url('galeri/backgrounds/section-2-moments-desktop.jpg') !important;
  }
  body .ebook-catalog {
    background-image: var(--site-light-veil), url('ebook-learning-bg-ai.jpg') !important;
  }
  body[data-public-portal] .portal-section-soft {
    background-image: var(--site-light-veil),
      url('galeri/backgrounds/section-2-moments-desktop.jpg') !important;
  }
  body[data-public-portal] .portal-tint {
    background-image: var(--site-light-veil),
      url('galeri/foto-bersama-hero.jpg') !important;
  }
  body :is(.brevet-guide, .cek-page, .faq-page, .policy-page, .ebook-guide) {
    background-color: var(--site-light-paper) !important;
  }
  body .faq-page {
    background-image: url('question-pattern-light.svg?v=20261017a'),
      linear-gradient(var(--site-light-paper), var(--site-light-paper)) !important;
  }
  body .ebook-guide {
    background-image: url('spiral-rings.svg?v=20261017a'),
      linear-gradient(var(--site-light-paper), var(--site-light-paper)) !important;
  }
  body .cek-page {
    background-image: linear-gradient(var(--site-light-paper), var(--site-light-paper)) !important;
  }
  body .kalk-methodology {
    background-color: #07101f !important;
    background-image: url('spiral-flow-cta.svg?v=20261017a'),
      linear-gradient(110deg, #07101f, #0b1730 65%, #151f47) !important;
  }
  body :is(.testi, .brevet-features)::before {
    display: none !important;
  }
  body :is(.harga-content, .jadwal-content, .reg-page,
    .lokasi-page, .faq-page, .policy-page, .ebook-catalog,
    .ebook-guide, .kalk-form, .artikel-hub, .gallery-collection)::after {
    display: none !important;
    content: none !important;
  }
  body :is(.brevet-guide, .brevet-features, .ebook-catalog, .ebook-guide) {
    box-shadow: none !important;
  }

  /* Ink inherits from the header palette only on paper surfaces. Exclude
     darker inset calls-to-action so their white lettering remains legible. */
  body :is(.layanan, .proses, .testi, .el-home, .harga-content,
    .reg-page, .jadwal-content, .brevet-guide, .brevet-features,
    .kalk-form, .artikel-hub, .lokasi-page, .faq-page, .policy-page,
    .gallery-collection, .ebook-catalog, .ebook-guide, .cek-page,
    .portal-section-soft, .portal-tint) {
    --navy: var(--site-light-ink);
    --pc-ink: var(--site-light-ink);
    --pc-copy: var(--site-light-copy);
    color: var(--site-light-ink);
  }
  body :is(.layanan, .proses, .testi, .el-home, .harga-content,
    .reg-page, .jadwal-content, .brevet-guide, .brevet-features,
    .kalk-form, .artikel-hub, .lokasi-page, .faq-page, .policy-page,
    .gallery-collection, .ebook-catalog, .ebook-guide, .cek-page,
    .portal-section-soft, .portal-tint)
    :is(h1, h2, h3, h4):not(.cta-final *, .ebook-product-stage *,
      .harga-table thead *, .gallery-tile *, .portal-directory *) {
    color: var(--site-light-ink) !important;
  }
  body :is(.layanan, .proses, .testi, .el-home, .harga-content,
    .reg-page, .jadwal-content, .brevet-guide, .brevet-features,
    .kalk-form, .artikel-hub, .lokasi-page, .faq-page, .policy-page,
    .gallery-collection, .ebook-catalog, .ebook-guide, .cek-page,
    .portal-section-soft, .portal-tint)
    :is(.section-head p, .harga-page-sub, .guide-intro, .faq-page-sub,
      .policy-page-sub, .lokasi-page-sub, .el-lead, .el-points .d,
      .portal-heading > p:not(.portal-eyebrow), .card p, .portal-card p,
      .testi-card p, .testi-card span, .step-body p, .reg-page-sub) {
    color: var(--site-light-copy) !important;
  }

  /* Extend the compact pricing-card language to remaining neutral cards. */
  body :is(.harga-includes > div, .harga-table-wrap, .artikel-card,
    .artikel-feature-story, .article-side-card, .kalk-shell,
    .faq-page details, .ebook-product-stage, .gallery-next .next-panel) {
    border-radius: 24px;
    border-color: #dce4eb;
    box-shadow: 0 14px 36px rgba(7, 16, 31, .1);
  }
  body :is(.harga-includes > div, .artikel-card, .article-side-card,
    .faq-page details) {
    background-color: #fff;
  }

  /* A curved, fine neon-green edge works even when the preceding section is
     the same navy. Keep footer typography and links untouched. */
  body footer,
  body.page-ebook footer,
  body .cta-footer-connect footer,
  body .gallery-ending footer {
    position: relative;
    z-index: 2;
    margin-top: -16px !important;
    border-top: 2px solid rgba(43, 214, 150, .82) !important;
    border-radius: 46% 54% 0 0 / 18px 18px 0 0;
    background-color: #07101f !important;
    background-image: linear-gradient(110deg, #07101f 0%, #0b1730 62%, #151f47 100%) !important;
    background-position: center !important;
    background-size: 100% 100% !important;
  }

  /* Preload uses the same navy/green/gold system, without a hazy blur. */
  body .preloader {
    background-color: #07101f !important;
    background-image: url('spiral-rings-dark.svg'),
      linear-gradient(110deg, #07101f, #0b1730 62%, #151f47) !important;
    background-position: center !important;
    background-size: cover, 100% 100% !important;
  }
  body .preloader-inner {
    background: #0b1730;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    filter: none !important;
  }
  body .preloader-logo,
  body .preloader.is-hiding { filter: none !important; }
  body .preloader-status { color: #c6d4e6; }
  body .policy-page {
    background-image: url('tax-documents.svg'), var(--site-light-veil),
      url('terms-policy-bg-ai.jpg') !important;
    background-position: center top, center, center !important;
    background-size: 100% 540px, 100% 100%, cover !important;
    background-blend-mode: normal !important;
  }
  body.page-refund-policy .policy-page {
    background-image: url('tax-documents.svg'), var(--site-light-veil),
      url('refund-policy-bg-ai.jpg') !important;
  }
  body .article-main {
    background: var(--site-light-paper) !important;
    color: #0b1730;
  }
  body .article-main::before { display: none !important; }
  body .article-main :is(h2, h3):not(.article-next *) { color: #0b1730 !important; }
  /* The old eBook hero faded to pale paper before its boundary and looked
     like fog. Let the existing curved hand-off do the transition instead. */
  body.page-ebook .ebook-hero {
    background-image: linear-gradient(108deg,
      rgba(7, 16, 31, .96), rgba(11, 23, 48, .9) 64%,
      rgba(21, 31, 71, .9)), url('ebook-learning-bg-ai.jpg') !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  body.page-ebook :is(.ebook-bundles, .ebook-cta) {
    background-image: linear-gradient(108deg,
      rgba(7, 16, 31, .96), rgba(11, 23, 48, .9) 64%,
      rgba(21, 31, 71, .9)), url('ebook-bundle-bg-v1.jpg') !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  body.page-ebook .ebook-cta {
    background-image: linear-gradient(108deg,
      rgba(7, 16, 31, .96), rgba(11, 23, 48, .9) 64%,
      rgba(21, 31, 71, .9)), url('ebook-cta-bg-v1.jpg') !important;
  }
  @media (max-width: 720px) {
    body .gallery-collection {
      background-image: var(--site-light-veil),
        url('galeri/backgrounds/section-2-moments-mobile.jpg') !important;
    }
  }
  /* Shared brand tokens also reach inline SVGs and legacy page components. */
  :root {
    --navy: #0b1730;
    --navy-2: #151f47;
    --indigo: #0b1730;
  }

  /* White cards keep their existing layout and accent tabs, but share the
     price-table's navy typography, radius, border and compact depth. */
  body :is(.hero-feature, .hero-card, .layanan .card, .keunggulan-card,
    .materi-card, .testi-card, .portal-card, .portal-access,
    .jadwal-card, .jl-card, .reg-card, .lokasi-card, .policy-block,
    .cek-card, .brevet-programs > article, .ebook-card,
    .ebook-guide-card, .ebook-roadmap-mini-card, .artikel-card,
    .article-side-card, .harga-includes > div, .faq-page details,
    .method-card, .kuota-group) {
    border-color: #dce4eb;
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(7, 16, 31, .1);
  }
  body :is(.hero-feature, .hero-card, .layanan .card, .keunggulan-card,
    .materi-card, .testi-card, .portal-card, .portal-access,
    .jadwal-card, .jl-card, .reg-card, .lokasi-card, .policy-block,
    .cek-card, .brevet-programs > article, .ebook-card,
    .ebook-guide-card, .ebook-roadmap-mini-card, .artikel-card,
    .article-side-card, .harga-includes > div, .faq-page details,
    .method-card, .kuota-group) :is(h2, h3, h4, summary) {
    color: #0b1730 !important;
  }
  body :is(.hero-feature, .hero-card, .layanan .card, .keunggulan-card,
    .materi-card, .testi-card, .portal-card, .portal-access,
    .jadwal-card, .jl-card, .reg-card, .lokasi-card, .policy-block,
    .cek-card, .brevet-programs > article, .ebook-card,
    .ebook-guide-card, .ebook-roadmap-mini-card, .artikel-card,
    .article-side-card, .harga-includes > div, .faq-page details,
    .method-card, .kuota-group) p {
    color: #2b3e56 !important;
  }
  /* Contrast audit: dark hero headings must not inherit white-card ink. */
  body .hero .hero-card > h3 { color: #fff !important; }

  /* White text on the former bright green button was only about 3.1:1.
     The deeper emerald remains on-brand and clears 4.5:1. */
  body .btn-primary,
  body .el-btn {
    background: #087f59 !important;
    border-color: #087f59 !important;
    color: #fff !important;
  }
  body .btn-primary:hover,
  body .btn-primary:focus-visible,
  body .el-btn:hover,
  body .el-btn:focus-visible {
    background: #066b4b !important;
    border-color: #066b4b !important;
    color: #fff !important;
  }

  /* Small labels and links on pale cards need the same readable ink. */
  body .el-card h4 span,
  body[data-public-portal] .portal-tint a[href="cek-sertifikat"],
  body[data-public-portal] .portal-go {
    color: #087a52 !important;
  }
  body .el-q small { color: #526174 !important; }
  body .lokasi-rating span { color: #755911 !important; }
  body.page-ebook .ebook-guide-card--complete {
    background: linear-gradient(135deg, #0b1730, #172349) !important;
    border-color: rgba(255, 255, 255, .2);
  }
  body.page-ebook .ebook-guide-card--complete :is(h3, p, li) {
    color: #eef3f8 !important;
  }
  body.page-ebook .ebook-guide .ebook-guide-card--complete
    .ebook-guide-body h3 { color: #eef3f8 !important; }
  body.page-ebook .ebook-guide-card--complete .ebook-guide-audience,
  body.page-ebook .ebook-guide-card--complete .ebook-guide-link.is-coming-soon {
    color: #f2ca67 !important;
  }
  body.page-ebook .ebook-series-status > div:not(.is-ready) span {
    color: #526174 !important;
  }
  body.page-ebook .ebook-series-status .is-ready span {
    background: #087f59 !important;
    color: #fff !important;
  }
  body.page-ebook .ebook-bundle-value-label { color: #536159 !important; }
  body.page-ebook .ebook-guide-card:not(.ebook-guide-card--complete)
    .ebook-guide-link.is-coming-soon { color: #536071 !important; }

  /* Keep photo captions legible even over the brightest classroom shots. */
  body .gallery-tile::after {
    background: linear-gradient(transparent 16%, rgba(4, 16, 30, .92)) !important;
  }
  body .gallery-tile .tile-overlay {
    text-shadow: 0 1px 4px rgba(4, 16, 30, .65);
  }

  /* Final palette pass: old per-page violet gradients become header navy;
     broad pale-blue panels become neutral paper. Keep the existing photos. */
  body { background-color: #f5f4f0; }
  body .cta-final.reveal {
    background-color: #07101f !important;
    background-image: url('spiral-flow-cta.svg?v=20261017a'),
      linear-gradient(110deg, #07101f, #0b1730 63%, #151f47) !important;
    background-position: center, center !important;
    background-size: cover, 100% 100% !important;
  }
  body .cta-final.reveal :is(h2, h3) { color: #fff !important; }
  body .cta-final.reveal > p { color: #dbe5ec !important; }
  body.page-articles .artikel-hero.artikel-hero {
    background-color: #07101f !important;
    background-image: linear-gradient(105deg,
      rgba(7, 16, 31, .97), rgba(11, 23, 48, .94) 58%,
      rgba(21, 31, 71, .9)), url('artikel-pustaka-sketsa.jpg') !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  body.page-articles .artikel-hero-note {
    background-color: rgba(7, 16, 31, .92) !important;
  }
  body.page-articles .artikel-tab.is-active {
    background: #0b1730 !important;
    border-color: #0b1730 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(7, 16, 31, .18) !important;
  }
  body :is(.kuota-live, .kalk-tabs, .ebook-promo-countdown) {
    background-color: #07101f !important;
    background-image: linear-gradient(110deg,
      #07101f, #0b1730 63%, #151f47) !important;
  }
  /* The live schedule sits on navy: the general light-section ink must not win here. */
  body .jadwal-content .kuota-live .kuota-live-head h3 {
    color: #fff !important;
  }
  body.page-webinar .webinar-soon {
    background-color: #07101f !important;
    background-image: linear-gradient(105deg,
      rgba(7, 16, 31, .97), rgba(11, 23, 48, .94) 58%,
      rgba(21, 31, 71, .86)), url('webinar-hero-bg-v2.jpg') !important;
  }
  body :is(.portal-photo, .hero-photo-frame, .artikel-feature-story) {
    background-color: #0b1730 !important;
  }
  body :is(.reg-check, .kalk-subtabs, .artikel-card-media,
    .cek-privacy, .cek-figure, .cek-legal) {
    background-color: #f8f7f3 !important;
  }
  body .final-cta-quote.is-light {
    background-color: rgba(250, 249, 246, .94) !important;
  }
  body .ebook-catalog-assurance {
    background-color: rgba(11, 23, 48, .05) !important;
  }
  body .brevet-features .materi-card:first-child {
    background: radial-gradient(circle at 100% 0,
      rgba(11, 23, 48, .045), transparent 44%), #fff !important;
  }
  body .cek-field input {
    background: #f8f7f3 !important;
    border-color: #d8ddd9 !important;
    color: #0b1730 !important;
  }
  body .cek-field input:focus {
    background: #fff !important;
  }
  body.page-tax-calculator .kalk-top {
    background: radial-gradient(circle at 90% 10%,
      rgba(16, 171, 112, .08), transparent 30%),
      linear-gradient(135deg, rgba(7, 16, 31, .88),
        rgba(11, 23, 48, .72)) !important;
  }
  body.page-ebook .ebook-guide-assist,
  body.page-ebook .kelas-cta-final {
    background: radial-gradient(circle at 95% 5%,
      rgba(16, 171, 112, .1), transparent 32%),
      linear-gradient(115deg, #07101f, #0b1730 65%, #151f47) !important;
    color: #fff !important;
  }
  body.page-ebook .ebook-card-cover {
    background: radial-gradient(circle at 80% 18%,
      color-mix(in srgb, var(--ebook-accent) 14%, transparent),
      transparent 29%),
      radial-gradient(circle at 13% 90%,
        rgba(11, 23, 48, .055), transparent 32%),
      linear-gradient(145deg, #fff, #f4f3ef) !important;
  }
  body.page-ebook .ebook-guide-cover--wide {
    background-color: #f5f4f0 !important;
  }
}

/* Shared CTA motion: one restrained neon language across public pages.
   Shadows sit outside the control, so labels and icons stay unobscured. */
@media screen {
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link:not(.is-coming-soon),
    a.el-hero-chip, a.wa-float, a.header-login) {
    --cta-neon: 10, 190, 125;
    transition: transform .38s cubic-bezier(.2,.8,.2,1),
      box-shadow .38s cubic-bezier(.2,.8,.2,1),
      filter .38s ease, border-color .38s ease,
      background-color .38s ease;
    backface-visibility: hidden;
  }
  body header .nav-cta > :is(.btn, .header-login) {
    --cta-neon: 247, 195, 49;
  }
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link:not(.is-coming-soon),
    a.el-hero-chip, a.wa-float, a.header-login):focus-visible {
    outline: 2px solid rgba(var(--cta-neon), .95) !important;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(var(--cta-neon), .16),
      0 0 24px rgba(var(--cta-neon), .28) !important;
  }
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link):is(:disabled, [aria-disabled="true"]) {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link:not(.is-coming-soon),
    a.el-hero-chip, a.wa-float, a.header-login):not(:disabled):not([aria-disabled="true"]):hover {
    transform: translate3d(0, -3px, 0) scale(1.012) !important;
    filter: brightness(1.045);
    box-shadow: 0 9px 24px rgba(7, 16, 31, .18),
      0 0 0 1px rgba(var(--cta-neon), .4),
      0 0 18px rgba(var(--cta-neon), .27),
      0 0 38px rgba(var(--cta-neon), .12) !important;
  }
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link:not(.is-coming-soon),
    a.el-hero-chip, a.wa-float, a.header-login):active {
    transform: translate3d(0, -1px, 0) scale(.99) !important;
    transition-duration: .12s;
  }
}
@media (prefers-reduced-motion: reduce) {
  body :is(a.btn, button.btn, a.el-btn, button.el-btn,
    a.ebook-stage-cta, a.ebook-guide-link:not(.is-coming-soon),
    a.el-hero-chip, a.wa-float, a.header-login) {
    transition: none !important;
    transform: none !important;
  }
}

/* 2026-11-11 — section jarang konten tidak dipaksa setinggi satu layar.
   Tinggi mengikuti isi dengan jarak vertikal yang lega, sehingga tidak ada ruang kosong
   besar saat berpindah antar-section. Section padat tetap tumbuh seperti biasa. */
@media (min-width: 1024px) and (min-height: 700px) {
  html body :is(.artikel-cta, .brevet-cta, .cek-next, .portal-section, .jadwal-content,
    .jadwal-cta, .kalk-cta, .gallery-film, .ebook-cta, .harga-cta, .webinar-soon) {
    min-height: 0 !important;
    padding-block: clamp(64px, 7vw, 104px) !important;
  }
}
@media (max-width: 1023px), (max-height: 699px) {
  html body section.cek-next { min-height: 0 !important; }
}
