@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #171715;
    --paper: #f3f1eb;
    --muted: #77766f;
    --line: #d8d5cc;
    --acid: #d9ff54;
    --blue: #c8e9ff;
    --white: #fff;
    --serif: Georgia, 'Times New Roman', serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5
}

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

button {
    cursor: pointer;
    font: inherit
}

::selection {
    background: var(--acid)
}

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

.mono {
    font: 500 11px/1.2 'DM Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase
}

.muted {
    color: var(--muted)
}

nav {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line)
}

.brand {
    font-weight: 800;
    letter-spacing: -.04em
}

.nav-right {
    display: flex;
    gap: 24px;
    align-items: center
}

.nav-right a {
    font-size: 13px;
    color: #55544e
}

.nav-cta {
    padding: 11px 16px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent
}

.hero {
    padding: 72px 0 0
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 70px;
    min-height: 650px;
    align-items: end
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #74b900
}

.hero h1 {
    font-size: clamp(56px, 7.6vw, 108px);
    line-height: .92;
    letter-spacing: -.065em;
    margin: 0;
    max-width: 900px
}

.hero h1 em {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.06em
}

.hero-copy {
    font-size: 20px;
    line-height: 1.45;
    max-width: 510px;
    margin: 35px 0 28px;
    color: #45443f
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    font-weight: 700;
    font-size: 14px
}

.btn.primary {
    background: var(--ink);
    color: #fff
}

.btn.secondary {
    background: transparent
}

.hero-note {
    align-self: center;
    border-left: 1px solid var(--line);
    padding-left: 28px;
    margin-top: 50px
}

.hero-note strong {
    display: block;
    font-size: 31px;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 13px
}

.hero-note p {
    margin: 0;
    color: #65645e
}

.hero-visual {
    grid-column: 1/-1;
    border-top: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 135px;
    margin-top: 55px
}

.signal {
    padding: 22px 20px 25px 0;
    border-right: 1px solid var(--line)
}

.signal:not(:first-child) {
    padding-left: 20px
}

.signal:last-child {
    border-right: 0
}

.signal b {
    display: block;
    font-size: 15px;
    margin-top: 14px
}

.signal span {
    font-size: 13px;
    color: var(--muted)
}

.section {
    padding: 130px 0
}

.dark {
    background: var(--ink);
    color: #f7f5ef
}

.dark .muted {
    color: #9c9a91
}

.dark .line {
    border-color: #3c3b37
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 58px
}

.section-head h2 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0;
    max-width: 720px
}

.section-head p {
    max-width: 330px;
    margin: 0;
    color: var(--muted)
}

#diagnosis {
    padding-top: 110px
}

.question {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.045em;
    max-width: 760px;
    margin: 0 0 38px
}

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

.choice {
    background: #242421;
    border: 1px solid #393934;
    border-radius: 18px;
    padding: 22px;
    text-align: left;
    color: #fff;
    min-height: 145px;
    cursor: pointer;
    transition: .2s
}

.choice:hover,
.choice.active {
    border-color: var(--acid);
    background: #2b2c22
}

.choice .num {
    color: #8e8c83;
    font: 11px 'DM Mono', monospace
}

.choice strong {
    display: block;
    font-size: 19px;
    margin: 30px 0 5px
}

.choice span {
    font-size: 13px;
    color: #a9a79e
}

.diagnosis-result {
    margin-top: 12px;
    border: 1px solid #3c3b37;
    border-radius: 18px;
    padding: 26px;
    display: none;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center
}

.diagnosis-result.show {
    display: grid
}

.diagnosis-result b {
    font-size: 22px;
    letter-spacing: -.03em
}

.diagnosis-result p {
    margin: 5px 0 0;
    color: #a9a79e;
    font-size: 14px
}

.result-link {
    background: var(--acid);
    color: var(--ink);
    padding: 12px 17px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line)
}

.pain {
    padding: 32px 30px 35px 0;
    border-bottom: 1px solid var(--line);
    min-height: 200px
}

.pain:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--line)
}

.pain .mono {
    color: #8c8a82
}

.pain h3 {
    font-size: 25px;
    letter-spacing: -.035em;
    margin: 25px 0 8px
}

.pain p {
    color: var(--muted);
    max-width: 440px;
    margin: 0
}

.manifesto {
    padding: 145px 0 125px
}

.manifesto-inner {
    display: grid;
    grid-template-columns: .5fr 1.5fr;
    gap: 70px
}

.manifesto h2 {
    font-size: clamp(44px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -.06em;
    margin: 0
}

.manifesto h2 em {
    font-family: var(--serif);
    font-weight: 400
}

.manifesto-copy {
    font-size: 22px;
    line-height: 1.4;
    max-width: 700px
}

.manifesto-copy p {
    margin: 0 0 24px
}

.highlight {
    display: inline;
    background: linear-gradient(transparent 60%, var(--acid) 60%)
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #3c3b37
}

.step {
    padding: 28px 20px 30px 0;
    border-right: 1px solid #3c3b37;
    min-height: 240px
}

.step:not(:first-child) {
    padding-left: 20px
}

.step:last-child {
    border: 0
}

.step-no {
    font: 12px 'DM Mono', monospace;
    color: #8d8b82
}

.step h3 {
    font-size: 19px;
    margin: 50px 0 8px;
    letter-spacing: -.025em
}

.step p {
    font-size: 13px;
    color: #9c9a91;
    margin: 0
}

.pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 420px
}

.price-card.featured {
    background: var(--acid);
    border-color: var(--acid)
}

.price-card h3 {
    font-size: 21px;
    letter-spacing: -.03em;
    margin: 14px 0 3px
}

.price {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.05em;
    margin-bottom: 20px
}

.price small {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.price-card li {
    padding: 9px 0;
    border-top: 1px solid #e1dfd7;
    font-size: 13px
}

.price-card .bottom {
    margin-top: auto
}

.price-card .btn {
    width: 100%
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start
}

.portrait {
    aspect-ratio: 4/5;
    border-radius: 24px;
    background: #292927;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: white
}

.portrait:before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid #55534c;
    border-radius: 50%;
    left: 50%;
    top: 20%;
    transform: translateX(-50%)
}

.portrait:after {
    content: ' ';
    position: absolute;
    left: 50%;
    top: calc(20% + 105px);
    transform: translate(-50%, -50%);
    font: 11px 'DM Mono', monospace;
    color: #85837a;
    letter-spacing: .1em
}

.portrait-label {
    position: relative;
    z-index: 1
}

.portrait-label b {
    font-size: 22px
}

.about-copy h2 {
    font-size: clamp(42px, 5vw, 67px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0 0 35px
}

.about-copy p {
    font-size: 19px;
    max-width: 650px;
    color: #55544e
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 45px
}

.fact {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

.fact:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line)
}

.faq {
    border-top: 1px solid var(--line)
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-q {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700
}

.faq-q span {
    font: 20px 'DM Mono', monospace
}

.faq-a {
    display: none;
    max-width: 680px;
    color: var(--muted);
    padding: 0 0 25px
}

.faq-item.open .faq-a {
    display: block
}

.final {
    padding: 130px 0 80px
}

.final-box {
    background: var(--ink);
    color: #fff;
    border-radius: 26px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px
}

.final h2 {
    font-size: clamp(45px, 6vw, 80px);
    line-height: .94;
    letter-spacing: -.06em;
    margin: 0
}

.final h2 em {
    font-family: var(--serif);
    font-weight: 400
}

.final p {
    color: #aaa89f;
    font-size: 17px;
    max-width: 470px
}

.final .btn.primary {
    background: var(--acid);
    color: var(--ink);
    border-color: var(--acid)
}

.final-side {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start
}

.telegram {
    margin-top: 13px;
    color: #fff;
    border-color: #55534c
}

.footer {
    padding: 0 0 35px;
    display: flex;
    justify-content: space-between;
    color: #85837b;
    font-size: 12px
}

.footer a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10
}

.modal.show {
    display: flex
}

.modal-card {
    width: min(540px, 100%);
    background: var(--paper);
    border-radius: 22px;
    padding: 32px;
    position: relative
}

.close {
    position: absolute;
    right: 18px;
    top: 16px;
    border: 0;
    background: none;
    font-size: 24px;
    cursor: pointer
}

.modal h2 {
    font-size: 36px;
    line-height: 1;
    letter-spacing: -.05em;
    margin: 0 35px 10px 0
}

.modal p {
    color: var(--muted);
    margin: 0 0 24px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px
}

.field label {
    font: 11px 'DM Mono', monospace;
    text-transform: uppercase;
    color: #77766f
}

