:root {
    --restaurant-ink: #103f37;
    --restaurant-copy: #526f68;
    --restaurant-muted: #789088;
    --restaurant-line: rgba(29, 93, 80, 0.14);
    --restaurant-accent: #2d8f7e;
    --restaurant-deep: #174f45;
    --restaurant-paper: rgba(255, 255, 252, 0.7);
}

html {
    scroll-behavior: smooth;
}

body.intent-seo-page {
    min-width: 1180px;
    margin: 0;
    color: var(--restaurant-ink);
    background: #f4f7f1;
    font-family: "Inter", sans-serif;
}

body.intent-seo-page {
    background: var(--site-background);
}

.intent-seo-main {
    background: transparent;
}

.intent-seo-main {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 8%, rgba(91, 161, 143, 0.11), transparent 24%),
        radial-gradient(circle at 12% 47%, rgba(132, 180, 166, 0.08), transparent 25%),
        radial-gradient(circle at 78% 76%, rgba(52, 126, 108, 0.08), transparent 27%),
        linear-gradient(180deg, #f8f8f3 0%, #eef4ee 26%, #f6f7f1 51%, #edf4ee 76%, #f7f8f3 100%);
}

.intent-seo-shell {
    width: min(1560px, calc(100% - 128px));
    margin: 0 auto;
}

.intent-seo-scene {
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 72px 0;
    box-sizing: border-box;
}

.intent-seo-scene + .intent-seo-scene::before,
.intent-seo-faq::before {
    content: "";
    position: absolute;
    inset: 0 6% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 93, 79, 0.13) 20%, rgba(31, 93, 79, 0.13) 80%, transparent);
}

.intent-seo-kicker {
    margin: 0 0 10px;
    color: var(--restaurant-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.4;
    text-transform: uppercase;
}

.intent-seo-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    align-items: center;
    gap: clamp(70px, 8vw, 150px);
}

.intent-seo-hero__copy {
    max-width: 820px;
}

.intent-seo-hero h1 {
    max-width: 820px;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(4.5rem, 5.55vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.07em;
    line-height: 0.96;
}

.intent-seo-lead {
    max-width: 760px;
    margin: 36px 0 0;
    color: var(--restaurant-copy);
    font-size: clamp(1.08rem, 1.3vw, 1.42rem);
    line-height: 1.7;
}

.intent-seo-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
}

.intent-seo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 252px;
    min-height: 58px;
    padding: 0 24px;
    border: 1px solid var(--restaurant-line);
    border-radius: 14px;
    color: var(--restaurant-ink);
    font-size: 0.96rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.intent-seo-button:hover {
    transform: translateY(-2px);
}

.intent-seo-button--primary {
    border-color: var(--restaurant-deep);
    color: #f9fbf7;
    background: var(--restaurant-deep);
}

.intent-seo-button--secondary {
    background: rgba(255, 255, 252, 0.45);
}

.intent-seo-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 720px;
}

.intent-seo-preview::before {
    content: "";
    position: absolute;
    width: 600px;
    aspect-ratio: 1;
    border: 1px solid rgba(37, 107, 91, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.16), 0 0 0 112px rgba(255, 255, 255, 0.1);
}

.intent-seo-preview__meta {
    display: none;
}

.intent-seo-preview__meta span {
    color: var(--restaurant-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.intent-seo-preview__meta small {
    color: var(--restaurant-muted);
    font-size: 0.82rem;
}

.intent-seo-phone {
    position: relative;
    z-index: 1;
    width: 344px;
    aspect-ratio: 9 / 19.35;
    padding: 10px;
    border: 1px solid rgba(10, 50, 43, 0.24);
    border-radius: 46px;
    background: #122d29;
    box-shadow: 0 38px 80px rgba(20, 67, 57, 0.2);
    box-sizing: border-box;
}

.intent-seo-phone iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 37px;
    background: #fff;
    opacity: 0;
    transition: opacity 240ms ease;
}

.intent-seo-phone.is-ready iframe {
    opacity: 1;
}

.intent-seo-phone__loader {
    position: absolute;
    inset: 10px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    border-radius: 37px;
    color: rgba(237, 246, 241, .7);
    background: linear-gradient(155deg, #173c35, #102e29);
    transition: opacity 200ms ease, visibility 200ms ease;
}

.intent-seo-phone__loader span {
    width: 28px;
    aspect-ratio: 1;
    border: 1px solid rgba(222, 241, 233, .22);
    border-top-color: rgba(222, 241, 233, .86);
    border-radius: 50%;
    animation: intentDemoLoading 800ms linear infinite;
}

.intent-seo-phone__loader small {
    font-size: .68rem;
    letter-spacing: .08em;
}

.intent-seo-phone.is-ready .intent-seo-phone__loader {
    visibility: hidden;
    opacity: 0;
}

.intent-seo-section-heading {
    max-width: 1040px;
}

.intent-seo-section-heading h2,
.intent-seo-closing h2,
.intent-seo-faq h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(3rem, 4.5vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1;
}

.intent-seo-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 72px;
}

.intent-seo-comparison article {
    min-height: 330px;
    padding: 42px 46px;
    border: 1px solid var(--restaurant-line);
    background: rgba(255, 255, 252, 0.52);
    box-sizing: border-box;
}

.intent-seo-comparison article:first-child {
    border-radius: 9px 0 0 9px;
}

.intent-seo-comparison article.intent-seo-comparison__izlek {
    border-color: rgba(17, 73, 62, 0.28);
    border-radius: 0 9px 9px 0;
    color: #f6faf6;
    background: rgba(20, 79, 68, 0.93);
}

.intent-seo-comparison article > span {
    display: block;
    margin-bottom: 46px;
    color: var(--restaurant-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.intent-seo-comparison__izlek > span {
    color: #90d0c0;
}

.intent-seo-comparison h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.9rem, 2.35vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.intent-seo-comparison p {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--restaurant-copy);
    font-size: 1.03rem;
    line-height: 1.72;
}

.intent-seo-comparison__izlek p {
    color: rgba(245, 251, 247, 0.72);
}

.intent-seo-flow__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.74fr) minmax(620px, 1.26fr);
    gap: clamp(80px, 10vw, 180px);
    align-items: start;
}

