@font-face {
    font-family: Pretendard;
    src: url('font/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --paper: #f7f8f3;
    --white: #fff;
    --ink: #172c1c;
    --muted: #526056;
    --green: #cef374;
    --brand: #4f9e35;
    --soft: #e9eede;
    --dark: #193923;
    --mint: #cde8e4;
    --radius: 20px;
    --gutter: clamp(22px,5.5vw,88px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Pretendard,sans-serif;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 6px;
}

::selection {
    background: var(--ink);
    color: var(--green);
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    text-wrap: balance;
    letter-spacing: -.055em;
}

p {
    line-height: 1.7;
}

button {
    border: 0;
}

a, button {
    transition: transform .2s,background-color .2s,color .2s;
}

a:active, button:active {
    transform: translateY(2px);
}

.wrap {
    padding-inline: var(--gutter);
    max-width: 1600px;
    margin: auto;
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--white);
    padding: 16px;
}

.skip:focus {
    top: 12px;
}

header {
    height: 88px;
    background: var(--green);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -.05em;
}

.logo img {
    width: 29px;
    height: 34px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--ink);
    color: var(--white);
    padding: 19px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 17px;
    min-height: 54px;
}

.button:hover {
    background: var(--dark);
    transform: translateY(-3px);
}

.nav .button {
    padding: 13px 21px;
    min-height: 46px;
    font-size: 15px;
}

.button.light {
    background: var(--green);
    color: var(--ink);
}

.hero {
    background: var(--green);
    position: relative;
}

.hero-main {
    position: relative;
    min-height: 575px;
    padding-top: 60px;
    padding-bottom: 70px;
}

.hero h1 {
    font-size: clamp(64px,7.5vw,116px);
    line-height: 1.13;
    font-weight: 850;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 560px;
    margin-top: 32px;
    font-size: 20px;
    line-height: 1.65;
}

.hero-action {
    margin-top: 30px;
}

.hero-note {
    font-size: 14px;
    margin-top: 14px;
}

.hero-ticket {
    position: absolute;
    right: 8%;
    top: 26px;
    width: 320px;
    background: var(--white);
    padding: 18px 18px 0;
    transform: rotate(7deg);
    transform-origin: center;
    z-index: 1;
    border-radius: var(--radius);
}

.ticket-top {
    display: flex;
    justify-content: space-between;
    padding: 2px 2px 15px;
    font-size: 14px;
    font-weight: 700;
}

.ticket-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.ticket-bottom {
    padding: 22px 8px 24px;
    position: relative;
}

.ticket-bottom::before, .ticket-bottom::after {
    content: "";
    position: absolute;
    top: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
}

.ticket-bottom::before {
    left: -30px;
}

.ticket-bottom::after {
    right: -30px;
}

.ticket-bottom strong {
    font-size: 24px;
    letter-spacing: -.04em;
}

.ticket-bottom p {
    font-size: 14px;
    margin-top: 5px;
}

.ticket-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 13px;
}

.ticket-label b {
    font-size: 16px;
}

.hero-band {
    background: var(--ink);
    color: var(--white);
}

.hero-band .wrap {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 18px;
}

.hero-band strong {
    font-size: 26px;
    letter-spacing: -.04em;
}

.hero-band p {
    color: var(--soft);
}

.hero-band .band-end {
    margin-left: auto;
    font-size: 16px;
    color: var(--green);
}

.section {
    padding-block: 110px;
}

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

h2 {
    font-size: clamp(34px,4vw,58px);
    line-height: 1.2;
    font-weight: 780;
}

.section-heading p {
    max-width: 370px;
    font-size: 18px;
    color: var(--muted);
}

.coupon-browser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 20px;
    min-height: 90px;
    padding: 23px 25px;
    background: var(--soft);
    border-radius: 12px;
}

.category strong {
    font-size: 26px;
    letter-spacing: -.04em;
}

.category span {
    font-size: 16px;
}

.category[aria-pressed="true"] {
    background: var(--ink);
    color: var(--white);
}

.category:hover {
    transform: translateX(5px);
}

