:root {
    --ink: #171d1a;
    --ink-soft: #59615c;
    --paper: #f4f0e7;
    --paper-deep: #e9e3d7;
    --white: #fffdf8;
    --orange: #f47a24;
    --cyan: #48bdcc;
    --sage: #a6ad8e;
    --line: rgba(23, 29, 26, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(244, 122, 36, 0.09), transparent 23rem),
        radial-gradient(circle at 94% 13%, rgba(72, 189, 204, 0.12), transparent 26rem),
        var(--paper);
    font-family: "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.page-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 47px;
    height: 24px;
}

.brand-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 7px solid;
    border-radius: 50%;
}

.brand-ring--orange {
    left: 0;
    border-color: var(--orange);
}

.brand-ring--cyan {
    right: 0;
    border-color: var(--cyan);
}

.brand-bridge {
    position: absolute;
    left: 16px;
    z-index: 1;
    width: 15px;
    height: 7px;
    border-radius: 999px;
    background: var(--ink);
}

.brand-name {
    font-family: "Manrope", "Noto Sans KR", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.header-note,
.eyebrow,
.section-kicker,
.service-category,
.visual-label,
.service-number,
.tool-count {
    font-family: "Manrope", "Noto Sans KR", sans-serif;
    text-transform: uppercase;
}

.header-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 80px;
    align-items: end;
    padding: 104px 0 92px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 25px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 11px 0 0 var(--cyan);
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(58px, 7.2vw, 104px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.hero h1 em {
    position: relative;
    z-index: 0;
    color: var(--ink);
    font-style: normal;
}

.hero h1 em::after {
    position: absolute;
    right: -0.03em;
    bottom: 0.04em;
    left: -0.02em;
    z-index: -1;
    height: 0.18em;
    background: var(--cyan);
    content: "";
    opacity: 0.68;
}

.hero-description {
    max-width: 670px;
    margin: 40px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.85;
    word-break: keep-all;
}

.hero-aside {
    padding: 0 0 9px 30px;
    border-left: 1px solid var(--line);
}

.tool-count {
    display: block;
    margin-bottom: 23px;
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

.hero-aside p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.hero-line {
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 26px;
    background: linear-gradient(90deg, var(--orange) 0 43%, var(--cyan) 43% 100%);
}

.services {
    padding: 79px 0 88px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 37px;
}

.section-heading .section-kicker {
    margin: 0;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: -0.055em;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 750px;
    padding: 28px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: var(--ink);
    text-decoration: none;
    box-shadow: 0 16px 45px rgba(23, 29, 26, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 64px rgba(23, 29, 26, 0.2);
}

.service-card:focus-visible {
    outline: 4px solid var(--orange);
    outline-offset: 5px;
}

.service-card--qr:focus-visible {
    outline-color: var(--cyan);
}

.card-topline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: start;
}

.service-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.service-status {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.service-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a6d65d;
    box-shadow: 0 0 0 4px rgba(166, 214, 93, 0.12);
}

.card-visual {
    position: relative;
    overflow: hidden;
    align-self: center;
    min-height: 268px;
    margin: 22px 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
}

.card-visual::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 67%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    content: "";
}

.visual-label {
    position: absolute;
    right: 17px;
    bottom: 14px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.chart-grid {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
}

.chart-bars {
    position: absolute;
    inset: 50px 52px 48px;
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.chart-bars span {
    flex: 1;
    min-width: 18px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, var(--orange), #ff9a55);
    box-shadow: 0 0 32px rgba(244, 122, 36, 0.12);
}

.chart-bars span:nth-child(n+4) {
    background: linear-gradient(180deg, var(--cyan), #80d6df);
}

.chart-line {
    position: absolute;
    top: 51px;
    right: 57px;
    left: 57px;
    height: 135px;
    transform: rotate(-9deg);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.chart-line i {
    position: absolute;
    top: -5px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.chart-line i:nth-child(1) { top: 18px; left: 0; }
.chart-line i:nth-child(2) { top: 0; left: 25%; }
.chart-line i:nth-child(3) { top: -18px; left: 50%; }
.chart-line i:nth-child(4) { top: -8px; left: 74%; }
.chart-line i:nth-child(5) { top: -38px; right: 0; }

.card-visual--qr {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 70% 35%, rgba(72, 189, 204, 0.15), transparent 120px),
        rgba(255, 255, 255, 0.035);
}

.qr-code {
    position: relative;
    width: 154px;
    height: 154px;
    border: 12px solid var(--white);
    background:
        linear-gradient(90deg, transparent 46%, var(--white) 46% 54%, transparent 54%),
        linear-gradient(transparent 46%, var(--white) 46% 54%, transparent 54%);
}

.finder {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 9px solid var(--white);
}

.finder::after {
    position: absolute;
    inset: 7px;
    background: var(--cyan);
    content: "";
}

.finder--one { top: 7px; left: 7px; }
.finder--two { top: 7px; right: 7px; }
.finder--three { bottom: 7px; left: 7px; }

.qr-pixel {
    position: absolute;
    width: 13px;
    height: 13px;
    background: var(--white);
}

.p1 { right: 29px; bottom: 10px; }
.p2 { right: 9px; bottom: 32px; }
.p3 { right: 49px; bottom: 31px; }
.p4 { right: 28px; bottom: 53px; }
.p5 { top: 55px; left: 67px; }
.p6 { bottom: 10px; left: 66px; }

.link-route {
    position: absolute;
    right: 28px;
    bottom: 64px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.link-route span {
    width: 46px;
    height: 1px;
    background: var(--cyan);
}

.link-route i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
}

.link-route b {
    color: var(--cyan);
    font-family: "Manrope", sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.card-content {
    align-self: end;
}

.service-category {
    margin: 0 0 11px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-card--qr .service-category {
    color: var(--cyan);
}

.card-content h3 {
    margin: 0;
    font-family: "Manrope", "Noto Sans KR", sans-serif;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.service-summary {
    margin: 16px 0 27px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.65;
    word-break: keep-all;
}

.feature-list {
    display: grid;
    gap: 11px;
    margin: 0 0 34px;
    padding: 25px 0 0;
    color: rgba(255, 255, 255, 0.61);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 13px;
    line-height: 1.55;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 17px;
}

.feature-list li::before {
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    content: "";
}

.service-card--qr .feature-list li::before {
    background: var(--cyan);
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 20px;
    color: var(--ink);
    border-radius: 13px;
    background: var(--orange);
    font-size: 14px;
    font-weight: 800;
}

.service-card--qr .card-cta {
    background: var(--cyan);
}

.card-cta b {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 500;
    transition: transform 180ms ease;
}

.service-card:hover .card-cta b {
    transform: translate(3px, -3px);
}

.next-chapter {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 55px;
    padding: 88px 0 96px;
    border-top: 1px solid var(--line);
}

.next-chapter .section-kicker {
    margin: 9px 0 0;
}

.next-chapter h2 {
    margin: 0;
    font-size: clamp(37px, 5vw, 66px);
    letter-spacing: -0.065em;
    line-height: 1.15;
}

.next-chapter p:not(.section-kicker) {
    margin: 25px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.9;
    word-break: keep-all;
}

.plus-mark {
    position: absolute;
    right: 18px;
    bottom: 42px;
    color: var(--orange);
    font-family: "Manrope", sans-serif;
    font-size: 148px;
    font-weight: 500;
    line-height: 1;
    opacity: 0.2;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 108px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-family: "Manrope", "Noto Sans KR", sans-serif;
    font-size: 12px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--ink);
    font-weight: 800;
    text-underline-offset: 4px;
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 78px 0 72px;
    }

    .hero-aside {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 24px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .tool-count {
        margin: 0;
        font-size: 56px;
    }

    .hero-line {
        flex: 1;
        margin: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 720px;
    }

    .next-chapter {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .page-shell {
        width: min(100% - 28px, 1240px);
    }

    .site-header {
        min-height: 86px;
    }

    .header-note {
        display: none;
    }

    .hero {
        padding-top: 62px;
    }

    .hero h1 {
        font-size: clamp(50px, 15vw, 74px);
    }

    .hero-description {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-aside {
        align-items: flex-start;
    }

    .hero-line {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading .section-kicker {
        margin-bottom: 12px;
    }

    .service-card {
        min-height: 680px;
        padding: 20px;
        border-radius: 21px;
    }

    .card-visual {
        min-height: 220px;
        margin: 18px 0 28px;
    }

    .chart-bars {
        inset: 45px 35px 40px;
    }

    .chart-line {
        right: 39px;
        left: 39px;
    }

    .qr-code {
        width: 136px;
        height: 136px;
    }

    .service-summary {
        font-size: 16px;
    }

    .next-chapter {
        padding: 68px 0 76px;
    }

    .next-chapter p:not(.section-kicker) br {
        display: none;
    }

    .plus-mark {
        right: 0;
        font-size: 110px;
    }

    .site-footer {
        display: block;
        padding: 29px 0;
        line-height: 1.8;
    }

    .site-footer a {
        display: inline-block;
        margin-top: 9px;
    }
}

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

    .service-card,
    .card-cta b {
        transition: none;
    }
}
