.seo-page {
    overflow: clip;
}

.seo-page *,
.seo-page *::before,
.seo-page *::after {
    min-width: 0;
}

.seo-hero {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.seo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.72fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: center;
}

.seo-hero h1 {
    max-width: 12ch;
    margin: 0.75rem 0 0;
    font-size: clamp(3rem, 6.3vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
    overflow-wrap: break-word;
}

.seo-hero-lead {
    max-width: 64ch;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.seo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.seo-chips span,
.search-phrases span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.75rem;
    border: 1px solid var(--accent-2-line);
    border-radius: 999px;
    background: var(--accent-2-soft);
    color: var(--accent-2-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.seo-map {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid rgba(155, 194, 255, 0.2);
    border-radius: 1.35rem;
    background:
        linear-gradient(145deg, rgba(110, 168, 255, 0.09), transparent 42%),
        rgba(255, 255, 255, 0.025);
}

.seo-map-query {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-map-query span,
.seo-map-page span {
    display: block;
    color: var(--accent-2-strong);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.seo-map-query strong {
    display: block;
    margin-top: 0.55rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.35;
}

.seo-map-flow {
    display: grid;
    grid-template-columns: auto minmax(1rem, 1fr) auto minmax(1rem, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    padding: 1rem 0;
}

.seo-map-flow span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.seo-map-flow i {
    height: 1px;
    background: rgba(155, 194, 255, 0.28);
}

.seo-map-page {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    overflow: hidden;
}

.seo-map-page div {
    padding: 0.9rem 1rem;
}

.seo-map-page div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-map-page p {
    margin: 0.35rem 0 0;
    color: var(--text);
    line-height: 1.45;
}

.seo-map-result {
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.seo-principles,
.faq-examples,
.ai-search,
.seo-pricing,
.seo-faq {
    background: rgba(255, 255, 255, 0.016);
}

.seo-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.6fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: end;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.seo-section-head h2,
.seo-foundation-copy h2,
.local-seo-copy h2,
.search-console-copy h2,
.seo-final-panel h2 {
    max-width: 13ch;
    margin: 0.65rem 0 0;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
}

.seo-section-head > p,
.seo-foundation-copy > p,
.local-seo-copy > p,
.search-console-copy > p,
.seo-final-panel > div > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.seo-section-head-short {
    grid-template-columns: minmax(0, 1fr);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.principles-grid article {
    min-height: 16rem;
    padding: clamp(1.4rem, 3.5vw, 2.4rem);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.principles-grid span,
.ai-principles > article > span,
.seo-checklist span,
.search-console-panel li span {
    color: var(--accent-2-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.principles-grid h3 {
    max-width: 18ch;
    margin: 2.4rem 0 0;
    font-size: clamp(1.45rem, 2.7vw, 2.15rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.principles-grid p {
    max-width: 52ch;
    margin: 0.85rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.seo-foundation-grid,
.local-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: start;
}

.seo-foundation-copy > p,
.local-seo-copy > p {
    margin-top: 1.25rem;
}

.seo-honest-note {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text) !important;
    font-weight: 650;
}

.seo-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
}

.seo-checklist li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.6rem;
    min-height: 6.5rem;
    padding: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-weight: 650;
    line-height: 1.45;
}

.industry-faq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.3rem;
    overflow: hidden;
}

.industry-faq-grid article {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.industry-faq-grid article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-faq-grid article:nth-child(even) {
    background: rgba(110, 168, 255, 0.035);
}

.industry-faq-grid > article > span,
.first-steps-grid > article > span {
    color: var(--accent-2-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.industry-faq-grid ul,
.first-steps-grid ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.industry-faq-grid li,
.first-steps-grid li {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    color: var(--muted);
    line-height: 1.5;
}

.industry-faq-grid li::before,
.first-steps-grid li::before {
    content: "";
    position: absolute;
    top: 1.18rem;
    left: 0;
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    background: var(--accent-2-strong);
}

.search-phrases {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.75rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid rgba(155, 194, 255, 0.18);
    border-radius: 1.25rem;
    background: rgba(110, 168, 255, 0.035);
}

.search-phrases span {
    min-height: 42px;
    padding-inline: 1rem;
    color: var(--text);
}

.ai-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.ai-principles article {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.025);
}

.ai-principles h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    letter-spacing: -0.035em;
}

.ai-principles p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.search-console-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.65fr);
    gap: clamp(2rem, 8vw, 7rem);
    padding: clamp(1.75rem, 5vw, 4rem);
    border: 1px solid rgba(155, 194, 255, 0.2);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgba(110, 168, 255, 0.09), transparent 46%),
        rgba(255, 255, 255, 0.025);
}

.search-console-copy > p {
    margin-top: 1.2rem;
}

.search-console-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-console-panel li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text);
    font-weight: 650;
}

.search-console-panel li:last-child {
    border-bottom: 0;
}

.seo-table-wrap {
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.022);
    overflow: hidden;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.seo-table th,
.seo-table td {
    padding: 1.15rem 1.25rem;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.seo-table th {
    border-bottom: 1px solid rgba(155, 194, 255, 0.2);
    background: rgba(110, 168, 255, 0.07);
    color: var(--accent-2-strong);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    color: var(--muted);
    line-height: 1.55;
}

.seo-table tbody tr:last-child td {
    border-bottom: 0;
}

.seo-table th:first-child,
.seo-table td:first-child {
    width: 27%;
    color: var(--text);
    font-weight: 700;
}

.seo-table th:last-child,
.seo-table td:last-child {
    width: 20%;
    color: var(--text);
    font-weight: 800;
    text-align: right;
}

.seo-note {
    max-width: 72ch;
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.first-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.3rem;
    overflow: hidden;
}

.first-steps-grid article {
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.first-steps-grid article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.first-steps-grid article:nth-child(2) {
    background: rgba(110, 168, 255, 0.045);
}

.first-steps-grid .inline-link {
    color: var(--accent-2-strong);
    text-decoration: underline;
    text-decoration-color: rgba(155, 194, 255, 0.45);
    text-underline-offset: 0.18em;
}

.first-steps-grid .inline-link:hover {
    text-decoration-color: currentColor;
}

.seo-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.seo-faq-list details {
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.025);
}

.seo-faq-list summary {
    color: var(--text);
    font-weight: 750;
    line-height: 1.4;
    cursor: pointer;
}

.seo-faq-list p {
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.seo-final {
    padding-top: 2rem;
}

.seo-final-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.65fr);
    gap: clamp(2rem, 8vw, 7rem);
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid rgba(155, 194, 255, 0.2);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 88% 10%, rgba(110, 168, 255, 0.14), transparent 28%),
        rgba(255, 255, 255, 0.035);
}

.seo-final-panel h2 {
    max-width: 12ch;
}

@media (max-width: 1024px) {
    .seo-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr);
        gap: 2.5rem;
    }

    .seo-hero h1 {
        font-size: clamp(3rem, 7vw, 4.8rem);
    }

    .industry-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-faq-grid article:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .industry-faq-grid article:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 780px) {
    .seo-hero-copy,
    .seo-hero h1,
    .seo-hero-lead {
        width: 100%;
        max-width: none;
    }

    .seo-section-head,
    .seo-foundation-copy,
    .local-seo-copy,
    .search-console-copy,
    .seo-final-panel {
        width: 100%;
        max-width: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        align-self: stretch;
        flex-basis: 100%;
    }

    .seo-section-head h2,
    .seo-foundation-copy h2,
    .local-seo-copy h2,
    .search-console-copy h2,
    .seo-final-panel h2 {
        width: 100%;
        max-width: none;
    }

    .seo-hero-grid,
    .seo-section-head,
    .seo-foundation-grid,
    .local-seo-grid,
    .search-console-panel,
    .seo-final-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .seo-hero {
        padding-top: 3.5rem;
    }

    .seo-section-head {
        align-items: start;
        gap: 1.25rem;
    }

    .principles-grid,
    .ai-principles,
    .first-steps-grid,
    .seo-faq-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .principles-grid article {
        min-height: auto;
    }

    .industry-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .industry-faq-grid article + article,
    .industry-faq-grid article:nth-child(3),
    .industry-faq-grid article:nth-child(4),
    .first-steps-grid article + article {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .first-steps-grid article:nth-child(2) {
        background: rgba(110, 168, 255, 0.045);
    }
}

@media (max-width: 640px) {
    .seo-hero h1 {
        max-width: 100%;
        font-size: clamp(2.55rem, 12.5vw, 3.8rem);
        line-height: 0.96;
    }

    .faq-examples .seo-section-head h2,
    .local-seo-copy h2,
    .ai-search .seo-section-head h2 {
        max-width: 100%;
        font-size: clamp(2rem, 8.8vw, 2.25rem);
        line-height: 1;
    }

    .seo-hero .hero-actions,
    .seo-final-panel .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .seo-hero .btn,
    .seo-final-panel .btn {
        width: 100%;
    }

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

    .seo-checklist li {
        min-height: auto;
    }

    .seo-table,
    .seo-table tbody,
    .seo-table tr,
    .seo-table td {
        display: block;
        width: 100%;
    }

    .seo-table thead {
        display: none;
    }

    .seo-table tr {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .seo-table tbody tr:last-child {
        border-bottom: 0;
    }

    .seo-table td,
    .seo-table th:first-child,
    .seo-table td:first-child,
    .seo-table th:last-child,
    .seo-table td:last-child {
        width: 100%;
        padding: 0.5rem 0;
        border: 0;
        text-align: left;
    }

    .seo-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        color: var(--accent-2-strong);
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}
