.restaurant-guide-hero {
    align-items: start;
}

.restaurant-guide-short-answer ol {
    gap: 12px;
}

.restaurant-guide-two-column,
.restaurant-guide-boundary-grid,
.restaurant-guide-veto-demo,
.restaurant-guide-research-grid {
    display: grid;
    gap: 12px;
}

.restaurant-guide-classifier,
.restaurant-guide-boundary-grid article,
.restaurant-guide-veto-demo article,
.restaurant-guide-research-grid article {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f6f8ff);
}

.restaurant-guide-classifier--need,
.restaurant-guide-veto-demo--no-go {
    border-color: rgba(21, 92, 255, 0.24);
    background: linear-gradient(135deg, #ffffff, #eef4ff);
}

.restaurant-guide-classifier .eyebrow,
.restaurant-guide-classifier h3,
.restaurant-guide-veto-demo .eyebrow,
.restaurant-guide-veto-demo strong,
.restaurant-guide-veto-demo p,
.restaurant-guide-research-grid strong,
.restaurant-guide-research-grid span {
    margin: 0;
}

.restaurant-guide-classifier h3 {
    margin-top: 5px;
    color: #182642;
    font-size: 1rem;
    line-height: 1.4;
}

.restaurant-guide-classifier ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #46536b;
    line-height: 1.5;
}

.restaurant-guide-nuance {
    margin: -4px 0 0;
    color: #5a6780;
    font-size: 0.94rem;
    line-height: 1.6;
}

.restaurant-guide-boundary {
    border-color: rgba(21, 92, 255, 0.18);
    background: linear-gradient(135deg, #f8faff, #eef4ff);
}

.restaurant-guide-boundary-grid strong,
.restaurant-guide-research-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #182642;
    font-size: 1rem;
}

.restaurant-guide-boundary-grid p,
.restaurant-guide-research-grid span {
    color: #46536b;
    line-height: 1.55;
}

.restaurant-guide-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 2px auto 0;
    padding: 0;
    max-width: 760px;
    list-style: none;
}

.restaurant-guide-flow li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
    padding: 0 2px;
    text-align: center;
}

.restaurant-guide-flow li:not(:last-child)::after {
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: #d6def0;
    content: "";
}

.restaurant-guide-flow li > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid var(--surface);
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 0 0 1px rgba(21, 92, 255, 0.14);
    font-size: 0.74rem;
    font-weight: 950;
}

.restaurant-guide-flow strong {
    min-width: 0;
    color: #344462;
    font-size: 0.68rem;
    line-height: 1.15;
}

.restaurant-guide-process .group-guide-process-step {
    scroll-margin-top: 76px;
}

.restaurant-guide-feature-callout {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    padding: 15px 16px;
    border: 1px solid rgba(21, 92, 255, 0.2);
    border-radius: 14px;
    background: var(--primary-soft);
}

.restaurant-guide-feature-callout .eyebrow,
.restaurant-guide-feature-callout h4,
.restaurant-guide-feature-callout p {
    margin: 0;
}

.restaurant-guide-feature-callout h4 {
    color: #182642;
    font-size: 1rem;
    line-height: 1.4;
}

.restaurant-guide-feature-callout p:last-child {
    color: #46536b;
    font-size: 0.94rem;
    line-height: 1.55;
}

.restaurant-guide-veto-demo article {
    display: grid;
    gap: 7px;
}

.restaurant-guide-veto-demo strong {
    color: #182642;
    line-height: 1.4;
}

.restaurant-guide-veto-demo p:last-child {
    color: #46536b;
    line-height: 1.55;
}

.restaurant-guide-agreement-demo {
    display: grid;
    gap: 10px;
}

.restaurant-guide-agreement-demo article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 6px 20px rgba(34, 55, 92, 0.06);
}

.restaurant-guide-agreement-demo article:first-child {
    border-color: rgba(21, 92, 255, 0.26);
    background: linear-gradient(135deg, #ffffff, #eef4ff);
}

.restaurant-guide-agreement-demo article > div > strong {
    display: block;
    margin-bottom: 5px;
    color: #182642;
}

.restaurant-guide-agreement-demo article > div > span {
    color: #5a6780;
    font-size: 0.82rem;
}

.restaurant-guide-agreement-demo article > strong {
    display: grid;
    justify-items: end;
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.restaurant-guide-agreement-demo article > strong small {
    margin-top: 4px;
    color: #71809b;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.restaurant-guide-comparison-note {
    margin: 0;
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    background: var(--surface-soft);
    color: #344462;
    line-height: 1.6;
}

.restaurant-guide-feature-grid {
    grid-template-columns: 1fr;
}

.restaurant-guide-research-grid article {
    display: grid;
    gap: 4px;
}

@media (min-width: 700px) {
    .restaurant-guide-two-column,
    .restaurant-guide-boundary-grid,
    .restaurant-guide-veto-demo,
    .restaurant-guide-research-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 760px) {
    .restaurant-guide-flow {
        margin-top: 8px;
    }

    .restaurant-guide-flow li:not(:last-child)::after {
        top: 17px;
        left: calc(50% + 21px);
        width: calc(100% - 42px);
    }

    .restaurant-guide-flow li > span {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .restaurant-guide-flow strong {
        font-size: 0.88rem;
    }

    .restaurant-guide-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .restaurant-guide-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .restaurant-guide-process .group-guide-process-step {
        gap: 12px;
    }

    .restaurant-guide-process .group-guide-do-this {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .restaurant-guide .group-guide-final-cta .use-case-primary-cta {
        align-self: center;
    }
}
