/* ============================================
   DETAIL PAGES — clean & minimal aesthetic
   Matches the main RND FACTORY page: generous whitespace,
   restrained typography, single accent color (#007aff),
   no decorative gradients or large badges.
   ============================================ */

.detail-body {
    background: #ffffff;
    color: #1d1d1f;
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* --- Top nav --- */
.detail-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.detail-nav__brand img {
    height: 22px;
    width: auto;
    filter: invert(1);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.detail-nav__brand:hover img { opacity: 1; }

.detail-nav__back {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.005em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: 999px;
    transition: color 0.2s ease;
}

.detail-nav__back:hover { color: #007aff; }
.detail-nav__back-arrow { font-size: 15px; line-height: 1; }

/* --- Hero --- */
.detail-hero,
.proc-hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 122, 255, 0.18) 0%, transparent 65%),
        linear-gradient(180deg, #020817 0%, #051535 50%, #020817 100%);
    color: #fff;
}

.detail-hero__bg,
.proc-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.detail-hero__bg .hero-orb,
.proc-hero__bg .hero-orb {
    filter: blur(80px);
    opacity: 0.4;
}

.detail-hero__content,
.proc-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.detail-hero__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.detail-hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0 0 22px;
}

.detail-hero__title .gradient-text {
    background: linear-gradient(135deg, #5ac8fa 0%, #ffffff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero title — line-by-line sequential reveal (mirrors main hero) */
.detail-hero__line {
    display: block;
    opacity: 0;
    transform: translateY(28px);
    animation: detailHeroLineReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-hero__line-1 {
    animation-delay: 0.3s;
}

.detail-hero__line-2 {
    animation-delay: 0.6s;
}

@keyframes detailHeroLineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-hero__sub {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 640px;
    letter-spacing: -0.005em;
    opacity: 0;
    transform: translateY(20px);
    animation: detailHeroLineReveal 1.2s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Generic section frame --- */
.detail-section {
    position: relative;
    padding: 120px 0;
}

.detail-section__head {
    margin-bottom: 64px;
}

.detail-section__num {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.24em;
    color: #007aff;
    margin-bottom: 14px;
}

.detail-section__head--light .detail-section__num {
    color: #5ac8fa;
}

.detail-section__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.16;
    color: #1d1d1f;
    margin: 0;
    word-break: keep-all;
}

.detail-section__head--light .detail-section__title { color: #fff; }

/* --- Reveal animations --- */
.cert-card,
.reason-card,
.diff-card,
.method-row,
.pipe-stage,
.proc-check,
.pain-rail li,
.proc-intro__panel,
.detail-point,
.detail-headline,
.detail-final {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card.is-shown,
.reason-card.is-shown,
.diff-card.is-shown,
.method-row.is-shown,
.pipe-stage.is-shown,
.proc-check.is-shown,
.pain-rail li.is-shown,
.proc-intro__panel.is-shown,
.detail-point.is-shown,
.detail-headline.is-shown,
.detail-final.is-shown {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays — applied broadly */
.cert-grid > *:nth-child(2), .reason-grid > *:nth-child(2),
.diff-grid > *:nth-child(2), .pain-rail > *:nth-child(2),
.method-list > *:nth-child(2), .proc-checklist > *:nth-child(2),
.pipeline .pipe-stage:nth-of-type(2) { transition-delay: 0.07s; }
.cert-grid > *:nth-child(3), .reason-grid > *:nth-child(3),
.diff-grid > *:nth-child(3), .pain-rail > *:nth-child(3),
.method-list > *:nth-child(3), .proc-checklist > *:nth-child(3),
.pipeline .pipe-stage:nth-of-type(3) { transition-delay: 0.14s; }
.cert-grid > *:nth-child(4), .diff-grid > *:nth-child(4),
.pain-rail > *:nth-child(4), .method-list > *:nth-child(4),
.proc-checklist > *:nth-child(4) { transition-delay: 0.21s; }
.cert-grid > *:nth-child(5), .pain-rail > *:nth-child(5),
.proc-checklist > *:nth-child(5) { transition-delay: 0.28s; }

/* --- Intro section --- */
.detail-section--intro {
    background: #ffffff;
}

.detail-lead {
    font-size: clamp(15px, 1.45vw, 18px);
    color: #86868b;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 18px;
}

.detail-lead em {
    font-style: normal;
    color: #007aff;
    font-weight: 600;
}

.detail-headline {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.34;
    letter-spacing: -0.025em;
    margin: 0 0 56px;
    max-width: 880px;
    word-break: keep-all;
}

.detail-headline strong { font-weight: 700; }
.detail-headline br { display: block; }

@media (max-width: 540px) {
    .detail-headline br { display: none; }
}

.hl-gradient {
    color: #007aff;
}

.detail-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 880px;
}

.detail-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 22px;
    background: #f5f5f7;
    border-radius: 14px;
}

.detail-point__dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #007aff;
    margin-top: 10px;
}

.detail-point p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #1d1d1f;
    font-weight: 500;
    letter-spacing: -0.005em;
}

/* --- Cert grid (certification page section 2) --- */
.detail-section--certs {
    background: #f5f5f7;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.cert-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cert-card.is-shown { transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease; }

.cert-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.18);
}

.cert-card--wide { grid-column: span 2; }

.cert-card__num {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #007aff;
    margin-bottom: 12px;
}

.cert-card__name {
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    line-height: 1.2;
    margin: 0 0 4px;
}

.cert-card__sub {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #86868b;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cert-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-card__list li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #515154;
    letter-spacing: -0.005em;
}

.cert-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #007aff;
}

