/* ============================================================
   Wutt content pages — solutions, guides, products, verticals
   Clean editorial single-column layout.
   ============================================================ */

.wutt-page {
    padding: 0 0 16px;
}

/* ---------- Hero band ---------- */
.wutt-page__hero {
    padding: 110px 0 56px;
    background: linear-gradient(135deg, hsl(var(--info) / 0.04), hsl(var(--base) / 0.04));
    border-bottom: 1px solid #efeae2;
    position: relative;
    z-index: 1;
}

.wutt-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(hsl(var(--black) / 0.02) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--black) / 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

.wutt-page__hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.wutt-page__hero .wutt-metrics {
    margin: 32px 0 0;
}

.wutt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 12px;
    font-weight: 800;
    color: #ff7d0e;
}

.wutt-eyebrow i {
    font-size: 15px;
}

.wutt-page__hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 18px 0 20px;
    color: #1f1f28;
    max-width: 760px;
}

.wutt-lead {
    font-size: 17px;
    line-height: 1.75;
    color: #55555f;
    max-width: 720px;
    margin: 0;
}

.wutt-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.wutt-actions .btn {
    padding: 11px 26px;
    font-weight: 700;
    border-radius: 10px;
}

.wutt-actions .wutt-btn-ghost {
    background: #fff !important;
    color: #1f1f28 !important;
    border: 1.5px solid #e2dcd2 !important;
}

.wutt-actions .wutt-btn-ghost:hover {
    border-color: #ff7d0e !important;
    color: #ff7d0e !important;
}

/* ---------- Metrics strip ---------- */
.wutt-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 32px auto 0;
}

.wutt-metric {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fbf9f5;
    border: 1px solid #f0eae1;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #4a4a54;
}

.wutt-metric i {
    color: #1f9d55;
    font-size: 15px;
    margin-top: 2px;
    flex: 0 0 auto;
}

/* ---------- Body ---------- */
.wutt-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 0 8px;
}

.wutt-section {
    padding: 30px 0;
    border-bottom: 1px solid #f0eae1;
}

.wutt-section:last-child {
    border-bottom: 0;
}

.wutt-section__num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ff7d0e;
}

.wutt-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 12px;
    color: #1f1f28;
    line-height: 1.3;
}

.wutt-section p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #55555f;
    margin: 0;
}

.wutt-section ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.wutt-section ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #484851;
    margin-bottom: 7px;
}

/* ---------- Templates / copy blocks ---------- */
.wutt-templates {
    padding: 20px 0 4px;
}

.wutt-templates h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f1f28;
    margin: 0 0 4px;
}

.wutt-templates .wutt-section p {
    font-size: 14.5px;
    color: #777;
    margin: 0 0 8px;
}

.wutt-template {
    border: 1px solid #e6e0d6;
    border-radius: 12px;
    margin: 14px 0;
    overflow: hidden;
}

.wutt-template__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #faf8f4;
    border-bottom: 1px solid #eee8de;
}

.wutt-template__head strong {
    font-size: 13.5px;
    color: #2b2b33;
}

.wutt-template__copy {
    border: 0;
    background: #ff7d0e;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.wutt-template__copy:hover {
    opacity: 0.88;
}

.wutt-template__text {
    padding: 16px;
    background: #fcfbf9;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.7;
    white-space: pre-wrap;
    color: #3a3a44;
    margin: 0;
}

/* ---------- FAQ ---------- */
.wutt-faq {
    padding: 16px 0 8px;
}

.wutt-faq h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f1f28;
    margin: 0 0 18px;
}

.wutt-faq .accordion-item {
    border: 1px solid #e6e0d6;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wutt-faq .accordion-button {
    font-size: 15px;
    font-weight: 700;
    color: #2b2b33;
    background: #fcfbf9;
    padding: 15px 18px;
    box-shadow: none;
}

.wutt-faq .accordion-button:not(.collapsed) {
    color: #ff7d0e;
    background: #fff8f0;
}

.wutt-faq .accordion-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: #55555f;
    background: #fcfbf9;
    padding: 14px 18px 18px;
}

