@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

body.landing-body--funeral {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

body.landing-body--funeral #hd_login_msg,
body.landing-body--funeral #top_btn {
    display: none !important;
}

body.landing-body--funeral *,
body.landing-body--funeral *::before,
body.landing-body--funeral *::after {
    box-sizing: border-box;
}

.hf-home {
    min-height: 100vh;
    background: #ffffff;
}

.hf-home a {
    color: inherit;
    text-decoration: none;
}

.hf-hero {
    position: relative;
    overflow: hidden;
    background: #101011;
    color: #ffffff;
}

.hf-topbar,
.hf-hero__inner,
.hf-section__inner,
.hf-footer__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.hf-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 0;
}

.hf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hf-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

.hf-brand__text {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hf-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hf-nav a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 600;
}

.hf-topbar__cta,
.hf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hf-topbar__cta {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.hf-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    justify-content: space-between;
    align-items: center;
    gap: 54px;
    padding: 88px 0 86px;
}

.hf-hero__copy {
    max-width: 540px;
}

.hf-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 700;
}

.hf-hero__copy h1 {
    margin: 28px 0 0;
    font-size: clamp(50px, 6vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hf-hero__copy h1 span {
    display: block;
    white-space: nowrap;
}

.hf-hero__copy h1 .is-muted {
    color: #8e9298;
}

.hf-hero__copy p {
    max-width: 470px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.8;
    word-break: keep-all;
}

.hf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hf-btn {
    min-height: 62px;
    padding: 0 32px;
    font-size: 18px;
    font-weight: 800;
}

.hf-btn--primary,
.hf-btn--light {
    background: #ffffff;
    color: #111111 !important;
}

.hf-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.84) !important;
}

.hf-btn--line {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
}

.hf-device {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hf-device__phone {
    overflow: hidden;
    width: 258px;
    border: 8px solid #1d2738;
    border-radius: 42px;
    background: #1d2738;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hf-device__image {
    position: relative;
    height: 176px;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1494522855154-9297ac14b55f?q=80&w=800&auto=format&fit=crop") center/cover no-repeat;
}

.hf-device__overlay {
    position: absolute;
    inset: auto 0 24px;
    padding: 0 20px;
    text-align: center;
}

.hf-device__label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.4em;
}

.hf-device__overlay strong {
    display: block;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hf-device__overlay p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.hf-device__body {
    position: relative;
    margin-top: -18px;
    padding: 24px 16px 18px;
    border-radius: 30px 30px 0 0;
    background: #ffffff;
}

.hf-device__notch {
    display: block;
    width: 48px;
    height: 4px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #d8dbe3;
}

.hf-device__item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    background: #f8f9fb;
}

.hf-device__item + .hf-device__item {
    margin-top: 12px;
}

.hf-device__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ffffff;
    color: #5e6470;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
}

.hf-device__item strong {
    display: block;
    color: #111111;
    font-size: 14px;
}

.hf-device__item p {
    margin: 4px 0 0;
    color: #7b8190;
    font-size: 13px;
}

.hf-device__footer {
    padding: 16px;
    background: #ffffff;
    color: #111111;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

.hf-device__badge {
    position: absolute;
    top: 86px;
    right: -118px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.hf-device__clock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #1f2230;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.hf-device__badge small {
    display: block;
    color: #7d8190;
    font-size: 12px;
}

.hf-device__badge strong {
    display: block;
    margin-top: 2px;
    font-size: 18px;
    font-weight: 800;
}

.hf-dock {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(660px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: #1d1d1e;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(34px);
}

.hf-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    font-weight: 700;
}

.hf-dock a:first-child {
    background: #ffffff;
    color: #111111;
}

.hf-section {
    width: 100%;
    padding: 116px 0;
}

.hf-section--light {
    padding-top: 176px;
    background: #f7f7f8;
}

.hf-section--plain {
    background: #ffffff;
}

.hf-section--dark {
    background: #111214;
}

.hf-section--cta {
    background: #17181b;
}

.hf-section__inner {
    position: relative;
}

.hf-section__head {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.hf-section__head span,
.hf-automation__copy span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.05);
    color: #7f858f;
    font-size: 13px;
    font-weight: 800;
}

