@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
    --app-ivory: #f5f0e8;
    --app-paper: #fffdf9;
    --app-brown: #5a3928;
    --app-dark: #211a16;
    --app-muted: #756a62;
    --app-line: rgba(90, 57, 40, 0.16);
    --app-green: #65705a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--app-dark);
    background: var(--app-paper);
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    word-break: keep-all;
}

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

.app-skip {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 100;
    padding: 12px 18px;
    color: #fff;
    background: var(--app-brown);
}

.app-skip:focus {
    top: 16px;
}

.app-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1240px, calc(100% - 64px));
    height: 100px;
    margin: 0 auto;
}

.app-wordmark {
    display: inline-block;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.app-header__site-link {
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.app-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    min-height: 760px;
    padding: 150px max(48px, calc((100vw - 1240px) / 2)) 90px;
    overflow: hidden;
    background: var(--app-ivory);
}

.app-hero::before {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(90, 57, 40, 0.08);
    border-radius: 50%;
    content: "";
}

.app-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.app-eyebrow {
    margin: 0 0 20px;
    color: var(--app-brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.app-hero h1 {
    margin: 0;
    font-family: "Playfair Display", "Noto Sans KR", serif;
    font-size: clamp(52px, 6.2vw, 88px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.app-hero__description {
    max-width: 500px;
    margin: 30px 0 0;
    color: var(--app-muted);
    font-size: 17px;
    line-height: 1.75;
}

.app-download {
    margin-top: 40px;
}

.app-download__button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    min-height: 76px;
    padding: 15px 24px;
    border: 1px solid var(--app-brown);
    border-radius: 8px;
    color: #fff;
    background: var(--app-brown);
    box-shadow: 0 16px 34px rgba(72, 43, 27, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.app-download__button:not(.is-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(72, 43, 27, 0.23);
}

.app-download__button:focus-visible {
    outline: 3px solid rgba(90, 57, 40, 0.28);
    outline-offset: 4px;
}

.app-download__button.is-disabled {
    cursor: default;
    opacity: 0.56;
    box-shadow: none;
}

.app-download__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
}

.app-download__icon svg {
    width: 25px;
    fill: currentColor;
}

.app-download__button strong,
.app-download__button small {
    display: block;
}

.app-download__button strong {
    margin-bottom: 3px;
    font-size: 16px;
}

.app-download__button small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.app-download__status {
    margin: 12px 0 0;
    color: var(--app-muted);
    font-size: 12px;
}

.app-download__status.is-error {
    color: #8b4a36;
}

.app-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    color: var(--app-muted);
    font-size: 12px;
    list-style: none;
}

.app-hero__facts li::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 9px 2px 0;
    border-radius: 50%;
    background: var(--app-green);
    content: "";
}

.app-hero__visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 540px;
}

.app-phone {
    position: relative;
    z-index: 2;
    width: min(298px, 70vw);
    aspect-ratio: 0.49;
    padding: 13px;
    border: 3px solid #30241d;
    border-radius: 48px;
    background: #17120f;
    box-shadow: 0 42px 80px rgba(56, 35, 23, 0.28);
    transform: rotate(4deg);
}

.app-phone__speaker {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 3;
    width: 70px;
    height: 18px;
    border-radius: 15px;
    background: #17120f;
    transform: translateX(-50%);
}

.app-phone__screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 35px 20px;
    overflow: hidden;
    border-radius: 36px;
    color: var(--app-brown);
    background: linear-gradient(160deg, #fffaf2 0%, #dcccb4 100%);
    text-align: center;
}

.app-wordmark--phone {
    margin-bottom: 82px;
    font-size: 20px;
}

.app-phone__screen p {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 29px;
    line-height: 1.18;
}

.app-phone__screen span {
    margin-top: 18px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.app-orbit {
    position: absolute;
    border: 1px solid rgba(90, 57, 40, 0.16);
    border-radius: 50%;
}

.app-orbit--one {
    width: 430px;
    height: 430px;
}

.app-orbit--two {
    width: 560px;
    height: 560px;
}

.app-guide {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 120px 0;
}

.app-section-heading {
    max-width: 640px;
}

.app-section-heading h2 {
    margin: 0;
    font-family: "Playfair Display", "Noto Sans KR", serif;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.045em;
}

.app-section-heading > p:last-child {
    margin: 20px 0 0;
    color: var(--app-muted);
    line-height: 1.75;
}

.app-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 64px 0 0;
    padding: 0;
    border-top: 1px solid var(--app-line);
    border-bottom: 1px solid var(--app-line);
    list-style: none;
}

.app-steps li {
    min-height: 260px;
    padding: 34px 36px 38px;
    border-right: 1px solid var(--app-line);
}

.app-steps li:last-child {
    border-right: 0;
}

.app-step__number {
    color: var(--app-brown);
    font-family: "Playfair Display", serif;
    font-size: 14px;
}

.app-steps h3 {
    margin: 60px 0 12px;
    font-size: 19px;
}

.app-steps p {
    margin: 0;
    color: var(--app-muted);
    font-size: 14px;
    line-height: 1.75;
}

.app-notice {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 54px;
    padding: 28px 30px;
    border-radius: 10px;
    background: var(--app-ivory);
}

.app-notice__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--app-brown);
    border-radius: 50%;
    color: var(--app-brown);
    font-family: serif;
    font-weight: 700;
}