.cert-card__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
}

.cert-iso__name {
    font-size: 17px;
    font-weight: 800;
    color: #007aff;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 122, 255, 0.15);
    letter-spacing: 0.01em;
}

.detail-tagline {
    margin: 80px auto 0;
    text-align: center;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    line-height: 1.4;
    word-break: keep-all;
}

/* --- Reasons (cert page section 3) --- */
.detail-section--reasons {
    background: #ffffff;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.reason-card {
    padding: 32px 28px;
    background: #f5f5f7;
    border-radius: 18px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.reason-card.is-shown { transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), background 0.3s ease; }

.reason-card:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.08);
}

.reason-card__index {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #007aff;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.reason-card__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 14px;
    line-height: 1.3;
}

.reason-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reason-card__list li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #515154;
    letter-spacing: -0.005em;
}

.reason-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #007aff;
}

.reason-card__list .arrow {
    color: #007aff;
    font-weight: 700;
    margin: 0 2px;
}

/* --- Differentiation (dark section) --- */
.detail-section--diff {
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 122, 255, 0.16) 0%, transparent 65%),
        linear-gradient(180deg, #020817 0%, #051535 50%, #020817 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.detail-section--diff .aurora-orbs {
    z-index: 0;
    opacity: 0.35;
}

.detail-section--diff .aurora-orbs .hero-orb {
    filter: blur(80px);
    opacity: 0.5;
}

.detail-section--diff .container {
    position: relative;
    z-index: 2;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.diff-card {
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.diff-card.is-shown { transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), background 0.3s ease, border-color 0.3s ease; }

.diff-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.diff-card__step {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #5ac8fa;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.diff-card__title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.35;
}

.diff-card__detail {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: -0.005em;
}

.diff-card__detail .arrow,
.flow-card__arrow .arrow-icon,
.pipe-stage__arrow {
    color: #5ac8fa;
    margin: 0 4px;
}

.diff-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.diff-card__list li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.005em;
}

.diff-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #5ac8fa;
}

.detail-final {
    margin: 80px auto 0;
    text-align: center;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    line-height: 1.42;
    word-break: keep-all;
}

.detail-final .gradient-text {
    background: linear-gradient(135deg, #5ac8fa 0%, #ffffff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Back-to-main CTA (inline) --- */
.detail-cta-inline {
    margin-top: 48px;
    text-align: center;
}

.detail-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.005em;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.detail-cta__link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.detail-cta__arrow { font-size: 16px; line-height: 1; }

/* ============================================
   PROCUREMENT PAGE — same minimal language,
   distinct section layouts only where it adds clarity.
   ============================================ */

/* Section 1 (intro) — split 2-col layout */
.proc-intro { background: #ffffff; }

.proc-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.proc-intro__main .detail-section__head { margin-bottom: 36px; }
.proc-intro__main .detail-headline { margin-bottom: 0; }

.proc-intro__panel {
    padding: 32px 30px;
    background: #f5f5f7;
    border-radius: 18px;
}

.proc-intro__panel-eyebrow {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #007aff;
    text-transform: uppercase;
}

.proc-intro__panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.proc-intro__panel-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14.5px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.005em;
}

.proc-intro__panel-list li:last-child { border-bottom: none; }

.proc-list-num {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #007aff;
    letter-spacing: 0.05em;
    min-width: 26px;
}

/* Section 2 (methods) — clean horizontal rows */
.proc-methods { background: #f5f5f7; }

.method-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.method-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 32px 36px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.method-row.is-shown { transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease; }

.method-row:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.18);
}

.method-row__index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.method-row__num {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #007aff;
    letter-spacing: -0.03em;
}

.method-row__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #86868b;
    text-transform: uppercase;
}

.method-row__name {
    font-size: clamp(20px, 1.9vw, 24px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    margin: 0 0 4px;
    line-height: 1.2;
}

.method-row__alt {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    letter-spacing: 0;
}

.method-row__type {
    font-size: 13.5px;
    font-weight: 500;
    color: #6e6e73;
    margin: 0 0 16px;
    letter-spacing: -0.005em;
}

.method-row__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 122, 255, 0.08);
    color: #007aff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.chip--strong {
    background: #007aff;
    color: #fff;
}

/* Section 3 (pains) — clean list with subtle accent */
.proc-pains { background: #ffffff; }

.pain-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 880px;
}

.pain-rail li {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #f5f5f7;
    border-radius: 14px;
    transition: background 0.3s ease;
}

.pain-rail li.is-shown { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1), background 0.3s ease; }

