        html, body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
iframe {
    max-width: 100%;
}
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background:
                radial-gradient(circle at top left, rgba(16,185,129,.10), transparent 26%),
                radial-gradient(circle at top right, rgba(59,130,246,.08), transparent 24%),
                linear-gradient(180deg, #f8fcfb 0%, #eef7f2 100%);
            color: #111827;
            margin: 0;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(14px);
            background: rgba(255,255,255,0.82);
            border-bottom: 1px solid rgba(17,24,39,0.08);
            box-shadow: 0 10px 30px rgba(17,24,39,0.05);
        }

        .site-header__inner {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .logo-container { width: 100%; max-width: 240px; flex: 0 0 auto; }
        .hero-logo { width: 100%; height: auto; display: block; }

        .hero-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 36px;
            flex: 1;
        }

        .site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-switch__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.78);
    text-decoration: none;
    color: #4B5563;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: all .2s ease;
}

.lang-switch__item:hover {
    color: #111827;
    border-color: rgba(16,185,129,0.28);
    background: #F9FFFB;
}

.lang-switch__item.is-active {
    color: #065F46;
    background: #ECFDF5;
    border-color: rgba(16,185,129,0.35);
    box-shadow: 0 8px 18px rgba(16,185,129,.08);
}

.lang-switch__flag {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 16px;
    object-fit: contain;
}

        .hero-nav a {
            font-size: 15px;
            font-weight: 700;
            color: #374151;
            text-decoration: none;
        }

        .hero-login-btn, .hero-start-btn, .why-btn, .primary-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 800;
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .hero-login-btn {
            min-height: 50px;
            padding: 0 22px;
            border-radius: 16px;
            background: #111827;
            color: #fff;
            font-size: 15px;
            white-space: nowrap;
            box-shadow: 0 14px 28px rgba(17,24,39,.16);
        }

        .login-label--mobile {
    display: none;
}

.login-label--desktop {
    display: inline;
}

.funnel-login-wrap {
    width: 100%;
}

.funnel-login-card {
    max-width: 560px;
    margin: 0 auto;
}

.funnel-login-card__head {
    margin-bottom: 18px;
    text-align: center;
}

.funnel-login-card__logo {
    display: block;
    width: 100%;
    max-width: 170px;
    height: auto;
    margin: 0 auto 14px;
}

.funnel-login-form {
    display: grid;
    gap: 14px;
}

.funnel-form-group {
    display: grid;
    gap: 8px;
}

.funnel-form-group label {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
}

.funnel-input {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid #D1D5DB;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.funnel-input:focus {
    border-color: rgba(16,185,129,0.55);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.10);
}

.funnel-login-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4B5563;
    font-weight: 600;
    font-size: 14px;
}

.funnel-login-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    cursor: pointer;
}

.funnel-login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.funnel-login-links a {
    color: #065F46;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.login-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.login-alert--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.login-alert--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #BBF7D0;
}

.funnel-login-modal[hidden]{
    display:none;
}

.funnel-login-modal{
    position:fixed;
    inset:0;
    z-index:3000;
    isolation:isolate;
}

.funnel-login-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(17,24,39,.58);
    backdrop-filter:blur(6px);
    z-index:0;
}

.funnel-login-modal__dialog{
    position:relative;
    z-index:1;
    width:min(560px, calc(100vw - 24px));
    max-width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    margin:12px auto;
    background:#fff;
    border-radius:28px;
    box-shadow:0 30px 80px rgba(17,24,39,.25);
    overflow:auto;
}

.funnel-login-modal__close{
    position:sticky;
    top:12px;
    margin-left:auto;
    margin-right:12px;
    margin-top:12px;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:#f3f4f6;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.funnel-login-modal__body{
    padding:8px 20px 24px;
}

.funnel-login-links--single {
    justify-content: center;
    margin-top: 1.05rem;
}

.forgot-info-box {
    margin-top: 1.25rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.82), rgba(255, 255, 255, 0.95));
}

.forgot-info-box__title {
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #047857;
}

.forgot-info-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.forgot-info-list li {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .forgot-info-box {
        margin-top: 1rem;
        padding: 0.9rem 0.95rem;
        border-radius: 18px;
    }

    .forgot-info-list li {
        font-size: 0.86rem;
    }
}

