:root {
    --navy: #143176;
    --navy-deep: #071b44;
    --blue: #0f5cc8;
    --ink: #202938;
    --muted: #687386;
    --mint: #49c197;
    --line: #dbe2ee;
    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Pretendard", sans-serif;
    word-break: keep-all;
}

button,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #ffcf4a;
    outline-offset: 3px;
}

.site-header {
    height: 92px;
    color: #fff;
    background: var(--navy);
}

.site-header__inner {
    position: relative;
    width: min(calc(100% - 40px), var(--content-width));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    color: #fff;
    text-decoration: none;
    font-family: "GmarketSansBold", sans-serif;
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: -1.5px;
}

.tool-button,
.bike-button {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: #fff;
    background: var(--navy-deep);
    font-size: 22px;
    text-decoration: none;
    transform: translateY(-50%);
}

.tool-button {
    left: 0;
}

.bike-button {
    right: 0;
    background: transparent;
}

.intro-strip {
    background: #efefef;
    border-bottom: 1px solid #e2e2e2;
}

.intro-strip__inner {
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 126px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.intro-copy {
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}

.intro-copy--left strong {
    display: block;
    color: var(--mint);
}

.intro-copy--left b {
    display: block;
    color: #31343a;
    font-family: "GmarketSansBold", sans-serif;
    font-size: 17px;
}

.intro-copy--right {
    text-align: right;
}

.intro-copy--right strong {
    color: #333;
    font-weight: 700;
}

.intro-phone {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.intro-phone span {
    font-family: "GmarketSansBold", sans-serif;
    font-size: 17px;
}

.intro-phone a {
    color: #080808;
    text-decoration: none;
    font-family: "GmarketSansBold", sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -2px;
    white-space: nowrap;
}

.insurance-stage {
    min-height: 690px;
    padding: 48px 20px 64px;
    background:
        radial-gradient(ellipse at center, rgba(7, 27, 68, 0) 28%, rgba(7, 27, 68, .12) 70%, rgba(7, 27, 68, .3) 100%),
        url('https://images.unsplash.com/photo-1558981000-f294a6ed32b2?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center 58% / cover no-repeat;
}

.insurance-shell {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.insurance-shell > h1 {
    margin: 0 0 30px;
    color: #05070a;
    text-align: center;
    font-family: "GmarketSansBold", sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    letter-spacing: -2px;
}

.insurance-shell > h1 span {
    color: #777;
}

.insurance-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.insurance-tab {
    min-height: 66px;
    padding: 14px 12px;
    border: 1px solid #cdd6e8;
    border-radius: 14px;
    color: #374151;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 3px 8px rgba(35, 55, 85, .06);
    font-family: "GmarketSansBold", sans-serif;
    font-size: clamp(17px, 1.7vw, 22px);
}

.insurance-tab i {
    margin-right: 8px;
}

.insurance-tab.is-active {
    border-color: #0a4fae;
    color: #fff;
    background: linear-gradient(135deg, #063c84, var(--blue));
    box-shadow: 0 10px 20px rgba(8, 62, 141, .27);
}

.insurance-panel {
    margin-top: 30px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 30px;
    align-items: stretch;
}

.insurance-card {
    min-height: 180px;
    display: flex;
    padding: 18px;
    border: 1px solid #e3e9f3;
    border-radius: 12px;
    color: #1f2a37;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 6px 14px rgba(22, 45, 104, .08);
}

.insurer-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    margin-right: 13px;
    border: 1px solid #e6e8ec;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.card-copy {
    min-width: 0;
}

.card-brand {
    margin: 0 0 3px;
    color: #46556a;
    font-size: 14px;
    font-weight: 600;
}

.card-brand b {
    color: #263345;
}

.insurance-card h2 {
    margin: 0 0 8px;
    color: #1f2937;
    font-family: "GmarketSansBold", sans-serif;
    font-size: 17px;
    letter-spacing: -.8px;
    line-height: 1.35;
}

.insurance-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.insurance-card li {
    position: relative;
    padding-left: 12px;
    color: #566476;
    font-size: 13px;
    line-height: 1.5;
}

.insurance-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9ca9bc;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.cta-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #0b3a88, #1d64d8);
    box-shadow: 0 7px 14px rgba(20, 68, 154, .28);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: filter .2s ease, transform .2s ease;
}

.cta-button:disabled,
.corporate-item:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
}

.cta-button--kakao {
    background: #fee500;
    box-shadow: 0 7px 14px rgba(63, 48, 0, .2);
    color: #191919;
}

.cta-button__icon {
    width: 24px;
    height: 15px;
    margin-right: 5px;
    object-fit: contain;
}

.rider-guide-card {
    border-color: #cad7ef;
}

.corporate-card {
    padding: 14px;
}

.corporate-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.corporate-item {
    min-height: 146px;
    padding: 12px 9px;
    border: 1px solid #e0e7f6;
    border-radius: 10px;
    color: #fff;
    background: #f6f8fd;
}

.corporate-item img {
    width: 68px;
    height: 68px;
    display: block;
    margin: 0 auto 10px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.corporate-item span {
    display: block;
    padding: 8px 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b3a88, #1d64d8);
    font-size: 12px;
    font-weight: 700;
}

.logo-rail {
    padding: 22px 20px;
    background: #f0f0f0;
}

.logo-rail__viewport {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    overflow: hidden;
}

.logo-track {
    width: max-content;
    display: flex;
    gap: 18px;
    animation: logo-scroll 26s linear infinite;
}

.logo-track__group {
    display: flex;
    flex: none;
    gap: 18px;
}

.logo-track span {
    width: 180px;
    height: 68px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 10px;
    background: #fff;
}

.logo-track img {
    max-width: 145px;
    max-height: 42px;
    object-fit: contain;
}

@keyframes logo-scroll {
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.site-footer {
    padding: 58px 20px 28px;
    color: #fff;
    background: #050505;
}

.site-footer__inner {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 60px;
    align-items: end;
}

.site-footer__intro {
    min-width: 0;
    justify-self: start;
    text-align: left;
}

.site-footer h2 {
    margin: 0 0 32px;
    font-family: "GmarketSansBold", sans-serif;
    font-size: clamp(25px, 2.4vw, 36px);
    letter-spacing: -2px;
}

.site-footer h2 a {
    color: inherit;
    text-decoration: none;
}

.site-footer h3,
.footer-number p,
.footer-number strong {
    margin: 0 0 7px;
    color: #bfc1c6;
    font-size: clamp(19px, 1.65vw, 25px);
    letter-spacing: -1.2px;
}

.site-footer h3 {
    font-family: "GmarketSansBold", sans-serif;
}

.site-footer p {
    margin: 0;
    color: #9a9da4;
    font-size: 16px;
}

.footer-number {
    align-self: end;
    justify-self: end;
    text-align: right;
}

.footer-number strong {
    display: block;
    color: #d2d3d5;
}

.site-footer small {
    grid-column: 1 / -1;
    color: #85878c;
    font-size: 13px;
}

@media (hover: hover) {
    .cta-button:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }
}

@media (max-width: 1024px) {
    .intro-strip__inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px 0;
        text-align: center;
    }

    .intro-copy--right {
        text-align: center;
    }

    .insurance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .insurance-tabs {
        gap: 15px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-number {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-header {
        height: 72px;
    }

    .site-header__inner,
    .intro-strip__inner {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .brand {
        max-width: calc(100% - 100px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 20px;
    }

    .tool-button,
    .bike-button {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .intro-copy {
        font-size: 13px;
    }

    .intro-copy--left b,
    .intro-phone span {
        font-size: 14px;
    }

    .intro-phone a {
        font-size: 29px;
    }

    .insurance-stage {
        padding: 26px 12px 38px;
        background-position: 64% center;
    }

    .insurance-shell > h1 {
        margin-bottom: 22px;
        font-size: 24px;
        letter-spacing: -1.3px;
    }

    .insurance-tabs {
        gap: 7px;
    }

    .insurance-tab {
        min-height: 52px;
        padding: 8px 3px;
        border-radius: 10px;
        font-size: 12px;
    }

    .insurance-tab i {
        margin-right: 3px;
    }

    .insurance-panel {
        margin-top: 18px;
    }

    .insurance-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .insurance-card {
        min-height: 150px;
        padding: 14px;
    }

    .insurer-logo {
        width: 54px;
        height: 54px;
        margin-right: 10px;
    }

    .card-brand {
        font-size: 13px;
    }

    .insurance-card h2 {
        font-size: 15px;
    }

    .insurance-card li {
        font-size: 12px;
    }

    .card-actions {
        margin-top: 9px;
    }

    .cta-button {
        min-height: 32px;
        padding: 6px 11px;
        font-size: 11px;
    }

    .logo-rail {
        padding: 14px 0;
    }

    .logo-track,
    .logo-track__group {
        gap: 9px;
    }

    .logo-track span {
        width: 126px;
        height: 52px;
    }

    .logo-track img {
        max-width: 110px;
        max-height: 34px;
    }

    @keyframes logo-scroll {
        to {
            transform: translateX(calc(-50% - 4.5px));
        }
    }

    .site-footer {
        padding: 36px 20px 22px;
    }

    .site-footer h2 {
        margin-bottom: 22px;
        font-size: 23px;
    }

    .site-footer h3,
    .footer-number p,
    .footer-number strong {
        font-size: 17px;
    }

    .site-footer p {
        font-size: 13px;
    }

    .site-footer small {
        font-size: 11px;
        line-height: 1.5;
    }
}

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

    .logo-track {
        animation: none;
    }
}