.pain-rail li:hover { background: #ebebee; }

.pain-rail__x {
    display: none; /* hidden in minimal layout; using number instead */
}

.pain-rail__num {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #007aff;
    letter-spacing: 0.05em;
    text-align: left;
}

.pain-rail__text {
    font-size: clamp(15px, 1.55vw, 18px);
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.pain-br { display: none; }
@media (min-width: 769px) {
    .pain-br { display: block; }
}

/* Section 4 (pipeline) — clean stages with subtle arrow */
.proc-pipeline-section { background: #f5f5f7; }

.pipeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
}

.pipe-stage {
    padding: 36px 30px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pipe-stage.is-shown { transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease; }

.pipe-stage:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.18);
}

.pipe-stage--final {
    background: #007aff;
    color: #fff;
    border-color: transparent;
}

.pipe-stage--final .pipe-stage__title,
.pipe-stage--final .pipe-stage__items,
.pipe-stage--final .pipe-stage__result,
.pipe-stage--final .pipe-stage__index { color: #fff; }

.pipe-stage__index {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #007aff;
    margin-bottom: 12px;
}

.pipe-stage__title {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    margin: 0 0 6px;
    line-height: 1.2;
}

.pipe-stage__items {
    font-size: 13.5px;
    color: #6e6e73;
    margin: 0 0 18px;
    line-height: 1.55;
}

.pipe-stage__result {
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 122, 255, 0.15);
    font-size: 14px;
    font-weight: 700;
    color: #007aff;
    letter-spacing: -0.005em;
}

.pipe-stage--final .pipe-stage__result {
    border-top-color: rgba(255, 255, 255, 0.25);
}

.pipe-stage__arrow {
    color: #5ac8fa;
    margin-right: 4px;
}

.pipe-stage--final .pipe-stage__arrow { color: rgba(255, 255, 255, 0.85); }

.pipe-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: rgba(0, 0, 0, 0.25);
}

.pipe-connector svg {
    width: 48px;
    height: 32px;
}

/* Section 5 (strategies) — clean checklist */
.strategy-eyebrow {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.26em;
    color: #5ac8fa;
    text-transform: uppercase;
}

.proc-checklist {
    list-style: none;
    margin: 0 0 56px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 720px;
}

.proc-check {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.proc-check.is-shown { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1), background 0.3s ease, border-color 0.3s ease; }

.proc-check:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.proc-check__mark {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(90, 200, 250, 0.18);
    color: #5ac8fa;
    font-size: 11px;
    font-weight: 900;
}

.proc-check__num {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    min-width: 26px;
}

.proc-check__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.005em;
    line-height: 1.45;
}

/* ============================================
   SCROLL-PIN SECTION — sticky stage where content
   and background change as the user scrolls through.
   Used on both detail pages for a signature moment.
   ============================================ */

.scroll-pin {
    position: relative;
    /* Each slide gets ~70vh of scroll runway after the sticky 100vh viewport.
       Pin height = slides × 70 + 100 (rounded). */
    height: 310vh;
}

.scroll-pin[data-slides="2"] { height: 180vh; }
.scroll-pin[data-slides="3"] { height: 230vh; }
.scroll-pin[data-slides="4"] { height: 285vh; }
.scroll-pin[data-slides="5"] { height: 340vh; }
.scroll-pin[data-slides="6"] { height: 390vh; }
.scroll-pin[data-slides="7"] { height: 445vh; }
.scroll-pin[data-slides="8"] { height: 495vh; }
.scroll-pin[data-slides="9"] { height: 550vh; }
.scroll-pin[data-slides="10"] { height: 600vh; }

