@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Variable.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --surface: rgba(255, 252, 247, 0.88);
    --surface-strong: rgba(255, 252, 247, 0.92);
    --text: #22302c;
    --muted: #61706a;
    --accent: #6f8b7d;
    --accent-strong: #546d61;
    --line: rgba(76, 95, 89, 0.14);
    --line-strong: rgba(76, 95, 89, 0.22);
    --shadow: 0 22px 48px rgba(34, 48, 44, 0.08);
    --glow-a: rgba(130, 168, 152, 0.28);
    --glow-b: rgba(194, 166, 134, 0.24);
    --container: 1180px;
    --price-surface: rgba(255, 252, 247, 0.88);
    --price-surface-strong: rgba(255, 252, 247, 0.92);
    --price-line: rgba(76, 95, 89, 0.14);
    --price-line-strong: rgba(84, 109, 97, 0.22);
    --price-muted: #61706a;
    --price-accent: #546d61;
    --price-accent-soft: rgba(111, 139, 125, 0.12);
    --price-shadow: 0 14px 30px rgba(34, 48, 44, 0.05);
    --anchor-offset: 108px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
}

.section[id] {
    scroll-margin-top: var(--anchor-offset);
}

body {
    margin: 0;
    font-family: "Manrope", "Trebuchet MS", sans-serif;
    color: var(--text);
    position: relative;
    background:
        radial-gradient(circle at 10% 0%, rgba(232, 223, 211, 0.82), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(133, 169, 153, 0.2), transparent 30%),
        linear-gradient(180deg, #f6f1ea 0%, #f1ece5 48%, #f9f6f1 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 14% 10%, rgba(255, 255, 255, 0.45), transparent 55%),
        radial-gradient(ellipse at 80% 26%, rgba(111, 139, 125, 0.08), transparent 52%),
        linear-gradient(transparent 98%, rgba(76, 95, 89, 0.06) 100%);
    background-size: auto, auto, 100% 16px;
    opacity: 0.7;
    z-index: 0;
}

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

button,
.button {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    z-index: 1;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 85% 24%, rgba(111, 139, 125, 0.08), transparent 40%),
        radial-gradient(ellipse at 12% 62%, rgba(198, 173, 145, 0.08), transparent 44%);
    z-index: -1;
}

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

.site-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: sticky;
    top: 14px;
    z-index: 20;
    background: rgba(248, 244, 238, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    box-shadow: 0 16px 26px rgba(34, 48, 44, 0.07);
    backdrop-filter: blur(10px);
    overflow: visible;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.brand-logo {
    width: 42px;
    height: 42px;
}

.brand-text {
    display: grid;
}

.brand-text strong {
    font-size: 1rem;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 0.92rem;
    flex-wrap: nowrap;
}

.site-nav a:hover {
    color: var(--text);
}

.site-nav a {
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
    transform: scaleX(0.2);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.button:hover {
    transform: none;
}

.button-primary {
    color: #f8fbf9;
    background: linear-gradient(135deg, #597367 0%, #6f8b7d 100%);
    box-shadow: 0 14px 24px rgba(84, 109, 97, 0.22);
    position: relative;
    overflow: hidden;
}

.button-primary:hover {
    background: linear-gradient(135deg, #4f685d 0%, #627c70 100%);
    box-shadow: 0 10px 20px rgba(84, 109, 97, 0.18);
}

.button-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.35s ease;
}

.button-primary:hover::after {
    transform: translateX(120%);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 252, 247, 0.96);
    border-color: var(--line-strong);
}

.button-secondary:hover {
    background: rgba(247, 242, 234, 0.96);
    border-color: rgba(84, 109, 97, 0.3);
}

.button-menu {
    display: none;
    min-height: 42px;
    width: 42px;
    padding: 0;
    border-color: var(--line);
    background: var(--surface-strong);
    color: var(--text);
    font-weight: 700;
}

.button-menu-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: background-color 0.2s ease;
}

.button-menu-icon::before,
.button-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button-menu-icon::before {
    top: -6px;
}

.button-menu-icon::after {
    top: 6px;
}

.site-header.is-mobile-nav-open .button-menu-icon {
    background: transparent;
}

.site-header.is-mobile-nav-open .button-menu-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-mobile-nav-open .button-menu-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 72px 0 56px;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.94) 0%, rgba(255, 252, 247, 0.86) 100%),
        var(--surface);
    box-shadow: var(--shadow);
    padding: 44px 42px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.hero-frame::before,
.hero-frame::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(4px);
}

.hero-frame::before {
    width: clamp(220px, 32vw, 420px);
    height: clamp(220px, 32vw, 420px);
    right: -80px;
    top: -110px;
    background: radial-gradient(circle, var(--glow-a) 0%, rgba(111, 139, 125, 0) 72%);
    animation: drift 12s ease-in-out infinite;
}

.hero-frame::after {
    width: clamp(180px, 24vw, 320px);
    height: clamp(180px, 24vw, 320px);
    right: 18%;
    bottom: -150px;
    background: radial-gradient(circle, var(--glow-b) 0%, rgba(198, 173, 145, 0) 70%);
    animation: drift 14s ease-in-out infinite reverse;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1,
.section h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(2.45rem, 3.9vw, 4rem);
    max-width: none;
    text-wrap: balance;
}

.hero-text,
.section-intro p,
.pricing-text,
.final-card p {
    color: var(--muted);
    line-height: 1.65;
}