/* ---------- Related ---------- */
.wutt-related {
    padding: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wutt-related a {
    display: inline-block;
    border: 1px solid #e6e0d6;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #484851;
    text-decoration: none;
    transition: all 0.15s ease;
}

.wutt-related a:hover {
    border-color: #ff7d0e;
    color: #ff7d0e;
}

/* ---------- CTA panel ---------- */
.wutt-cta {
    max-width: 760px;
    margin: 44px auto 64px;
    background: linear-gradient(135deg, #ff7d0e 0%, #ff9a3d 100%);
    border-radius: 16px;
    padding: 44px 32px;
    text-align: center;
}

.wutt-cta h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
}

.wutt-cta p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 24px;
}

.wutt-cta .btn {
    background: #fff !important;
    color: #ff7d0e !important;
    padding: 12px 32px;
    font-weight: 800;
    border-radius: 10px;
    border: 0;
}

.wutt-cta .btn:hover {
    background: #fff7ef !important;
    color: #ff7d0e !important;
}

.wutt-cta small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 14px;
    font-size: 12.5px;
}

/* ---------- Hub pages (blog-style cards: /tools, /compare) ---------- */
.hub-grid .blog__single {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hub-grid .blog__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hub-grid .blog__content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-grid .blog__content h3,
.hub-grid .blog__content .blog__date {
    margin-bottom: 14px;
}

.hub-grid .blog__content p {
    margin-bottom: 18px;
}

.hub-grid .blog__content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.hub-accent {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
    border: 1px solid hsl(var(--base) / .16);
    border-radius: 24px;
    background: linear-gradient(145deg, hsl(var(--white)), hsl(var(--base) / .045));
    box-shadow: 0 18px 45px hsl(var(--black) / .06);
    color: hsl(var(--black));
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
}

.hub-accent:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--base) / .42);
    box-shadow: 0 24px 60px hsl(var(--black) / .1);
    color: hsl(var(--black));
}

.hub-accent__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: hsl(var(--base) / .12);
    color: hsl(var(--base));
    font-size: 28px;
}

.hub-accent__eyebrow {
    color: hsl(var(--base));
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 13px;
}

.hub-accent h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.24;
}

.hub-accent p {
    margin: 0;
    color: hsl(var(--black) / .68);
    line-height: 1.7;
}

.hub-accent__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--base));
    font-weight: 900;
}

:root[data-theme=dark] .hub-accent {
    background: linear-gradient(145deg, hsl(var(--black) / .72), hsl(var(--base) / .12));
    border-color: hsl(var(--white) / .12);
    color: hsl(var(--white));
}

:root[data-theme=dark] .hub-accent:hover {
    color: hsl(var(--white));
    border-color: hsl(var(--base) / .5);
}

:root[data-theme=dark] .hub-accent p {
    color: hsl(var(--white) / .72);
}

/* ---------- Dark mode ---------- */
:root[data-theme=dark] .wutt-page__hero {
    border-bottom-color: #2d2d36;
}

:root[data-theme=dark] .wutt-lead,
:root[data-theme=dark] .wutt-section p,
:root[data-theme=dark] .wutt-section ul li {
    color: #a8a8b3;
}

:root[data-theme=dark] .wutt-section {
    border-bottom-color: #26262e;
}

:root[data-theme=dark] .wutt-template__text {
    color: #3a3a44 !important;
}

:root[data-theme=dark] .wutt-related a {
    border-color: #3a3a44;
    color: #cfcfd8;
}

:root[data-theme=dark] .wutt-related a:hover {
    border-color: #ff7d0e;
    color: #ff7d0e;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 767px) {
    .wutt-page__hero {
        padding: 64px 0 40px;
    }

    .wutt-metrics {
        grid-template-columns: 1fr;
    }

    .wutt-cta {
        margin: 32px auto 48px;
        padding: 34px 22px;
    }

    .wutt-section h2,
    .wutt-templates h2,
    .wutt-faq h2 {
        font-size: 21px;
    }
}
