:root {
    --green: #15945b;
    --green-dark: #087747;
    --green-light: #e8f7ee;
    --green-soft: #f2faf5;
    --text: #10231d;
    --muted: #66756f;
    --line: #e7eee9;
    --white: #fff;
    --bg: #fbfdfb;
    --radius: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at 70% 4%, rgba(159,225,184,.22), transparent 23%),
        var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

header {
    height: 92px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    position: relative;
}

.logo-icon:before,
.logo-icon:after {
    content: "";
    position: absolute;
    background: var(--green);
    width: 17px;
    height: 11px;
    top: 5px;
}

.logo-icon:before {
    left: 2px;
    border-radius: 16px 3px 16px 3px;
    transform: rotate(24deg);
}

.logo-icon:after {
    right: 1px;
    border-radius: 3px 16px 3px 16px;
    transform: rotate(-24deg);
}

.menu {
    display: flex;
    gap: 38px;
    color: #50605a;
    font-size: 14px;
    font-weight: 600;
}

.menu a:hover {
    color: var(--green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 27px;
    background: linear-gradient(135deg, #15945b, #087747);
    color: white;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(16,143,85,.18);
    transition: .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(16,143,85,.25);
}

.btn-small {
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
}

.telegram {
    font-size: 18px;
}

/* HERO */

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    padding: 35px 0 75px;
    position: relative;
}

.eyebrow {
    color: #84918c;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(52px, 5.7vw, 78px);
    line-height: .99;
    letter-spacing: -4.5px;
    max-width: 650px;
}

.green {
    color: var(--green);
}

.hero-text {
    margin: 28px 0;
    max-width: 540px;
    font-size: 18px;
    color: #56655f;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 23px;
    color: #7b8984;
    font-size: 12px;
    font-weight: 600;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 7px;
}

.check {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: white;
    font-size: 10px;
}

/* PHONE */

.hero-visual {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e4f7eb, #f7fcf8);
}

.leaf {
    position: absolute;
    width: 70px;
    height: 35px;
    background: linear-gradient(135deg, #45ad69, #0b7e43);
    border-radius: 100% 0 100% 0;
    opacity: .9;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,.1));
}

.leaf.one {
    right: 5%;
    top: 12%;
    transform: rotate(38deg);
}

.leaf.two {
    left: 6%;
    bottom: 20%;
    transform: rotate(-35deg);
}

.phone {
    width: 315px;
    height: 610px;
    padding: 11px;
    background: #101413;
    border-radius: 48px;
    position: relative;
    z-index: 3;
    box-shadow: 0 35px 80px rgba(18,53,39,.23);
}

.phone:before {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 25px;
    background: #101413;
    border-radius: 30px;
    z-index: 10;
}

.screen {
    height: 100%;
    border-radius: 38px;
    background: #f7f8f7;
    overflow: hidden;
    padding-top: 29px;
}

.tg-head {
    height: 58px;
    background: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg,#bcecc9,#15945b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.tg-sub {
    font-size: 10px;
    color: #89938f;
}

.chat {
    padding: 14px 11px;
}