.field input,
.field textarea {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 13px;
    font: inherit;
    outline: none
}

.field textarea {
    min-height: 105px;
    resize: vertical
}

.modal .btn {
    width: 100%;
    cursor: pointer
}

@media(max-width:900px) {

    .hero-grid,
    .about-grid,
    .final-box {
        grid-template-columns: 1fr
    }

    .hero-grid {
        min-height: auto
    }

    .hero-note {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 24px 0;
        margin-top: 25px
    }

    .choices,
    .pricing {
        grid-template-columns: 1fr 1fr
    }

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

    .step:nth-child(2n) {
        border-right: 0
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-top: 20px
    }

    .manifesto-inner {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .about-grid {
        gap: 40px
    }

    .final-side {
        align-items: flex-start
    }
}

@media(max-width:620px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    nav {
        height: 62px
    }

    .nav-right a:not(.nav-cta) {
        display: none
    }

    .hero {
        padding-top: 45px
    }

    .hero h1 {
        font-size: 56px
    }

    .hero-copy {
        font-size: 17px
    }

    .hero-visual {
        grid-template-columns: 1fr
    }

    .signal {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 18px 0 !important
    }

    .signal:last-child {
        border-bottom: 0
    }

    .choices,
    .pricing,
    .pain-grid {
        grid-template-columns: 1fr
    }

    .pain {
        padding: 25px 0 !important;
        border-left: 0 !important
    }

    .section {
        padding: 85px 0
    }

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

    .step {
        border-right: 0;
        border-bottom: 1px solid #3c3b37;
        padding: 22px 0 !important;
        min-height: 0
    }

    .step h3 {
        margin: 25px 0 7px
    }

    .price-card {
        min-height: 350px
    }

    .final-box {
        padding: 30px
    }

    .footer {
        display: block
    }

    .footer div+div {
        margin-top: 12px
    }

    .modal-card {
        padding: 25px
    }

    .manifesto {
        padding: 90px 0
    }

    .section-head h2 {
        font-size: 44px
    }
}

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

.article-card {
    border: 1px solid #3c3b37;
    border-radius: 18px;
    padding: 25px;
    min-height: 275px;
    display: flex;
    flex-direction: column;
    transition: .2s
}

.article-card:hover {
    border-color: var(--acid);
    transform: translateY(-2px)
}

.article-card h3 {
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 26px 0 10px
}

.article-card p {
    font-size: 14px;
    color: #a9a79e;
    margin: 0
}

.article-card .read {
    margin-top: auto;
    padding-top: 22px;
    font: 12px 'DM Mono', monospace;
    color: var(--acid)
}

@media(max-width:900px) {
    .article-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .article-grid {
        grid-template-columns: 1fr
    }
}

/* v4 navigation + article hierarchy */
.nav-right a.active {
    color: var(--ink);
    font-weight: 800
}

.nav-right a.active:not(.nav-cta) {
    position: relative
}

.nav-right a.active:not(.nav-cta):after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -29px;
    height: 2px;
    background: var(--ink)
}

.page-trail {
    padding: 18px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font: 11px 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .06em
}

.page-trail a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.page-trail .current {
    color: var(--ink)
}

.compact-hero {
    padding-top: 44px;
    padding-bottom: 55px
}

.compact-hero h1 {
    font-size: clamp(48px, 6.2vw, 88px);
    max-width: 980px
}

.compact-hero .hero-copy {
    max-width: 650px;
    margin-top: 22px
}

.article-intro {
    max-width: 760px
}

.featured-section {
    padding-top: 62px
}

.featured-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px
}

.featured-head h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: .96;
    letter-spacing: -.055em;
    margin: 0
}

.featured-head p {
    max-width: 330px;
    color: var(--muted);
    margin: 0
}

.situation-section {
    padding-top: 92px
}

.situation-section .section-head {
    margin-bottom: 38px
}

@media(max-width:620px) {
    .nav-right a.active:not(.nav-cta):after {
        display: none
    }

    .page-trail {
        padding-top: 13px
    }

    .compact-hero {
        padding-top: 35px;
        padding-bottom: 28px
    }

    .compact-hero h1 {
        font-size: 48px
    }

    .featured-section {
        padding-top: 48px
    }

    .featured-head {
        display: block
    }

    .featured-head p {
        margin-top: 16px
    }

    .situation-section {
        padding-top: 65px
    }
}

/* v5: disappearing header + contextual bottom action bar */
nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 245, 240, .94);
    backdrop-filter: blur(12px);
    transition: transform .28s ease, opacity .28s ease
}

nav.nav-hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none
}

.floating-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 24px);
    opacity: 0;
    visibility: hidden;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    background: rgba(24, 24, 22, .94);
    backdrop-filter: blur(16px);
    border: 1px solid #44433d;
    border-radius: 999px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .2);
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
    white-space: nowrap
}

.floating-bar.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible
}

.floating-bar .bar-context {
    font: 10px 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #a9a79e;
    padding: 0 12px
}

.floating-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800
}

.floating-bar .bar-buy {
    background: var(--acid);
    color: var(--ink)
}

.floating-bar .bar-talk {
    color: #fff;
    border: 1px solid #55534c
}

.purchase-modal .modal-card {
    max-width: 620px
}

.purchase-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0
}

.purchase-option {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: .18s
}

.purchase-option.active {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink)
}

.purchase-option b {
    display: block;
    font-size: 17px
}

.purchase-option span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px
}

.purchase-option strong {
    display: block;
    margin-top: 18px;
    font-size: 21px;
    letter-spacing: -.04em
}

.checkout-note {
    font-size: 12px !important;
    color: #77766f !important;
    margin: 12px 0 0 !important
}

@media(max-width:620px) {
    .floating-bar {
        left: 14px;
        right: 14px;
        bottom: 12px;
        transform: translateY(24px);
        justify-content: stretch
    }

    .floating-bar.visible {
        transform: translateY(0)
    }

    .floating-bar .bar-context {
        display: none
    }

    .floating-bar a {
        flex: 1;
        padding: 12px 10px
    }

    .purchase-options {
        grid-template-columns: 1fr
    }

    .purchase-modal .modal-card {
        padding: 22px
    }

    .floating-bar .bar-talk {
        display: none
    }
}

/* v6 quick action bar + format chooser */
body.modal-open {
    overflow: hidden
}

.has-floating-bar {
    padding-bottom: 0
}

.floating-bar {
    gap: 6px;
    padding: 6px 7px
}

.floating-bar button,
.floating-bar a {
    border: 0;
    font: 700 12px Manrope, Arial, sans-serif;
    cursor: pointer;
    text-decoration: none
}

.floating-bar .bar-buy {
    background: var(--acid);
    color: var(--ink);
    padding: 12px 17px;
    border-radius: 999px
}

.floating-bar .bar-buy span {
    margin-left: 4px
}

.floating-bar .bar-talk {
    background: transparent;
    color: #fff;
    padding: 12px 15px;
    border-radius: 999px
}

.floating-bar .bar-tg {
    color: #fff;
    padding: 12px 15px;
    border-radius: 999px;
    border-left: 1px solid #44433d
}

.quick-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 60
}

.quick-modal.show {
    display: flex
}

.quick-card {
    width: min(960px, 100%);
    max-height: min(88vh, 860px);
    overflow: auto;
    background: var(--paper);
    border-radius: 24px;
    padding: 34px;
    position: relative
}

.quick-close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink)
}

.quick-card h2 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: .96;
    letter-spacing: -.055em;
    margin: 10px 50px 10px 0
}

.quick-lead {
    max-width: 680px;
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 16px
}

.quick-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.quick-price {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 21px;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.quick-price.featured {
    background: var(--acid);
    border-color: var(--acid)
}

.quick-price h3 {
    font-size: 21px;
    letter-spacing: -.035em;
    margin: 13px 0 8px
}

.quick-price p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    max-width: 390px
}

.quick-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px
}

.quick-bottom strong {
    font-size: 21px;
    letter-spacing: -.04em;
    white-space: nowrap
}

.quick-bottom .btn {
    width: auto;
    padding: 11px 14px
}

.quick-footer {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 17px;
    font-size: 13px;
    color: var(--muted)
}

.quick-footer button,
.quick-footer a {
    border: 0;
    background: none;
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer
}

.quick-question-card {
    width: min(620px, 100%)
}

.quick-form-note {
    font-size: 11px !important;
    color: var(--muted) !important;
    margin: 12px 0 0 !important
}

