.order-story {
    --story-blue: #073fae;
    --story-navy: #0d1d43;
    --story-ink: #101a35;
    --story-mint: #72e7b2;
    --story-coral: #ff6859;
    color: var(--story-ink);
    background: #fff;
}

.order-story,
.order-story * {
    box-sizing: border-box;
}

.order-story__inner {
    position: relative;
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}

.order-story__problems {
    overflow: hidden;
    padding: 118px 0 106px;
    background:
        radial-gradient(circle at 8% 12%, rgba(49, 112, 255, .12), transparent 28%),
        radial-gradient(circle at 93% 18%, rgba(101, 231, 178, .18), transparent 29%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}

.order-story__auto-layout {
    display: grid;
    grid-template-columns: minmax(410px, .82fr) minmax(600px, 1.18fr);
    gap: 58px 82px;
    align-items: center;
}

.order-story__auto-layout::before {
    position: absolute;
    top: 24px;
    right: -72px;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7, 63, 174, .12), rgba(114, 231, 178, .08));
    filter: blur(4px);
    content: "";
    pointer-events: none;
}

.order-story__heading p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 10px 16px;
    border: 1px solid rgba(7, 63, 174, .16);
    border-radius: 999px;
    color: #0644bb;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 30px rgba(32, 92, 180, .08);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.45px;
}

.order-story__heading p::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--story-mint);
    box-shadow: 0 0 0 6px rgba(114, 231, 178, .18);
    content: "";
}

.order-story__heading h2 {
    margin: 0;
    color: var(--story-ink);
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -3.6px;
    word-break: keep-all;
}

.order-story__heading > span {
    display: block;
    max-width: 560px;
    margin-top: 24px;
    color: #4b566e;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: -.5px;
    word-break: keep-all;
}

.order-story__auto-panel {
    position: relative;
    z-index: 2;
    align-self: stretch;
    padding: 28px;
    border: 1px solid rgba(194, 212, 244, .8);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .92)),
        radial-gradient(circle at 15% 10%, rgba(114, 231, 178, .2), transparent 34%);
    box-shadow: 0 28px 75px rgba(30, 70, 145, .16);
}

.order-story__auto-panel::after {
    position: absolute;
    right: 34px;
    bottom: -28px;
    width: 150px;
    height: 54px;
    border-radius: 50%;
    background: rgba(24, 64, 137, .18);
    filter: blur(18px);
    content: "";
    pointer-events: none;
}

.order-story__auto-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dce8fa;
}

.order-story__auto-panel-head span {
    color: #75829c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
}

.order-story__auto-panel-head strong {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #073fae 0%, #1473e6 100%);
    box-shadow: 0 12px 28px rgba(7, 63, 174, .25);
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -.35px;
}

.order-story__auto-sources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.order-story__auto-sources span {
    display: grid;
    min-height: 84px;
    place-items: center;
    border: 1px solid #dce8fa;
    border-radius: 22px;
    color: #18335f;
    background: #fff;
    box-shadow: 0 12px 26px rgba(55, 95, 157, .08);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.45px;
    text-align: center;
    word-break: keep-all;
}

.order-story__auto-result {
    position: relative;
    margin-top: 14px;
    padding: 26px 28px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 22%, rgba(114, 231, 178, .35), transparent 30%),
        linear-gradient(135deg, #0d1d43 0%, #073fae 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.order-story__auto-result::before {
    position: absolute;
    top: 24px;
    right: 26px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--story-mint);
    box-shadow: 0 0 0 8px rgba(114, 231, 178, .15);
    content: "";
}

.order-story__auto-result p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.order-story__auto-result strong {
    display: block;
    color: #fff;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.4px;
    word-break: keep-all;
}

.order-story__auto-result span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    letter-spacing: -.35px;
}

.order-story__auto-card-list {
    position: relative;
    z-index: 2;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 8px 0 0;
}

.order-story__auto-card-list li {
    min-height: 216px;
    padding: 24px 22px;
    border: 1px solid #dce8fa;
    border-radius: 28px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 42px rgba(34, 72, 132, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.order-story__auto-card-list li:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 115, 230, .35);
    box-shadow: 0 24px 52px rgba(31, 76, 151, .14);
}

.order-story__auto-card-list li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #0644bb;
    background: #eaf2ff;
    font-size: 13px;
    font-weight: 900;
}

.order-story__auto-card-list strong {
    display: block;
    color: #12244a;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.45;
    letter-spacing: -.75px;
    word-break: keep-all;
}