.category[aria-pressed="true"] span {
    color: var(--green);
}

.coupon-preview {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 25px;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    min-height: 320px;
}

.coupon-preview img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
}

.coupon-preview h3 {
    font-size: 29px;
    line-height: 1.25;
    margin: 12px 0;
}

.coupon-preview p {
    font-size: 16px;
    color: var(--muted);
}

.coupon-preview .preview-type {
    color: var(--brand);
    font-weight: 700;
}

.coupon-preview a {
    display: inline-block;
    margin-top: 22px;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 700;
}

.caption {
    font-size: 14px;
    color: var(--muted);
    margin-top: 20px;
}

.earn {
    background: var(--white);
}

.earn-intro {
    max-width: 580px;
    margin-bottom: 54px;
}

.earn-intro p {
    font-size: 18px;
    margin-top: 20px;
    color: var(--muted);
}

.earn-copy {
    max-width: 470px;
}

.earn-copy h3 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.earn-copy p {
    font-size: 18px;
    color: var(--muted);
}

.earn-copy small {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.faq {
    background: var(--soft);
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
}

.faq-layout>div>p {
    font-size: 18px;
    color: var(--muted);
    margin-top: 20px;
}

details {
    background: var(--paper);
    padding: 0 26px;
    border-radius: 12px;
    margin-bottom: 12px;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 36px 24px 0;
    position: relative;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.5;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 22px;
    font-size: 24px;
    font-weight: 400;
}

details[open] summary::after {
    content: '−';
}

details p {
    font-size: 17px;
    color: var(--muted);
    padding-bottom: 26px;
    max-width: 600px;
    overflow: hidden; /* 슬라이드 중 내용이 넘치지 않게 */
}

.download {
    background: var(--dark);
    color: var(--white);
}

.download-layout {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
}

.download h2 {
    font-size: clamp(38px,4.6vw,66px);
}

.download p {
    font-size: 18px;
    margin-top: 24px;
    color: var(--soft);
}

.store-links {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.store-links a {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    min-height: 64px;
    width: 190px;
    align-items: center;
    justify-content: center;
}

.store-links a:hover {
    transform: translateY(-4px);
}

.store-links img {
    width: 158px;
    height: auto;
}

.qr-group {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
}

.qr {
    background: var(--white);
    color: var(--ink);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.qr img {
    width: 124px;
    height: 124px;
}

.qr p {
    font-size: 14px;
    color: var(--ink);
    margin-top: 10px;
}

.contact {
    padding-block: 65px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-size: 30px;
}

.contact p {
    margin-top: 12px;
    font-size: 16px;
    color: var(--muted);
}

.contact-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 22px;
    font-size: 20px;
    font-weight: 650;
}

.contact-links a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.address {
    padding-top: 3px;
}

footer {
    background: var(--soft);
    padding-block: 26px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    font-size: 14px;
    align-items: center;
}

.footer-inner p {
    color: var(--muted);
}

.footer-inner b {
    font-size: 18px;
    letter-spacing: -.03em;
}

.fade-in {
    animation: rise .7s both;
}

.hero h1 {
    animation: rise .75s both;
}

.hero-copy {
    animation: rise .75s .1s both;
}

.hero-action {
    animation: rise .75s .2s both;
}

.hero-ticket {
    animation: ticket-enter 1s .1s both;
}

.hero-ticket .ticket-image {
    animation: photo-breathe 8s ease-in-out infinite;
}

.reveal.is-visible {
    animation: rise .65s both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticket-enter {
    from {
        opacity: 0;
        transform: translateY(35px) rotate(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(7deg);
    }
}

@keyframes photo-breathe {
    50% {
        transform: scale(.97);
    }
}

.ticket-image, .coupon-preview img {
    height: auto;
}

.logo img {
    filter: brightness(.5);
}

@media(max-width:800px) {
    .ticket-label {
        display: block;
    }
    .ticket-label b {
        display: block;
        margin-top: 8px;
    }
    .ticket-bottom p {
        font-size: 13px;
    }
}

@media(min-width:1500px) {
    .hero-ticket {
        right: 11%;
        width: 345px;
    }
    .hero-main {
        min-height: 620px;
        padding-top: 72px;
    }
}

@media(max-width:1100px) {
    .hero h1 {
        font-size: 8vw;
    }
    .hero-ticket {
        right: 6%;
        width: 270px;
        top: 50px;
    }
    .hero-copy {
        max-width: 460px;
        font-size: 18px;
    }
    .hero-main {
        min-height: 545px;
    }
    .coupon-browser {
        gap: 26px;
    }
    .coupon-preview {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }
    .coupon-preview img {
        max-width: 190px;
        margin: auto;
    }
    .coupon-preview h3 {
        font-size: 26px;
    }
    .coupon-preview a {
        margin-top: 10px;
    }
    .faq-layout {
        gap: 40px;
    }
    .qr-group {
        gap: 10px;
    }
    .qr img {
        width: 100px;
        height: 100px;
    }
    .download-layout {
        gap: 30px;
    }
    .section {
        padding-block: 85px;
    }
}

@media(max-width:800px) {
    header {
        height: 76px;
    }
    .hero-main {
        padding-top: 36px;
        min-height: 550px;
    }
    .hero h1 {
        font-size: 9vw;
    }
    .hero-ticket {
        width: 230px;
        top: 145px;
        right: 7%;
    }
    .hero-copy {
        max-width: 330px;
        margin-top: 28px;
    }
    .hero-action {
        margin-top: 25px;
    }
    .hero-band .wrap {
        gap: 24px;
        min-height: 110px;
    }
    .hero-band strong {
        font-size: 23px;
    }
    .hero-band p {
        font-size: 16px;
    }
    .hero-band .band-end {
        display: none;
    }
    .section-heading {
        display: block;
    }
    .section-heading p {
        margin-top: 20px;
    }
    .coupon-preview {
        min-height: 400px;
    }
    .category strong {
        font-size: 23px;
    }
    .category {
        padding: 24px 18px;
    }
    .category span {
        font-size: 14px;
    }
    .earn-copy h3 {
        font-size: 30px;
    }
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .download-layout {
        display: block;
    }
    .qr-group {
        margin-top: 36px;
    }
    .contact-layout {
        gap: 35px;
    }
    .footer-inner {
        display: flex;
        flex-wrap: wrap;
    }
    .footer-inner p {
        order: 3;
        width: 100%;
    }
}

@media(max-width:700px) {
    :root {
        --gutter: 22px;
    }
    .logo {
        font-size: 21px;
        gap: 8px;
    }
    .logo img {
        width: 24px;
        height: 29px;
    }
    .nav .button {
        font-size: 14px;
        padding: 12px 16px;
    }
    .hero-main {
        padding-top: 25px;
        min-height: 790px;
        padding-bottom: 28px;
    }
    .hero h1 {
        font-size: clamp(43px,11.4vw,66px);
        line-height: 1.15;
        letter-spacing: -.065em;
    }
    .hero-copy {
        max-width: 100%;
        font-size: 17px;
        margin-top: 24px;
    }
    .hero-action {
        margin-top: 22px;
    }
    .hero-action .button {
        font-size: 16px;
        min-height: 54px;
        padding: 16px 22px;
    }
    .hero-note {
        font-size: 13px;
        margin-top: 12px;
    }
    .hero-ticket {
        top: 376px;
        width: 230px;
        right: calc(50% - 115px);
    }
    .ticket-bottom {
        padding-block: 17px;
    }
    .ticket-label {
        margin-top: 12px;
    }
    .ticket-bottom strong {
        font-size: 22px;
    }
    .hero-band .wrap {
        padding-block: 25px;
        display: block;
    }
    .hero-band strong {
        font-size: 24px;
    }
    .hero-band p {
        font-size: 16px;
        margin-top: 6px;
    }
    .section {
        padding-block: 64px;
    }
    h2 {
        font-size: 36px;
        line-height: 1.25;
    }
    .section-heading {
        margin-bottom: 30px;
    }
    .section-heading p {
        font-size: 17px;
    }
    .coupon-browser {
        grid-template-columns: minmax(0, 1fr); /* 칩 줄 길이 때문에 칸이 넓어지지 않게 */
        gap: 14px;
    }
    /* 카테고리: 한 줄 칩, 넘치면 옆으로 밀기 (화면 끝까지 붙여서 밀 수 있게 여백 상쇄) */
    .category-list {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .category-list::-webkit-scrollbar {
        display: none;
    }
    .category {
        flex: none;
        min-height: 42px;
        padding: 0 18px;
        border-radius: 21px;
        justify-content: center;
        scroll-snap-align: start;
    }
    .category strong {
        font-size: 15px;
        white-space: nowrap;
    }
    .category span {
        display: none;
    }
    .category:hover {
        transform: none;
    }
    /* 미리보기: 사진을 위에 크게, 글은 아래 */
    .coupon-preview {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px 14px 22px;
        min-height: 0;
    }
    .coupon-preview img {
        width: 100%;
        max-width: none;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .coupon-preview > div {
        padding-inline: 6px;
    }
    .coupon-preview h3 {
        font-size: 24px;
        margin: 6px 0;
    }
    .coupon-preview p {
        font-size: 15px;
    }
    .coupon-preview a {
        font-size: 15px;
    }
    .caption {
        font-size: 13px;
        line-height: 1.7;
    }
    .earn-intro {
        margin-bottom: 18px;
    }
    .earn-intro p {
        font-size: 17px;
    }
    .earn-copy h3 {
        font-size: 29px;
        margin-bottom: 13px;
    }
    .earn-copy p {
        font-size: 17px;
    }
    .faq-layout>div>p {
        font-size: 17px;
    }
    summary {
        font-size: 18px;
        padding-block: 21px;
    }
    details {
        padding-inline: 20px;
    }
    details p {
        font-size: 16px;
    }
    .download h2 {
        font-size: 38px;
    }
    .download p {
        font-size: 17px;
    }
    .store-links {
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 26px;
    }
    .store-links a {
        width: 50%;
        min-height: 59px;
    }
    .store-links img {
        width: 140px;
        max-width: 90%;
    }
    .qr-group {
        display: none;
    }
    .contact {
        padding-block: 48px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contact h2 {
        font-size: 29px;
    }
    .contact-links {
        font-size: 18px;
        gap: 20px;
    }
    .address p {
        font-size: 15px;
    }
    .footer-inner {
        gap: 16px;
    }
    .footer-inner p {
        font-size: 13px;
    }
    .footer-inner b {
        font-size: 17px;
    }
}

/* 포인트 모으기: 왼쪽 설명 스크롤 + 오른쪽 폰 고정 */
.earn-story {
    display: grid;
    grid-template-columns: minmax(0, 560px) 300px;
    gap: clamp(60px, 10vw, 180px);
}

.earn-steps .earn-copy {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
    opacity: .25;
    transition: opacity .4s;
}

.earn-steps .earn-copy.is-on {
    opacity: 1;
}

/* PC에서는 감싼 요소가 없는 것처럼 (자식이 바로 그리드 칸에 들어감) */
.earn-sticky {
    display: contents;
}

.earn-dots {
    display: none;
}

.earn-phone {
    position: sticky;
    top: calc(50vh - 310px);
    align-self: start;
}

/* 폰 목업 (앱 화면은 hybrid assets/css/layout.css 기준, 앱 초록 #53A93A) */
.earn-phone .phone {
    position: relative;
    width: 300px;
    height: 620px;
    border-radius: 46px;
    background: #1a1a1a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .18);
}

.earn-phone .phone::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 3;
    width: 90px;
    height: 24px;
    border-radius: 14px;
    background: #1a1a1a;
    transform: translateX(-50%);
}

.earn-phone .scr {
    position: absolute;
    inset: 10px;
    display: flex;
    flex-direction: column;
    padding-top: 48px;
    border-radius: 36px;
    background: #fff;
    overflow: hidden;
    color: #111;
    font-size: 12px;
    letter-spacing: 0;
    opacity: 0;
    transition: opacity .5s;
}

.earn-phone .scr.is-on {
    opacity: 1;
}

.earn-phone p {
    line-height: 1.4;
}

.earn-phone ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.earn-phone h4 {
    margin: 0;
}

.earn-phone em {
    font-style: normal;
}

.app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 14px 14px;
}

/* 하단 탭 (hybrid .footer_button_wrap: 비활성 반투명, 활성은 위에 초록 막대) */
.app-tab {
    display: flex;
    height: 56px;
    padding-bottom: 6px;
    border-top: 1px solid #ddd;
}

.app-tab span {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 9px;
    opacity: .5;
}

.app-tab img {
    width: 18px;
    height: 18px;
}

.app-tab span.on {
    opacity: 1;
}

.app-tab span.on::after {
    content: "";
    position: absolute;
    top: -1px;
    left: calc(50% - 13px);
    width: 26px;
    height: 2px;
    background: #53A93A;
}

.c-m {
    color: #53A93A;
}

/* 1. 내 포인트 */
.ph-head {
    position: relative;
    padding: 6px 16px 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.ph-head i {
    position: absolute;
    left: 18px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-left: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
}

.ph-point {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.ph-point p {
    font-size: 11px;
}

.ph-point b {
    font-size: 19px;
    font-weight: 400;
}

.ph-point b span {
    font-weight: 800;
}

.ph-title {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid #111;
}

.ph-title h4 {
    flex: 1;
    font-size: 12px;
}

.ph-title span {
    position: relative;
    padding: 4px 18px 4px 8px;
    border: 1px solid #ddd;
    font-size: 10px;
}

.ph-title span::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 7px;
    width: 4px;
    height: 4px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    transform: rotate(45deg);
}

.ph-body {
    gap: 0;
}

.ph-list li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 38px;
    padding-right: 28px;
    border-bottom: 1px solid #ddd;
    transition: opacity .4s, background-color .4s;
}

.ph-list li > span {
    flex: 1;
    color: #666;
    line-height: 38px;
}

.ph-list li > b {
    padding-right: 8px;
    font-weight: 400;
    line-height: 38px;
}

/* 오른쪽 화살표 칸 (구분선 + 꺾쇠) */
.ph-list li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 38px;
    border-left: 1px solid #ddd;
}

.ph-list li::before {
    content: "";
    position: absolute;
    right: 11px;
    top: 15px;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    transform: rotate(45deg);
    transition: transform .4s, top .4s;
}

.ph-list li.no-arrow {
    padding-right: 0;
}

.ph-list li.no-arrow::before, .ph-list li.no-arrow::after {
    display: none;
}

.ph-fold {
    width: calc(100% + 28px);
    max-height: 0;
    margin-right: -28px;
    padding: 0 36px 0 8px;
    overflow: hidden;
    background: #f5f5f5;
    transition: max-height .5s .3s, padding .5s .3s;
}

.ph-fold p {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 10px;
    color: #888;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}

.ph-fold p:last-child {
    border-bottom: 0;
}

.ph-fold p span {
    flex: 1;
    color: #111;
}

.ph-fold em {
    color: #ff5c6d;
}

/* 활성: 나머지 흐리게, 카드포인트 줄 강조 + 펼침 */
.scr.is-on .ph-list li:not(.ph-target) {
    opacity: .3;
}

.scr.is-on .ph-target {
    background: rgba(83, 169, 58, .1);
}

.scr.is-on .ph-target > span {
    padding-left: 8px;
    color: #53A93A;
    font-weight: 700;
}

.scr.is-on .ph-target > b {
    color: #53A93A;
    font-weight: 700;
}

.scr.is-on .ph-target::before {
    top: 18px;
    border-color: #53A93A;
    transform: rotate(-135deg);
}

.scr.is-on .ph-fold {
    max-height: 120px;
    padding: 6px 36px 6px 8px;
}

.scr.is-on .ph-fold p {
    opacity: 1;
    transform: none;
    transition-delay: calc(.6s + var(--i) * .15s);
}

/* 2. 메인 */
.app-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px 10px;
    font-size: 15px;
    font-weight: 700;
}

.app-top img {
    width: 18px;
    height: 18px;
}

.pt-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5FC24A 0%, #3E9E2D 100%);
    color: #fff;
}

.pt-card p {
    font-size: 11px;
    opacity: .9;
}

.pt-card b {
    font-size: 24px;
    font-weight: 800;
}

.pt-card small {
    margin-left: 1px;
    font-size: 16px;
}

.pt-card div {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.pt-card span {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .18);
    text-align: center;
    font-size: 11px;
}

.app-sec {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.fp-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s, transform .4s;
}

.scr.is-on .fp-card {
    opacity: 1;
    transform: none;
    transition-delay: calc(.2s + var(--i) * .12s);
}

.fp-card img {
    width: 36px;
    height: 36px;
}

.fp-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fp-card b {
    font-size: 13px;
}

.fp-card div span {
    margin-top: 2px;
    font-size: 10px;
    color: #888;
}

.fp-card i {
    font-style: normal;
    font-size: 18px;
    color: #ccc;
}

/* 3. 모바일쿠폰 */
.mc-title {
    padding: 6px 16px 10px;
    font-size: 17px;
    font-weight: 700;
}

.mc-cate {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 4px;
}

.mc-cate li {
    padding: 6px 9px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 10px;
}

.mc-cate li.on {
    border-color: #53A93A;
    background: #53A93A;
    color: #fff;
}

.mc-brand {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 6px;
}

.mc-brand li {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .35s, transform .35s;
}

.scr.is-on .mc-brand li {
    opacity: 1;
    transform: none;
    transition-delay: calc(.2s + var(--i) * .06s);
}

/* 둥근 카드 안에 로고, 브랜드명은 카드 아래 */
.mc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.mc-logo img {
    width: 74%;
    height: 82%;
    object-fit: contain;
}

/* 정사각형에 여백이 있는 로고는 카드를 채워서 크기를 맞춤 */
.mc-logo img.full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-brand p {
    margin-top: 4px;
    text-align: center;
    font-size: 10px;
    white-space: nowrap;
}

/* 모바일: 설명(위)+작은 폰(아래)을 한 화면에 고정, 스크롤 진행에 따라 3단계 전환 */
@media(max-width:800px) {
    .earn-story {
        display: block;
        height: 300svh; /* 고정된 채 스크롤되는 길이 (단계당 약 1화면) */
    }
    .earn-sticky {
        position: sticky;
        top: 0;
        height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        --s: .66; /* 폰 축소 비율 */
    }
    .earn-dots {
        display: flex;
        gap: 6px;
    }
    .earn-dots i {
        width: 6px;
        height: 6px;
        border-radius: 3px;
        background: rgba(23, 44, 28, .15);
        transition: width .3s, background-color .3s;
    }
    .earn-dots i.is-on {
        width: 18px;
        background: var(--brand);
    }
    /* 설명 3개를 같은 자리에 겹쳐 두고 현재 단계만 보이게 */
    .earn-steps {
        display: grid;
        width: 100%;
    }
    .earn-steps .earn-copy {
        grid-area: 1 / 1;
        min-height: 0;
        max-width: none;
        text-align: center;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .35s, transform .35s;
    }
    .earn-steps .earn-copy.is-on {
        opacity: 1;
        transform: none;
    }
    .earn-steps .earn-copy h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .earn-steps .earn-copy p {
        font-size: 15px;
        line-height: 1.6;
    }
    .earn-steps .earn-copy small {
        margin-top: 6px;
        font-size: 12px;
    }
    .earn-phone {
        position: static;
        align-self: center;
    }
    /* 내부 화면은 300px 기준으로 그린 그대로 축소, 줄어든 만큼 아래 여백 제거 */
    .earn-phone .phone {
        transform: scale(var(--s));
        transform-origin: top center;
        margin: 0 calc(300px * (var(--s) - 1) / 2) calc(620px * (var(--s) - 1));
    }
}

@media(max-width:800px) and (max-height:700px) {
    .earn-sticky {
        --s: .56;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none!important;
        transition: none!important;
    }
}

