/* ===================================================================
   B2B SURFACES (wl-*)
   -------------------------------------------------------------------
   Shared by /, /api and /storefront. Extracted from an inline block
   in index.html so the three pages cannot drift apart. Depends on the
   tokens in style.css and on body.register-tech.
   =================================================================== */
.wl-hero {
    padding: 120px 20px var(--section-y);
    text-align: center;
    background: var(--ground-sunk);
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.wl-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: none;
    pointer-events: none;
}

.wl-hero-badge {
    display: inline-block;
    background: rgba(0, 122, 255, 0.2);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: var(--step--1);
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 122, 255, 0.3);
    letter-spacing: 0.5px;
}

.wl-hero h1 {
    font-size: var(--step-5);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.wl-hero h1 span {
    color: var(--accent);
}

.wl-hero-subtitle {
    font-size: var(--step-1);
    color: var(--ink-body);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.5;
    position: relative;
}

.wl-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4) var(--space-5);
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

@media (min-width: 56rem) {
    .wl-hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wl-stat {
    padding-top: var(--space-2);
    border-top: 1px solid var(--rule);
}

.wl-stat-value {
    font-size: var(--step-3);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin: 0 0 8px;
    font-variant-numeric: tabular-nums;
}

.wl-stat-label {
    font-size: var(--step--1);
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    max-width: none;
}

.wl-hero-cta-note {
    font-size: var(--step--1);
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 460px;
    margin: 0 auto var(--space-6);
}

.wl-hero-cta {
    margin-top: 44px;
    margin-bottom: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.wl-hero-cta .wl-cta-secondary {
    padding: 14px 28px;
    font-size: var(--step-0);
}

@media (min-width: 620px) {
    .wl-hero-cta {
        flex-flow: row wrap;
        justify-content: center;
    }
}

/* The note is a sibling of .wl-hero-cta, never a child of it. As a flex item
   its `margin: … auto` would absorb the container's free space and shove the
   buttons to the left edge — auto margins win over justify-content — while
   max-width clamped flex-basis:100% so it never wrapped to its own line. */

.wl-hero-cta .cta-large-button {
    background: var(--accent);
    color: var(--on-accent);
    border: none;
    padding: 18px 40px;
    border-radius: var(--radius);
    font-size: var(--step-1);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.wl-hero-cta .cta-large-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.4);
}

/* Commercial case + project shape */
.wl-case,
.wl-project {
    padding: var(--section-y) 20px;
}

.wl-case {
    background: var(--ground-sunk);
    border-top: 1px solid var(--rule);
}

.wl-case-inner,
.wl-project-inner {
    max-width: 900px;
    margin: 0 auto;
}

.wl-case h2,
.wl-project h2 {
    font-size: var(--step-3);
    margin-bottom: var(--space-5);
    max-width: 22ch;
}

.wl-case-grid {
    display: grid;
    gap: var(--space-5);
}

.wl-case-item h3 {
    font-size: var(--step-1);
    margin-bottom: var(--space-2);
}

.wl-case-item p,
.wl-project-note {
    color: var(--ink-body);
    font-size: var(--step-0);
    line-height: var(--leading-body);
}

/* The attach argument. Given room rather than squeezed into the grid,
   because it is the one section a commercial buyer reads properly. */
.wl-attach {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--rule);
    max-width: var(--measure);
}

.wl-attach h3 {
    font-size: var(--step-2);
    margin-bottom: var(--space-3);
}

.wl-attach p {
    color: var(--ink-body);
    font-size: var(--step-1);
    line-height: var(--leading-body);
    margin-bottom: var(--space-3);
}

.wl-attach-close {
    color: var(--ink) !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.wl-project-cols {
    display: grid;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.wl-project-cols h3 {
    font-size: var(--step-1);
    margin-bottom: var(--space-3);
}

.wl-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wl-list li {
    position: relative;
    padding: 0 0 var(--space-2) var(--space-4);
    color: var(--ink-body);
    font-size: var(--step-0);
    line-height: var(--leading-body);
}

.wl-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.wl-project-note {
    padding-top: var(--space-4);
    border-top: 1px solid var(--rule);
    max-width: var(--measure);
}

@media (min-width: 700px) {
    .wl-case-grid,
    .wl-project-cols {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-6);
    }
}

.wl-arch-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
}

/* Real product screenshot. The only image on this page, and the only
   thing here a prospect cannot get from prose. */
.wl-proof {
    padding: var(--section-y) 20px;
    background: var(--ground-sunk);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.wl-proof-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-5);
    align-items: start;
}

