@charset "utf-8";

/* ============================== 토큰 */
:root {
    --sa-navy: #062e5c;
    --sa-blue: #0d5ea6;
    --sa-aqua: #35cdb5;
    --sa-aqua-dark: #087f78;
    --sa-mist: #eef7f8;
    --sa-ice: #f5f9fc;
    --sa-ink: #142b43;
    --sa-slate: #5e7082;
    --sa-line: #d6e3ea;
    --sa-white: #fff;
    --sa-max: 1120px;
}

/* content-wrapper 하단 여백 제거 */
.content-wrapper {
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: smooth;
}

/* ============================== 공통 레이아웃 */
.sa-page {
    overflow-x: hidden;
    color: var(--sa-ink);
    background: var(--sa-white);
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    word-break: keep-all;
}

/* sh_common.css 의 `h1~h6 { font-family:'Noto Sans KR' }` 와
   `input, button { font-family:'Noto Sans KR' }` 는 요소 선택자라
   .sa-page 의 상속보다 우선 적용된다. 이 페이지 안에서만 되돌린다. */
.sa-page h1,
.sa-page h2,
.sa-page h3,
.sa-page h4,
.sa-page h5,
.sa-page h6,
.sa-page input,
.sa-page button,
.sa-page textarea,
.sa-page select {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.sa-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sa-page a,
.sa-page summary {
    -webkit-tap-highlight-color: transparent;
}

.sa-page :focus-visible {
    outline: 3px solid var(--sa-aqua);
    outline-offset: 4px;
}

.sa-inner {
    width: min(var(--sa-max), calc(100% - 48px));
    margin: 0 auto;
}

/* 영문 라벨 전용 monospace. 위 헤딩 보정 규칙(0,1,1)보다 우선하도록
   .sa-page 를 함께 붙여 특이도를 (0,2,0) 으로 올린다. */
.sa-page .sa-utility {
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sa-section {
    padding: 112px 0;
    scroll-margin-top: 90px;
}

.sa-section-head {
    max-width: 760px;
    margin-bottom: 50px;
}

.sa-section-head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.sa-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--sa-blue);
    font-size: 13px;
    font-weight: 800;
}

.sa-section-head h2 {
    margin-bottom: 16px;
    color: var(--sa-navy);
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.16;
    letter-spacing: -.05em;
    font-weight: 600;
}

.sa-section-head p {
    margin-bottom: 0;
    color: var(--sa-slate);
    font-size: 19px;
}

/* ============================== 히어로 */
.sa-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 104px;
    background: linear-gradient(180deg, #f4fbfb 0%, #eef7f8 100%);
    text-align: center;
}

.sa-hero::before,
.sa-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sa-hero::before {
    width: 480px;
    height: 480px;
    left: -260px;
    top: -250px;
    border: 1px solid rgba(13, 94, 166, .14);
    box-shadow: 0 0 0 74px rgba(13, 94, 166, .025), 0 0 0 148px rgba(13, 94, 166, .018);
}

.sa-hero::after {
    width: 340px;
    height: 340px;
    right: -200px;
    bottom: -230px;
    background: rgba(53, 205, 181, .12);
    box-shadow: 0 0 80px rgba(53, 205, 181, .25);
}

.sa-hero__inner {
    position: relative;
    z-index: 1;
}

.sa-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid #c3e7e2;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    color: var(--sa-aqua-dark);
    font-size: 13px;
    font-weight: 800;
}

.sa-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sa-aqua);
    box-shadow: 0 0 0 5px rgba(53, 205, 181, .15);
}

.sa-hero__title {
    max-width: 820px;
    margin: 26px auto 22px;
    color: var(--sa-navy);
    font-size: clamp(50px, 7vw, 84px);
    line-height: 1.08;
    letter-spacing: -.065em;
    font-weight: 600;
}

.sa-hero__lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--sa-slate);
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.75;
}

/* ============================== 스마트 레일 */
.sa-rail {
    max-width: 830px;
    margin: 70px auto 0;
    padding: 0 28px;
}

.sa-rail__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sa-rail__track::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 16.66%;
    right: 16.66%;
    top: 41px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sa-navy), var(--sa-blue) 50%, var(--sa-aqua));
    box-shadow: 0 7px 20px rgba(13, 94, 166, .12);
}

.sa-rail__stop {
    position: relative;
    z-index: 1;
}

.sa-rail__node {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border: 8px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: var(--sa-navy);
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 0 0 1px #c9dae7, 0 16px 36px rgba(6, 46, 92, .15);
}

.sa-rail__stop:nth-child(2) .sa-rail__node {
    background: var(--sa-blue);
}

.sa-rail__stop:last-child .sa-rail__node {
    background: var(--sa-aqua);
    color: #073f43;
    box-shadow: 0 0 0 1px #a7ded6, 0 16px 40px rgba(53, 205, 181, .25);
}