.intent-seo-flow__heading {
    position: sticky;
    top: 150px;
}

.intent-seo-flow__heading h2 {
    font-size: clamp(3.2rem, 4.2vw, 5rem);
}

.intent-seo-flow__heading > p:last-child {
    margin: 30px 0 0;
    color: var(--restaurant-copy);
    font-size: 1.08rem;
    line-height: 1.72;
}

.intent-seo-steps {
    border-top: 1px solid var(--restaurant-line);
}

.intent-seo-step {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 26px;
    padding: 31px 0;
    border-bottom: 1px solid var(--restaurant-line);
}

.intent-seo-step > span,
.intent-seo-transaction-grid article > span {
    color: var(--restaurant-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.intent-seo-step h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.52rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.intent-seo-step p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--restaurant-copy);
    font-size: 1rem;
    line-height: 1.68;
}

.intent-seo-transaction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 68px;
    border-top: 1px solid var(--restaurant-line);
    border-bottom: 1px solid var(--restaurant-line);
}

.intent-seo-transaction-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.intent-seo-transaction-grid--single article {
    min-height: 240px;
}

.intent-seo-transaction-grid article {
    min-height: 275px;
    padding: 34px 38px;
}

.intent-seo-transaction-grid article + article {
    border-left: 1px solid var(--restaurant-line);
}

.intent-seo-transaction-grid h3 {
    margin: 52px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.72rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.intent-seo-transaction-grid p {
    margin: 18px 0 0;
    color: var(--restaurant-copy);
    font-size: 0.98rem;
    line-height: 1.66;
}

.intent-seo-closing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 80px;
    margin-top: 68px;
}

.intent-seo-closing > div > span {
    display: block;
    margin-bottom: 10px;
    color: var(--restaurant-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.intent-seo-closing h2 {
    max-width: 900px;
    font-size: clamp(2.7rem, 3.8vw, 4.6rem);
}

.intent-seo-closing > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 310px;
    min-height: 62px;
    padding: 0 26px;
    border-radius: 14px;
    color: #f8fbf7;
    background: var(--restaurant-deep);
    font-size: 0.96rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.intent-seo-faq {
    position: relative;
    padding: 118px 0 130px;
}

.intent-seo-faq__layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(80px, 10vw, 180px);
}

.intent-seo-faq h2 {
    max-width: 520px;
    font-size: clamp(2.8rem, 3.7vw, 4.4rem);
}

.intent-seo-faq__list details {
    border-bottom: 1px solid var(--restaurant-line);
}

.intent-seo-faq__list details:first-child {
    border-top: 1px solid var(--restaurant-line);
}

.intent-seo-faq__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 30px;
    cursor: pointer;
    list-style: none;
    font-family: "Manrope", sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
}

.intent-seo-faq__list summary::-webkit-details-marker {
    display: none;
}

.intent-seo-faq__list summary i {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.intent-seo-faq__list summary i::before,
.intent-seo-faq__list summary i::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 1px;
    background: var(--restaurant-accent);
}

.intent-seo-faq__list summary i::after {
    transform: rotate(90deg);
    transition: transform 180ms ease;
}

.intent-seo-faq__list details[open] summary i::after {
    transform: rotate(0deg);
}

.intent-seo-faq__list details p {
    max-width: 850px;
    margin: -4px 52px 28px 0;
    color: var(--restaurant-copy);
    font-size: 1rem;
    line-height: 1.72;
}

@media (max-width: 1440px) {
    .intent-seo-shell {
        width: min(1320px, calc(100% - 96px));
    }

    .intent-seo-hero__layout {
        grid-template-columns: minmax(0, 1fr) 480px;
        gap: 70px;
    }

    .intent-seo-preview {
        min-height: 620px;
    }

    .intent-seo-preview::before {
        width: 470px;
    }

    .intent-seo-phone {
        width: 292px;
    }

    .intent-seo-flow__layout {
        grid-template-columns: minmax(330px, 0.72fr) minmax(540px, 1.28fr);
        gap: 90px;
    }
}