.wl-proof figure {
    margin: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ground-raised);
}

.wl-proof img {
    display: block;
    width: 100%;
    height: auto;
}

/* Two proofs stacked in one frame: a hairline stops them reading as a single
   screenshot, and the caption belongs to the pair. */
.wl-proof figure img + img {
    border-top: 1px solid var(--rule);
}

.wl-proof figcaption {
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--rule);
    font-size: var(--step--1);
    color: var(--ink-muted);
}

.wl-proof h2 {
    font-size: var(--step-3);
    margin-bottom: var(--space-3);
}

.wl-proof p {
    color: var(--ink-body);
    font-size: var(--step-0);
    line-height: var(--leading-body);
    margin-bottom: var(--space-3);
    max-width: var(--measure);
}

@media (min-width: 780px) {
    .wl-proof-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
}

/* Architecture Section */
.wl-architecture {
    padding: var(--section-y) 20px;
    background-color: var(--ground);
}

.wl-architecture-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-6);
    align-items: start;
}

.wl-architecture-content p {
    max-width: var(--measure);
}

.wl-architecture-visual {
    display: flex;
    justify-content: center;
}

.wl-section-label {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: var(--step--1);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wl-architecture-content h2 {
    font-size: var(--step-3);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--ink);
}

.wl-architecture-content p {
    font-size: var(--step-1);
    color: var(--ink-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.wl-arch-badges {
    display: grid;
    gap: 0;
    margin-top: var(--space-5);
    border-top: 1px solid var(--rule);
}

.wl-arch-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--rule);
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--ink);
}

.wl-arch-badge i {
    color: var(--accent);
    font-size: var(--step-0);
}

.wl-engine-diagram {
    background: var(--ground-sunk);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.wl-engine-layer {
    background: var(--ground-raised);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s;
}

.wl-engine-layer:hover {
    transform: translateX(5px);
}

.wl-engine-layer:last-child {
    margin-bottom: 0;
}

.wl-engine-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--step-2);
    flex-shrink: 0;
}

.wl-engine-layer-text h5 {
    font-size: var(--step-0);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink);
}

.wl-engine-layer-text p {
    font-size: var(--step--1);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.4;
}

/* Advantages Section */
.wl-advantages {
    padding: 100px 20px;
    background-color: var(--ground-sunk);
}

.wl-advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.wl-advantages-header h2 {
    font-size: var(--step-3);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

.wl-advantages-header p {
    font-size: var(--step-1);
    color: var(--ink-muted);
    max-width: 700px;
    margin: 0 auto;
}

.wl-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.wl-advantage-card {
    background: var(--ground-raised);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.wl-advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Watermark index. Was a hard-coded rgba(0,122,255,.06) tuned for a white
   card, which on a dark one turns into an indeterminate smudge. Driving it
   from the accent token with an opacity keeps it deliberate in both registers. */
/* Icon sits at the card's top-left, opposite the ghosted number. It is a
   signpost while scanning, so it stays quiet: accent colour, no chrome. */
/* Single proof shot closing the capability grid. Narrower than the grid on
   purpose: it is evidence for one claim, not a hero image. */
.wl-advantage-proof {
    max-width: 680px;
    margin: var(--space-6) auto 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ground-raised);
}

.wl-advantage-proof img {
    display: block;
    width: 100%;
    height: auto;
}

.wl-advantage-proof figcaption {
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--rule);
    font-size: var(--step--1);
    line-height: var(--leading-body);
    color: var(--ink-muted);
}

.wl-advantage-proof figcaption strong {
    color: var(--ink);
    font-weight: 600;
}

.wl-advantage-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: var(--space-3);
}

.wl-advantage-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.13;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

.wl-advantage-card h3 {
    font-size: var(--step-2);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
    /* Keeps the heading clear of the watermark instead of running under it. */
    padding-right: 3.25rem;
}