.sa-rail__label {
    display: block;
    color: var(--sa-navy);
    font-weight: 800;
}

.sa-rail__caption {
    display: block;
    margin-top: 3px;
    color: var(--sa-slate);
    font-size: 14px;
}

.sa-hero__status {
    width: fit-content;
    margin: 42px auto 0;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--sa-navy);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 16px 42px rgba(6, 46, 92, .15);
}

.sa-hero__status strong {
    margin-right: 4px;
    color: var(--sa-aqua);
}

/* ============================== 기존 / 개선 비교 */
.sa-compare {
    background: var(--sa-white);
}

.sa-compare__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.sa-compare__card {
    overflow: hidden;
    border: 1px solid var(--sa-line);
    border-radius: 24px;
    background: var(--sa-white);
}

.sa-compare__card--smart {
    border-color: #b8e6df;
    box-shadow: 0 24px 70px rgba(8, 127, 120, .10);
}

.sa-compare__title {
    padding: 28px 30px;
    border-bottom: 1px solid var(--sa-line);
}

.sa-compare__card--smart .sa-compare__title {
    border-color: #b8e6df;
    background: var(--sa-mist);
}

.sa-compare__title small {
    display: block;
    margin-bottom: 6px;
    color: var(--sa-slate);
    font-size: 13px;
}

.sa-compare__title h3 {
    margin-bottom: 0;
    color: var(--sa-navy);
    font-size: 25px;
    font-weight: 600;
}

.sa-minirail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 24px 30px 10px;
}

.sa-minirail span {
    padding: 9px 4px;
    border-radius: 999px;
    background: #f0f3f6;
    color: #526476;
    font-size: 13px;
    text-align: center;
}

.sa-compare__card--smart .sa-minirail span {
    background: #e8f8f5;
    color: #076b67;
    font-weight: 700;
}

.sa-compare__list {
    margin: 0;
    padding: 18px 30px 30px;
    list-style: none;
}

.sa-compare__list li {
    position: relative;
    margin-top: 12px;
    padding-left: 28px;
    color: #526476;
}

.sa-compare__list li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #91a0ae;
    font-weight: 900;
}

.sa-compare__card--smart .sa-compare__list li::before {
    content: "✓";
    color: var(--sa-aqua-dark);
}

.sa-compare__summary {
    margin: 26px 0 0;
    color: var(--sa-navy);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

/* ============================== 이용 방법 */
.sa-howto {
    background: var(--sa-ice);
}

.sa-nosignup {
    width: fit-content;
    margin: -20px auto 54px;
    padding: 12px 18px;
    border: 1px solid #cce4e8;
    border-radius: 999px;
    background: #fff;
    color: var(--sa-navy);
    font-weight: 800;
}

.sa-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sa-steps::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    top: 38px;
    height: 2px;
    background: linear-gradient(90deg, var(--sa-navy), var(--sa-aqua));
}

.sa-step {
    position: relative;
    z-index: 1;
    padding: 0 14px;
    text-align: center;
}

.sa-step__no {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border: 10px solid var(--sa-ice);
    border-radius: 50%;
    background: var(--sa-navy);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 0 0 1px #cbdce7;
}

.sa-step:nth-child(2) .sa-step__no {
    background: var(--sa-blue);
}

.sa-step:nth-child(3) .sa-step__no {
    background: var(--sa-aqua);
    color: #073f43;
}

.sa-step h3 {
    margin-bottom: 10px;
    color: var(--sa-navy);
    font-size: 23px;
}

.sa-step p {
    color: var(--sa-slate);
}

/* ============================== 보안 안내 */
.sa-security {
    padding: 0 0 112px;
    background: var(--sa-ice);
}

.sa-security__panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 38px 42px;
    border-radius: 24px;
    background: var(--sa-navy);
    color: #fff;
    box-shadow: 0 28px 70px rgba(6, 46, 92, .17);
}

.sa-security__panel::after {
    content: "SAFE";
    position: absolute;
    right: 28px;
    top: -24px;
    color: rgba(255, 255, 255, .035);
    font: 900 110px/1 'SFMono-Regular', Menlo, monospace;
    letter-spacing: -.08em;
}

.sa-security__icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    /* background: var(--sa-aqua); */
    color: #a4f5ff;
    font-size: 28px;
    font-weight: 900;
    padding: 12px;
    border: 1px solid;
}

.sa-security__icon svg {
    width: 32px;
    height: 32px;
}

.sa-security__copy {
    position: relative;
    z-index: 1;
}

.sa-security__copy h3 {
    margin-bottom: 5px;
    font-size: 25px;
}

.sa-security__copy p {
    margin-bottom: 0;
    color: #c9dbea;
}