@media(max-width:700px) {
    .quick-card {
        padding: 25px 20px;
        border-radius: 20px;
        max-height: 92vh
    }

    .quick-pricing {
        grid-template-columns: 1fr
    }

    .quick-price {
        min-height: 0
    }

    .quick-bottom {
        align-items: stretch;
        flex-direction: column
    }

    .quick-bottom .btn {
        width: 100%
    }

    .floating-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: translateY(24px);
        justify-content: stretch
    }

    .floating-bar.visible {
        transform: translateY(0)
    }

    .floating-bar button,
    .floating-bar a {
        flex: 1;
        text-align: center;
        padding: 12px 8px
    }

    .floating-bar .bar-tg {
        border-left: 1px solid #44433d
    }
}

@media(max-width:420px) {
    .floating-bar .bar-talk {
        display: none
    }

    .floating-bar .bar-tg {
        border-left: 0
    }

    .floating-bar .bar-buy {
        flex: 1.35
    }
}

/* v8: bottom-bar safe area on every page */
body.has-floating-bar {
    padding-bottom: 96px
}

@media(max-width:700px) {
    body.has-floating-bar {
        padding-bottom: 82px
    }
}

@media(max-width:420px) {
    body.has-floating-bar {
        padding-bottom: 76px
    }
}

/* v9: compact, conversion-focused YooKassa purchase flow */
.purchase-card {
    width: min(560px, 100%);
    padding: 30px 32px 26px;
    border-radius: 20px;
    background: #f7f6f1;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24)
}

.purchase-head {
    padding-right: 34px
}

.purchase-head .mono {
    color: #77766f
}

.purchase-head h2 {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1;
    letter-spacing: -.055em;
    margin: 7px 0 8px
}

.purchase-head p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
    max-width: 450px
}

.purchase-choice {
    margin-top: 20px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.purchase-choice>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0
}

.purchase-choice strong {
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: -.025em;
    margin-top: 1px
}

.purchase-choice span:last-child {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.purchase-price {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.04em;
    white-space: nowrap
}

.purchase-change {
    display: block;
    margin: 7px 0 18px;
    border: 0;
    background: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    font: 600 11px Manrope, Arial, sans-serif;
    cursor: pointer;
    color: var(--muted);
    padding: 0
}

.purchase-form {
    padding: 0;
    border: 0;
    background: transparent
}

.purchase-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 12px
}

.purchase-fields .field-wide {
    grid-column: 1/-1
}

.purchase-form .field {
    margin: 0
}

.purchase-form .field label {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    color: #55544e
}

.purchase-form .field input,
.purchase-form .field textarea {
    width: 100%;
    border: 1px solid #cbc8be;
    background: #fff;
    border-radius: 10px;
    padding: 11px 12px;
    font: 500 13px/1.35 Manrope, Arial, sans-serif;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s
}

.purchase-form .field input {
    height: 43px
}

.purchase-form .field textarea {
    min-height: 76px;
    resize: vertical
}

.purchase-form .field input::placeholder,
.purchase-form .field textarea::placeholder {
    color: #aaa79f
}

.purchase-form .field input:focus,
.purchase-form .field textarea:focus {
    border-color: #8e8c84;
    box-shadow: 0 0 0 3px rgba(23, 23, 21, .06)
}

.purchase-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--muted);
    margin: 14px 0 12px
}

.purchase-consent input {
    margin: 2px 0 0;
    accent-color: var(--ink);
    flex: 0 0 auto
}

.purchase-consent span {
    display: block
}

.purchase-submit {
    width: 100%;
    cursor: pointer;
    justify-content: space-between;
    padding: 13px 15px;
    border-radius: 10px
}

.purchase-submit:disabled {
    opacity: .55;
    cursor: wait
}

.purchase-submit strong {
    font-size: 12px
}

.purchase-status {
    font-size: 11px;
    color: #8a3f32;
    margin: 7px 0 0;
    min-height: 15px
}

.purchase-form-note {
    font-size: 10.5px !important;
    line-height: 1.4;
    color: #89877f;
    margin: 8px 0 0 !important
}

.field label span {
    font-family: Manrope, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: var(--muted)
}

@media(max-width:620px) {
    .purchase-card {
        width: 100%;
        padding: 24px 19px 21px;
        border-radius: 18px
    }

    .purchase-head h2 {
        font-size: 32px
    }

    .purchase-choice {
        padding: 13px
    }

    .purchase-fields {
        grid-template-columns: 1fr
    }

    .purchase-fields .field-wide {
        grid-column: auto
    }

    .purchase-form .field input {
        height: 44px
    }

    .purchase-form .field textarea {
        min-height: 82px
    }

    .purchase-modal .field {
        margin-bottom: 0
    }
}

/* v22 — lighter, calmer, more intuitive visual system */
:root {
    --ink: #171817;
    --paper: #f7f6f2;
    --muted: #767872;
    --line: #dfdfd8;
    --soft: #eeefe9;
    --accent: #a7c7a2;
    --accent-strong: #6e9569;
    --white: #ffffff;
    --serif: Georgia, 'Times New Roman', serif;
}

html {
    background: var(--paper)
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased
}

::selection {
    background: #dbe8d8;
    color: var(--ink)
}

.container {
    width: min(1240px, calc(100% - 56px))
}

.mono {
    font-size: 10px;
    letter-spacing: .1em;
    color: #7c7e78
}

nav {
    height: 76px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 246, 242, .9);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20
}

.brand {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.04em
}

.nav-right {
    gap: 28px
}

.nav-right a {
    font-size: 13px;
    color: #686a64;
    transition: color .18s ease
}

.nav-right a:hover,
.nav-right a.active {
    color: var(--ink)
}

.nav-right a.active:not(.nav-cta):after {
    bottom: -29px;
    height: 2px;
    background: var(--ink)
}

.nav-cta {
    padding: 11px 17px !important;
    border: 1px solid #c8c9c3;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .5);
    color: var(--ink) !important;
    transition: .18s
}

.nav-cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff !important
}

.page-trail {
    padding: 24px 0 0;
    font-size: 10px;
    color: #8b8d87
}

.page-trail a {
    text-decoration: none
}

.page-trail .current {
    color: var(--ink)
}

.hero {
    padding: 48px 0 0
}

.hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr);
    gap: 90px;
    min-height: auto;
    align-items: start
}

.eyebrow {
    gap: 10px;
    margin-bottom: 24px
}

.dot {
    width: 7px;
    height: 7px;
    background: var(--accent-strong)
}

.hero h1 {
    font-size: clamp(54px, 6.4vw, 92px);
    line-height: .91;
    letter-spacing: -.07em;
    max-width: 820px
}

.hero h1 em {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.06em
}

.hero-copy {
    font-size: 18px;
    line-height: 1.5;
    max-width: 570px;
    margin: 27px 0 23px;
    color: #555852
}

.actions {
    gap: 10px
}

.btn {
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s, background .18s, border-color .18s
}

.btn:hover {
    transform: translateY(-1px)
}

.btn.primary {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

.btn.primary:hover {
    background: #2b2d2a
}

.btn.secondary {
    border-color: #c7c8c1;
    background: #fff;
    color: var(--ink)
}

.hero-side {
    width: 100%;
    max-width: 430px;
    padding-top: 5px
}

.hero-side-intro {
    font-size: 16px;
    line-height: 1.55;
    color: #565954;
    margin: 0 0 16px
}

.hero-person {
    aspect-ratio: 1.2/1;
    border-radius: 24px;
    background: #252725;
    padding: 23px
}

.hero-person:before {
    border-color: #565b54
}

.hero-person-label b {
    font-size: 21px
}

.hero-person-label span {
    font-size: 12px;
    color: #9da29a
}

.hero-note {
    border-left: 1px solid var(--line);
    padding-left: 18px;
    margin-top: 14px
}

.hero-note strong {
    font-size: 22px;
    line-height: 1.08;
    margin-bottom: 7px
}

.hero-note p {
    font-size: 13px;
    line-height: 1.5;
    color: #70736d
}

.hero-visual {
    margin-top: 50px;
    border-top: 1px solid var(--line);
    min-height: 110px
}

.signal {
    border-color: var(--line);
    padding: 18px 20px 20px 0
}

.signal b {
    font-size: 14px;
    margin-top: 10px
}

.signal span {
    font-size: 12px
}

.section {
    padding: 104px 0
}

.section-head {
    margin-bottom: 42px;
    align-items: flex-end
}

.section-head h2 {
    font-size: clamp(38px, 4.7vw, 66px);
    letter-spacing: -.06em;
    max-width: 760px
}

.section-head p {
    font-size: 14px;
    line-height: 1.55;
    color: #7a7c76
}

.dark {
    background: #eef1ed;
    color: var(--ink)
}

.dark .muted,
.dark .section-head p {
    color: #747872
}

.dark .line {
    border-color: #d7dbd4
}

#diagnosis {
    padding-top: 92px
}