.app-notice h2 {
    margin: 2px 0 7px;
    font-size: 16px;
}

.app-notice p {
    margin: 0;
    color: var(--app-muted);
    font-size: 13px;
    line-height: 1.7;
}

.app-footer {
    padding: 58px 32px;
    border-top: 1px solid var(--app-line);
    background: #eee5d8;
    text-align: center;
}

.app-footer p {
    margin: 18px 0 0;
    color: var(--app-muted);
    font-size: 12px;
}

.app-footer .app-footer__copyright {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .app-header {
        width: calc(100% - 40px);
        height: 82px;
    }

    .app-header .app-wordmark {
        font-size: 19px;
    }

    .app-hero {
        grid-template-columns: 1fr;
        padding: 125px 32px 82px;
    }

    .app-hero__copy {
        max-width: 680px;
    }

    .app-hero__visual {
        min-height: 500px;
        margin-top: 40px;
    }

    .app-phone {
        width: 260px;
    }

    .app-orbit--one {
        width: 360px;
        height: 360px;
    }

    .app-orbit--two {
        width: 470px;
        height: 470px;
    }

    .app-guide {
        width: calc(100% - 48px);
        padding: 90px 0;
    }

    .app-steps {
        grid-template-columns: 1fr;
    }

    .app-steps li {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--app-line);
    }

    .app-steps li:last-child {
        border-bottom: 0;
    }

    .app-steps h3 {
        margin-top: 30px;
    }
}

@media (max-width: 560px) {
    .app-header {
        width: calc(100% - 32px);
    }

    .app-header .app-wordmark {
        font-size: 17px;
    }

    .app-header__site-link {
        font-size: 11px;
    }

    .app-hero {
        padding: 118px 20px 66px;
    }

    .app-hero h1 {
        font-size: 48px;
    }

    .app-hero__description {
        margin-top: 24px;
        font-size: 15px;
    }

    .app-download__button {
        width: 100%;
        min-width: 0;
    }

    .app-hero__facts {
        gap: 8px 14px;
    }

    .app-hero__visual {
        min-height: 430px;
        margin-top: 26px;
    }

    .app-phone {
        width: 220px;
        border-radius: 38px;
    }

    .app-phone__screen {
        border-radius: 28px;
    }

    .app-wordmark--phone {
        margin-bottom: 60px;
        font-size: 17px;
    }

    .app-phone__screen p {
        font-size: 24px;
    }

    .app-orbit--one {
        width: 300px;
        height: 300px;
    }

    .app-orbit--two {
        width: 390px;
        height: 390px;
    }

    .app-guide {
        width: calc(100% - 40px);
        padding: 72px 0;
    }

    .app-steps {
        margin-top: 44px;
    }

    .app-steps li {
        padding: 28px 18px 32px;
    }

    .app-notice {
        margin-top: 38px;
        padding: 22px 20px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