.hf-section__head h2,
.hf-automation__copy h2,
.hf-cta h2 {
    margin: 18px 0 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.hf-section__head p,
.hf-automation__copy p,
.hf-cta p {
    margin: 20px 0 0;
    color: #6e7480;
    font-size: 18px;
    line-height: 1.8;
    word-break: keep-all;
}

.hf-grid {
    display: grid;
    gap: 24px;
}

.hf-grid--features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hf-grid--automation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hf-card {
    padding: 30px 28px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.06);
}

.hf-card strong {
    display: block;
    color: #111111;
    font-size: 24px;
    line-height: 1.28;
    letter-spacing: -0.04em;
}

.hf-card p {
    margin: 14px 0 0;
    color: #69707c;
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
}

.hf-card--dark {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.hf-card--dark strong,
.hf-card--dark p {
    color: #ffffff;
}

.hf-card--dark p {
    color: rgba(255, 255, 255, 0.66);
}

.hf-automation {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: start;
    width: 100%;
}

.hf-automation__copy span {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.74);
}

.hf-automation__copy h2,
.hf-cta h2,
.hf-cta p {
    color: #ffffff;
}

.hf-automation__copy p,
.hf-cta p {
    color: rgba(255, 255, 255, 0.64);
}

.hf-process {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: 72px;
    align-items: center;
}

.hf-process__nav {
    display: grid;
    gap: 26px;
}

.hf-process__tab {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    opacity: 0.42;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hf-process__tab:hover,
.hf-process__tab.is-active {
    opacity: 1;
}

.hf-process__tab.is-active {
    transform: translateX(4px);
}

.hf-process__line {
    position: absolute;
    left: 25px;
    top: 56px;
    bottom: -26px;
    width: 1px;
    background: #e1e5ea;
}

.hf-process__num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #e6e9ef;
    color: #818796;
    font-size: 16px;
    font-weight: 800;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hf-process__tab.is-active .hf-process__num {
    background: #17181b;
    color: #ffffff;
}

.hf-process__body {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.hf-process__body strong {
    display: block;
    color: #111111;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    transition: color 0.2s ease;
}

.hf-process__body span {
    display: block;
    color: #69707c;
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
}

.hf-process__tab:not(.is-active) .hf-process__body strong {
    color: #8d94a1;
}

.hf-process__viewer {
    position: relative;
    min-height: 500px;
    padding: 38px;
    border: 1px solid #eef1f4;
    border-radius: 40px;
    background:
        radial-gradient(circle at top right, rgba(17, 17, 17, 0.05), transparent 24%),
        radial-gradient(circle at bottom left, rgba(17, 17, 17, 0.05), transparent 28%),
        #f7f8fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hf-process__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hf-process__mockup {
    position: relative;
    display: grid;
    gap: 16px;
    flex: 1;
}

.hf-process__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin-top: 26px;
    border: 0;
    border-radius: 20px;
    background: #17181b;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.hf-form-card,
.hf-thanks-card {
    padding: 22px 24px;
    border: 1px solid #dfe4ea;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.05);
}

.hf-form-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 74px;
}

.hf-form-card__label,
.hf-form-card__field,
.hf-form-sheet__line,
.hf-theme-card__name,
.hf-theme-card__preview,
.hf-share-state__title,
.hf-thanks-card__chip {
    display: block;
    border-radius: 999px;
    background: #dfe4ea;
}

.hf-form-card__label {
    height: 14px;
}

.hf-form-card__field {
    flex: 1;
    height: 14px;
    background: #eef1f4;
}

.hf-form-sheet {
    display: grid;
    gap: 16px;
    min-height: 188px;
    padding: 24px;
    border: 1px solid #dfe4ea;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.05);
}

.hf-form-sheet__line {
    height: 12px;
    background: #eef1f4;
}

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

.hf-theme-card {
    display: grid;
    gap: 14px;
    justify-items: center;
    min-height: 154px;
    padding: 18px;
    border: 2px solid #eef1f4;
    border-radius: 24px;
    background: #ffffff;
}

.hf-theme-card.is-selected {
    border-color: #17181b;
    background: #fafbfc;
}

.hf-theme-card__preview {
    width: 54px;
    height: 54px;
    border-radius: 999px;
}

.hf-theme-card__name {
    width: 72px;
    height: 12px;
}

.hf-share-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 8px;
}

.hf-share-state__badge {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #daf1df;
}

.hf-share-state__title {
    width: 136px;
    height: 18px;
    margin-bottom: 26px;
    background: #17181b;
}