.wl-advantage-card p {
    font-size: var(--step-0);
    color: var(--ink-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.wl-advantage-tag {
    display: inline-block;
    background: rgba(0, 122, 255, 0.08);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: var(--step--1);
    font-weight: 600;
}

/* Comparison Section */
.wl-comparison {
    padding: 100px 20px;
    background: var(--ground);
}

.wl-comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.wl-comparison-header h2 {
    font-size: var(--step-3);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

.wl-comparison-header p {
    font-size: var(--step-1);
    color: var(--ink-muted);
    max-width: 700px;
    margin: 0 auto;
}

.wl-comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.wl-comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--ground-raised);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.wl-comparison-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--ground-sunk);
    border-bottom: 1px solid var(--rule);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wl-comparison-table th:first-child {
    width: 35%;
}

.wl-comparison-table th:nth-child(2) {
    background: rgba(0, 122, 255, 0.08);
    color: var(--accent);
    text-align: center;
}

.wl-comparison-table th:nth-child(3),
.wl-comparison-table th:nth-child(4) {
    text-align: center;
}

.wl-comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--rule-soft);
    font-size: var(--step-0);
    color: var(--ink-body);
}

.wl-comparison-table td:nth-child(2) {
    background: rgba(0, 122, 255, 0.03);
    text-align: center;
    font-weight: 600;
    color: var(--ink);
}

.wl-comparison-table td:nth-child(3),
.wl-comparison-table td:nth-child(4) {
    text-align: center;
}

.wl-comparison-table tr:last-child td {
    border-bottom: none;
}

.wl-check {
    color: var(--status-live);
    font-size: var(--step-1);
}

.wl-cross {
    color: var(--status-none);
    font-size: var(--step-1);
}

.wl-partial {
    color: var(--status-part);
    font-size: var(--step--1);
    font-weight: 500;
}

/* Row where GoChatTravel is the weaker option. Marked visually so it
   reads as a deliberate disclosure, not an oversight. */

.wl-comparison-table th[scope="row"] {
    text-align: left;
    font-size: var(--step-0);
    font-weight: 500;
    color: var(--ink-body);
    background: transparent;
    text-transform: none;
    letter-spacing: normal;
    padding: 16px 24px;
    border-bottom: 1px solid var(--rule-soft);
}

@media (max-width: 480px) {
}

/* Integration Section */
.wl-integration {
    padding: 100px 20px;
    background: var(--ground-sunk);
}

.wl-integration-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.wl-integration-header {
    text-align: center;
    margin-bottom: 60px;
}

