.pen-page {
    --pen-blue: hsl(var(--accent));
    --pen-bright: hsl(var(--accent));
    --pen-muted: #66717f;
    --pen-border: #dce4ec;
    --pen-soft: #f3f4f6;
    background: #fff;
    color: #273447;
    font-family: Montserrat, Arial, sans-serif;
}

.pen-page *,
.pen-page *::before,
.pen-page *::after {
    box-sizing: border-box;
}

.pen-wrap {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
}

.pen-hero {
    min-height: 305px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0, 17, 35, .70), rgba(0, 45, 71, .35), rgba(0, 12, 30, .48)),
        url("/images/pen/pen-hero.jpg") center / cover no-repeat;
}

.pen-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 3.25rem);
    line-height: 1.15;
    font-weight: 800;
}

.pen-content {
    padding: 26px 0 18px;
}

.pen-content-after {
    padding-top: 38px;
}

.pen-section {
    margin: 0 0 28px;
}

.pen-section h2,
.pen-process-band h2 {
    margin: 0 0 14px;
    color: var(--pen-bright);
    font-size: clamp(1.28rem, 2.2vw, 1.86rem);
    line-height: 1.25;
    font-weight: 800;
}

.pen-process-band h2,
.pen-faq-section h2,
.pen-latest .section-title-left h2 {
    color: hsl(var(--accent));
}

.pen-section p,
.pen-section li,
.pen-process-band p {
    color: var(--pen-muted);
    font-size: 14px;
    line-height: 1.72;
}

.pen-section p {
    margin: 0 0 12px;
}

.pen-section strong {
    color: #2f3a4b;
}

.pen-check-list {
    margin: 0 0 12px;
    padding-left: 22px;
}

.pen-check-list li {
    margin: 0 0 7px;
}

.pen-flow {
    max-width: 780px;
    margin: 28px auto 34px;
    padding: 12px;
    border: 1px solid #eef1f4;
    background: #fff;
}

.pen-flow img,
.pen-image-split img {
    display: block;
    width: 100%;
    height: auto;
}

.pen-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.pen-visual-section {
    margin: 30px auto 28px;
    text-align: center;
}

.pen-main-image {
    width: 100%;
    min-height: clamp(260px, 34vw, 430px);
    margin: 0;
    overflow: hidden;
}

.pen-resource-links {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 920px;
    margin: -54px auto 0;
}

.pen-resource-links a {
    display: grid;
    justify-items: center;
    gap: 12px;
    color: var(--pen-blue);
    text-decoration: none;
}

.pen-resource-links img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.pen-resource-links span {
    color: var(--pen-blue);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.pen-resource-links a:hover span,
.pen-resource-links a:focus-visible span {
    text-decoration: underline;
}

.pen-process-band {
    padding: 42px 0 48px;
    background: var(--pen-soft);
    scroll-margin-top: 110px;
}

.pen-anchor-section {
    scroll-margin-top: 110px;
}

.pen-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pen-process-card {
    min-height: 154px;
    padding: 18px 16px;
    border: 1px solid var(--pen-border);
    border-left: 4px solid var(--pen-blue);
    background: #fff;
    box-shadow: 0 1px 3px rgba(14, 34, 60, .08);
    transition: border-width .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pen-process-card:hover {
    border-width: 0px 0px 0px 10px;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(14, 34, 60, .16);
}

.pen-process-card img,
.pen-process-card span {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pen-process-card img {
    object-fit: contain;
}

.pen-process-card span {
    border: 2px solid #9cb2ca;
    color: var(--pen-blue);
    font-size: 12px;
    font-weight: 800;
}

.pen-process-card h3 {
    margin: 0 0 8px;
    color: var(--pen-blue);
    font-size: .98rem;
    line-height: 1.25;
    font-weight: 800;
}

.pen-process-card p {
    margin: 0;
    color: var(--pen-muted);
    font-size: 12px;
    line-height: 1.55;
}

.pen-faq-section h2 {
    text-align: center;
}

.pen-faq-list {
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--pen-border);
}

.pen-faq-item {
    background: #fff;
    border-bottom: 1px solid var(--pen-border);
}

.pen-faq-item:last-child {
    border-bottom: 0;
}

.pen-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    color: var(--pen-blue);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.pen-faq-item summary::-webkit-details-marker {
    display: none;
}

.pen-faq-item summary::after {
    content: "+";
    color: hsl(var(--accent));
    font-size: 16px;
    font-weight: 800;
}

.pen-faq-item[open] summary::after {
    content: "-";
}

.pen-faq-item p {
    margin: 0;
    padding: 0 16px 14px;
    color: var(--pen-muted);
    font-size: 13px;
    line-height: 1.65;
}

.pen-image-split {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
}

.pen-image-split figure {
    margin: 0;
}

.pen-latest {
    padding-top: 36px;
}

@media (max-width: 980px) {
    .pen-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pen-hero {
        min-height: 280px;
    }
}

@media (max-width: 720px) {
    .pen-image-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pen-resource-links {
        gap: 16px;
        margin-top: -40px;
    }

    .pen-resource-links img {
        width: 76px;
        height: 76px;
    }

    .pen-resource-links span {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .pen-wrap {
        width: min(100% - 24px, 1280px);
    }

    .pen-hero {
        min-height: 230px;
    }

    .pen-content {
        padding-top: 22px;
    }

    .pen-section p,
    .pen-section li,
    .pen-process-band p {
        font-size: 13px;
        line-height: 1.65;
    }

    .pen-flow {
        padding: 8px;
    }

    .pen-resource-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: -30px;
    }

    .pen-resource-links img {
        width: 60px;
        height: 60px;
    }

    .pen-resource-links span {
        font-size: 13px;
    }

    .pen-process-grid {
        grid-template-columns: 1fr;
    }

    .pen-process-band {
        padding: 34px 0 38px;
    }
}