@media (max-width: 860px) {
    body.intent-seo-page {
        min-width: 0;
        overflow-x: clip;
    }

    .intent-seo-page > .site-header {
        position: sticky;
        top: 0;
        z-index: 1003;
    }

    .intent-seo-shell {
        width: calc(100% - 40px);
    }

    .intent-seo-scene {
        min-height: 0;
        padding: 76px 0;
    }

    .intent-seo-hero {
        padding-top: 50px;
    }

    .intent-seo-scene + .intent-seo-scene::before,
    .intent-seo-faq::before {
        inset-inline: 20px;
    }

    .intent-seo-hero__layout,
    .intent-seo-flow__layout,
    .intent-seo-faq__layout {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .intent-seo-hero h1 {
        max-width: none;
        font-size: clamp(2.75rem, 12.5vw, 3.65rem);
        line-height: .98;
    }

    .intent-seo-lead,
    .intent-seo-flow__heading > p:last-child,
    .intent-seo-comparison p,
    .intent-seo-step p,
    .intent-seo-transaction-grid p,
    .intent-seo-faq__list details p {
        font-size: 1rem;
    }

    .intent-seo-lead {
        margin-top: 24px;
    }

    .intent-seo-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
    }

    .intent-seo-button {
        width: 100%;
        min-width: 0;
        min-height: 56px;
        padding-inline: 18px;
        font-size: .9375rem;
    }

    .intent-seo-preview {
        min-height: 0;
        padding: 22px 0;
        border: 1px solid rgba(31, 83, 69, .1);
        border-radius: 28px;
        background: rgba(255, 255, 255, .4);
        box-shadow: 0 24px 64px rgba(31, 73, 61, .055);
    }

    .intent-seo-preview::before {
        content: none;
    }

    .intent-seo-preview__meta {
        top: 12px;
        right: 0;
    }

    .intent-seo-phone {
        width: min(64vw, 240px);
        padding: 0;
        border: 2px solid #123b34;
        border-radius: 32px;
        background: transparent;
        box-shadow: 0 24px 54px rgba(20, 67, 57, .17);
        overflow: hidden;
    }

    .intent-seo-phone iframe {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 390px;
        max-width: none;
        height: 846px;
        border-radius: 48px;
        transform: scale(.605128);
        transform-origin: top left;
    }

    .intent-seo-phone__loader {
        inset: 2px;
        border-radius: 29px;
    }

    .intent-seo-section-heading h2,
    .intent-seo-flow__heading h2,
    .intent-seo-closing h2,
    .intent-seo-faq h2 {
        max-width: none;
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.02;
    }

    .intent-seo-comparison {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .intent-seo-comparison article {
        min-height: 0;
        padding: 30px 24px 34px;
    }

    .intent-seo-comparison article:first-child {
        border-radius: 18px 18px 0 0;
    }

    .intent-seo-comparison article.intent-seo-comparison__izlek {
        border-radius: 0 0 18px 18px;
    }

    .intent-seo-comparison article > span {
        margin-bottom: 28px;
    }

    .intent-seo-comparison h3 {
        font-size: 1.75rem;
    }

    .intent-seo-flow__heading {
        position: static;
    }

    .intent-seo-steps {
        border-top: 0;
    }

    .intent-seo-step {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 26px 0;
    }

    .intent-seo-step h3 {
        font-size: 1.3rem;
    }

    .intent-seo-transaction-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .intent-seo-transaction-grid article {
        min-height: 0;
        padding: 28px 4px 30px;
    }

    .intent-seo-transaction-grid article + article {
        border-top: 1px solid var(--restaurant-line);
        border-left: 0;
    }

    .intent-seo-transaction-grid h3 {
        margin-top: 22px;
        font-size: 1.5rem;
    }

    .intent-seo-closing {
        align-items: stretch;
        flex-direction: column;
        gap: 28px;
        margin-top: 48px;
    }

    .intent-seo-closing > a {
        flex: none;
        width: 100%;
        min-height: 58px;
        padding-inline: 18px;
    }

    .intent-seo-faq {
        padding: 76px 0 94px;
    }

    .intent-seo-faq__list summary {
        min-height: 72px;
        gap: 18px;
        font-size: 1rem;
    }

    .intent-seo-faq__list details p {
        margin-right: 34px;
    }
}

@media (max-width: 340px) {
    .intent-seo-phone {
        width: 216px;
    }

    .intent-seo-phone iframe {
        transform: scale(.54359);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .intent-seo-button {
        transition: none;
    }

    .intent-seo-phone iframe,
    .intent-seo-phone__loader {
        transition: none;
    }

    .intent-seo-phone__loader span {
        animation: none;
    }
}

@keyframes intentDemoLoading {
    to { transform: rotate(360deg); }
}