.wl-integration-header h2 {
    font-size: var(--step-3);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

.wl-integration-header p {
    font-size: var(--step-1);
    color: var(--ink-muted);
    max-width: 700px;
    margin: 0 auto;
}

.wl-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.wl-integration-card {
    background: var(--ground-raised);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.wl-integration-card:hover {
    transform: translateY(-5px);
}

.wl-integration-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
    background: var(--accent);
    color: var(--ink);
}

.wl-integration-card h3 {
    font-size: var(--step-1);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
}

.wl-integration-card p {
    font-size: var(--step-0);
    color: var(--ink-body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.wl-integration-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.wl-integration-list li {
    padding: 8px 0;
    font-size: var(--step--1);
    color: var(--ink-body);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wl-integration-list li i {
    color: var(--accent);
    font-size: var(--step--1);
    flex-shrink: 0;
}

/* Partners Section */
.wl-partners {
    padding: 100px 20px;
    background: var(--ground);
}

.wl-partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.wl-partners-header h2 {
    font-size: var(--step-3);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

.wl-partners-header p {
    font-size: var(--step-1);
    color: var(--ink-muted);
    max-width: 700px;
    margin: 0 auto;
}

.wl-partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 1000px;
    margin: 0 auto;
}

.wl-partner-card {
    background: var(--ground-raised);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wl-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

        .wl-partner-card h3 {
    font-size: var(--step-1);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
}

.wl-partner-card p {
    font-size: var(--step-0);
    color: var(--ink-body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.wl-partner-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
}

.wl-partner-benefits li {
    padding: 6px 0;
    font-size: var(--step--1);
    color: var(--ink-body);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wl-partner-benefits li i {
    color: var(--accent);
    font-size: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* CTA Section */
.wl-cta {
    padding: 120px 20px;
    background: var(--ground-sunk);
    text-align: center;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.wl-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: none;
    pointer-events: none;
}

.wl-cta h2 {
    font-size: var(--step-4);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.wl-cta p {
    font-size: var(--step-1);
    color: var(--ink-body);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.5;
    position: relative;
}

.wl-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.wl-cta-primary {
    background: var(--accent);
    color: var(--on-accent);
    border: none;
    padding: 18px 40px;
    border-radius: var(--radius);
    font-size: var(--step-1);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.wl-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.4);
}

.wl-cta-secondary {
    background: var(--ground-raised);
    color: var(--ink);
    border: 1px solid var(--rule);
    padding: 18px 40px;
    border-radius: var(--radius);
    font-size: var(--step-1);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.wl-cta-secondary:hover {
    background: var(--ground-raised);
    transform: scale(1.03);
}

/* Responsive */
/* -----------------------------------------------------------------
   Mobile-first breakpoints. Sizes come from the token scale, so these
   only change layout — no hardcoded type sizes fighting the scale.
   ----------------------------------------------------------------- */

@media (min-width: 34rem) {
    .wl-arch-badges {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-5);
    }
}

@media (min-width: 56rem) {
    .wl-architecture-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-7);
    }

    .wl-partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
        max-width: 1200px;
    }

    .wl-advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    }
}

/* ---------- Comparison table: cards below 46rem ----------
   A four-column matrix cannot be read on a 375px screen, and
   side-scrolling it is worse. Each row becomes its own card with the
   column names restored from data-col. */
@media (max-width: 46rem) {
    .wl-comparison-table table,
    .wl-comparison-table tbody,
    .wl-comparison-table tr,
    .wl-comparison-table td,
    .wl-comparison-table th {
        display: block;
        width: auto;
    }

    .wl-comparison-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .wl-comparison-table table {
        box-shadow: none;
        background: none;
        border-radius: 0;
    }

    .wl-comparison-table tr {
        border: 1px solid var(--rule);
        border-radius: var(--radius);
        background: var(--ground-raised);
        margin-bottom: var(--space-3);
        padding: var(--space-3) var(--space-4);
    }

    .wl-comparison-table th[scope="row"] {
        padding: 0 0 var(--space-2);
        font-size: var(--step-0);
        font-weight: 600;
        color: var(--ink);
        border-bottom: 1px solid var(--rule);
        margin-bottom: var(--space-2);
    }

    .wl-comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: var(--space-3);
        padding: 4px 0;
        border: none;
        background: none !important;
        text-align: right;
        font-size: var(--step--1);
    }

    .wl-comparison-table td::before {
        content: attr(data-col);
        color: var(--ink-muted);
        text-align: left;
        font-size: var(--step--1);
    }
}

/* Centred multi-line copy is hard to read in a narrow column, and the
   ragged right edge is what makes a phone layout look unfinished.
   Everything goes left-aligned until there is room to centre it. */
@media (max-width: 56rem) {
    .wl-hero,
    .wl-advantages-header,
    .wl-comparison-header,
    .wl-integration-header,
    .wl-partners-header,
    .wl-cta {
        text-align: left;
    }

    .wl-hero-subtitle,
    .wl-hero-cta-note,
    .wl-advantages-header p,
    .wl-comparison-header p,
    .wl-integration-header p,
    .wl-partners-header p,
    .wl-cta p {
        margin-left: 0;
        margin-right: 0;
    }

    .wl-hero-cta {
        align-items: stretch;
    }

    .wl-hero-cta .cta-large-button,
    .wl-hero-cta .wl-cta-secondary,
    .wl-cta-buttons a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .wl-cta-buttons {
        flex-direction: column;
    }

    .wl-integration-card,
    .wl-partner-card {
        text-align: left;
    }

    .wl-integration-card-icon {
        margin-left: 0;
    }
}

/* Self-qualification. Numbered, hairline-separated, no card chrome —
   it should read as a checklist, not as four more feature boxes. */
.wl-fit {
    padding: var(--section-y) 20px;
}

.wl-fit-inner {
    max-width: 900px;
    margin: 0 auto;
}

.wl-fit h2 {
    font-size: var(--step-3);
    margin-bottom: var(--space-5);
    max-width: 24ch;
}

.wl-fit-list {
    list-style: none;
    counter-reset: fit;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
}

.wl-fit-list li {
    counter-increment: fit;
    position: relative;
    padding: var(--space-4) 0 var(--space-4) 2.5rem;
    border-top: 1px solid var(--rule);
}

.wl-fit-list li:last-child {
    border-bottom: 1px solid var(--rule);
}

.wl-fit-list li::before {
    content: counter(fit);
    position: absolute;
    left: 0;
    top: var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--step--1);
    color: var(--accent);
}

.wl-fit-list h3 {
    font-size: var(--step-1);
    margin-bottom: var(--space-2);
}

.wl-fit-list p {
    color: var(--ink-body);
    font-size: var(--step-0);
    line-height: var(--leading-body);
    max-width: var(--measure);
}

@media (min-width: 56rem) {
    .wl-fit-list {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-6);
    }

    .wl-fit-list li:nth-child(2) {
        border-top: 1px solid var(--rule);
    }

    .wl-fit-list li:nth-child(3) {
        border-bottom: none;
    }
}

/* Pilot offer */
.wl-pilot {
    padding: var(--section-y) 20px;
    background: var(--ground-sunk);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.wl-pilot-inner {
    max-width: 900px;
    margin: 0 auto;
}

.wl-pilot h2 {
    font-size: var(--step-3);
    margin-bottom: var(--space-3);
}

.wl-pilot-lead {
    font-size: var(--step-1);
    line-height: var(--leading-body);
    color: var(--ink-body);
    max-width: var(--measure);
    margin-bottom: var(--space-6);
}

.wl-pilot-cols {
    display: grid;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.wl-pilot-cols h3 {
    font-size: var(--step-1);
    margin-bottom: var(--space-3);
}

.wl-pilot-close {
    padding-top: var(--space-4);
    border-top: 1px solid var(--rule);
    color: var(--ink);
    font-size: var(--step-0);
    line-height: var(--leading-body);
    max-width: var(--measure);
    margin-bottom: var(--space-5);
}

@media (min-width: 700px) {
    .wl-pilot-cols {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-6);
    }
}

/* ===================================================================
   /api — developer surface
   -------------------------------------------------------------------
   Additions for api.html. Everything here reuses the tokens and the
   wl-* section shells above; only the developer-specific pieces
   (endpoint table, code block, adapter matrix) are new.
   =================================================================== */

/* --- Proof cards: the three cart facts ------------------------------ */
.wl-api-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin: var(--space-6) 0 var(--space-5);
}

@media (min-width: 60rem) {
    .wl-api-proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wl-api-proof {
    background: var(--ground-raised);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.wl-api-proof h3 {
    font-size: var(--step-2);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--ink);
    margin: 0 0 var(--space-2);
}

.wl-api-proof p {
    font-size: var(--step-0);
    line-height: var(--leading-body);
    color: var(--ink-body);
    margin: 0;
}

/* --- Inline code. One treatment, used everywhere on the page. ------- */
.wl-api-proof code,
.wl-api-endpoints code,
.wl-project-note code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--accent-wash);
    color: var(--accent-hover);
    padding: 0.1em 0.35em;
    border-radius: var(--radius-sm);
    word-break: break-word;
}