.food-photo {
    width: 80%;
    margin-left: auto;
    height: 145px;
    border-radius: 17px;
    background:
        radial-gradient(circle at 30% 35%, #ef8e3e 0 8%, transparent 9%),
        radial-gradient(circle at 62% 40%, #f0c45a 0 10%, transparent 11%),
        radial-gradient(circle at 50% 60%, #69a858 0 22%, transparent 23%),
        linear-gradient(135deg,#e5d7ae,#8ab06b);
    position: relative;
    overflow: hidden;
}

.food-photo:after {
    content: "🥗";
    position: absolute;
    font-size: 95px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.user-msg {
    background: #dff5d8;
    padding: 8px 12px;
    border-radius: 14px 4px 14px 14px;
    width: max-content;
    max-width: 90%;
    margin: 5px 0 10px auto;
    font-size: 12px;
}

.bot-msg {
    background: white;
    padding: 13px;
    border-radius: 4px 15px 15px 15px;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
}

.bot-msg strong {
    display: block;
    font-size: 18px;
    margin: 8px 0;
}

.macros {
    display: flex;
    gap: 5px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.macro {
    padding: 4px 7px;
    border-radius: 8px;
    background: #f0f7f2;
    font-size: 10px;
}

.added {
    border-top: 1px solid #edf1ee;
    margin-top: 10px;
    padding-top: 9px;
    color: #397d58;
    font-weight: 700;
}

/* STEPS */

.section-box {
    background: rgba(255,255,255,.86);
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: 48px;
    box-shadow: 0 20px 70px rgba(26,66,47,.05);
}

.section-label {
    font-size: 12px;
    color: #8a9792;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

h2 {
    font-size: clamp(38px,4vw,58px);
    letter-spacing: -2.7px;
    line-height: 1.05;
    margin: 8px 0 30px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.step {
    min-height: 315px;
    padding: 27px;
    border-radius: 28px;
    background: linear-gradient(145deg,#fff,#f8fbf9);
    border: 1px solid #edf1ee;
    position: relative;
    overflow: hidden;
}

.step-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #d8f3e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    margin-bottom: 22px;
}

.step h3 {
    font-size: 23px;
    margin-bottom: 8px;
    letter-spacing: -.8px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}

.example {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    padding: 15px;
    background: #eaf7ee;
    border-radius: 18px;
    font-size: 13px;
}

.voice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    font-weight: 700;
}

.bars {
    letter-spacing: 2px;
}

/* DIARY */

.diary {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
    padding: 120px 0;
}

.diary-copy p {
    max-width: 480px;
    color: var(--muted);
    font-size: 17px;
}

.mini-card {
    margin-top: 30px;
    padding: 22px;
    max-width: 410px;
    border-radius: 24px;
    background: linear-gradient(135deg,#f1faf4,#fff);
    display: flex;
    align-items: center;
    gap: 17px;
    color: #53645d;
}

.chart {
    font-size: 35px;
}

.diary-card {
    background: white;
    border-radius: 32px;
    padding: 27px;
    box-shadow: 0 30px 80px rgba(20,63,43,.12);
    border: 1px solid #edf1ee;
}

.diary-date {
    color: #84918c;
    font-size: 13px;
    margin-bottom: 12px;
}

.meal {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1ee;
}

.meal-icon {
    width: 45px;
    height: 45px;
    background: #eaf6ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.meal-name {
    font-weight: 800;
    font-size: 14px;
}

.meal-kcal {
    color: #8a9691;
    font-size: 11px;
}

.meal-macros {
    font-size: 10px;
    color: #687670;
}

.total {
    padding-top: 22px;
}

.total-number {
    font-size: 29px;
    font-weight: 800;
}

.progress {
    height: 9px;
    background: #e7eee9;
    border-radius: 20px;
    margin-top: 12px;
    overflow: hidden;
}

.progress span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #84918c;
    margin-top: 7px;
}

/* PHILOSOPHY */

.philosophy {
    min-height: 440px;
    border-radius: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 50%, rgba(109,165,97,.2), transparent 25%),
        linear-gradient(120deg,#fff 20%,#f1f6ed);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 90px;
}

.philosophy-copy {
    padding: 60px;
}

.philosophy-copy h2 {
    margin-bottom: 22px;
}

.philosophy-copy p {
    color: var(--muted);
    max-width: 500px;
}

.breakfast {
    height: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    position: relative;
}

.breakfast:before {
    content: "";
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    position: absolute;
    box-shadow: 0 30px 60px rgba(30,60,40,.1);
}

.breakfast span {
    position: relative;
}

/* CTA */

.cta {
    margin-bottom: 35px;
    padding: 70px 30px;
    text-align: center;
    border-radius: 40px;
    background:
        radial-gradient(circle at 0 100%, rgba(75,169,104,.18), transparent 25%),
        radial-gradient(circle at 100% 0, rgba(75,169,104,.16), transparent 25%),
        #edf8f0;
}

.cta h2 {
    margin-bottom: 13px;
}

.cta p {
    color: var(--muted);
    margin-bottom: 26px;
}

.cta-note {
    margin-top: 17px;
    color: #7b8a84;
    font-size: 12px;
}

footer {
    min-height: 100px;
    display: flex;
    align-items: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7a8782;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

/* MOBILE */

@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    h1 {
        margin: 0 auto;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .benefits {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

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

    .step {
        min-height: 260px;
    }

    .diary {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 90px 0;
    }

    .philosophy {
        grid-template-columns: 1fr;
    }

    .breakfast {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 26px,1180px);
    }

    header {
        height: 75px;
    }

    .logo {
        font-size: 22px;
    }

    .nav > .btn {
        padding: 0 15px;
        min-height: 42px;
        font-size: 12px;
    }

    .nav > .btn .hide-mobile {
        display: none;
    }

    .hero {
        padding: 38px 0 55px;
        gap: 20px;
    }

    h1 {
        font-size: 49px;
        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 16px;
    }

    .benefits {
        gap: 10px 15px;
    }

    .hero-visual {
        min-height: 560px;
        transform: scale(.9);
        margin: -15px 0;
    }

    .hero-blob {
        width: 390px;
        height: 390px;
    }

    .section-box {
        padding: 27px 17px;
        border-radius: 28px;
    }

    h2 {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .diary {
        padding: 70px 5px;
    }

    .philosophy-copy {
        padding: 42px 25px;
    }

    .breakfast {
        min-height: 260px;
        font-size: 110px;
    }

    .breakfast:before {
        width: 220px;
        height: 220px;
    }

    .cta {
        padding: 55px 20px;
        border-radius: 30px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        padding: 25px 0 40px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.hero-visual {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.telegram-mockup {
    position: relative;
    z-index: 3;

    display: block;

    width: min(390px, 100%);
    height: auto;

    filter: drop-shadow(
        0 35px 45px rgba(18, 53, 39, 0.18)
    );
}

.hero-blob {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #e4f7eb,
            #f7fcf8
        );
}


/* планшеты */

@media (max-width: 900px) {

    .hero-visual {
        min-height: auto;
        padding: 30px 0;
    }

    .telegram-mockup {
        width: min(360px, 85vw);
    }

}


/* телефоны */

@media (max-width: 600px) {

    .hero-visual {
        padding: 20px 0 0;
    }

    .telegram-mockup {
        width: min(330px, 88vw);
    }

    .hero-blob {
        width: 360px;
        height: 360px;
    }

}