.question {
    font-size: clamp(31px, 4vw, 52px);
    letter-spacing: -.05em;
    max-width: 780px;
    margin-bottom: 30px
}

.choices {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.choice {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 145px;
    padding: 20px;
    transition: .18s;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02)
}

.choice:hover,
.choice.active {
    background: #f9fbf7;
    border-color: #9db49a;
    box-shadow: inset 0 0 0 1px #b9cbb6
}

.choice .num {
    color: #92968e
}

.choice strong {
    font-size: 18px;
    margin: 28px 0 5px
}

.choice span {
    font-size: 12px;
    color: #777a73
}

.diagnosis-result {
    border-color: #d5d9d1;
    background: #f8faf6
}

.diagnosis-result b {
    font-size: 20px
}

.diagnosis-result p {
    color: #72766f
}

.result-link {
    background: var(--ink);
    color: #fff
}

.pain-grid {
    border-top-color: var(--line)
}

.pain {
    border-bottom-color: var(--line);
    min-height: 190px
}

.pain:nth-child(even) {
    border-left-color: var(--line)
}

.pain h3 {
    font-size: 23px
}

.pain p {
    font-size: 14px;
    line-height: 1.55
}

.manifesto {
    padding: 120px 0 110px
}

.manifesto-inner {
    gap: 80px
}

.manifesto h2 {
    font-size: clamp(43px, 5.5vw, 76px)
}

.manifesto-copy {
    font-size: 20px;
    line-height: 1.5;
    color: #50534d
}

.highlight {
    background: linear-gradient(transparent 63%, #dcebd8 63%)
}

.steps {
    border-top-color: #d7dbd4
}

.step {
    border-right-color: #d7dbd4;
    min-height: 220px
}

.step h3 {
    font-size: 18px;
    margin: 42px 0 8px
}

.step p {
    color: #777b74
}

.pricing {
    gap: 12px
}

.price-card {
    background: #fff;
    border-color: var(--line);
    border-radius: 18px;
    min-height: 390px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(22, 24, 22, .025)
}

.price-card.featured {
    background: #e4eee1;
    border-color: #c8d9c4
}

.price-card h3 {
    font-size: 20px
}

.price {
    font-size: 28px
}

.price-card li {
    border-top-color: #e6e7e1
}

.price-card .btn {
    border-radius: 11px
}

.about-grid {
    gap: 72px
}

.portrait {
    border-radius: 22px;
    background: #272a27
}

.about-copy h2 {
    font-size: clamp(41px, 4.8vw, 64px)
}

.about-copy p {
    font-size: 17px;
    line-height: 1.6;
    color: #5c5f59
}

.facts {
    border-top-color: var(--line)
}

.fact {
    border-bottom-color: var(--line)
}

.fact:nth-child(even) {
    border-left-color: var(--line)
}

.faq-item {
    border-bottom-color: var(--line)
}

.faq-q {
    padding: 23px 0;
    font-size: 17px
}

.faq-a {
    font-size: 14px;
    line-height: 1.6
}

.final {
    padding: 110px 0 70px
}

.final-box {
    background: #252824;
    border-radius: 22px;
    padding: 48px
}

.final h2 {
    font-size: clamp(42px, 5.5vw, 72px)
}

.final p {
    font-size: 16px;
    color: #b7bbb4
}

.final .btn.primary {
    background: #dfeadd;
    color: var(--ink);
    border-color: #dfeadd
}

.telegram {
    border-color: #555a54
}

.footer {
    padding-bottom: 30px;
    color: #8b8f88
}

/* articles */
.article-hero {
    padding: 52px 0 70px
}

.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .7fr);
    gap: 90px;
    align-items: start
}

.article-hero-title h1 {
    font-size: clamp(48px, 5.7vw, 78px);
    line-height: .96;
    letter-spacing: -.065em;
    margin: 0
}

.article-hero-title h1 em {
    font-family: var(--serif);
    font-weight: 400
}

.article-hero-copy {
    padding-top: 10px
}

.article-hero-copy p {
    font-size: 18px;
    line-height: 1.65;
    color: #555952;
    margin: 0;
    max-width: 520px
}

.featured-section {
    background: #eef1ed;
    padding-top: 74px;
    padding-bottom: 96px
}

.featured-head {
    margin-bottom: 28px
}

.featured-head h2 {
    font-size: clamp(40px, 4.7vw, 62px)
}

.featured-head p {
    font-size: 14px;
    color: #777a73
}

.article-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.article-card {
    background: #fff;
    border: 1px solid #dfe2dc;
    border-radius: 17px;
    padding: 22px;
    min-height: 315px;
    box-shadow: 0 2px 8px rgba(22, 24, 22, .025);
    transition: transform .18s, border-color .18s, box-shadow .18s
}

.article-card:hover {
    border-color: #b7c9b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(22, 24, 22, .06)
}

.article-card h3 {
    font-size: 20px;
    line-height: 1.13;
    margin: 22px 0 10px
}

.article-card p {
    font-size: 13px;
    line-height: 1.55;
    color: #6f736c
}

.article-card .read {
    font: 11px 'DM Mono', monospace;
    color: #5d665d;
    padding-top: 20px
}

.situation-section {
    padding-top: 96px
}

/* article detail */
.post-hero {
    padding: 58px 0 68px;
    border-bottom: 1px solid var(--line)
}

.post-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #858880;
    font-size: 12px;
    margin-bottom: 22px
}

.post-hero h1 {
    font-size: clamp(50px, 6.1vw, 86px);
    line-height: .95;
    letter-spacing: -.07em;
    max-width: 980px;
    margin: 0
}

.post-lead {
    font-size: 20px;
    line-height: 1.55;
    color: #5c6059;
    max-width: 760px;
    margin: 27px 0 0
}