/* --- Endpoint table ------------------------------------------------- */
.wl-api-endpoints {
    width: 100%;
    max-width: var(--page-max);
    border-collapse: collapse;
    margin: var(--space-5) 0;
}

.wl-api-endpoints th[scope="row"] {
    text-align: left;
    vertical-align: top;
    width: 8rem;
    padding: var(--space-3) var(--space-3) var(--space-3) 0;
    border-top: 1px solid var(--rule);
    font-size: var(--step--1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    color: var(--ink-muted);
}

.wl-api-endpoints td {
    padding: var(--space-3) 0;
    border-top: 1px solid var(--rule);
}

/* Each endpoint on its own line — these strings are long and wrapping
   them mid-path makes them unreadable. */
.wl-api-endpoints td code {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: var(--space-1);
}

.wl-api-endpoints td code:last-child {
    margin-bottom: 0;
}

/* --- Adapter matrix ------------------------------------------------- */
/* Three plain columns; the accent-tinted second column of the homepage
   comparison would read as "recommended" here, which it is not. */
.wl-api-adapters table th:nth-child(2),
.wl-api-adapters table td:nth-child(2),
.wl-api-adapters table th:nth-child(3),
.wl-api-adapters table td:nth-child(3) {
    background: none;
    text-align: left;
    color: var(--ink-body);
    font-weight: 400;
}

.wl-api-adapters table th[scope="row"] {
    background: none;
    text-transform: none;
    letter-spacing: normal;
    font-size: var(--step-0);
    color: var(--ink);
    border-bottom: 1px solid var(--rule-soft);
}

/* --- Quickstart code block ------------------------------------------ */
/* --- Form slot ------------------------------------------------------ */
/* Placeholder styling while the Tally embed is not wired in. Once the
   iframe is dropped in, this box is what it sits inside. */
.wl-api-form-slot {
    background: var(--ground-raised);
    border: 1px dashed var(--rule);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin: var(--space-5) auto;
    max-width: var(--measure);
    color: var(--ink-body);
}

.wl-api-form-slot p {
    margin: 0 0 var(--space-1);
}

.wl-api-form-slot p:last-child {
    margin-bottom: 0;
}

.wl-api-form-slot iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* Embedded Google Form. The iframe cannot resize itself to its content —
   cross-origin — so the height is fixed and generous enough that the whole
   form fits inside it. Deliberately no max-height: capping it would nest a
   scrollbar inside a page that already scrolls, which is worse than simply
   letting the page get longer. Adjust the height once the real form exists. */
.wl-api-form-slot iframe {
    min-height: 40rem;
    height: 2185px;   /* Google's own measurement of this form. Re-measure if
                         questions are added or removed. */
}

@media (max-width: 48rem) {
    .wl-api-form-slot {
        padding: var(--space-2);
    }
}

/* --- /api prose sections -------------------------------------------- */
/* .wl-project was built for two columns of short lists; these sections run
   real paragraphs through it, so they need their own rhythm and measure. */
.wl-api-prose .wl-project-inner > p,
.wl-api-prose .wl-project-inner > div > p {
    max-width: 68ch;
    margin: 0 0 var(--space-4);
    font-size: var(--step-0);
    line-height: var(--leading-body);
    color: var(--ink-body);
}

.wl-api-prose .wl-project-inner > p:last-of-type,
.wl-api-prose .wl-project-inner > div > p:last-of-type {
    margin-bottom: 0;
}

.wl-api-prose code,
.wl-architecture-content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--accent-wash);
    color: var(--accent-hover);
    padding: 0.1em 0.35em;
    border-radius: var(--radius-sm);
    word-break: break-word;
}

