@font-face {
    font-family: "Pretendard Variable";
    src: url("/static/fonts/PretendardVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 45 920;
    font-display: swap;
}

:root {
    color-scheme: light;
    --landing-bg: #ffffff;
    --landing-paper: #f7f8fa;
    --landing-warm: #f3f0e9;
    --landing-ink: #17191c;
    --landing-muted: #666b73;
    --landing-rule: #d9dde3;
    --landing-blue: #0064df;
    --landing-blue-dark: #0056c2;
    --landing-shell: 1120px;
}

* { box-sizing: border-box; }

html {
    background: var(--landing-bg);
    color: var(--landing-ink);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

body.public-landing-v3 {
    margin: 0;
    overflow-x: clip;
    background: var(--landing-bg);
    color: var(--landing-ink);
    -webkit-font-smoothing: antialiased;
}

body.public-landing-v3 a { color: inherit; }
body.public-landing-v3 img { display: block; max-width: 100%; }
body.public-landing-v3 button { font: inherit; }

.landing-shell {
    width: min(100%, calc(var(--landing-shell) + 32px));
    margin-inline: auto;
    padding-inline: 16px;
}

.landing-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--landing-rule);
    background: rgba(255, 255, 255, 0.96);
}

.landing-header__inner {
    width: min(100%, calc(var(--landing-shell) + 32px));
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
    padding: max(8px, env(safe-area-inset-top)) 16px 8px;
}

.landing-wordmark,
.landing-header__nav a,
.landing-route,
.landing-floating-cta { text-decoration: none; }

.landing-header__nav { display: flex; align-items: center; gap: 20px; }
.landing-header__nav > a:not(.landing-login) { display: none; }

.landing-login {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 760;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.landing-hero { padding: 42px 0 68px; }

.landing-hero__layout { display: grid; gap: 34px; }

.landing-hero__copy h1,
.landing-final h2 {
    margin: 0;
    letter-spacing: -0.058em;
    text-wrap: balance;
    word-break: keep-all;
}

.landing-hero__copy h1 {
    font-size: clamp(30px, 8.3vw, 43px);
    font-weight: 880;
    line-height: 1.14;
}

.landing-hero__copy > p:first-of-type {
    max-width: 34rem;
    margin: 20px 0 0;
    color: #4f5359;
    font-size: 17px;
    line-height: 1.65;
    word-break: keep-all;
}

.landing-hero__actions,
.landing-final__actions {
    display: grid;
    gap: 6px;
    margin-top: 26px;
}

.landing-primary-action,
.landing-secondary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--landing-blue);
    border-radius: 8px;
    background: var(--landing-blue);
    color: #fff !important;
    font-size: 16px;
    font-weight: 830;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.landing-secondary-action {
    width: 100%;
    border-color: var(--landing-ink);
    background: var(--landing-ink);
}

.landing-primary-action:hover { border-color: var(--landing-blue-dark); background: var(--landing-blue-dark); }
.landing-primary-action:active,
.landing-secondary-action:active { transform: translateY(1px); }

.landing-text-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--landing-ink);
    font-size: 15px;
    font-weight: 760;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    cursor: pointer;
}

.landing-room-preview {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 390 / 690;
    overflow: hidden;
    padding: 0;
    border: 1px solid #24272b;
    border-radius: 12px;
    background: #f4f6fa;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.landing-room-example { min-width: 0; }

.landing-room-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.landing-room-preview__open {
    position: absolute;
    right: 10px;
    bottom: 10px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #25282c;
    border-radius: 7px;
    background: #fff;
    color: var(--landing-ink);
    font-size: 13px;
    font-weight: 820;
}

.landing-room-preview__caption {
    margin: 13px 2px 0;
    color: var(--landing-ink);
    line-height: 1.5;
    word-break: keep-all;
}

.landing-room-preview__caption strong { font-size: 14px; }

.landing-room-source {
    margin: 6px 2px 0;
    color: #555b64;
    font-size: 12px;
    line-height: 1.5;
}

.landing-room-source a {
    font-weight: 720;
    text-underline-offset: 3px;
}

.landing-pain { padding: 48px 0 50px; border-top: 1px solid var(--landing-rule); }
.landing-pain__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.landing-pain__heading h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.25;
    word-break: keep-all;
}
.landing-pain__status {
    flex: none;
    margin: 0;
    color: #555b64;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.landing-pain__status strong { color: var(--landing-blue); }
.landing-pain__rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y pinch-zoom;
}
.landing-pain__rail.is-enhanced { touch-action: pan-y pinch-zoom; }
.landing-pain__rail.is-dragging { scroll-snap-type: none; }
.landing-pain__rail::-webkit-scrollbar { display: none; }
.landing-pain__scene {
    flex: 0 0 calc(100vw - 32px);
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.landing-pain__scene img { width: 100%; height: auto; }
.landing-pain__scene figcaption {
    margin-top: 11px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.38;
    word-break: keep-all;
}
.landing-pain__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 7px;
}
.landing-pain__dots button {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.landing-pain__dots button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #8a9099;
    content: "";
    transform: translate(-50%, -50%);
    transition: width 150ms ease, background-color 150ms ease;
}
.landing-pain__dots button[aria-current="true"]::before {
    width: 18px;
    background: var(--landing-blue);
}
.landing-pain__dots button:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: 1px; }
.landing-pain__hint {
    margin: 1px 0 0;
    color: #555b64;
    font-size: 13px;
    text-align: right;
}
.landing-pain__rail:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: 5px; }