.post-layout {
    width: min(1060px, calc(100% - 56px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 210px minmax(0, 720px);
    gap: 80px;
    padding: 68px 0 100px
}

.post-aside {
    font-size: 12px;
    color: #7b7f78
}

.aside-sticky {
    position: sticky;
    top: 102px;
    display: flex;
    flex-direction: column;
    gap: 11px
}

.aside-sticky .mono {
    margin-bottom: 4px
}

.aside-sticky a {
    color: #777b74
}

.aside-sticky a:hover {
    color: var(--ink)
}

.post-content {
    font-size: 17px;
    line-height: 1.75;
    color: #42463f
}

.post-content p {
    margin: 0 0 25px
}

.post-content h2 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 56px 0 18px;
    color: var(--ink)
}

.post-content h3 {
    font-size: 18px;
    margin: 38px 0 10px
}

.post-content ul {
    padding-left: 22px;
    margin: 0 0 28px
}

.post-content li {
    padding-left: 5px;
    margin: 7px 0
}

.post-content em {
    font-family: var(--serif);
    font-size: 1.08em
}

.post-callout {
    margin: 34px 0;
    padding: 22px 24px;
    border: 1px solid #d5ddd1;
    background: #eef4ec;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.post-callout strong {
    font-size: 18px;
    line-height: 1.25
}

.post-callout span {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7168
}

.related {
    padding-top: 90px
}

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

.related-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 22px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.related-card h3 {
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 18px 0
}

.related-card>span:last-child {
    font-size: 12px;
    color: #777b74
}

/* floating action bar — light, calm, easy to scan */
.floating-bar {
    left: 50%;
    bottom: 18px;
    gap: 3px;
    padding: 5px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #dfe2dc;
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(28, 31, 28, .12);
    backdrop-filter: blur(18px);
    white-space: nowrap
}

.floating-bar .bar-buy {
    background: #edf2ea;
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 13px
}

.floating-bar .bar-buy:hover {
    background: #e1eadf
}

.floating-bar .bar-talk {
    color: #454943;
    background: transparent;
    padding: 12px 16px;
    border-radius: 13px
}

.floating-bar .bar-talk:hover {
    background: #f3f4f0
}

.floating-bar .bar-tg {
    color: #454943;
    border-left: 1px solid #e1e3de;
    padding: 12px 16px;
    border-radius: 0 13px 13px 0
}

.floating-bar .bar-tg:hover {
    background: #f3f4f0
}

body.has-floating-bar {
    padding-bottom: 92px
}

/* quick modals */
.quick-modal {
    background: rgba(27, 30, 27, .28);
    backdrop-filter: blur(5px)
}

.quick-card {
    background: #fbfbf8;
    border: 1px solid #e0e2dc;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(20, 23, 20, .18);
    padding: 32px
}

.quick-card h2 {
    font-size: clamp(34px, 4.4vw, 52px)
}

.quick-lead {
    font-size: 14px;
    line-height: 1.55;
    color: #6d716a
}

.quick-price {
    background: #fff;
    border-color: #e0e2dc;
    border-radius: 16px
}

.quick-price.featured {
    background: #edf3ea;
    border-color: #cfddca
}

.quick-price h3 {
    font-size: 20px
}

.quick-price p {
    line-height: 1.5
}

.quick-footer {
    border-top-color: #e1e3dd
}

.purchase-card {
    background: #fbfbf8;
    border-color: #e0e2dc
}

.purchase-choice {
    border-color: #e0e2dc
}

.purchase-form .field input,
.purchase-form .field textarea {
    border-color: #d7dad3
}

.purchase-form .field input:focus,
.purchase-form .field textarea:focus {
    border-color: #9eaa9a;
    box-shadow: 0 0 0 3px rgba(126, 154, 120, .12)
}

@media(max-width:1000px) {
    .container {
        width: min(100% - 40px, 1240px)
    }

    .hero-grid,
    .article-hero-grid {
        grid-template-columns: 1fr 360px;
        gap: 48px
    }

    .article-grid {
        grid-template-columns: 1fr 1fr
    }

    .pricing {
        grid-template-columns: 1fr 1fr
    }

    .post-layout {
        grid-template-columns: 170px minmax(0, 720px);
        gap: 45px
    }
}

@media(max-width:800px) {
    .nav-right {
        gap: 14px
    }

    .nav-right a:not(.nav-cta) {
        display: none
    }

    .hero-grid,
    .article-hero-grid {
        grid-template-columns: 1fr
    }

    .hero-side {
        max-width: 560px
    }

    .hero-person {
        aspect-ratio: 1.55/1
    }

    .hero-note {
        max-width: 500px
    }

    .hero-visual {
        grid-column: auto
    }

    .choices {
        grid-template-columns: 1fr 1fr
    }

    .pricing {
        grid-template-columns: 1fr 1fr
    }

    .post-layout {
        grid-template-columns: 1fr;
        padding-top: 45px
    }

    .post-aside {
        display: none
    }

    .post-content {
        max-width: 720px
    }

    .related-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .container {
        width: calc(100% - 28px)
    }

    nav {
        height: 64px
    }

    .brand {
        font-size: 14px
    }

    .nav-cta {
        padding: 9px 12px !important;
        font-size: 12px !important
    }

    .page-trail {
        padding-top: 16px
    }

    .hero {
        padding-top: 32px
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 72px)
    }

    .hero-copy {
        font-size: 16px
    }

    .hero-person {
        aspect-ratio: 1.18/1
    }

    .hero-visual {
        display: none
    }

    .section {
        padding: 78px 0
    }

    .section-head {
        display: block;
        margin-bottom: 30px
    }

    .section-head p {
        margin-top: 14px
    }

    .choices,
    .pricing,
    .article-grid,
    .related-grid {
        grid-template-columns: 1fr
    }

    .choice {
        min-height: 125px
    }

    .price-card {
        min-height: 350px
    }

    .article-hero {
        padding: 38px 0 52px
    }

    .article-hero-grid {
        gap: 25px
    }

    .article-hero-title h1 {
        font-size: clamp(45px, 13vw, 66px)
    }

    .article-hero-copy p {
        font-size: 16px
    }

    .featured-section {
        padding: 56px 0 70px
    }

    .featured-head {
        display: block
    }

    .featured-head p {
        margin-top: 12px
    }

    .post-hero {
        padding: 38px 0 48px
    }

    .post-meta {
        display: block
    }

    .post-meta span {
        display: block;
        margin-bottom: 8px
    }

    .post-hero h1 {
        font-size: clamp(43px, 12vw, 64px)
    }

    .post-lead {
        font-size: 17px
    }

    .post-layout {
        width: calc(100% - 28px);
        padding-bottom: 70px
    }

    .post-content {
        font-size: 16px
    }

    .post-content h2 {
        font-size: 30px;
        margin-top: 45px
    }

    .final {
        padding-top: 78px
    }

    .final-box {
        padding: 30px 24px
    }

    .final h2 {
        font-size: 45px
    }

    .final-side {
        margin-top: 15px
    }

    .floating-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: translateY(24px);
        justify-content: stretch;
        border-radius: 16px
    }

    .floating-bar.visible {
        transform: translateY(0)
    }

    .floating-bar button,
    .floating-bar a {
        flex: 1;
        text-align: center;
        padding: 12px 8px
    }

    .floating-bar .bar-tg {
        border-left: 1px solid #e1e3de
    }

    .floating-bar .bar-buy {
        flex: 1.15
    }

    body.has-floating-bar {
        padding-bottom: 78px
    }
}

@media(max-width:420px) {
    .floating-bar .bar-talk {
        display: none
    }

    .floating-bar .bar-tg {
        border-left: 0
    }

    .floating-bar .bar-buy {
        flex: 1.25
    }
}

/* v23 — redesigned consultation booking modal */
.purchase-card-modern {
    width: min(1080px, calc(100vw - 48px));
    max-height: min(90vh, 820px);
    overflow: auto;
    padding: 30px 32px 24px;
    border-radius: 26px;
    background: #fbfbf8;
    border: 1px solid #e1e2dc;
    box-shadow: 0 30px 100px rgba(18, 21, 18, .22);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-right: 42px;
    margin-bottom: 6px
}

.booking-header h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: .98;
    letter-spacing: -.06em;
    margin: 8px 0 8px
}

.booking-header p {
    max-width: 640px;
    margin: 0;
    color: #72766f;
    font-size: 13px;
    line-height: 1.5
}

.booking-summary {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-top: 3px;
    text-align: right
}

.booking-summary span {
    font-size: 12px;
    color: #777a73;
    white-space: nowrap
}

.booking-summary strong {
    font-size: 22px;
    letter-spacing: -.04em;
    white-space: nowrap
}

.modern-change {
    display: inline-flex;
    margin: 13px 0 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #70746d;
    text-decoration: underline;
    text-underline-offset: 3px;
    font: 600 11px/1.2 Manrope, Arial, sans-serif;
    cursor: pointer
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 0;
    border-top: 1px solid #e1e2dc
}

.booking-schedule,
.booking-details {
    padding: 24px 26px 20px 0
}

.booking-details {
    padding: 24px 0 20px 28px;
    border-left: 1px solid #e1e2dc
}

.booking-section-title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 19px
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef0ea;
    color: #626760;
    font: 500 10px/1 'DM Mono', monospace;
    flex: 0 0 auto
}

.booking-section-title h3 {
    margin: 1px 0 2px;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -.025em
}

.booking-section-title p {
    margin: 0;
    color: #80847c;
    font-size: 11px;
    line-height: 1.4
}

.date-picker {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 24px
}

.date-option {
    appearance: none;
    border: 1px solid #e0e2dc;
    background: #fff;
    border-radius: 12px;
    padding: 10px 4px 9px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #4f534d;
    cursor: pointer;
    transition: border-color .16s, background .16s, transform .16s
}

.date-option:hover {
    border-color: #aeb6aa;
    transform: translateY(-1px)
}

.date-option span {
    font: 500 9px/1 'DM Mono', monospace;
    text-transform: uppercase;
    color: #969a92
}

.date-option strong {
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.date-option small {
    font-size: 8px;
    color: #9b9e97;
    white-space: nowrap
}

.date-option.active {
    background: #1b1d1a;
    border-color: #1b1d1a;
    color: #fff
}

.date-option.active span,
.date-option.active small {
    color: #c9cdc5
}

.time-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 9px;
    font-size: 11px;
    font-weight: 700;
    color: #5f635d
}

.selected-slot {
    font-weight: 600;
    color: #879080
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px
}

.time-grid button {
    height: 38px;
    border: 1px solid #d9dcd5;
    border-radius: 10px;
    background: #fff;
    color: #454943;
    font: 600 11px/1 Manrope, Arial, sans-serif;
    cursor: pointer;
    transition: border-color .16s, background .16s, color .16s
}

.time-grid button:hover {
    border-color: #9eaa9b
}

.time-grid button.active {
    background: #a7c79f;
    border-color: #a7c79f;
    color: #172017
}