.hero-text {
    margin: 20px 0 0;
    font-size: 1.04rem;
    max-width: 50rem;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.demo-start-form {
    margin: 0;
}

.demo-start-form .button {
    cursor: pointer;
}

.landing-alert {
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(185, 82, 82, 0.26);
    background: rgba(255, 237, 237, 0.86);
    color: #7e2f2f;
    padding: 12px 14px;
    line-height: 1.5;
    box-shadow: 0 8px 20px rgba(126, 47, 47, 0.08);
}

body.is-modal-open {
    overflow: hidden;
}

.landing-confirm-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.18), transparent 52%),
        rgba(14, 17, 16, 0.62);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.landing-confirm-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.landing-confirm-card {
    width: min(100%, 440px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 252, 247, 0.97);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
    padding: 22px;
}

.landing-confirm-card h3 {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.landing-confirm-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.landing-confirm-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.pricing-card,
.final-card {
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.pricing-title {
    margin: 0;
    display: block;
}


.section {
    padding: 82px 0;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(84, 109, 97, 0.28) 48%, transparent 100%);
    opacity: 0.58;
    pointer-events: none;
}

.section + .section {
    border-top: 0;
}

.hero + .section {
    border-top: 0;
}

.section-intro {
    max-width: 920px;
}

.section h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    max-width: none;
}

.section-intro p {
    font-size: 1rem;
    max-width: 60ch;
}

.purpose-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.purpose-card {
    padding: 20px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 252, 247, 0.84) 100%);
    box-shadow: 0 10px 24px rgba(34, 48, 44, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.purpose-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(34, 48, 44, 0.09);
    border-color: var(--line-strong);
}

.purpose-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.purpose-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.audience-cluster {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.audience-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(255, 252, 247, 0.86));
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(34, 48, 44, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.audience-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(34, 48, 44, 0.09);
    border-color: rgba(84, 109, 97, 0.34);
}

.extras-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.extra-card {
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(255, 252, 247, 0.86));
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.extra-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(34, 48, 44, 0.1);
    border-color: var(--line-strong);
}

.extra-card h3 {
    margin: 0;
}

.extra-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.pricing-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pricing-card {
    padding: 1.35rem;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border-color: var(--price-line);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 252, 247, 0.86) 100%);
    box-shadow: var(--price-shadow);
    transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    border-color: var(--price-line-strong);
    box-shadow: 0 18px 34px rgba(34, 48, 44, 0.11);
}

.pricing-card.is-dimmed {
    opacity: 0.62;
}

.pricing-card-accent {
    border-color: var(--price-line-strong);
    background: linear-gradient(180deg, var(--price-accent-soft) 0%, var(--price-surface-strong) 100%);
    box-shadow: 0 18px 34px rgba(84, 109, 97, 0.14);
}

.pricing-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--price-accent);
}

.pricing-price {
    margin-top: 0.85rem;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pricing-note {
    margin: 0.55rem 0 0;
    font-size: 0.96rem;
    color: var(--price-muted);
}

.pricing-text {
    margin: 0.55rem 0 0;
    color: var(--price-muted);
}

.final-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(111, 139, 125, 0.3), transparent 34%),
        radial-gradient(circle at 10% 90%, rgba(198, 173, 145, 0.16), transparent 30%),
        var(--surface-strong);
    border: 1px solid rgba(84, 109, 97, 0.2);
}

.final-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 40%);
}

.section-demo .final-card {
    max-width: none;
}

.final-card h2 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.final-card p {
    margin: 16px 0 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 14px, 0) scale(1.04);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (max-width: 1180px) {
    .hero {
        min-height: auto;
        padding-top: 28px;
    }
}

@media (max-width: 900px) {
    :root {
        --anchor-offset: 96px;
    }

    .site-header,
    .section {
        width: min(calc(100% - 24px), var(--container));
    }

    .site-header {
        padding: 12px 16px;
        gap: 12px;
        background: rgba(248, 244, 238, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.64);
        border-radius: 999px;
        box-shadow: 0 16px 26px rgba(34, 48, 44, 0.06);
        top: 10px;
    }

    .button-menu {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 10px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.64);
        border-radius: 16px;
        background: rgba(248, 244, 238, 0.98);
        box-shadow: 0 16px 28px rgba(34, 48, 44, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 25;
    }

    .site-header.is-mobile-nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(255, 252, 247, 0.86);
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover {
        background: rgba(111, 139, 125, 0.14);
    }

    .hero {
        width: min(calc(100% - 24px), var(--container));
        padding: 44px 0 34px;
        padding-top: 36px;
    }

    .hero-frame {
        padding: 30px 24px;
    }

    .hero-frame::before {
        width: 240px;
        height: 240px;
        right: -110px;
        top: -130px;
        opacity: 0.72;
    }

    .hero-frame::after {
        width: 190px;
        height: 190px;
        right: -28px;
        bottom: -120px;
        opacity: 0.62;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

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

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 640px) {
    :root {
        --anchor-offset: 86px;
    }

    .site-header,
    .section {
        width: calc(100% - 24px);
    }

    .site-header {
        padding: 10px 14px;
        top: 8px;
    }

    .site-nav {
        left: 10px;
        right: 10px;
        top: calc(100% + 8px);
    }

    .hero {
        width: calc(100% - 24px);
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .hero-frame {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .hero-frame::before,
    .hero-frame::after {
        opacity: 0.5;
        filter: blur(3px);
    }

    .hero-text,
    .section-intro p,
    .extra-card p,
    .pricing-text {
        font-size: 0.98rem;
    }

    .final-card,
    .pricing-card,
    .purpose-card,
    .extra-card {
        padding: 20px 18px;
    }

    .audience-cluster {
        gap: 8px;
    }

    .audience-pill {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .site-header .button {
        width: auto;
        min-height: 38px;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .site-header .button-menu {
        width: 38px;
        padding: 0;
    }

    .landing-confirm-card {
        padding: 18px;
        border-radius: 16px;
    }

    .landing-confirm-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .landing-confirm-actions .button {
        width: 100%;
    }

}
