        @font-face {
            font-family: 'Cafe24Ssurround';
            src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Cafe24Ssurround/Cafe24Ssurround.woff2') format('woff2'),
                 url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }
        /* 한국어 페이지 한정: 브랜드 보이스 자리(큰 제목·CTA·여정 타이틀)만 앱과 같은 써라운드.
           숫자·입력·본문은 정밀함을 위해 Pretendard 유지. */
        html[lang="ko"] .hero h1,
        html[lang="ko"] .cta-band h2,
        html[lang="ko"] .journey > .flabel {
            font-family: 'Cafe24Ssurround', 'Pretendard Variable', Pretendard, sans-serif;
            font-weight: normal;
            letter-spacing: -0.01em;
        }

        :root {
            --green: #10B981;
            --green-dark: #059669;
            --green-deep: #065F46;
            --green-mint: #6EE7B7;
            --ink: #111827;
            --gray-600: #4B5563;
            --gray-500: #6B7280;
            --gray-400: #9CA3AF;
            --canvas: #FAFAFA;
            --field: #F9FAFB;
            --track: #F2F4F6;
            --hairline: rgba(17, 24, 39, 0.06);
            --amber: #B45309;
            --red: #F04452;
            --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(17, 24, 39, 0.08);
            --shadow-emerald: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--canvas);
            color: var(--ink);
            line-height: 1.65;
            word-break: keep-all;
            overflow-x: hidden;
        }
        a { text-decoration: none; color: inherit; }
        .num { font-variant-numeric: tabular-nums; }

        /* ===== Navbar (landing chrome) ===== */
        .navbar {
            position: fixed; top: 0; left: 0; width: 100%; height: 70px; z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        .nav-inner {
            max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 24px;
            display: flex; justify-content: space-between; align-items: center;
        }
        .nav-logo img { height: 28px; width: auto; display: block; }
        .nav-cta {
            display: inline-block; padding: 10px 18px; border-radius: 999px;
            background: var(--green); color: #fff; font-size: 14px; font-weight: 700;
            box-shadow: var(--shadow-emerald);
            transition: background 0.2s ease, transform 0.2s ease;
        }
        .nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

        /* ===== Layout ===== */
        .col { max-width: 680px; margin: 0 auto; padding: 0 20px; }
        main { padding-top: calc(70px + 40px); padding-bottom: 24px; }

        /* ===== Hero (compact) ===== */
        .hero { padding-bottom: 24px; }
        .badge-pill {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 6px 14px; border-radius: 20px;
            background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2);
            color: var(--green-dark); font-size: 13px; font-weight: 700;
        }
        .badge-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
        .hero h1 {
            margin-top: 14px;
            font-size: clamp(1.75rem, 5.5vw, 2.5rem); font-weight: 800;
            line-height: 1.25; letter-spacing: -0.03em;
        }
        .hero h1 em { font-style: normal; color: var(--green-dark); }
        .hero .sub { margin-top: 8px; font-size: 15px; color: var(--gray-600); }
        .meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
        .meta-chips span {
            font-size: 12.5px; font-weight: 600; color: var(--gray-500);
            padding: 6px 10px; background: var(--field); border: 1px solid #EEF0F2; border-radius: 8px;
        }

        /* ===== Form card ===== */
        .form-card {
            background: #fff; border: 1px solid var(--hairline); border-radius: 24px;
            padding: 28px; box-shadow: var(--shadow-card);
        }
        .field { margin-bottom: 20px; }
        .field:last-of-type { margin-bottom: 0; }
        .flabel {
            display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 8px;
        }

        /* Segmented control */
        .seg { position: relative; display: flex; background: var(--track); border-radius: 12px; padding: 3px; }
        .seg-thumb {
            position: absolute; top: 3px; left: 3px; height: calc(100% - 6px);
            background: #fff; border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            transition: transform 220ms cubic-bezier(0.3, 0.7, 0.4, 1), width 220ms cubic-bezier(0.3, 0.7, 0.4, 1);
            will-change: transform;
        }
        .seg button {
            position: relative; z-index: 1; flex: 1; height: 44px;
            font-family: inherit; font-size: 15px; font-weight: 500; color: var(--gray-500);
            background: none; border: none; border-radius: 9px; cursor: pointer;
            transition: color 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .seg button.on { color: var(--ink); font-weight: 700; }

        /* Unit inputs */
        .unit-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
        .unit-field { position: relative; }
        .unit-field input {
            width: 100%; height: 52px; padding: 0 44px 0 16px;
            font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
            font-variant-numeric: tabular-nums;
            background: var(--field); border: 1.5px solid transparent; border-radius: 12px;
            outline: none; transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .unit-field input::-webkit-outer-spin-button, .unit-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        .unit-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
        .unit-field input:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
        .unit-field input::placeholder { color: var(--gray-400); font-weight: 500; }
        .unit-field .unit {
            position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
            font-size: 14px; font-weight: 500; color: var(--gray-400); pointer-events: none;
        }
        .unit-field.invalid input { border-color: var(--red); background: #fff; box-shadow: none; }
        .err { display: none; font-size: 12px; color: var(--red); margin-top: 6px; font-weight: 500; }
        .unit-field.invalid ~ .err { display: block; }

        /* Radio cards */
        .radio-list { display: grid; gap: 8px; }
        .radio-list.act { grid-template-columns: 1fr; }
        .radio-list.goal { grid-template-columns: 1fr 1fr; }
        .rcard {
            position: relative; display: flex; align-items: center; gap: 12px;
            min-height: 52px; padding: 8px 14px;
            border: 1.5px solid #EEF0F2; border-radius: 12px; background: #fff;
            cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .rcard input { position: absolute; opacity: 0; pointer-events: none; }
        .rdot {
            width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
            border: 1.5px solid #D5DAE0; background: #fff; position: relative;
            transition: border-color 0.15s ease;
        }
        .rdot::after {
            content: ''; position: absolute; inset: 0; margin: auto;
            width: 10px; height: 10px; border-radius: 50%; background: var(--green);
            transform: scale(0); transition: transform 0.15s cubic-bezier(0.3, 0.7, 0.4, 1);
        }
        .rcard.on { border-color: var(--green); background: rgba(16, 185, 129, 0.06); }
        .rcard.on .rdot { border-color: var(--green); }
        .rcard.on .rdot::after { transform: scale(1); }
        .rtext { display: flex; flex-direction: column; line-height: 1.35; }
        .rtext b { font-size: 15px; font-weight: 600; color: var(--ink); }
        .rcard.on .rtext b { font-weight: 700; }
        .rtext small { font-size: 12.5px; font-weight: 500; color: var(--gray-400); font-variant-numeric: tabular-nums; }

        .col-label {
            display: flex; align-items: center; gap: 6px;
            font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 8px;
        }
        .unit-pills {
            display: inline-flex; background: var(--track); border-radius: 8px; padding: 2px;
        }
        .unit-pills button {
            font-family: inherit; font-size: 11px; font-weight: 700; color: var(--gray-500);
            padding: 2px 8px; border: none; background: none; border-radius: 6px; cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .unit-pills button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
        .ftin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

        .rcard.wide { grid-column: 1 / -1; }
        .custom-goal { display: none; margin-top: 10px; }
        .custom-goal.on { display: block; }
        .unit-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .seg.mini { margin-top: 10px; }
        .seg.mini button { height: 40px; font-size: 14px; }
        .cg-hint { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green-dark); min-height: 1em; }

        /* Submit */
        .calc-btn {
            width: 100%; height: 56px; margin-top: 24px;
            font-family: inherit; font-size: 17px; font-weight: 700; color: #fff;
            background: var(--green); border: none; border-radius: 14px; cursor: pointer;
            box-shadow: var(--shadow-emerald);
            transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .calc-btn:hover:enabled { background: var(--green-dark); }
        .calc-btn:active:enabled { transform: scale(0.98); }
        .calc-btn:disabled {
            background: var(--track); color: #C4C9D0; box-shadow: none; cursor: not-allowed;
        }

        /* ===== Results ===== */
        #results { display: none; margin-top: 16px; scroll-margin-top: 82px; }
        #results.open { display: block; }
        .rev { opacity: 0; transform: translateY(16px); transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
        #results.show .rev { opacity: 1; transform: translateY(0); }
        #results.show .rev:nth-child(2) { transition-delay: 60ms; }
        #results.show .rev:nth-child(3) { transition-delay: 120ms; }
        #results.show .rev:nth-child(4) { transition-delay: 180ms; }
        #results.show .rev:nth-child(5) { transition-delay: 240ms; }

        .result-hero {
            background: #fff; border-radius: 24px; padding: 32px 28px;
            border: 1px solid rgba(16, 185, 129, 0.25);
            box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08), 0 12px 32px -16px rgba(17, 24, 39, 0.10);
        }
        .result-label {
            font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
            text-transform: uppercase; color: var(--gray-500);
        }
        .result-num {
            display: inline-flex; align-items: baseline; gap: 6px; margin-top: 6px;
        }
        .result-num strong {
            font-size: clamp(44px, 13vw, 56px); font-weight: 800; letter-spacing: -0.03em;
            line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums;
        }
        .result-num > span { font-size: 18px; font-weight: 600; color: var(--gray-400); }
        .pace-line { margin-top: 12px; }
        .pace-pill {
            display: inline-block; padding: 6px 14px; border-radius: 999px;
            background: rgba(16, 185, 129, 0.1); color: var(--green-dark);
            font-size: 13px; font-weight: 700;
        }
        .milo-note {
            display: flex; gap: 10px; align-items: center;
            background: var(--field); border-radius: 14px; padding: 12px 14px; margin-top: 16px;
        }
        .milo-note img {
            width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top;
            border: 2px solid rgba(16, 185, 129, 0.2); flex-shrink: 0; background: #fff;
        }
        .milo-note p { font-size: 13.5px; line-height: 1.55; color: var(--gray-600); }
        .floor-note {
            display: none; margin-top: 12px; padding: 12px 14px;
            background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px;
        }
        .floor-note.on { display: block; }
        .floor-note b { display: block; font-size: 13px; font-weight: 700; color: var(--amber); }
        .floor-note p { font-size: 12.5px; color: var(--gray-600); margin-top: 2px; }

        /* Weight journey (before → after) */
        .journey { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 18px; margin-top: 12px; }
        .j-main { display: flex; align-items: stretch; gap: 10px; margin-top: 14px; }
        .j-box { flex: 1; border-radius: 14px; padding: 16px 10px 14px; text-align: center; position: relative; }
        .j-box.now { background: var(--field); }
        .j-box.after { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.25); }
        .j-bear { height: 140px; width: auto; display: block; margin: 0 auto 10px; }
        .j-box.now .j-bear { filter: grayscale(35%) opacity(0.85); }
        .j-delta {
            position: absolute; top: -11px; right: 10px;
            background: var(--green-dark); color: #fff;
            font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
            font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
        }
        .j-k { display: block; font-size: 12px; font-weight: 600; color: var(--gray-500); }
        .j-v { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
        .j-v small { font-size: 14px; font-weight: 600; color: var(--gray-400); }
        .j-box.after .j-v { color: var(--green-dark); }
        .j-arrow { align-self: center; flex-shrink: 0; color: var(--gray-400); }
        .j-miles { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
        .j-miles span {
            font-size: 12px; font-weight: 600; color: var(--gray-500);
            background: var(--field); border-radius: 999px; padding: 5px 12px;
            font-variant-numeric: tabular-nums;
        }
        .j-maintain { display: none; margin-top: 14px; font-size: 14px; color: var(--gray-600); background: var(--field); border-radius: 12px; padding: 12px 14px; }
        .j-note { margin-top: 10px; font-size: 11.5px; color: var(--gray-400); }

        /* Spectrum bar */
        .spectrum { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 18px 12px; margin-top: 12px; }
        .spectrum .flabel { margin-bottom: 0; }
        .spec-track { position: relative; height: 8px; border-radius: 999px; background: #E5E7EB; margin: 34px 6px 0; }
        .spec-goal-chip {
            position: absolute; top: -32px; transform: translateX(-50%);
            background: rgba(16, 185, 129, 0.12); color: var(--green-dark);
            font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
            white-space: nowrap; font-variant-numeric: tabular-nums;
        }
        .spec-range { position: absolute; top: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-mint), var(--green)); }
        .spec-marker {
            position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
            background: var(--green); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
            transform: translate(-50%, -50%); transition: left 600ms cubic-bezier(0.16, 1, 0.3, 1);
        }
        .spec-tick { position: absolute; top: -3px; width: 2px; height: 14px; border-radius: 1px; background: #C9CED6; transform: translateX(-50%); }
        .spec-labels { position: relative; height: 34px; margin: 8px 6px 0; }
        .spec-labels > span {
            position: absolute; top: 0; transform: translateX(-50%);
            font-size: 11px; font-weight: 600; color: var(--gray-400); white-space: nowrap;
            font-variant-numeric: tabular-nums; line-height: 1.3; text-align: center;
        }
        .spec-labels > span b { display: block; color: var(--gray-500); font-weight: 700; }

        /* Metric grid */
        .metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
        .metric {
            background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 18px 16px;
        }
        .metric .k { font-size: 12.5px; font-weight: 600; color: var(--gray-500); }
        .metric .v {
            margin-top: 4px; font-size: 24px; font-weight: 800; color: var(--ink);
            font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
        }
        .metric .v small { font-size: 13px; font-weight: 600; color: var(--gray-400); margin-left: 3px; letter-spacing: 0; }
        .metric .cap { margin-top: 4px; font-size: 11.5px; color: var(--gray-400); line-height: 1.45; }
        .bmi-gauge { position: relative; display: flex; gap: 3px; margin-top: 12px; height: 6px; }
        .bmi-gauge i { display: block; height: 100%; border-radius: 3px; background: #E5E7EB; }
        .bmi-gauge i.lit { background: var(--green); }
        .bmi-gauge i.lit.warn { background: #F59E0B; }
        .bmi-marker {
            position: absolute; top: -8px; transform: translateX(-50%);
            width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
            border-top: 5px solid var(--ink);
        }
        .bmi-verdict { margin-top: 8px; font-size: 12px; font-weight: 700; }
        .bmi-verdict.ok { color: var(--green-dark); }
        .bmi-verdict.warn { color: var(--amber); }

        /* Macro bar */
        .macro-card { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 18px; margin-top: 12px; }
        .macro-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 14px; }
        .macro-bar i { display: block; height: 100%; transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1); }
        .macro-bar .m-p { background: var(--green-deep); }
        .macro-bar .m-c { background: var(--green); }
        .macro-bar .m-f { background: var(--green-mint); }
        .macro-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
        .macro-legend li { list-style: none; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gray-600); font-variant-numeric: tabular-nums; }
        .macro-legend li i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
        .macro-note { margin-top: 10px; font-size: 11.5px; color: var(--gray-400); }

        .bridge {
            display: inline-flex; align-items: center;
            margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--green-dark);
        }
        .bridge:hover { text-decoration: underline; text-underline-offset: 3px; }

        /* ===== CTA band ===== */
        .cta-band {
            position: relative; overflow: hidden; margin-top: 36px;
            background: linear-gradient(135deg, #043e2f 0%, #011f18 100%);
            border-radius: 28px; padding: 40px 32px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .cta-band::before {
            content: ''; position: absolute; top: -40%; right: -20%;
            width: 420px; height: 420px; border-radius: 50%;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 65%);
            pointer-events: none;
        }
        .cta-band > * { position: relative; }
        .cta-band img.milo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; border: 2px solid rgba(255, 255, 255, 0.15); }
        .cta-band h2 {
            margin-top: 16px; color: #fff;
            font-size: clamp(20px, 5vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35;
        }
        .cta-band .csub { margin-top: 10px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
        .store-btns { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
        .store-btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            height: 52px; padding: 0 22px; border-radius: 12px;
            background: #fff; color: var(--ink); font-size: 15px; font-weight: 700;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4); }
        .store-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

        /* ===== SEO / FAQ ===== */
        .seo { padding-top: 12px; }
        .seo h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 36px 0 10px; }
        .seo p, .seo li { font-size: 15px; color: var(--gray-600); }
        .seo ul { padding-left: 20px; margin-top: 8px; }
        .seo li { margin-bottom: 4px; }
        .faq details { border-bottom: 1px solid var(--hairline); }
        .faq summary {
            display: flex; justify-content: space-between; align-items: center; gap: 12px;
            padding: 16px 0; cursor: pointer; list-style: none;
            font-size: 15.5px; font-weight: 700; color: var(--ink);
            -webkit-tap-highlight-color: transparent;
        }
        .faq summary::-webkit-details-marker { display: none; }
        .faq summary::after {
            content: ''; flex-shrink: 0; width: 9px; height: 9px;
            border-right: 2px solid var(--gray-400); border-bottom: 2px solid var(--gray-400);
            transform: rotate(45deg); transition: transform 0.3s ease; margin-right: 4px;
        }
        .faq details[open] summary::after { transform: rotate(225deg); }
        .faq details p { padding: 0 0 16px; font-size: 14.5px; }

        .disclaimer {
            font-size: 12.5px; color: var(--gray-500); background: #F3F4F6;
            border-radius: 12px; padding: 14px 16px; margin: 36px 0 0;
        }

        footer { border-top: 1px solid var(--hairline); margin-top: 40px; padding: 28px 0 44px; text-align: center; }
        footer p { font-size: 13px; color: var(--gray-500); }
        footer a { color: var(--green-dark); font-weight: 600; }

        /* Fade-in on scroll */
        .fade-io { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
        .fade-io.in { opacity: 1; transform: translateY(0); }

        @media (min-width: 640px) {
            .radio-list.act { grid-template-columns: 1fr 1fr; }
            .radio-list.goal { grid-template-columns: repeat(4, 1fr); }
            .radio-list.goal .rcard { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
        }
        @media (max-width: 560px) {
            .form-card { padding: 20px; }
            .unit-row { grid-template-columns: 1fr; }
            .result-hero { padding: 26px 20px; }
            .cta-band { border-radius: 20px; padding: 28px 20px; }
            .store-btn { flex: 1 1 100%; }
        }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after { transition: none !important; animation: none !important; }
        }