.purchase-form-modern .field {
    margin: 0 0 12px
}

.purchase-form-modern .field label {
    display: block;
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    color: #5c6059
}

.purchase-form-modern .field input,
.purchase-form-modern .field textarea {
    width: 100%;
    border: 1px solid #d6d9d2;
    background: #fff;
    border-radius: 11px;
    padding: 11px 12px;
    font: 500 12px/1.35 Manrope, Arial, sans-serif;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s
}

.purchase-form-modern .field input {
    height: 42px
}

.purchase-form-modern .field textarea {
    min-height: 88px;
    resize: vertical
}

.purchase-form-modern .field input::placeholder,
.purchase-form-modern .field textarea::placeholder {
    color: #a3a69f
}

.purchase-form-modern .field input:focus,
.purchase-form-modern .field textarea:focus {
    border-color: #96a291;
    box-shadow: 0 0 0 3px rgba(126, 154, 120, .11)
}

.booking-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.booking-confirm {
    margin-top: 18px;
    border-top: 1px solid #e1e2dc;
    padding-top: 13px
}

.booking-confirm-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 0;
    color: #777a73;
    font-size: 11px
}

.booking-confirm-line strong {
    color: #343832;
    font-weight: 700
}

.booking-confirm-line.total {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid #e1e2dc;
    color: #343832;
    font-size: 12px
}

.booking-confirm-line.total strong {
    font-size: 17px;
    letter-spacing: -.03em
}

.booking-footer {
    border-top: 1px solid #e1e2dc;
    padding-top: 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 14px 24px;
    align-items: center
}

.booking-footer .purchase-consent {
    grid-column: 1;
    margin: 0;
    align-self: center;
    font-size: 10px
}

.booking-footer .purchase-submit {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: 48px;
    margin: 0;
    border-radius: 12px;
    justify-content: space-between
}

.booking-footer .purchase-form-note {
    grid-column: 1;
    margin: 0 !important;
    font-size: 10px !important;
    color: #8b8e87
}

.booking-footer .purchase-status {
    grid-column: 1;
    margin: 0;
    min-height: 0
}

.purchase-submit strong {
    font-size: 12px
}

@media(max-width:820px) {
    .purchase-card-modern {
        width: min(700px, calc(100vw - 28px));
        padding: 24px 22px 20px
    }

    .booking-header {
        display: block;
        padding-right: 30px
    }

    .booking-summary {
        align-items: flex-start;
        text-align: left;
        margin-top: 12px;
        flex-direction: row;
        gap: 10px;
        align-items: baseline
    }

    .booking-layout {
        grid-template-columns: 1fr
    }

    .booking-details {
        border-left: 0;
        border-top: 1px solid #e1e2dc;
        padding: 24px 0 20px
    }

    .booking-schedule {
        padding-right: 0
    }

    .booking-footer {
        grid-template-columns: 1fr
    }

    .booking-footer .purchase-consent,
    .booking-footer .purchase-submit,
    .booking-footer .purchase-form-note,
    .booking-footer .purchase-status {
        grid-column: 1;
        grid-row: auto
    }

    .booking-footer .purchase-submit {
        height: 50px
    }
}

@media(max-width:560px) {
    .purchase-card-modern {
        width: calc(100vw - 20px);
        max-height: 94vh;
        padding: 20px 16px 17px;
        border-radius: 20px
    }

    .booking-header h2 {
        font-size: 31px
    }

    .date-picker {
        grid-template-columns: repeat(7, minmax(42px, 1fr));
        overflow-x: auto;
        padding-bottom: 2px
    }

    .date-option {
        min-width: 42px
    }

    .time-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .booking-contact-grid {
        grid-template-columns: 1fr
    }

    .booking-footer .purchase-consent {
        font-size: 9.5px
    }
}

/* v26 — booking modal rebuilt to match the approved reference structure */
.purchase-card-booking {
    width: min(1530px, calc(100vw - 56px));
    height: min(900px, calc(100vh - 48px));
    max-height: none;
    overflow: hidden;
    padding: 0;
    border-radius: 30px;
    background: #fbfcfa;
    border: 1px solid rgba(214, 220, 213, .9);
    box-shadow: 0 34px 110px rgba(25, 33, 26, .24);
    color: #28302a;
}

.purchase-card-booking .booking-titlebar {
    height: 132px;
    padding: 48px 52px 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px
}

.purchase-card-booking .booking-titlebar h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 44px;
    line-height: .95;
    letter-spacing: -.045em;
    font-weight: 700;
    color: #263027
}

.purchase-card-booking .booking-product {
    margin-top: 10px;
    color: #7c847c;
    font-size: 13px;
    line-height: 1.4
}

.purchase-card-booking .booking-close {
    position: absolute;
    right: 34px;
    top: 24px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    color: #263027;
    font-size: 36px;
    line-height: 1;
    border: 0;
    z-index: 3;
    cursor: pointer
}

.purchase-card-booking .purchase-form-booking {
    height: calc(100% - 132px);
    display: flex;
    flex-direction: column
}

.booking-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(250px, .7fr) minmax(430px, 1fr)
}

.booking-calendar-panel,
.booking-time-panel,
.booking-form-panel {
    min-width: 0;
    min-height: 0
}

.booking-calendar-panel {
    padding: 24px 34px 26px 52px;
    border-right: 1px solid #dfe4de
}

.booking-time-panel {
    padding: 24px 30px 26px;
    border-right: 1px solid #dfe4de
}

.booking-form-panel {
    padding: 20px 52px 20px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.calendar-head {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    margin: 0 auto 22px;
    max-width: 510px
}

.calendar-head strong {
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #3c463e;
    text-transform: capitalize
}

.calendar-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #3f4941;
    font-size: 36px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.calendar-arrow:hover {
    background: #eef3ed
}

.calendar-arrow:disabled {
    opacity: .22;
    cursor: default;
    background: transparent
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    max-width: 510px;
    margin: 0 auto 8px;
    color: #a0a69f;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.month-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: minmax(52px, 1fr);
    gap: 6px;
    max-width: 510px;
    margin: 0 auto;
    height: calc(100% - 76px)
}

.month-calendar .date-option {
    border: 0;
    background: #fdfefd;
    border-radius: 50%;
    min-width: 0;
    min-height: 52px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #4c554e;
    cursor: pointer;
    transition: background .16s, color .16s, transform .16s
}

.month-calendar .date-option span {
    font-size: 8px;
    line-height: 1;
    text-transform: uppercase;
    color: #a2a8a1
}

.month-calendar .date-option strong {
    font-size: 15px;
    line-height: 1;
    font-weight: 600
}

.month-calendar .date-option:hover:not(:disabled) {
    background: #edf4ec;
    transform: none
}

.month-calendar .date-option.active {
    background: #69b17b;
    color: #fff
}

.month-calendar .date-option.active span {
    color: #eaf6ec
}

.month-calendar .date-option:disabled {
    cursor: default;
    color: #b7bcb7;
    background: #fbfcfb
}

.month-calendar .date-option.outside {
    opacity: .26
}

.booking-panel-label {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #4c554e;
    font-size: 12px;
    font-weight: 700
}

.booking-panel-label strong {
    font-weight: 600;
    color: #8b948b;
    font-size: 11px
}

.booking-time-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
    align-content: start
}

.booking-time-grid button {
    height: 46px;
    border: 1px solid #d5ddd5;
    border-radius: 13px;
    background: #fff;
    color: #3f4941;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .15s
}

.booking-time-grid button:hover {
    border-color: #a8b5a8;
    transform: translateY(-1px)
}

.booking-time-grid button.active {
    background: #69b17b;
    border-color: #69b17b;
    color: #fff
}

.booking-form-panel .form-row p {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0 0 20px
}

.booking-form-panel .form-row label {
    margin: 0;
    color: #4d564f;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500
}

.booking-form-panel .form-row label span {
    color: #7b847d
}

.booking-form-panel .form-row input,
.booking-form-panel .form-row textarea {
    width: 100%;
    border: 1px solid #d4dcd4;
    background: #fff;
    border-radius: 15px;
    padding: 0 16px;
    height: 50px;
    color: #303a32;
    font: 500 14px/1.4 Manrope, Arial, sans-serif;
    outline: none;
    box-sizing: border-box
}

.booking-form-panel .form-row textarea {
    height: 92px;
    padding: 14px 16px;
    resize: none
}

.booking-form-panel .form-row input::placeholder,
.booking-form-panel .form-row textarea::placeholder {
    color: #b0b6b0
}