@media (max-width: 720px){
    .funnel-login-modal__dialog{
        width:calc(100vw - 12px);
        max-width:calc(100vw - 12px);
        max-height:calc(100vh - 12px);
        margin:6px auto;
        border-radius:22px;
    }

    .funnel-login-modal__body{
        padding:6px 14px 18px;
    }
}

        .hero-start-btn:hover, .why-btn:hover, .hero-login-btn:hover, .primary-btn:hover {
            transform: translateY(-1px);
        }

        .landing-shell {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 42px 24px 72px;
        }

        .hero-stage {
            padding: 32px 0 30px;
            text-align: center;
        }

        .hero-headline {
            margin: 0 auto 20px;
            max-width: 1100px;
            font-size: clamp(2.4rem, 6vw, 5.2rem);
            line-height: .95;
            font-weight: 800;
            letter-spacing: -.05em;
        }

        .hero-subtext {
            max-width: 820px;
            margin: 0 auto 28px;
            font-size: clamp(1rem, 2vw, 1.12rem);
            line-height: 1.75;
            color: #4B5563;
        }

        .hero-start-btn, .why-btn {
            min-height: 60px;
            padding: 0 34px;
            border-radius: 20px;
            background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
            color: #fff;
            box-shadow: 0 16px 34px rgba(17,24,39,.18);
        }

        .info-section { padding: 28px 0; }

        .info-box, .highlight-box {
            border-radius: 32px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(17,24,39,.05);
        }

        .info-box {
            background: rgba(255,255,255,.82);
            border: 1px solid rgba(17,24,39,.06);
        }

        .highlight-box {
            background: linear-gradient(135deg, #effcf5 0%, #ffffff 100%);
            border: 1px solid #d9f3e3;
        }

        .section-title {
            margin: 0 0 12px;
            font-size: clamp(1.8rem, 3vw, 2.8rem);
            line-height: 1.05;
            font-weight: 800;
            letter-spacing: -.04em;
        }

        .section-text {
            margin: 0;
            color: #4B5563;
            line-height: 1.75;
            font-size: 1rem;
        }

        .strength-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
            margin-top: 22px;
        }

        .strength-card {
            background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
            border: 1px solid #e7f4ec;
            border-radius: 24px;
            padding: 22px;
            box-shadow: 0 12px 24px rgba(16,185,129,.05);
        }

        .strength-card h3 {
            margin: 0 0 10px;
            font-size: 1.08rem;
            line-height: 1.3;
            font-weight: 800;
        }

        .strength-card p {
            margin: 0;
            color: #4B5563;
            line-height: 1.65;
            font-size: .96rem;
        }

        .price-note {
            margin-top: 14px;
            display: inline-block;
            padding: 12px 16px;
            background: #ecfdf5;
            color: #047857;
            border-radius: 16px;
            font-weight: 800;
            line-height: 1.5;
        }

        #funnel {
            scroll-margin-top: 110px;
        }

        .funnel-section {
            padding: 18px 16px 80px;
        }

        .funnel-shell {
            width: 100%;
            max-width: 780px;
            margin: 0 auto;
        }

        .step-card {
            display: none;
            animation: slideIn .35s ease-out;
        }

        .step-card.active {
            display: block;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .funnel-card {
            background: rgba(255,255,255,.92);
            border: 1px solid rgba(17,24,39,.06);
            border-radius: 32px;
            padding: 28px;
            box-shadow: 0 24px 50px rgba(17,24,39,.06);
        }

        .funnel-top {
            display: grid;
            grid-template-columns: 44px 1fr;
            gap: 14px;
            align-items: center;
            margin-bottom: 22px;
        }

        .back-btn {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #F9FAFB;
            border: 0;
            cursor: pointer;
        }

        .progress-track {
            height: 6px;
            background: #E5E7EB;
            border-radius: 999px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            width: 0;
            border-radius: 999px;
            transition: width .6s ease;
            background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
        }

        .step-title {
            font-size: clamp(1.65rem, 3vw, 2.3rem);
            line-height: 1.08;
            font-weight: 800;
            letter-spacing: -.03em;
            margin: 0 0 10px;
            text-align: center;
        }

        .step-subtitle {
            margin: 0 0 22px;
            text-align: center;
            color: #6B7280;
            line-height: 1.7;
        }

        .funnel-goal-preset-hint{
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #065f46;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

.funnel-goal-preset-hint strong{
    font-weight: 800;
}

        .mascot-frame {
            width: 220px;
            height: 220px;
            margin: 0 auto 28px;
            background: linear-gradient(180deg, #F0FDF4 0%, #ECFDF5 100%);
            border-radius: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 4px solid #fff;
            box-shadow: 0 20px 40px rgba(16,185,129,.12);
        }

        .mascot-frame img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 15px;
        }

        .option-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .option-card {
            transition: all .2s;
            border: 2px solid #F3F4F6;
            background: #fff;
            cursor: pointer;
            border-radius: 24px;
            padding: 18px 20px;
        }

        .option-card:hover { border-color: #D1D5DB; }
        .option-card.selected {
            border-color: #10B981;
            background-color: #F0FDF4;
        }

        .option-card__title {
            font-size: 1.05rem;
            font-weight: 800;
            color: #111827;
        }

        .option-card__sub {
            margin-top: 4px;
            color: #6B7280;
            font-size: .94rem;
            line-height: 1.55;
        }

        .multi-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .check-card {
            border: 2px solid #F3F4F6;
            background: #fff;
            border-radius: 20px;
            padding: 16px;
            cursor: pointer;
            font-weight: 700;
            transition: all .2s;
        }

        .check-card.selected {
            border-color: #10B981;
            background: #F0FDF4;
        }

        .input-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .input-field {
            width: 100%;
            padding: 1rem;
            border-radius: 1.25rem;
            border: 2px solid #F3F4F6;
            font-size: 1.08rem;
            font-weight: 700;
            text-align: center;
            background: #fff;
        }

        .input-field:focus {
            border-color: #10B981;
            outline: none;
        }

        .input-label {
            display: block;
            margin: 0 0 8px 6px;
            font-size: .85rem;
            color: #6B7280;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .03em;
        }

        .primary-btn {
            min-height: 58px;
            width: 100%;
            border: 0;
            border-radius: 22px;
            color: #fff;
            font-size: 1rem;
            cursor: pointer;
            background: linear-gradient(135deg, #10B981 0%, #059669 100%);
            box-shadow: 0 16px 30px rgba(16,185,129,.22);
        }

        .secondary-btn {
            min-height: 54px;
            width: 100%;
            border: 1px solid #E5E7EB;
            border-radius: 20px;
            color: #111827;
            font-size: 1rem;
            cursor: pointer;
            background: #fff;
            font-weight: 800;
        }

        .actions-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 22px;
        }

        .result-hero{
    margin-top: 18px;
    margin-bottom: 20px;
    padding: 22px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
    border: 1px solid #e3f3ea;
    box-shadow: 0 14px 30px rgba(16,185,129,.07);
}

.result-hero__kcal{
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 8px;
}

.result-hero__sub{
    font-size: .98rem;
    color: #64748b;
    font-weight: 600;
}

.result-metric__value--small{
    font-size: 1.02rem;
    line-height: 1.35;
    font-weight: 700;
}

.result-text-block{
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #f8fbf9;
    border: 1px solid #e8f1ed;
    color: #334155;
    text-align: left;
    line-height: 1.55;
    font-size: .98rem;
}

.result-text-block--soft{
    background: #fbfdfc;
}

        .result-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
    text-align: left;
}

.result-metric {
    background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
    border: 1px solid #e7f4ec;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(16,185,129,.05);
}

.result-metric__label {
    font-size: .88rem;
    color: #6B7280;
    font-weight: 700;
    margin-bottom: 6px;
}

.result-metric__value {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

@media (max-width: 640px) {
    .result-metrics {
        grid-template-columns: 1fr;
    }
}

.site-footer{
    margin-top: 56px;
    border-top: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.82);
}

.site-footer__top{
    padding: 34px 16px 26px;
}

.site-footer__grid{
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.5fr .8fr;
    gap: 28px 36px;
    align-items: start;
}

.site-footer__col h3{
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.site-footer__col a{
    display: block;
    margin: 0 0 10px;
    color: #4B5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.site-footer__col a:hover{
    color: #111827;
}

.site-footer__socials{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__social{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    border: 1px solid rgba(17,24,39,0.08);
    color: #111827 !important;
    margin: 0 !important;
}

.site-footer__social svg{
    width: 22px;
    height: 22px;
    display: block;
}

.site-footer__bottom{
    border-top: 1px solid rgba(17,24,39,0.08);
    padding: 16px;
}

.site-footer__bottom-inner{
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
}

.site-footer__copyright{
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.site-footer__legal{
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
}

.site-footer__legal a{
    color: #4B5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.site-footer__legal a:hover{
    color: #111827;
}

.site-footer__linkbtn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.site-footer__linkbtn:hover {
    color: #10b981;
}

@media (max-width: 900px){
    .site-footer__grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px){
    .site-footer__grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__bottom-inner{
        justify-content: center;
        text-align: center;
    }

    .site-footer__copyright{
        width: 100%;
    }
}

        @media (max-width: 980px) {
            .strength-grid { grid-template-columns: 1fr 1fr; }
        }

@media (max-width: 720px) {
.site-header__inner {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "logo actions"
        "nav nav";
    align-items: center;
    gap: 10px 10px;
    overflow: hidden;
}

.logo-container {
    grid-area: logo;
    width: auto;
    max-width: 140px;
    min-width: 0;
    margin: 0;
    justify-self: start;
    flex: unset;
    overflow: hidden;
}

.site-header__actions {
    grid-area: actions;
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
    flex-wrap: nowrap;
}

.lang-switch__item {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 12px;
    gap: 5px;
}

.lang-switch__flag {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.hero-login-btn {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 1 auto;
}

.login-label--desktop {
    display: none;
}

.login-label--mobile {
    display: inline;
}

.hero-nav {
    grid-area: nav;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.hero-nav a {
    font-size: 14px;
}

    .landing-shell { padding: 24px 16px 42px; }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3.2rem);
        line-height: .98;
    }

    .hero-subtext {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .hero-start-btn, .why-btn {
        width: 100%;
        max-width: 360px;
        min-height: 56px;
        border-radius: 18px;
        padding: 0 24px;
    }

    .info-box, .highlight-box, .funnel-card {
        padding: 22px;
        border-radius: 24px;
    }

    .strength-grid, .multi-grid, .input-grid {
        grid-template-columns: 1fr;
    }

    .mascot-frame {
        width: 190px;
        height: 190px;
        border-radius: 34px;
    }

    .funnel-top {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .site-header__inner {
        padding: 9px 12px 11px;
        gap: 8px 10px;
    }

    .logo-container {
        max-width: 132px;
    }

    .lang-switch__item {
        min-height: 32px;
        padding: 0 7px;
        font-size: 11px;
    }

    .lang-switch__flag {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
    }

    .hero-login-btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .hero-nav {
        gap: 14px;
    }

    .hero-nav a {
        font-size: 13px;
    }
}

        .landing-tool-modal[hidden]{
    display:none;
}

.landing-tool-modal{
    position:fixed;
    inset:0;
    z-index:2000;
}

.landing-tool-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(17,24,39,.58);
    backdrop-filter:blur(6px);
}

.landing-tool-modal__dialog{
    position:relative;
    z-index:1;
    width:min(960px, calc(100% - 24px));
    max-width: calc(100vw - 24px);
    max-height:calc(100vh - 40px);
    margin:20px auto;
    background:#fff;
    border-radius:28px;
    box-shadow:0 30px 80px rgba(17,24,39,.25);
    overflow:auto;
}

.landing-tool-modal__close{
    position:sticky;
    top:12px;
    margin-left:auto;
    margin-right:12px;
    margin-top:12px;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:#f3f4f6;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.landing-tool-modal__body{
    padding:8px 20px 24px;
}

.tool-modal-card{
    background:transparent;
    border:0;
    box-shadow:none;
    padding:0;
}

@media (max-width: 720px){
.landing-tool-modal__dialog{
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    max-height:calc(100vh - 12px);
    margin:6px auto;
    border-radius:22px;
}

    .landing-tool-modal__body{
        padding:6px 14px 18px;
    }
}

.site-footer__toolbtn{
    display:block;
    width:100%;
    text-align:left;
    margin:0 0 10px;
    padding:0;
    border:0;
    background:transparent;
    color:#4B5563;
    font-size:14px;
    font-weight:700;
    line-height:1.45;
    cursor:pointer;
}

.site-footer__toolbtn:hover{
    color:#111827;
}

.landing-tool-content{
    display:none;
}

.landing-tool-content:not([hidden]){
    display:block;
}

.tool-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:18px;
}

.tool-head h2{
    margin:0;
    font-size:28px;
    line-height:1.1;
    font-weight:800;
    color:#111827;
}

.tool-head .sub{
    margin:8px 0 0;
    color:#6B7280;
    line-height:1.6;
    font-size:15px;
}

.tool-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    color:#047857;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.field label{
    font-size:13px;
    font-weight:800;
    color:#374151;
    letter-spacing:.02em;
}

.input{
    width:100%;
    min-height:52px;
    padding:0 16px;
    border:1px solid #D1D5DB;
    border-radius:16px;
    background:#fff;
    color:#111827;
    font-size:15px;
    font-weight:600;
    box-sizing:border-box;
}

.input:focus{
    outline:none;
    border-color:#10B981;
    box-shadow:0 0 0 4px rgba(16,185,129,.12);
}

.card-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 18px;
    border-radius:16px;
    border:1px solid transparent;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    cursor:pointer;
    transition:all .2s ease;
    box-sizing:border-box;
}

.btn--primary{
    background:linear-gradient(135deg, #10B981 0%, #059669 100%);
    color:#fff;
    box-shadow:0 12px 24px rgba(16,185,129,.18);
}

.btn--ghost{
    background:#fff;
    border-color:#D1D5DB;
    color:#111827;
}

.btn:hover{
    transform:translateY(-1px);
}

.result-box{
    border:1px solid #d1fae5;
    background:#f0fdf4;
    border-radius:18px;
    padding:16px;
    color:#111827;
}

.muted{
    color:#6B7280;
    font-size:14px;
    line-height:1.6;
}

@media (max-width: 720px){
    .tool-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .card-actions{
        flex-direction:column;
    }

    .card-actions .btn{
        width:100%;
    }

    .tool-head h2{
        font-size:24px;
    }
}

.goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.goal-tile {
    position: relative;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(17,24,39,0.05);
}

.goal-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16,185,129,0.15);
}

.goal-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #e5e7eb; /* Platzhalter-Farbe */
    transition: transform 0.5s ease;
}

.goal-tile:hover .goal-tile__img {
    transform: scale(1.05);
}

.goal-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.goal-tile__title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.goal-tile__tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.9);
    color: #111827;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