.order-story__auto-card-list p {
    margin: 13px 0 0;
    color: #5d6880;
    font-size: 15px;
    line-height: 1.62;
    letter-spacing: -.4px;
    word-break: keep-all;
}

.order-story__insight {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 18% 8%, rgba(114, 231, 178, .16), transparent 32%),
        radial-gradient(circle at 82% 58%, rgba(55, 119, 255, .36), transparent 42%),
        linear-gradient(110deg, #081735 0%, var(--story-navy) 48%, #092252 100%);
}

.order-story__insight .order-story__inner {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    padding: 56px 120px;
}

.order-story__insight-copy {
    position: relative;
    z-index: 2;
    text-align: center;
}

.order-story__insight h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(27px, 2.2vw, 38px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -1.6px;
    word-break: keep-all;
}

.order-story__insight p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.55;
    letter-spacing: -.65px;
    word-break: keep-all;
}

.order-story__insight strong {
    color: var(--story-mint);
    font-weight: 800;
}

.order-story__quote {
    position: absolute;
    color: rgba(86, 137, 224, .5);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 120px;
    line-height: 1;
    pointer-events: none;
}

.order-story__quote--open {
    top: 28px;
    left: 25px;
}

.order-story__quote--close {
    right: 25px;
    bottom: -20px;
}

.order-story__solution {
    padding: 105px 0 115px;
    background: radial-gradient(circle at 19% 52%, rgba(65, 133, 255, .1), transparent 31%), linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}

.order-story__solution-layout {
    display: grid;
    grid-template-columns: minmax(650px, 1.25fr) minmax(390px, .75fr);
    gap: 70px;
    align-items: center;
}

.order-story__process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
}

.order-story__process::before {
    position: absolute;
    top: 67px;
    right: 9%;
    left: 9%;
    height: 2px;
    background: #bad2ff;
    content: "";
}