.booking-form-panel .form-row input:focus,
.booking-form-panel .form-row textarea:focus {
    border-color: #8db497;
    box-shadow: 0 0 0 3px rgba(105, 177, 123, .12)
}

.booking-bottom {
    height: 100px;
    flex: 0 0 100px;
    border-top: 1px solid #dfe4de;
    padding: 18px 52px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 26px;
    align-items: center;
    background: #fbfcfa
}

.booking-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #566058;
    font-size: 13px;
    font-weight: 500
}

.booking-total strong {
    font-size: 17px;
    letter-spacing: -.02em;
    color: #263027
}

.booking-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    grid-column: 2;
    grid-row: 1 / span 2
}

.booking-actions button {
    height: 50px;
    border-radius: 15px;
    padding: 0 30px;
    font: 600 14px/1 Manrope, Arial, sans-serif;
    cursor: pointer
}

.booking-cancel {
    min-width: 180px;
    background: transparent;
    border: 1px solid #6bb47d;
    color: #5fae71
}

.booking-cancel:hover {
    background: #f0f7f1
}

.booking-pay {
    min-width: 220px;
    background: #69b17b;
    border: 1px solid #69b17b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

.booking-pay:hover {
    background: #5fa970;
    border-color: #5fa970
}

.booking-pay strong {
    font-weight: 600
}

.booking-note {
    grid-column: 1;
    grid-row: 2;
    margin: 2px 0 0;
    color: #9aa19a;
    font-size: 10px;
    line-height: 1.3
}

.booking-bottom .purchase-status {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    color: #b24d42;
    font-size: 10px
}

.purchase-card-booking .booking-bottom .purchase-status:empty {
    display: none
}

@media(max-width:1100px) {
    .purchase-card-booking {
        width: calc(100vw - 36px);
        height: calc(100vh - 36px)
    }

    .purchase-card-booking .booking-titlebar {
        padding-left: 36px;
        padding-right: 36px
    }

    .booking-calendar-panel {
        padding-left: 36px;
        padding-right: 24px
    }

    .booking-form-panel {
        padding-right: 36px;
        padding-left: 24px
    }

    .booking-bottom {
        padding-left: 36px;
        padding-right: 36px
    }

    .booking-form-panel .form-row p {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 14px
    }
}

@media(max-width:900px) {
    .purchase-card-booking {
        height: calc(100vh - 20px);
        width: calc(100vw - 20px);
        border-radius: 24px
    }

    .purchase-card-booking .booking-titlebar {
        height: 92px;
        padding: 30px 26px 18px
    }

    .purchase-card-booking .booking-titlebar h2 {
        font-size: 36px
    }

    .purchase-card-booking .booking-product {
        display: none
    }

    .purchase-card-booking .purchase-form-booking {
        height: calc(100% - 92px);
        overflow: auto
    }

    .booking-main {
        grid-template-columns: 1fr 1fr
    }

    .booking-calendar-panel {
        border-right: 1px solid #dfe4de;
        padding: 20px 18px 22px 26px
    }

    .booking-time-panel {
        border-right: 0;
        padding: 20px 26px 22px 18px
    }

    .booking-form-panel {
        grid-column: 1/-1;
        border-top: 1px solid #dfe4de;
        padding: 24px 26px
    }

    .month-calendar {
        height: auto;
        grid-auto-rows: 46px
    }

    .month-calendar .date-option {
        min-height: 44px
    }

    .booking-time-grid {
        gap: 8px
    }

    .booking-time-grid button {
        height: 42px
    }

    .booking-bottom {
        height: auto;
        min-height: 92px;
        flex: 0 0 auto;
        padding: 15px 26px;
        grid-template-columns: 1fr
    }

    .booking-actions {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-end
    }

    .booking-note {
        grid-column: 1;
        grid-row: 3
    }

    .booking-bottom .purchase-status {
        grid-column: 1;
        grid-row: 3
    }
}

@media(max-width:600px) {
    .purchase-card-booking {
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        border-radius: 18px
    }

    .purchase-card-booking .booking-titlebar {
        height: 76px;
        padding: 24px 20px 14px
    }

    .purchase-card-booking .booking-titlebar h2 {
        font-size: 31px
    }

    .purchase-card-booking .booking-close {
        right: 12px;
        top: 10px;
        font-size: 32px
    }

    .booking-main {
        display: block
    }

    .booking-calendar-panel,
    .booking-time-panel,
    .booking-form-panel {
        border-right: 0;
        padding-left: 20px;
        padding-right: 20px
    }

    .booking-calendar-panel {
        padding-top: 16px
    }

    .booking-time-panel {
        border-top: 1px solid #dfe4de;
        padding-top: 18px
    }

    .booking-form-panel {
        border-top: 1px solid #dfe4de
    }

    .calendar-head {
        margin-bottom: 14px
    }

    .calendar-weekdays {
        gap: 3px
    }

    .month-calendar {
        gap: 3px;
        grid-auto-rows: 42px
    }

    .month-calendar .date-option {
        min-height: 40px
    }

    .month-calendar .date-option strong {
        font-size: 14px
    }

    .booking-time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px
    }

    .booking-time-grid button {
        height: 42px;
        font-size: 12px
    }

    .booking-form-panel .form-row p {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 14px
    }

    .booking-form-panel .form-row input {
        height: 46px
    }

    .booking-form-panel .form-row textarea {
        height: 78px
    }

    .booking-bottom {
        padding: 14px 20px;
        gap: 10px
    }

    .booking-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px
    }

    .booking-actions button {
        min-width: 0;
        width: 100%;
        padding: 0 10px
    }

    .booking-pay {
        min-width: 0
    }

    .booking-cancel {
        min-width: 0
    }
}