@keyframes loading {
    from { width: 0%; }
    to { width: 100%; }
}

.site-footer__legalbtn{
    padding: 0;
    border: 0;
    background: transparent;
    color: #4B5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.site-footer__legalbtn:hover{
    color: #111827;
}

.landing-legal-modal[hidden]{
    display:none;
}

.landing-legal-modal{
    position:fixed;
    inset:0;
    z-index:3100;
}

.landing-legal-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(17,24,39,.58);
    backdrop-filter:blur(6px);
}

.landing-legal-modal__dialog{
    position:relative;
    width:min(1100px, calc(100vw - 24px));
    max-width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    margin:12px auto;
    background:#fff;
    border-radius:28px;
    box-shadow:0 30px 80px rgba(17,24,39,.25);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.landing-legal-modal__close{
    position:absolute;
    top:12px;
    right:12px;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:#f3f4f6;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:3;
}

.landing-legal-modal__body{
    display:flex;
    flex-direction:column;
    max-height:calc(100vh - 24px);
    min-height:0;
}

.landing-legal-modal__header{
    flex:0 0 auto;
    padding:18px 56px 14px 20px;
    border-bottom:1px solid rgba(17,24,39,0.08);
    background:#fff;
}

.landing-legal-modal__header h2{
    margin:0;
    font-size:20px;
    font-weight:800;
    color:#111827;
}

.landing-legal-modal__frame{
    width:100%;
    display:block;
    border:0;
    background:#fff;
    height:0;
    min-height:220px;
    max-height:calc(100vh - 180px);
    flex:none;
}

@media (max-width: 720px){
    .landing-legal-modal__dialog{
        width:calc(100vw - 10px);
        max-width:calc(100vw - 10px);
        max-height:calc(100vh - 10px);
        margin:5px auto;
        border-radius:20px;
    }

    .landing-legal-modal__body{
        max-height:calc(100vh - 10px);
    }

    .landing-legal-modal__header{
        padding:16px 52px 12px 16px;
    }

    .landing-legal-modal__header h2{
        font-size:18px;
    }

.landing-legal-modal__frame{
    height:0;
    max-height:calc(100vh - 150px);
    min-height:200px;
}
}

.analyze-loader {
    width: min(240px, 70vw);
    height: 8px;
    margin: 0 auto;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.analyze-loader__bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
    animation: analyzeLoaderFill 3.2s ease-in-out forwards;
}

@keyframes analyzeLoaderFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.funnel-login-install {
    margin-top: 12px;
    text-align: center;
}

.funnel-login-install a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .10);
    border: 1px solid rgba(22, 163, 74, .22);
    color: #047857;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.funnel-login-install a:hover {
    background: rgba(22, 163, 74, .16);
    text-decoration: none;
}