.scroll-pin__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-pin__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 70% at var(--pin-x, 50%) var(--pin-y, 50%), rgba(0, 122, 255, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    transition: background 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin__bg--dark {
    background:
        radial-gradient(ellipse 60% 60% at var(--pin-x, 50%) var(--pin-y, 50%), rgba(0, 122, 255, 0.32) 0%, transparent 60%),
        linear-gradient(180deg, #020817 0%, #051535 50%, #020817 100%);
}

.scroll-pin .aurora-orbs {
    z-index: 0;
    opacity: 0.45;
}

.scroll-pin__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.scroll-pin__head {
    margin-bottom: 36px;
}

.scroll-pin__head--light .detail-section__num { color: #5ac8fa; }
.scroll-pin__head--light .detail-section__title { color: #fff; }

.scroll-pin__progress {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.pin-dot {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.18);
    transition: background 0.4s ease, width 0.4s ease;
}

.pin-dot.is-active {
    background: #007aff;
    width: 56px;
}

.scroll-pin__progress--light .pin-dot {
    background: rgba(255, 255, 255, 0.18);
}

.scroll-pin__progress--light .pin-dot.is-active {
    background: #5ac8fa;
}

.scroll-pin__slides {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.pin-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.pin-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pin-slide.is-past {
    opacity: 0;
    transform: translateY(-40px);
}

.pin-slide__step {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #007aff;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.scroll-pin--dark .pin-slide__step { color: #5ac8fa; }

.pin-slide__title {
    font-size: clamp(36px, 5.4vw, 72px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0 0 22px;
    color: #1d1d1f;
    word-break: keep-all;
    max-width: 900px;
}

.scroll-pin--dark .pin-slide__title { color: #fff; }

.pin-slide__items {
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 500;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0 0 26px;
    max-width: 720px;
    letter-spacing: -0.005em;
}

.scroll-pin--dark .pin-slide__items { color: rgba(255, 255, 255, 0.72); }

.pin-slide__result {
    display: inline-block;
    margin: 0;
    padding: 12px 24px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #007aff;
    letter-spacing: -0.005em;
}

.scroll-pin--dark .pin-slide__result {
    background: rgba(90, 200, 250, 0.16);
    color: #5ac8fa;
}

.pin-slide__arrow {
    margin-right: 6px;
    color: #5ac8fa;
    font-weight: 900;
}

/* Variants for different pin types */
.pin-slide__alt {
    display: inline-block;
    margin-left: 12px;
    font-size: 0.5em;
    font-weight: 600;
    color: #86868b;
    letter-spacing: 0;
    vertical-align: middle;
}

.pin-slide__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    max-width: 820px;
}

.pin-slide__values {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    max-width: 540px;
    width: 100%;
}

.pin-slide__values li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    background: rgba(0, 122, 255, 0.06);
    border-radius: 16px;
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.005em;
}

.pin-slide__values-num {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #007aff;
    letter-spacing: 0.05em;
    min-width: 28px;
}

/* Alert variant (failures section) */
.scroll-pin--alert .scroll-pin__bg {
    background:
        radial-gradient(ellipse 70% 70% at var(--pin-x, 50%) var(--pin-y, 50%), rgba(255, 59, 48, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.detail-section__num--alert {
    color: #ff3b30 !important;
}

.scroll-pin__progress--alert .pin-dot {
    background: rgba(255, 59, 48, 0.18);
}

.scroll-pin__progress--alert .pin-dot.is-active {
    background: #ff3b30;
}

.pin-slide__step--alert {
    color: #ff3b30 !important;
}

.pin-slide__mark {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 26px;
}

.pin-slide__mark--x {
    background: linear-gradient(135deg, #ff3b30 0%, #ff8a3d 100%);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0.1);
}

.pin-slide__mark--check {
    background: linear-gradient(135deg, #5ac8fa 0%, #007aff 100%);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(90, 200, 250, 0.18);
}

.detail-final-section {
    padding: 100px 0;
}

.detail-tagline-section {
    padding: 60px 0;
    background: #f5f5f7;
    text-align: center;
}

/* ============================================
   SECTION REVEAL — staggered fade-up on entry
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(56px);
    transition:
        opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-up.is-up {
    opacity: 1;
    transform: translateY(0);
}

/* LIST variant cards have their own opacity rules from .scroll-pin--list .pin-slide
   which would override the .reveal-up opacity. Force the pre-reveal hidden state
   with higher specificity until .is-up is added. */
.scroll-pin--list .pin-slide.reveal-up:not(.is-up) {
    opacity: 0;
    transform: translateY(56px);
}

/* Before the section is revealed, the active slide's whole content stays
   hidden. When .is-section-revealed adds, the base .pin-slide.is-active rule
   kicks back in and the slide fades up as one unit (via the existing
   .pin-slide transition: opacity 0.7s + transform 0.7s). */
.scroll-pin:not(.scroll-pin--list):not(.is-section-revealed) .pin-slide.is-active {
    opacity: 0;
    transform: translateY(40px);
}

/* Chapter intro — sits between hero and PIN section as a clean title block
   (solid white matches PIN 1's gradient TOP edge so they read as one continuous section) */
.detail-chapter-intro {
    background: #ffffff;
    padding: 90px 0 0;
    text-align: center;
}

.detail-chapter-intro__num {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #86868b;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.detail-chapter-intro__title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1d1d1f;
    margin: 0;
    word-break: keep-all;
}

/* Chapter-break tagline section with hero-style dark background */
.detail-tagline-section--hero {
    position: relative;
    padding: 137px 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 122, 255, 0.18) 0%, transparent 65%),
        linear-gradient(180deg, #020817 0%, #051535 50%, #020817 100%);
    color: #fff;
}

.detail-tagline-section--hero .container {
    position: relative;
    z-index: 2;
}

.detail-tagline-section--hero .detail-tagline {
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(36px, 4.2vw, 62px);
    letter-spacing: -0.03em;
}

.detail-tagline-section--hero .hl-gradient {
    background: linear-gradient(135deg, #5ac8fa 0%, #ffffff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Bullet list inside pin slides */
.pin-slide__bullets {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
    width: 100%;
    text-align: left;
}

.pin-slide__bullets li {
    position: relative;
    padding-left: 18px;
    font-size: clamp(14px, 1.35vw, 17px);
    font-weight: 500;
    color: #515154;
    line-height: 1.55;
    letter-spacing: -0.005em;
}

.pin-slide__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #007aff;
}

.scroll-pin--dark .pin-slide__bullets li {
    color: rgba(255, 255, 255, 0.78);
}

.scroll-pin--dark .pin-slide__bullets li::before {
    background: #5ac8fa;
}

/* ISO sub-layout inside slide 9 of cert page */
.pin-slide__iso {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 56px;
    margin-top: 18px;
    max-width: 760px;
    width: 100%;
    text-align: left;
}

.pin-slide__iso-name {
    font-size: 17px;
    font-weight: 800;
    color: #007aff;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 122, 255, 0.18);
    letter-spacing: 0.01em;
}

.pin-slide__iso .pin-slide__bullets {
    margin: 0;
    max-width: none;
}

/* Dense progress (for 10-slide sections) */
.scroll-pin__progress--dense {
    gap: 8px;
    max-width: 480px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-pin__progress--dense .pin-dot {
    width: 24px;
}

.scroll-pin__progress--dense .pin-dot.is-active {
    width: 40px;
}

/* ============================================
   PIN STYLE VARIANTS — each section gets its own visual identity
   while sharing the scroll-pin mechanic.
   ============================================ */

/* ---- QUOTE variant — big background number, centered statement ---- */
.scroll-pin--quote .scroll-pin__head {
    display: none;
}

/* QUOTE PIN section level — solid white, chapter title pinned inside stage */
.scroll-pin--quote {
    background: #ffffff;
}

/* No gradient/glow — flat white background */
.scroll-pin--quote .scroll-pin__bg {
    background: none;
}

/* Reduce QUOTE PIN total scroll travel by 300px */
.scroll-pin.scroll-pin--quote[data-slides="3"] {
    height: calc(230vh - 300px);
}

/* Stage uses column flex so chapter title sits at top and slides fill the rest */
.scroll-pin--quote .scroll-pin__stage {
    flex-direction: column;
    align-items: stretch;
}

/* Chapter title block sits at the top of the PIN section, in normal flow.
   As the user scrolls past it, the sticky stage takes over. */
.scroll-pin__chapter {
    text-align: center;
    position: relative;
    z-index: 2;
}

.scroll-pin__chapter-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1d1d1f;
    margin: 0;
    word-break: keep-all;
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin__chapter-title.is-up {
    opacity: 1;
    transform: translateY(0);
}

.scroll-pin--quote .scroll-pin__inner {
    position: relative;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 0 40px;
    box-sizing: border-box;
}

.scroll-pin--quote .scroll-pin__slides {
    min-height: 0;
    flex: 1 1 auto;
}

/* Chapter title block — sits at top of sticky stage, stays visible during pinning */
.scroll-pin--quote .scroll-pin__chapter {
    flex: 0 0 auto;
    padding: 260px 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.scroll-pin--quote .scroll-pin__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-size: clamp(280px, 50vw, 640px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(0, 122, 255, 0.05);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin--quote.is-section-revealed .scroll-pin__watermark {
    opacity: 1;
}

/* Active slide content delays slightly so the watermark appears first */
.scroll-pin--quote.is-section-revealed .pin-slide.is-active {
    transition-delay: 0.4s;
}

.scroll-pin--quote .scroll-pin__slides {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    width: 100%;
}

.scroll-pin--quote .pin-slide {
    justify-content: center;
}

.scroll-pin--quote .pin-slide__title {
    font-size: clamp(40px, 6.5vw, 88px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 1100px;
}

.scroll-pin--quote .pin-slide__step {
    font-size: 16px;
    margin-bottom: 32px;
}

/* Value list inside QUOTE variant — vertical stack, three rows */
.scroll-pin--quote .pin-slide__values {
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 28px auto 0;
    text-align: left;
}

.scroll-pin--quote .pin-slide__values li {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 122, 255, 0.18);
    border-radius: 14px;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 600;
    gap: 16px;
}

.scroll-pin--quote .pin-slide__values-num {
    font-size: 15px;
    min-width: 28px;
}

.scroll-pin--quote .scroll-pin__progress {
    position: relative;
    margin: 32px auto 0;
    z-index: 3;
    order: 2;
}

/* ---- SPLIT variant — big number on left, content on right ---- */
.scroll-pin--split .scroll-pin__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    grid-template-areas:
        "head head"
        "side slides"
        "progress progress";
    gap: 32px 60px;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.scroll-pin--split .scroll-pin__head {
    grid-area: head;
    text-align: left;
    margin-bottom: 0;
}

.scroll-pin--split .scroll-pin__progress {
    grid-area: progress;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-top: 8px;
}

.scroll-pin--split .scroll-pin__side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.scroll-pin--split .scroll-pin__slides {
    grid-area: slides;
}

.scroll-pin--split .scroll-pin__side .pin-side-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(150px, 22vw, 275px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, #5ac8fa 0%, #007aff 50%, #003d99 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin--split .pin-side-label {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: #86868b;
    text-transform: uppercase;
}

.scroll-pin--split .scroll-pin__head .detail-section__title {
    font-size: clamp(35px, 5vw, 70px);
}

.scroll-pin--split .scroll-pin__slides {
    min-height: 450px;
    display: flex;
    align-items: center;
}

.scroll-pin--split .pin-slide {
    align-items: flex-start;
    text-align: left;
}

.scroll-pin--split .pin-slide__step {
    font-size: 17px;
    letter-spacing: 0.3em;
    margin-bottom: 28px;
}

.scroll-pin--split .pin-slide__title {
    text-align: left;
    font-size: clamp(35px, 4.5vw, 60px);
    margin-bottom: 28px;
}

.scroll-pin--split .pin-slide__items {
    text-align: left;
    font-size: clamp(18px, 1.9vw, 24px);
}

.scroll-pin--split .pin-slide__bullets li {
    font-size: clamp(17px, 1.75vw, 21px);
    line-height: 1.6;
    padding: 8px 0 8px 22px;
}

.scroll-pin--split .pin-slide__bullets li::before {
    width: 7px;
    height: 7px;
    top: 13px;
}

.scroll-pin--split .pin-slide__bullets,
.scroll-pin--split .pin-slide__chips {
    justify-content: flex-start;
    margin-left: 0;
}

.scroll-pin--split .chip {
    font-size: 19px;
    padding: 12px 25px;
}

/* ---- LIST variant — title centered on top, cards stacked below ---- */
.scroll-pin--list .scroll-pin__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "head"
        "list";
    gap: 53px;
    align-items: start;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.scroll-pin--list .scroll-pin__head {
    grid-area: head;
    text-align: center;
    align-self: center;
    margin: 0 auto;
}

.scroll-pin--list .scroll-pin__progress {
    display: none;
}

.scroll-pin--list .scroll-pin__list-wrap {
    grid-area: list;
    align-self: stretch;
    width: 100%;
    max-height: none;
    overflow: visible;
    position: relative;
}

.scroll-pin--list .scroll-pin__slides {
    position: relative;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin--list .pin-slide {
    position: relative;
    inset: auto;
    opacity: 0.35;
    transform: none;
    padding: 22px 28px;
    background: rgba(0, 122, 255, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    align-items: flex-start;
    text-align: left;
    pointer-events: auto;
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pin--list .pin-slide.is-active {
    opacity: 1;
    transform: translateX(8px);
    background: #ffffff;
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 24px 48px -24px rgba(0, 122, 255, 0.3);
}

.scroll-pin--list .pin-slide.is-past {
    opacity: 0.35;
    transform: none;
}

.scroll-pin--list .pin-slide__step {
    margin-bottom: 8px;
    font-size: 12px;
}

.scroll-pin--list .pin-slide__title {
    font-size: clamp(18px, 1.8vw, 22px);
    text-align: left;
    margin-bottom: 6px;
    line-height: 1.3;
}

.scroll-pin--list .pin-slide__items,
.scroll-pin--list .pin-slide__bullets,
.scroll-pin--list .pin-slide__result,
.scroll-pin--list .pin-slide__chips,
.scroll-pin--list .pin-slide__iso,
.scroll-pin--list .pin-slide__values {
    display: none;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__items,
.scroll-pin--list .pin-slide.is-active .pin-slide__result {
    display: block;
    margin: 8px 0 0;
    font-size: 14px;
    text-align: left;
    padding: 0;
    background: transparent;
    color: #515154;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__result {
    color: #1d1d1f;
    font-weight: 600;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__bullets {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 10px 0 0;
    align-items: flex-start;
    text-align: left;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__bullets li {
    font-size: 13.5px;
    line-height: 1.55;
    padding: 3px 0 3px 18px;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    justify-content: flex-start;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__iso {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.scroll-pin--list .pin-slide.is-active .pin-slide__values {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

.scroll-pin--list .pin-slide__mark {
    display: none;
}

.scroll-pin--list .pin-slide__alt {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
}

/* Dark variant of list */
.scroll-pin--list.scroll-pin--dark .pin-slide {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.scroll-pin--list.scroll-pin--dark .pin-slide.is-active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(90, 200, 250, 0.4);
    box-shadow: 0 24px 48px -24px rgba(90, 200, 250, 0.4);
}

/* ---- DIFF variant — bigger type for the "차별성" section ---- */
.scroll-pin--diff .scroll-pin__head .detail-section__title {
    font-size: clamp(40px, 4.6vw, 60px);
}

.scroll-pin--diff .scroll-pin__head .detail-section__num {
    font-size: 17px;
    letter-spacing: 0.32em;
}

.scroll-pin--diff .pin-slide__step {
    margin-bottom: 27px;
}

.scroll-pin--diff .pin-slide__title {
    font-size: clamp(45px, 6.75vw, 90px);
    line-height: 1.32;
    margin-bottom: 27px;
}

.scroll-pin--diff .pin-slide__items {
    font-size: clamp(19px, 1.875vw, 24px);
    line-height: 1.92;
    max-width: 820px;
    margin-bottom: 31px;
}

.scroll-pin--diff .pin-slide__bullets {
    align-items: center;
    text-align: center;
    margin-top: 14px;
    gap: 12px;
}

.scroll-pin--diff .pin-slide__bullets li {
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.92;
    padding-left: 0;
}

.scroll-pin--diff .pin-slide__bullets li::before {
    display: none;
}

.scroll-pin--diff .pin-slide__result {
    font-size: 19px;
    padding: 18px 30px;
    margin-top: 8px;
}

/* ---- ALERT variant adjustments to feel more dramatic ---- */
.scroll-pin--alert .pin-slide__title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.scroll-pin--alert .pin-slide__mark {
    width: 88px;
    height: 88px;
    font-size: 36px;
    margin-bottom: 32px;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .detail-nav__inner { padding: 12px 18px; gap: 12px; }
    .detail-nav__brand img { height: 20px; }
    .detail-nav__back { font-size: 12px; padding: 6px 12px; }

    .detail-hero,
    .proc-hero { padding: 96px 0 72px; }
    .detail-hero__eyebrow { font-size: 13px; letter-spacing: 0.22em; margin-bottom: 22px; }
    .detail-hero__title { font-size: clamp(28px, 9vw, 40px); }
    .detail-hero__sub { font-size: 13.5px; padding: 0 12px; }

    .detail-section { padding: 72px 0; }
    .detail-section__head { margin-bottom: 40px; }
    .detail-section__num { font-size: 14px; letter-spacing: 0.2em; margin-bottom: 10px; }
    .detail-section__title { font-size: clamp(22px, 6.4vw, 30px); }

    .detail-lead { font-size: 14px; }
    .detail-headline { font-size: clamp(18px, 5.2vw, 24px); margin-bottom: 36px; }
    .detail-point { padding: 16px 18px; }
    .detail-point p { font-size: 13.5px; }

    .cert-grid { grid-template-columns: 1fr; gap: 12px; }
    .cert-card { padding: 26px 22px; border-radius: 14px; }
    .cert-card--wide { grid-column: auto; }
    .cert-card__name { font-size: 19px; }
    .cert-card__list li { font-size: 13.5px; }
    .cert-card__split { grid-template-columns: 1fr; gap: 22px; }

    .detail-tagline { font-size: clamp(18px, 5.2vw, 24px); margin-top: 56px; }
    .detail-tagline-section--hero { padding: 72px 0; }
    .scroll-pin--quote .scroll-pin__chapter { padding: 48px 0 0; }
    .scroll-pin__chapter-title { font-size: clamp(22px, 6.4vw, 32px); padding: 0 16px; }
    .scroll-pin.scroll-pin--quote[data-slides="3"] { height: calc(230vh - 120px); }
    .detail-tagline-section--hero .detail-tagline { font-size: clamp(22px, 6.8vw, 32px); margin: 0 auto; padding: 0 16px; }

    .reason-grid { grid-template-columns: 1fr; gap: 12px; }
    .reason-card { padding: 26px 22px; }
    .reason-card__title { font-size: 17px; }
    .reason-card__list li { font-size: 13.5px; }

    .diff-grid { grid-template-columns: 1fr; gap: 12px; }
    .diff-card { padding: 24px 22px; }
    .diff-card__title { font-size: 17px; }
    .diff-card__detail,
    .diff-card__list li { font-size: 13.5px; }

    .detail-final { font-size: clamp(20px, 5.4vw, 26px); margin-top: 56px; }

    .detail-cta-inline { margin-top: 36px; }
    .detail-cta__link { font-size: 13px; padding: 12px 22px; }

    /* Procurement-specific mobile */
    .proc-intro__grid { grid-template-columns: 1fr; gap: 32px; }
    .proc-intro__panel { padding: 26px 22px; }
    .proc-intro__panel-list li { font-size: 13.5px; padding: 14px 0; }

    .method-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 22px;
    }
    .method-row__index {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
    .method-row__num { font-size: 24px; }
    .method-row__label { font-size: 12px; }
    .method-row__name { font-size: 19px; }
    .method-row__alt { display: block; margin-left: 0; margin-top: 2px; }
    .method-row__type { font-size: 13px; }
    .chip { font-size: 13.5px; padding: 8px 16px; }

    .pain-rail { gap: 8px; }
    .pain-rail li {
        grid-template-columns: 28px 1fr;
        gap: 14px;
        padding: 16px 18px;
    }
    .pain-rail__num { font-size: 17px; }
    .pain-rail__text { font-size: 15px; }

    .pipeline { grid-template-columns: 1fr; gap: 12px; }
    .pipe-stage { padding: 24px 22px; }
    .pipe-stage__title { font-size: 19px; }
    .pipe-stage__items { font-size: 13px; }
    .pipe-stage__result { font-size: 13.5px; padding-top: 12px; }
    .pipe-connector {
        flex: 0 0 auto;
        padding: 0;
        transform: rotate(90deg);
        margin: 2px auto;
    }
    .pipe-connector svg { width: 32px; height: 20px; }

    .proc-checklist { gap: 8px; margin-bottom: 36px; }
    .proc-check { padding: 16px 18px; gap: 14px; }
    .proc-check__mark { width: 20px; height: 20px; font-size: 10px; }
    .proc-check__num { font-size: 16px; }
    .proc-check__title { font-size: 14px; }
    .strategy-eyebrow { font-size: 13px; letter-spacing: 0.2em; margin-bottom: 18px; }

    /* Scroll-pin section on mobile — tighter runway, ~50vh per slide */
    .scroll-pin { height: 250vh; }
    .scroll-pin[data-slides="2"] { height: 200vh; }
    .scroll-pin[data-slides="3"] { height: 250vh; }
    .scroll-pin[data-slides="4"] { height: 300vh; }
    .scroll-pin[data-slides="5"] { height: 350vh; }
    .scroll-pin[data-slides="6"] { height: 400vh; }
    .scroll-pin[data-slides="7"] { height: 450vh; }
    .scroll-pin[data-slides="8"] { height: 500vh; }
    .scroll-pin[data-slides="9"] { height: 550vh; }
    .scroll-pin[data-slides="10"] { height: 600vh; }
    .scroll-pin__head { margin-bottom: 28px; }
    .scroll-pin__progress { margin-bottom: 36px; gap: 8px; }
    .pin-dot { width: 22px; height: 3px; }
    .pin-dot.is-active { width: 40px; }
    .pin-slide__step { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 16px; }
    .pin-slide__title { font-size: clamp(26px, 7vw, 38px); margin-bottom: 16px; padding: 0 12px; }
    .pin-slide__items { font-size: 14px; padding: 0 16px; margin-bottom: 20px; }
    .pin-slide__result { font-size: 13px; padding: 10px 20px; }
    .scroll-pin__slides { min-height: 260px; }

    /* ---- QUOTE variant on mobile ---- */
    .scroll-pin--quote .scroll-pin__watermark {
        font-size: clamp(140px, 38vw, 240px);
    }
    .scroll-pin--quote .pin-slide__title {
        font-size: clamp(26px, 7.4vw, 38px);
        padding: 0 12px;
        line-height: 1.15;
    }
    .scroll-pin--quote .pin-slide__step {
        font-size: 11px;
        margin-bottom: 18px;
    }
    .scroll-pin--quote .scroll-pin__progress {
        bottom: 24px;
    }

    /* ---- SPLIT variant on mobile — collapse to single column ---- */
    .scroll-pin--split .scroll-pin__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "side"
            "slides"
            "progress";
        gap: 18px;
        text-align: center;
    }
    .scroll-pin--split .scroll-pin__head {
        text-align: center;
        margin-bottom: 12px;
    }
    .scroll-pin--split .scroll-pin__side {
        padding-right: 0;
        padding-bottom: 8px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        align-items: center;
        text-align: center;
    }
    .scroll-pin--split .scroll-pin__side .pin-side-num {
        font-size: clamp(72px, 22vw, 120px);
        text-align: center;
    }
    .scroll-pin--split .pin-side-label {
        margin-top: 6px;
        font-size: 11px;
        letter-spacing: 0.22em;
        text-align: center;
    }
    .scroll-pin--split .scroll-pin__slides {
        min-height: 200px;
    }
    .scroll-pin--split .pin-slide {
        align-items: center;
        text-align: center;
    }
    .scroll-pin--split .pin-slide__title {
        text-align: center;
        font-size: clamp(22px, 6.4vw, 32px);
        padding: 0 8px;
    }
    .scroll-pin--split .pin-slide__items {
        text-align: center;
    }
    .scroll-pin--split .pin-slide__bullets,
    .scroll-pin--split .pin-slide__chips {
        justify-content: center;
        align-items: center;
    }
    .scroll-pin--split .scroll-pin__progress {
        justify-content: center;
    }

    /* ---- LIST variant on mobile — single column stack ---- */
    .scroll-pin--list .scroll-pin__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "list";
        gap: 22px;
    }
    .scroll-pin--list .scroll-pin__head {
        margin-top: 0;
        margin-bottom: 14px;
        text-align: center;
    }
    .scroll-pin--list .scroll-pin__list-wrap {
        max-height: none;
    }
    .scroll-pin--list .scroll-pin__slides {
        gap: 8px;
    }
    .scroll-pin--list .pin-slide {
        padding: 16px 18px;
    }
    .scroll-pin--list .pin-slide__title {
        font-size: 16px;
    }
    .scroll-pin--list .pin-slide.is-active .pin-slide__items,
    .scroll-pin--list .pin-slide.is-active .pin-slide__result,
    .scroll-pin--list .pin-slide.is-active .pin-slide__bullets li {
        font-size: 13px;
    }
    .scroll-pin--list .pin-slide.is-active .pin-slide__iso {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* ---- DIFF variant on mobile ---- */
    .scroll-pin--diff .scroll-pin__head .detail-section__title {
        font-size: clamp(28px, 8vw, 38px);
    }
    .scroll-pin--diff .pin-slide__title {
        font-size: clamp(32px, 8.75vw, 48px);
    }
    .scroll-pin--diff .pin-slide__items {
        font-size: clamp(15px, 4.25vw, 17px);
    }
    .scroll-pin--diff .pin-slide__bullets li {
        font-size: clamp(15px, 4.25vw, 17px);
    }
    .scroll-pin--diff .pin-slide__result {
        font-size: 16px;
    }

    /* ---- ALERT variant on mobile ---- */
    .scroll-pin--alert .pin-slide__title {
        font-size: clamp(22px, 6.6vw, 34px);
    }
    .scroll-pin--alert .pin-slide__mark {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 18px;
    }
}

@media (max-width: 400px) {
    .detail-section { padding: 60px 0; }
    .cert-card,
    .reason-card,
    .diff-card,
    .method-row,
    .pipe-stage { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .cert-card,
    .reason-card,
    .diff-card,
    .method-row,
    .pipe-stage,
    .proc-check,
    .pain-rail li,
    .proc-intro__panel,
    .detail-point,
    .detail-headline,
    .detail-final {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