.order-story__process li {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.order-story__process li:not(:last-child)::after {
    position: absolute;
    top: 56px;
    right: -25px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #b7cefa;
    border-radius: 50%;
    color: #2e70db;
    background: #f5f9ff;
    content: "›";
    font-size: 24px;
    line-height: 1;
}

.order-story__process-icon {
    display: grid;
    width: 134px;
    height: 134px;
    place-items: center;
    border: 1px solid #cfe0ff;
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 38px rgba(44, 87, 157, .11);
}

.order-story__process-icon svg {
    width: 76px;
    height: 76px;
    fill: none;
    stroke: #153d7b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.order-story__process-icon .accent {
    stroke: #1473e6;
}

.order-story__process strong {
    margin-top: 20px;
    color: #13274f;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -.45px;
    word-break: keep-all;
}

.order-story__process > li > span {
    margin-top: 7px;
    color: #68758d;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: -.25px;
    word-break: keep-all;
}

.order-story__solution-copy h3 {
    margin: 0;
    padding-bottom: 29px;
    border-bottom: 1px solid #cad9f2;
    color: #14203d;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 750;
    line-height: 1.55;
    letter-spacing: -1.4px;
    word-break: keep-all;
}

.order-story__solution-copy h3 strong {
    color: #0864dd;
    font-weight: 850;
}

.order-story__solution-copy ul {
    display: grid;
    gap: 17px;
    margin: 28px 0 0;
}

.order-story__solution-copy li {
    position: relative;
    padding-left: 36px;
    color: #42506a;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -.45px;
    word-break: keep-all;
}

.order-story__solution-copy li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #48d8ab;
    border-radius: 50%;
    color: #21b98d;
    content: "✓";
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .order-story__inner {
        width: min(1080px, calc(100% - 56px));
    }

    .order-story__auto-layout {
        grid-template-columns: minmax(360px, .88fr) minmax(520px, 1.12fr);
        gap: 46px;
    }

    .order-story__auto-card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-story__solution-layout {
        grid-template-columns: 1fr;
    }

    .order-story__solution-copy {
        max-width: 850px;
        margin: 0 auto;
        text-align: center;
    }

    .order-story__solution-copy ul {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

@media (max-width: 900px) {
    .order-story__problems {
        padding: 90px 0;
    }

    .order-story__auto-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .order-story__auto-layout::before {
        top: 160px;
        right: -180px;
    }

    .order-story__heading {
        text-align: center;
    }

    .order-story__heading > span {
        margin-right: auto;
        margin-left: auto;
    }

    .order-story__heading h2 br {
        display: none;
    }

    .order-story__auto-panel {
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .order-story__auto-card-list {
        margin-top: -18px;
    }

    .order-story__insight .order-story__inner {
        min-height: 300px;
        padding: 52px 65px;
    }

    .order-story__solution {
        padding: 85px 0 95px;
    }

    .order-story__process {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px 22px;
    }

    .order-story__process::before,
    .order-story__process li:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .order-story__inner {
        width: calc(100% - 36px);
    }

    .order-story__problems {
        padding: 68px 0 62px;
    }

    .order-story__auto-layout {
        gap: 39px;
    }

    .order-story__heading p {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .order-story__heading h2 {
        font-size: 35px;
        line-height: 1.18;
        letter-spacing: -2px;
    }

    .order-story__heading > span {
        margin-top: 19px;
        font-size: 15px;
    }

    .order-story__auto-panel {
        padding: 20px;
        border-radius: 26px;
    }

    .order-story__auto-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .order-story__auto-panel-head strong {
        min-height: 38px;
        padding: 0 15px;
        font-size: 14px;
    }

    .order-story__auto-sources {
        grid-template-columns: 1fr;
    }

    .order-story__auto-sources span {
        min-height: 58px;
        border-radius: 18px;
        font-size: 14px;
    }

    .order-story__auto-result {
        padding: 22px;
        border-radius: 22px;
    }

    .order-story__auto-result strong {
        font-size: 25px;
    }

    .order-story__auto-card-list {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: -6px;
    }

    .order-story__auto-card-list li {
        min-height: auto;
        padding: 21px 20px;
        border-radius: 22px;
    }

    .order-story__auto-card-list li > span {
        width: 34px;
        height: 34px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .order-story__auto-card-list strong {
        font-size: 18px;
    }

    .order-story__auto-card-list p {
        font-size: 14px;
    }

    .order-story__insight .order-story__inner {
        min-height: 340px;
        padding: 55px 12px;
    }

    .order-story__insight h3 {
        margin-bottom: 25px;
        font-size: 24px;
        line-height: 1.45;
        letter-spacing: -1.2px;
    }

    .order-story__insight p {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.65;
    }

    .order-story__quote {
        font-size: 80px;
    }

    .order-story__quote--open {
        top: 15px;
        left: -2px;
    }

    .order-story__quote--close {
        right: -2px;
        bottom: -8px;
    }

    .order-story__solution {
        padding: 68px 0 75px;
    }

    .order-story__solution-layout {
        gap: 58px;
    }

    .order-story__process {
        grid-template-columns: 1fr;
        gap: 38px 12px;
    }

    .order-story__process-icon {
        width: 118px;
        height: 118px;
        border-radius: 22px;
    }

    .order-story__process-icon svg {
        width: 66px;
        height: 66px;
    }

    .order-story__process strong {
        margin-top: 14px;
        font-size: 14px;
    }

    .order-story__process > li > span {
        font-size: 17px;
    }

    .order-story__solution-copy {
        text-align: left;
    }

    .order-story__solution-copy h3 {
        padding-bottom: 24px;
        font-size: 23px;
        line-height: 1.55;
        letter-spacing: -1px;
    }

    .order-story__solution-copy ul {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .order-story__solution-copy li {
        padding-left: 31px;
        font-size: 14px;
    }

    .order-story__solution-copy li::before {
        width: 19px;
        height: 19px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-story__auto-card-list li {
        transition: none;
    }
}

/* Notion-style refresh */
.order-story {
    --story-paper: #fbfaf7;
    --story-surface: #ffffff;
    --story-line: #e8e3da;
    --story-soft: #f7f6f3;
    --story-blue-soft: #f4f7ff;
    background: #fff;
}

.order-story__problems {
    background:
        radial-gradient(circle at 8% 8%, rgba(7, 63, 174, .055), transparent 24%),
        linear-gradient(180deg, var(--story-paper) 0%, #fff 100%);
}

.order-story__auto-layout::before,
.order-story__auto-panel::after,
.order-story__process::before {
    display: none;
    content: none;
}

.order-story__heading p {
    gap: 9px;
    border-color: var(--story-line);
    border-radius: 10px;
    color: #645f58;
    background: var(--story-soft);
    box-shadow: none;
}

.order-story__heading p::before {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    content: "✨";
    font-size: 18px;
    line-height: 1;
}

.order-story__auto-panel,
.order-story__auto-card-list li,
.order-story__process li,
.order-story__solution-copy {
    border: 1px solid var(--story-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(35, 39, 47, .06);
}

.order-story__auto-panel {
    padding: 28px;
}

.order-story__auto-panel-head {
    border-bottom-color: var(--story-line);
}

.order-story__auto-panel-head strong {
    border: 1px solid #dfe8fa;
    border-radius: 10px;
    color: #164ca6;
    background: var(--story-blue-soft);
    box-shadow: none;
}

.order-story__auto-sources span {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    gap: 9px;
    border-color: var(--story-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}

.order-story__auto-sources span::before {
    content: "🧾";
    font-size: 25px;
    line-height: 1;
}

.order-story__auto-sources span:nth-child(2)::before {
    content: "🛒";
}

.order-story__auto-sources span:nth-child(3)::before {
    content: "📦";
}

.order-story__auto-result {
    border: 1px solid #dfe8fa;
    border-radius: 18px;
    color: var(--story-ink);
    background: var(--story-blue-soft);
    box-shadow: none;
}

.order-story__auto-result::before {
    content: "✨";
    top: 23px;
    right: 24px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 23px;
}

.order-story__auto-result p,
.order-story__auto-result span {
    color: #5d6880;
}

.order-story__auto-result strong {
    color: #12244a;
}

.order-story__auto-card-list li {
    min-height: 206px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(35, 39, 47, .055);
}

.order-story__auto-card-list li:hover,
.order-story__process li:hover {
    transform: translateY(-3px);
    border-color: #d7d0c5;
    box-shadow: 0 18px 42px rgba(35, 39, 47, .09);
}

.order-story__auto-card-list li > span {
    border-radius: 10px;
    color: transparent;
    background: var(--story-soft);
    font-size: 0;
}

.order-story__auto-card-list li > span::before {
    color: #1f2328;
    content: "📈";
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

.order-story__auto-card-list li:nth-child(2) > span::before {
    content: "🛒";
}

.order-story__auto-card-list li:nth-child(3) > span::before {
    content: "📦";
}

.order-story__auto-card-list li:nth-child(4) > span::before {
    content: "✅";
}

.order-story__insight {
    color: var(--story-ink);
    border-top: 1px solid var(--story-line);
    border-bottom: 1px solid var(--story-line);
    background: var(--story-paper);
}

.order-story__insight .order-story__inner {
    min-height: auto;
    padding: 76px 0;
}

.order-story__insight-copy {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 34px 38px;
    border: 1px solid var(--story-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 39, 47, .055);
    text-align: left;
}

.order-story__insight-copy::before {
    display: block;
    margin-bottom: 14px;
    content: "💡";
    font-size: 30px;
    line-height: 1;
}

.order-story__insight h3 {
    color: #12244a;
}

.order-story__insight p {
    color: #4f5d76;
}

.order-story__insight strong {
    color: #164ca6;
}

.order-story__quote {
    display: none;
}

.order-story__solution {
    background: linear-gradient(180deg, #fff 0%, var(--story-paper) 100%);
}

.order-story__process li {
    padding: 22px 18px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.order-story__process li:not(:last-child)::after {
    content: "→";
    border-color: var(--story-line);
    color: #7a746b;
    background: #fff;
}

.order-story__process-icon {
    width: 70px;
    height: 70px;
    border-color: var(--story-line);
    border-radius: 16px;
    background: var(--story-soft);
    box-shadow: none;
}

.order-story__process-icon svg {
    display: none;
}

.order-story__process-icon::before {
    content: "🏪";
    font-size: 34px;
    line-height: 1;
}

.order-story__process li:nth-child(2) .order-story__process-icon::before {
    content: "📊";
}

.order-story__process li:nth-child(3) .order-story__process-icon::before {
    content: "✅";
}

.order-story__solution-copy {
    padding: 30px;
}

.order-story__solution-copy h3 {
    border-bottom-color: var(--story-line);
}

.order-story__solution-copy h3 strong {
    color: #164ca6;
}

.order-story__solution-copy li::before {
    border: 0;
    border-radius: 6px;
    color: #0f63d6;
    background: var(--story-blue-soft);
    content: "✓";
}

@media (max-width: 900px) {
    .order-story__insight .order-story__inner {
        padding: 58px 0;
    }

    .order-story__insight-copy {
        padding: 28px 26px;
    }
}

@media (max-width: 640px) {
    .order-story__auto-card-list li,
    .order-story__process li,
    .order-story__solution-copy,
    .order-story__insight-copy {
        border-radius: 18px;
    }
}