.landing-strengths {
    padding: 76px 0;
    border-top: 1px solid var(--landing-rule);
    background: var(--landing-paper);
}

.landing-strengths__heading { display: grid; gap: 8px; }
.landing-strengths__heading > span {
    color: var(--landing-blue);
    font-size: 12px;
    font-weight: 840;
    letter-spacing: 0.01em;
}
.landing-strengths h2,
.landing-final h2 {
    margin: 0;
    font-size: clamp(30px, 8vw, 46px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.058em;
    text-wrap: balance;
    word-break: keep-all;
}

.landing-strengths__heading > p {
    max-width: 580px;
    margin: 4px 0 0;
    color: #535a64;
    font-size: 15px;
    line-height: 1.65;
    word-break: keep-all;
}

.landing-strengths__heading--notes {
    margin-top: 82px;
    padding-top: 70px;
    border-top: 1px solid var(--landing-rule);
}

.landing-motion-carousel {
    max-width: 960px;
    margin-top: 30px;
    overflow: hidden;
}

.landing-motion-rail {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y pinch-zoom;
}

.landing-motion-rail::-webkit-scrollbar { display: none; }
.landing-motion-rail.is-enhanced { touch-action: pan-y pinch-zoom; }
.landing-motion-rail.is-dragging { scroll-snap-type: none; }
.landing-motion-rail:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: -3px; }

.landing-motion-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.landing-motion-card__visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    border: 1px solid #d8dee6;
    border-radius: 18px;
    background: #f3f5f8;
}

.landing-motion-card__visual video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-motion-toggle {
    position: absolute;
    right: 10px;
    bottom: 10px;
    min-width: 60px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(22, 32, 47, .22);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 6px 18px rgba(20, 30, 46, .11);
    color: #253044;
    font-size: 12px;
    font-weight: 780;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.landing-motion-toggle::before {
    content: "▶";
    display: inline-block;
    margin-right: 6px;
    font-size: 9px;
}

.landing-motion-toggle[data-playing="true"]::before { content: "Ⅱ"; font-size: 10px; }

.landing-motion-card__copy {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px 10px;
    margin-top: 17px;
}

.landing-motion-card__copy > span {
    grid-row: 1 / span 2;
    padding-top: 3px;
    color: var(--landing-blue);
    font-size: 12px;
    font-weight: 840;
    letter-spacing: .02em;
}

.landing-motion-card__copy h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 820;
    letter-spacing: -.035em;
    line-height: 1.38;
    text-wrap: pretty;
    word-break: keep-all;
}

.landing-motion-card__copy p {
    margin: 0;
    color: #515964;
    font-size: 14.5px;
    line-height: 1.6;
    text-wrap: pretty;
    word-break: keep-all;
}

.landing-motion-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
}

.landing-motion-dots button {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.landing-motion-dots button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #8a9099;
    content: "";
    transform: translate(-50%, -50%);
    transition: width 150ms ease, background-color 150ms ease;
}

.landing-motion-dots button[aria-current="true"]::before {
    width: 22px;
    background: var(--landing-blue);
}

.landing-motion-dots button:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: 1px; }

.landing-strength-plan {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 4px;
    padding: 1px 6px 2px;
    border: 1px solid var(--landing-blue);
    border-radius: 999px;
    background: transparent;
    color: var(--landing-blue);
    font-size: 0.67em;
    font-weight: 760;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.landing-pricing-entry {
    padding: 32px 0;
    border-top: 1px solid var(--landing-rule);
    background: var(--landing-paper);
}
.landing-pricing-entry__inner {
    display: flex;
    justify-content: center;
}
.landing-pricing-entry__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 0 18px;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 1px 2px -1px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.04);
    color: #303640;
    font-size: 14px;
    font-weight: 720;
    transition: color 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out;
}
.landing-pricing-entry__link:hover {
    color: var(--landing-blue);
    box-shadow:
        0 0 0 1px rgba(0, 100, 223, 0.18),
        0 2px 5px rgba(0, 0, 0, 0.07);
}
.landing-pricing-entry__link:active { scale: 0.96; }
.landing-pricing-entry__link:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: 3px; }