/* --- Inline claim pills ---------------------------------------------- */
/* Replaces .wl-arch-badges here: that one is a bordered row list sized for
   the narrow architecture column and falls apart across a full-width block. */
.wl-api-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0 var(--space-4);
}

.wl-api-badges li {
    background: var(--accent-wash);
    color: var(--accent-hover);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: var(--step--1);
    font-weight: 600;
}

/* Inline-code styling must not reach inside a code block: the .wl-api-prose
   rule above matches `code` at the same specificity and is declared later. */
.wl-api-prose pre code {
    font-family: inherit;
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

/* The comparison table is capped at 1000px and centred; its trailing note has
   no container of its own, so it needs the same measure to line up with it. */
.wl-comparison > .wl-project-note {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===================================================================
   DIAGRAMS
   -------------------------------------------------------------------
   Inline SVG rather than exported images: it stays sharp at any size,
   costs a couple of kilobytes, and reads the same tokens as the rest
   of the page, so it follows the light and dark registers instead of
   being baked into one of them.
   =================================================================== */
.wl-api-figure {
    margin: var(--space-6) 0;
    padding: var(--space-4);
    background: var(--ground-raised);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
}

.wl-api-figure svg {
    display: block;
    width: 100%;
    height: auto;
}

.dg-edge path {
    fill: none;
    stroke: var(--rule);
    stroke-width: 1.5;
}

.dg-node rect {
    fill: var(--ground-sunk);
    stroke: var(--rule);
    stroke-width: 1;
}

.dg-node text {
    fill: var(--ink-body);
    font-size: 13px;
    text-anchor: middle;
    font-family: var(--font);
}

/* The two ends of the flow are the claim; the providers in between are
   interchangeable, which is the whole point of the normalisation layer. */
.dg-terminal rect {
    fill: var(--accent-wash);
    stroke: var(--accent);
}

.dg-terminal text {
    fill: var(--ink);
    font-weight: 600;
}

.dg-terminal .dg-sub {
    fill: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
}

.dg-caption {
    fill: var(--ink-muted);
    font-size: 12px;
    text-anchor: middle;
    font-family: var(--font);
}

/* --- Annotated screenshot ------------------------------------------- */
.wl-api-shot {
    margin: var(--space-5) 0 var(--space-4);
}

/* The frame is the positioning context for the pins, and shrink-wraps the
   image so percentage coordinates land on the picture, not on the column. */
.wl-api-shot-frame {
    position: relative;
    display: block;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ground-raised);
}

.wl-api-shot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.wl-api-shot figcaption {
    margin-top: var(--space-2);
    font-size: var(--step--1);
    color: var(--ink-muted);
}

/* --- Screenshot legend ----------------------------------------------- */
/* --- Adapter matrix status ------------------------------------------- */
/* --status-live and --status-none were declared in the token set and never
   used. A dot is enough: it gives the table a second colour and lets the
   "running today" column be read without reading it. */
.wl-api-adapters table td.wl-live::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-live);
    margin-right: 9px;
    vertical-align: middle;
}

.wl-api-adapters table td.wl-none {
    color: var(--status-none);
}