/* v29 — booking visual language aligned with the main editorial site */
.purchase-card-booking {
    background: var(--paper, #f3f1eb);
    border: 1px solid var(--line, #d8d5cc);
    box-shadow: 0 35px 100px rgba(23, 23, 21, .24);
    color: var(--ink, #171715);
    border-radius: 26px;
    overflow: hidden
}

.purchase-card-booking .booking-titlebar {
    border-bottom: 1px solid var(--line, #d8d5cc);
    background: var(--paper, #f3f1eb)
}

.purchase-card-booking .booking-titlebar h2 {
    font-family: var(--serif, Georgia, serif);
    color: var(--ink, #171715);
    font-weight: 400;
    letter-spacing: -.055em
}

.purchase-card-booking .booking-product {
    color: var(--muted, #77766f)
}

.purchase-card-booking .booking-close {
    color: var(--ink, #171715);
    border-radius: 50%
}

.purchase-card-booking .booking-close:hover {
    background: rgba(23, 23, 21, .06)
}

.booking-calendar-panel,
.booking-time-panel,
.booking-form-panel {
    background: var(--paper, #f3f1eb);
    border-color: var(--line, #d8d5cc)
}

.calendar-head strong {
    font-family: Manrope, Arial, sans-serif;
    color: var(--ink, #171715);
    font-size: 16px;
    letter-spacing: -.025em
}

.calendar-arrow {
    color: var(--ink, #171715);
    font-size: 30px
}

.calendar-arrow:hover {
    background: rgba(23, 23, 21, .06)
}

.calendar-legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin: 0 auto 10px;
    max-width: 510px;
    color: var(--muted, #77766f);
    font: 500 10px/1.2 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .04em
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block
}

.legend-free {
    background: #171715
}

.legend-busy {
    background: #c8c5bc
}

.calendar-weekdays {
    color: #8d8b83;
    font-family: 'DM Mono', monospace;
    letter-spacing: .04em
}

.month-calendar .date-option {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--ink, #171715);
    position: relative
}

.month-calendar .date-option span {
    color: #8d8b83
}

.month-calendar .date-option strong {
    font-size: 15px
}

.month-calendar .date-option.free .date-status-dot {
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink, #171715)
}

.month-calendar .date-option.busy {
    color: #aaa79e;
    background: rgba(23, 23, 21, .025);
    cursor: not-allowed
}

.month-calendar .date-option.busy span {
    color: #b3b0a8
}

.month-calendar .date-option.busy .date-status-dot {
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8c5bc
}

.month-calendar .date-option.free:hover:not(:disabled) {
    background: rgba(23, 23, 21, .06);
    transform: none
}

.month-calendar .date-option.active {
    background: var(--ink, #171715);
    color: #fff;
    border-color: var(--ink, #171715)
}

.month-calendar .date-option.active span {
    color: #aaa89f
}

.month-calendar .date-option.active .date-status-dot {
    background: var(--acid, #d9ff54)
}

.booking-panel-label {
    color: var(--ink, #171715);
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 10px
}

.booking-panel-label strong {
    color: var(--muted, #77766f);
    font-family: Manrope, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px
}

.booking-time-grid button {
    border-color: var(--line, #d8d5cc);
    background: rgba(255, 255, 255, .58);
    color: var(--ink, #171715);
    border-radius: 12px
}

.booking-time-grid button:hover:not(:disabled) {
    border-color: var(--ink, #171715);
    transform: none
}

.booking-time-grid button.free:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink, #171715);
    margin-right: 7px;
    vertical-align: middle
}

.booking-time-grid button.busy {
    background: rgba(23, 23, 21, .035);
    border-color: #e1ded5;
    color: #aaa79e;
    text-decoration: line-through;
    cursor: not-allowed
}

.booking-time-grid button.busy:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8c5bc;
    margin-right: 7px;
    vertical-align: middle
}

.booking-time-grid button.active {
    background: var(--ink, #171715);
    border-color: var(--ink, #171715);
    color: #fff
}

.booking-time-grid button.active:before {
    background: var(--acid, #d9ff54)
}

.booking-form-panel .form-row label {
    color: var(--ink, #171715);
    font-size: 12px
}

.booking-form-panel .form-row label span {
    color: #8d8b83
}

.booking-form-panel .form-row input,
.booking-form-panel .form-row textarea {
    border-color: var(--line, #d8d5cc);
    background: #fff;
    border-radius: 12px;
    color: var(--ink, #171715)
}

.booking-form-panel .form-row input:focus,
.booking-form-panel .form-row textarea:focus {
    border-color: var(--ink, #171715);
    box-shadow: 0 0 0 3px rgba(23, 23, 21, .07)
}

.booking-bottom {
    background: var(--paper, #f3f1eb);
    border-color: var(--line, #d8d5cc)
}

.booking-total {
    color: var(--muted, #77766f)
}

.booking-total strong {
    color: var(--ink, #171715)
}

.booking-cancel {
    border-color: var(--ink, #171715);
    color: var(--ink, #171715)
}

.booking-cancel:hover {
    background: rgba(23, 23, 21, .05)
}

.booking-pay {
    background: var(--ink, #171715);
    border-color: var(--ink, #171715);
    color: #fff
}

.booking-pay:hover {
    background: #292926;
    border-color: #292926
}

.booking-note {
    color: #8d8b83
}

@media(max-width:900px) {
    .calendar-legend {
        justify-content: flex-start
    }
}

/* v29 — booking visual language aligned with the main editorial site */
.purchase-card-booking {
    background: var(--paper, #f3f1eb);
    border: 1px solid var(--line, #d8d5cc);
    box-shadow: 0 35px 100px rgba(23, 23, 21, .24);
    color: var(--ink, #171715);
    border-radius: 26px;
    overflow: hidden
}

.purchase-card-booking .booking-titlebar {
    border-bottom: 1px solid var(--line, #d8d5cc);
    background: var(--paper, #f3f1eb)
}

.purchase-card-booking .booking-titlebar h2 {
    font-family: var(--serif, Georgia, serif);
    color: var(--ink, #171715);
    font-weight: 400;
    letter-spacing: -.055em
}

.purchase-card-booking .booking-product {
    color: var(--muted, #77766f)
}

.purchase-card-booking .booking-close {
    color: var(--ink, #171715);
    border-radius: 50%
}

.purchase-card-booking .booking-close:hover {
    background: rgba(23, 23, 21, .06)
}

.booking-calendar-panel,
.booking-time-panel,
.booking-form-panel {
    background: var(--paper, #f3f1eb);
    border-color: var(--line, #d8d5cc)
}

.calendar-head strong {
    font-family: Manrope, Arial, sans-serif;
    color: var(--ink, #171715);
    font-size: 16px;
    letter-spacing: -.025em
}

.calendar-arrow {
    color: var(--ink, #171715);
    font-size: 30px
}

.calendar-arrow:hover {
    background: rgba(23, 23, 21, .06)
}

.calendar-legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin: 0 auto 10px;
    max-width: 510px;
    color: var(--muted, #77766f);
    font: 500 10px/1.2 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .04em
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block
}

.legend-free {
    background: #171715
}

.legend-busy {
    background: #c8c5bc
}

.calendar-weekdays {
    color: #8d8b83;
    font-family: 'DM Mono', monospace;
    letter-spacing: .04em
}

.month-calendar .date-option {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--ink, #171715);
    position: relative
}

.month-calendar .date-option span {
    color: #8d8b83
}

.month-calendar .date-option strong {
    font-size: 15px
}

.month-calendar .date-option.free .date-status-dot {
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink, #171715)
}

.month-calendar .date-option.busy {
    color: #aaa79e;
    background: rgba(23, 23, 21, .025);
    cursor: not-allowed
}

.month-calendar .date-option.busy span {
    color: #b3b0a8
}

.month-calendar .date-option.busy .date-status-dot {
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8c5bc
}

.month-calendar .date-option.free:hover:not(:disabled) {
    background: rgba(23, 23, 21, .06);
    transform: none
}

.month-calendar .date-option.active {
    background: var(--ink, #171715);
    color: #fff;
    border-color: var(--ink, #171715)
}

.month-calendar .date-option.active span {
    color: #aaa89f
}

.month-calendar .date-option.active .date-status-dot {
    background: var(--acid, #d9ff54)
}

.booking-panel-label {
    color: var(--ink, #171715);
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 10px
}

.booking-panel-label strong {
    color: var(--muted, #77766f);
    font-family: Manrope, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px
}

.booking-time-grid button {
    border-color: var(--line, #d8d5cc);
    background: rgba(255, 255, 255, .58);
    color: var(--ink, #171715);
    border-radius: 12px
}

.booking-time-grid button:hover:not(:disabled) {
    border-color: var(--ink, #171715);
    transform: none
}

.booking-time-grid button.free:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink, #171715);
    margin-right: 7px;
    vertical-align: middle
}

.booking-time-grid button.busy {
    background: rgba(23, 23, 21, .035);
    border-color: #e1ded5;
    color: #aaa79e;
    text-decoration: line-through;
    cursor: not-allowed
}

.booking-time-grid button.busy:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8c5bc;
    margin-right: 7px;
    vertical-align: middle
}

.booking-time-grid button.active {
    background: var(--ink, #171715);
    border-color: var(--ink, #171715);
    color: #fff
}

.booking-time-grid button.active:before {
    background: var(--acid, #d9ff54)
}

.booking-form-panel .form-row label {
    color: var(--ink, #171715);
    font-size: 12px
}

.booking-form-panel .form-row label span {
    color: #8d8b83
}

.booking-form-panel .form-row input,
.booking-form-panel .form-row textarea {
    border-color: var(--line, #d8d5cc);
    background: #fff;
    border-radius: 12px;
    color: var(--ink, #171715)
}

.booking-form-panel .form-row input:focus,
.booking-form-panel .form-row textarea:focus {
    border-color: var(--ink, #171715);
    box-shadow: 0 0 0 3px rgba(23, 23, 21, .07)
}

.booking-bottom {
    background: var(--paper, #f3f1eb);
    border-color: var(--line, #d8d5cc)
}

.booking-total {
    color: var(--muted, #77766f)
}

.booking-total strong {
    color: var(--ink, #171715)
}

.booking-cancel {
    border-color: var(--ink, #171715);
    color: var(--ink, #171715)
}

.booking-cancel:hover {
    background: rgba(23, 23, 21, .05)
}

.booking-pay {
    background: var(--ink, #171715);
    border-color: var(--ink, #171715);
    color: #fff
}

.booking-pay:hover {
    background: #292926;
    border-color: #292926
}

.booking-note {
    color: #8d8b83
}

@media(max-width:900px) {
    .calendar-legend {
        justify-content: flex-start
    }
}


/* v31 — desktop booking form uses the full height of its column */
@media (min-width: 901px) {
    .booking-form-panel {
        align-self: stretch;
        justify-content: stretch;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .booking-form-panel .form-row p {
        display: grid;
        grid-template-columns: 138px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        margin: 0;
        min-height: 0;
    }

    .booking-form-panel {
        display: grid;
        grid-template-rows: repeat(4, minmax(0, 1fr));
        row-gap: 14px;
    }

    .booking-form-panel .form-row textarea {
        height: 100%;
        min-height: 76px;
        box-sizing: border-box;
    }
}

.post-edit-link {
    display: none;
}