.landing-trust-strip { border-top: 1px solid var(--landing-rule); }
.landing-trust-strip__inner {
    display: grid;
    gap: 14px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.landing-trust-strip p { display: grid; gap: 5px; margin: 0; }
.landing-trust-strip strong {
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.45;
    word-break: keep-all;
}
.landing-trust-strip span { color: #555b64; font-size: 14px; line-height: 1.5; }
.landing-trust-strip a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    color: var(--landing-blue) !important;
    font-size: 14px;
    font-weight: 820;
    text-underline-offset: 4px;
}

.landing-final { padding: 88px 0 112px; border-top: 1px solid var(--landing-rule); text-align: center; }
.landing-final__inner { display: grid; justify-items: center; }
.landing-final h2 { max-width: 700px; }
.landing-final p { max-width: 560px; margin: 18px 0 0; color: var(--landing-muted); line-height: 1.65; word-break: keep-all; }
.landing-final__actions { width: 100%; max-width: 420px; }

.landing-footer { border-top: 1px solid var(--landing-rule); background: var(--landing-paper); }
.landing-footer__inner { display: grid; gap: 22px; padding-top: 30px; padding-bottom: max(48px, calc(32px + env(safe-area-inset-bottom))); color: #555b64; font-size: 14px; }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.landing-footer a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px; }

.landing-floating-cta {
    position: fixed;
    z-index: 40;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--landing-blue);
    border-radius: 8px;
    background: var(--landing-blue);
    color: #fff !important;
    font-size: 15px;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.landing-floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

body.landing-trial-open .landing-floating-cta,
body:has(.landing-trial[open]) .landing-floating-cta { visibility: hidden; }

.landing-primary-action:focus-visible,
.landing-secondary-action:focus-visible,
.landing-text-action:focus-visible,
.landing-room-preview:focus-visible,
.landing-header a:focus-visible,
.landing-motion-toggle:focus-visible,
.landing-route:focus-visible,
.landing-trust-strip a:focus-visible,
.landing-footer a:focus-visible,
.landing-floating-cta:focus-visible { outline: 3px solid rgba(0, 100, 223, 0.28); outline-offset: 4px; }

@media (min-width: 720px) {
    .landing-shell,
    .landing-header__inner { width: min(100%, calc(var(--landing-shell) + 64px)); padding-inline: 32px; }
    .landing-header__inner { min-height: 72px; }
    .landing-header__nav > a:not(.landing-login) { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 680; }

    .landing-hero { padding: 76px 0 90px; }
    .landing-hero__layout { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr); align-items: start; gap: 72px; }
    .landing-hero__copy h1 { font-size: clamp(46px, 4.4vw, 64px); }
    .landing-hero__copy > p:first-of-type { font-size: 19px; }
    .landing-hero__actions { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 14px; }
    .landing-primary-action { padding-inline: 26px; }
    .landing-room-example { width: min(100%, 390px); justify-self: end; }

    .landing-pain { padding: 62px 0 68px; }
    .landing-pain__heading { margin-bottom: 30px; }
    .landing-pain__heading h2 { font-size: 30px; }
    .landing-pain__status { display: none; }
    .landing-pain__rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 44px;
        overflow: visible;
        max-width: 980px;
        margin-inline: 0;
        padding: 0;
        touch-action: auto;
    }
    .landing-pain__scene { width: auto; }
    .landing-pain__scene figcaption { font-size: 18px; }
    .landing-pain__dots { display: none; }
    .landing-pain__hint { display: none; }

    .landing-strengths { padding: 104px 0; }
    .landing-strengths h2,
    .landing-final h2 { font-size: clamp(42px, 4vw, 54px); }
    .landing-strengths__heading > p { font-size: 17px; }
    .landing-motion-card__copy h3 { font-size: 23px; }
    .landing-motion-card__copy p { font-size: 15.5px; }

    .landing-pricing-entry { padding: 42px 0; }
    .landing-trust-strip__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-top: 38px; padding-bottom: 38px; }
    .landing-trust-strip a { justify-self: end; }

    .landing-final { padding: 124px 0 142px; }
    .landing-final__actions { grid-template-columns: auto auto; justify-content: center; align-items: center; max-width: none; gap: 16px; }
    .landing-footer__inner { grid-template-columns: auto 1fr; align-items: start; }
    .landing-footer nav { justify-content: flex-end; }
    .landing-floating-cta { right: 24px; bottom: 24px; left: auto; min-width: 190px; padding-inline: 26px; }
}

@media (max-width: 359px) {
    .landing-hero__copy h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .landing-primary-action,
    .landing-secondary-action,
    .landing-pain__dots button::before,
    .landing-floating-cta { transition: none; }
}