.sa-security__copy strong {
    color: #fff;
}

.sa-security__call {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.sa-security__call:hover {
    border-color: var(--sa-aqua);
    color: var(--sa-aqua);
    text-decoration: none;
}

/* ============================== 자주 묻는 질문 */
.sa-faq {
    background: var(--sa-white);
}

.sa-faq__list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 2px solid var(--sa-navy);
}

.sa-faq__item {
    border-bottom: 1px solid var(--sa-line);
}

.sa-faq__item summary {
    position: relative;
    padding: 26px 56px 26px 4px;
    color: var(--sa-ink);
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.sa-faq__item summary::-webkit-details-marker {
    display: none;
}

.sa-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 17px;
    color: var(--sa-blue);
    font-size: 32px;
    font-weight: 400;
}

.sa-faq__item[open] summary::after {
    content: "−";
}

.sa-faq__answer {
    padding: 0 56px 28px 4px;
    color: var(--sa-slate);
}

.sa-faq__answer strong {
    color: var(--sa-navy);
}

/* ============================== 문의 밴드 */
.sa-contact {
    padding: 84px 0;
    background: var(--sa-mist);
}

.sa-contact__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* eyebrow / 제목 / 설명문의 좌측 시작선을 맞춘다.
   제목은 글자 크기가 커서 글리프 좌측 여백(side bearing)도 함께 커지므로
   em 단위 음수 마진으로 시각적 시작선을 보정한다.
   text-indent 는 첫 줄에만 적용돼 두 번째 줄이 어긋나므로 쓰지 않는다. */
.sa-contact__inner h2 {
    margin-bottom: 10px;
    margin-left: -.045em;
    color: var(--sa-navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.16;
    letter-spacing: -.05em;
    font-weight: 600;
}

.sa-contact__inner p {
    margin-bottom: 0;
    color: var(--sa-slate);
}

.sa-contact__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* a 와 button 을 같은 모양으로 쓰기 위한 공통 스타일 */
.sa-contact__link {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--sa-navy);
    border-radius: 12px;
    background: var(--sa-navy);
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.sa-contact__link:hover {
    color: #fff;
    text-decoration: none;
}

.sa-contact__link--secondary {
    background: transparent;
    color: var(--sa-navy);
}

.sa-contact__link--secondary:hover {
    color: var(--sa-navy);
}

/* ============================== 반응형 */
@media (max-width: 820px) {
    .sa-hero {
        padding: 92px 0 82px;
    }

    .sa-compare__grid {
        grid-template-columns: 1fr;
    }

    .sa-security__panel {
        grid-template-columns: auto 1fr;
    }

    .sa-security__call {
        grid-column: 2;
        justify-self: start;
    }

    .sa-contact__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .sa-inner {
        width: min(var(--sa-max), calc(100% - 32px));
    }

    .sa-hero__title {
        font-size: 43px;
    }

    .sa-hero__lead {
        font-size: 18px;
    }

    .sa-rail {
        margin-top: 54px;
        padding: 0;
    }

    .sa-rail__track::before {
        top: 31px;
        height: 3px;
    }

    .sa-rail__node {
        width: 64px;
        height: 64px;
        border-width: 6px;
        font-size: 21px;
    }

    .sa-rail__label {
        font-size: 14px;
    }

    .sa-rail__caption {
        font-size: 12px;
    }

    .sa-hero__status {
        max-width: 100%;
        font-size: 13px;
    }

    .sa-section {
        padding: 84px 0;
    }

    .sa-security {
        padding-bottom: 84px;
    }

    .sa-section-head {
        margin-bottom: 38px;
    }

    .sa-section-head h2 {
        font-size: 39px;
        font-weight: 600;
    }

    .sa-section-head p {
        font-size: 17px;
    }

    .sa-compare__title,
    .sa-minirail,
    .sa-compare__list {
        padding-right: 22px;
        padding-left: 22px;
    }

    .sa-minirail {
        grid-template-columns: 1fr 1fr;
    }

    .sa-nosignup {
        width: 100%;
        margin-top: -12px;
        border-radius: 14px;
        text-align: center;
    }

    .sa-steps {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sa-steps::before {
        left: 37px;
        right: auto;
        top: 38px;
        bottom: 38px;
        width: 2px;
        height: auto;
    }

    .sa-step {
        min-height: 86px;
        padding: 0 0 0 98px;
        text-align: left;
    }

    .sa-step__no {
        position: absolute;
        left: 0;
        width: 76px;
        height: 76px;
        margin: 0;
    }

    .sa-security__panel {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .sa-security__call {
        grid-column: 1;
        width: 100%;
    }

    .sa-contact__actions {
        width: 100%;
    }

    .sa-contact__link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .sa-page *,
    .sa-page *::before,
    .sa-page *::after {
        transition: none !important;
    }
}