.hf-share-state__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    border-radius: 20px;
}

.hf-share-state__action + .hf-share-state__action {
    margin-top: 14px;
}

.hf-share-state__action span {
    display: block;
    border-radius: 999px;
}

.hf-share-state__action span:first-child {
    width: 24px;
    height: 24px;
    background: rgba(17, 17, 17, 0.18);
}

.hf-share-state__action span:last-child {
    width: 88px;
    height: 12px;
    background: rgba(17, 17, 17, 0.55);
}

.hf-share-state__action--yellow {
    background: #fee500;
}

.hf-share-state__action--blue {
    background: #3b82f6;
}

.hf-share-state__action--blue span:first-child,
.hf-share-state__action--blue span:last-child {
    background: rgba(255, 255, 255, 0.34);
}

.hf-thanks-card {
    display: grid;
    gap: 18px;
}

.hf-thanks-card__body {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #eef1f4;
    border-radius: 18px;
    background: #f8f9fb;
}

.hf-thanks-card--inline {
    grid-template-columns: minmax(0, 1fr) 68px;
    align-items: center;
}

.hf-thanks-card__chip {
    width: 100%;
    height: 24px;
}

.w-xs {
    width: 64px;
}

.w-sm {
    width: 96px;
}

.w-md {
    width: 132px;
}

.w-lg {
    width: 72%;
}

.hf-cta {
    width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hf-cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.hf-footer {
    width: 100%;
    padding: 44px 0 56px;
    background: #ffffff;
}

.hf-footer__inner {
    display: grid;
    gap: 22px;
}

.hf-footer__brand strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hf-footer__brand p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #6f7682;
    line-height: 1.8;
}

.hf-footer__links,
.hf-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.hf-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
}

.hf-footer__meta {
    color: #6f7682;
    font-size: 14px;
    line-height: 1.8;
}

.hf-footer__meta b {
    color: #111111;
}

@media (max-width: 1100px) {
    .hf-hero__inner,
    .hf-automation,
    .hf-process {
        grid-template-columns: 1fr;
    }

    .hf-device {
        justify-content: center;
    }

    .hf-device__badge {
        right: -40px;
    }
}

@media (max-width: 860px) {
    .hf-topbar,
    .hf-hero__inner,
    .hf-section__inner,
    .hf-footer__inner {
        width: min(100%, calc(100% - 28px));
    }

    .hf-topbar {
        padding-top: 22px;
    }

    .hf-nav {
        display: none;
    }

    .hf-brand__mark {
        width: 34px;
        height: 34px;
    }

    .hf-brand__text {
        font-size: 24px;
    }

    .hf-topbar__cta {
        min-height: 42px;
        padding: 0 16px;
        font-size: 13px;
    }

    .hf-hero__inner {
        gap: 36px;
        padding: 54px 0 74px;
    }

    .hf-hero__copy h1 {
        font-size: clamp(32px, 11.5vw, 48px);
        line-height: 1.02;
    }

    .hf-hero__copy h1 span {
        white-space: normal;
    }

    .hf-hero__copy p {
        font-size: 16px;
    }

    .hf-btn {
        width: 100%;
        min-height: 56px;
        font-size: 17px;
    }

    .hf-device__phone {
        width: 230px;
    }

    .hf-device__badge {
        display: none;
    }

    .hf-dock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: min(100%, calc(100% - 28px));
        padding: 18px;
        transform: translateY(24px);
    }

    .hf-section,
    .hf-section--light {
        padding: 86px 0;
    }

    .hf-section--light {
        padding-top: 120px;
    }

    .hf-grid--features,
    .hf-grid--automation {
        grid-template-columns: 1fr;
    }

    .hf-card {
        padding: 24px 22px;
        border-radius: 24px;
    }

    .hf-card strong {
        font-size: 22px;
    }

    .hf-process {
        gap: 34px;
    }

    .hf-process__nav {
        gap: 20px;
    }

    .hf-process__tab {
        gap: 18px;
    }

    .hf-process__line {
        bottom: -20px;
    }

    .hf-process__body strong {
        font-size: 21px;
    }

    .hf-process__body span {
        font-size: 16px;
    }

    .hf-process__viewer {
        min-height: 440px;
        padding: 24px;
        border-radius: 28px;
    }

    .hf-cta__actions {
        flex-direction: column;
    }

    .hf-footer {
        padding: 38px 0 48px;
    }
}
