/* assets/style.css — BuiltByPersson custom styles */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@400;500&display=swap');

:root {
    --bg: #ffffff;
    --text: #111111;
    --text-2: #777777;
    --text-muted: #999999;
    --text-faint: #bbbbbb;
    --border: #e8e8e8;
    --border-strong: #222222;
    --surface: #fafafa;
    --surface-tag: #f3f3f3;
    --red: #E84545;
    --green: #43B581;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Google Sans Code', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Rainbow border (hero + founding member only) ---------- */
.rainbow-border {
    position: relative;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #E84545, #F5A623, #F8D348, #43B581, #5B8DEF, #9B59B6, #E84545);
}

.rainbow-border-inner {
    background: #ffffff;
    border-radius: 10px;
    height: 100%;
}

/* ---------- Logo mark (rainbow border everywhere) ----------
   Soft-square with a rainbow edge, matching the signature mark in the tools.
   The gradient is painted on the border box and a white padding box sits on
   top, so the colour shows only as the border — never as a fill. */
.logo-mark {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from 205deg,
            #E84545, #F5A623, #F8D348, #43B581, #5B8DEF, #9B59B6, #E84545) border-box;
    font-family: 'Google Sans Code', monospace;
    font-size: 13px;
    font-weight: 500;
    color: #111;
    flex-shrink: 0;
}

.logo-mark.large {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 20px;
}

.logo-mark.small {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .08s ease, opacity .15s ease, background .15s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-black {
    background: #111;
    color: #fff;
}

.btn-black:hover {
    opacity: .88;
}

.btn-outline {
    background: #fff;
    color: #111;
    border-color: var(--border-strong);
}

.btn-outline:hover {
    background: #fafafa;
}

.btn-ghost-light {
    background: #fff;
    color: #111;
}

.btn-ghost-light:hover {
    opacity: .9;
}

/* ---------- Utility ---------- */
.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--surface-tag);
    border-radius: 6px;
    padding: 3px 9px;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(232, 69, 69, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(232, 69, 69, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(232, 69, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 69, 69, 0); }
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
}

.nav-links a.plain {
    color: var(--text-2);
}

.nav-links a.plain:hover {
    color: var(--text);
}

/* CSS-only hamburger (no JS). Hidden on wide screens, shown when the nav
   collapses (mobile OR a too-narrow desktop window). */
.nav-toggle-cb { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 9px 10px;
    cursor: pointer;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: #fff;
}
.nav-burger span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Sections ---------- */
section {
    padding: 44px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.link-more {
    font-size: 12px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}

/* ---------- Hero banner / carousel (self-promo ad space) ---------- */
.hero-banner {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
}

.carousel-track {
    display: flex;
    align-items: center;
    transition: transform .5s ease;
}

.carousel-slide {
    min-width: 100%;
}

/* Show the WHOLE image (never crop) — it scales to the width and keeps its
   natural aspect ratio, so nothing is cut off on small screens. Make banner
   images a consistent size (recommended 1200×480) for a steady height. */
.carousel-slide a {
    display: block;
    width: 100%;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* Controls sit in a bar BELOW the image (never overlapping it), so banner
   artwork/text stays fully readable on every screen size. */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0 4px;
}

.carousel-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: #111;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease, border-color .15s ease;
}
.carousel-arrow:hover { background: #111; color: #fff; border-color: #111; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d2d2d2;
    cursor: pointer;
    transition: background .15s ease;
}

.carousel-dot.active { background: #111; }

/* ---------- Next live (black card) ---------- */
.next-card {
    background: #111;
    color: #fff;
    border-radius: 14px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.next-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.next-title {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 8px;
}

.next-desc {
    font-size: 13px;
    color: #bbb;
    max-width: 420px;
    margin: 0 0 18px;
}

.next-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
    color: #999;
}

.countdown {
    display: flex;
    gap: 10px;
}

.cd-block {
    background: #222;
    border-radius: 10px;
    padding: 14px 16px;
    min-width: 66px;
    text-align: center;
}

.cd-num {
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

.cd-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-top: 6px;
}

/* ---------- This week's builds (black card, weekly rhythm) ---------- */
/* Big "Find me live" button — classic YouTube palette (white / red / black) */
.live-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    background: #fff;
    color: #0f0f0f;
    border: 1.5px solid #e6e6e6;
    border-radius: 14px;
    padding: 22px 26px;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
/* Sliding red wash that sweeps in on hover */
.live-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    transform: translateX(-101%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 0;
}
.live-btn > * { position: relative; z-index: 1; transition: color .2s ease; }
.live-btn:hover {
    border-color: #ff0000;
    box-shadow: 0 10px 26px rgba(255, 0, 0, .22);
    transform: translateY(-2px);
}
.live-btn:hover::before { transform: translateX(0); }
.live-btn:hover .live-btn-text,
.live-btn:hover .live-btn-yt { color: #fff; }
.live-btn:active { transform: translateY(0); }
.live-btn-yt { color: #ff0000; font-size: 30px; line-height: 1; }
.live-btn-text { letter-spacing: .01em; }
.live-btn-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, .6);
    animation: livepulse 2s infinite;
}
.live-btn:hover .live-btn-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: none; }
.live-btn-off { opacity: .6; }
@keyframes livepulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 0, 0, .6); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Nav "Skool" button — brand wordmark on a white pill with a light-grey border */
.skool-btn {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: 9px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1;
    transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.skool-btn:hover {
    border-color: #cfcfcf;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transform: translateY(-1px);
}
.skool-btn:active { transform: translateY(0); }

.week-card {
    background: #111;
    color: #fff;
    border-radius: 14px;
    padding: 26px 28px;
}
.week-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.week-table {
    background: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 10px;
    overflow: hidden;
}
.week-row {
    display: grid;
    grid-template-columns: 14px 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #262626;
}
.week-row:last-child { border-bottom: none; }
.week-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
}
.week-next .week-dot { background: #E84545; box-shadow: 0 0 0 3px rgba(232,69,69,0.18); }
.week-completed .week-dot { background: #43B581; }
.week-daycode {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.week-title { font-size: 14px; color: #fff; line-height: 1.4; }
.week-title-muted { color: #888; }
.week-title-link { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.week-right { font-size: 12px; text-align: right; white-space: nowrap; }
.week-live { color: #E84545; font-weight: 500; }
.week-done { color: #43B581; display: inline-flex; align-items: center; gap: 3px; }
.week-day { color: #888; }
.week-cta { margin-top: 18px; }
.week-countdown { margin-top: 10px; font-size: 12px; color: #E84545; }
.week-empty { text-align: center; padding: 12px 0 6px; }
.week-empty-title {
    font-size: 15px; font-weight: 500; color: #fff; margin: 0 0 8px;
    display: inline-flex; align-items: center; gap: 8px;
}
.week-empty-body { font-size: 13px; color: #bbb; max-width: 380px; margin: 0 auto 18px; line-height: 1.6; }

/* ---------- Latest shipped ---------- */
.shipped-card {
    border: 1.5px solid #111;
    border-radius: 14px;
    padding: 18px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    align-items: center;
}

.shipped-shot {
    width: 200px;
    height: 130px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-faint);
    font-size: 26px;
}

.shipped-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shipped-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.shipped-title {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 6px;
}

.shipped-desc {
    font-size: 13px;
    color: var(--text-2);
    margin: 0 0 12px;
}

.shipped-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

/* ---------- Showcase grid ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: border-color .15s ease, transform .08s ease;
}

.card:hover {
    border-color: var(--border-strong);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--text);
    margin-bottom: 14px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
}

.card-week {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 12px;
    color: var(--text-2);
    margin: 0;
}

.card.placeholder {
    border-style: dashed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    gap: 8px;
}

.card.placeholder .card-icon {
    background: transparent;
    border: 1px dashed var(--border-strong);
    color: var(--text-muted);
    margin: 0;
}

/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
}

.about-photo {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.about-name {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 8px;
}

.about-bio {
    font-size: 13px;
    color: var(--text-2);
    margin: 0 0 18px;
    max-width: 520px;
}

.about-stats {
    display: flex;
    gap: 30px;
}

.stat-num {
    font-size: 22px;
    font-weight: 500;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

/* ---------- Social links ---------- */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color .15s ease;
}

.link-card:hover {
    border-color: var(--border-strong);
}

.link-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.link-name {
    font-size: 14px;
    font-weight: 500;
}

.link-desc {
    font-size: 12px;
    color: var(--text-2);
}

.link-arrow {
    margin-left: auto;
    color: var(--text-faint);
    font-size: 18px;
}

/* ---------- Join CTA ---------- */
.join-card {
    max-width: 560px;
    margin: 0 auto;
    border: 1.5px solid #111;
    border-radius: 14px;
    padding: 34px 32px;
    background: #fff;
}
.join-head {
    text-align: center;
    margin-bottom: 24px;
}

.join-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 8px;
}

.join-sub {
    font-size: 13px;
    color: var(--text-2);
    margin: 0;
}

.join-cta {
    display: flex;
    justify-content: center;
}
.join-cta .btn { font-size: 15px; padding: 13px 26px; }

.email-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 10px;
}

.email-input {
    flex: 1;
    font-family: inherit;
    font-size: 13px;
    padding: 11px 14px;
    border: 1.5px solid var(--border-strong);
    border-radius: 9px;
    outline: none;
}

.email-input:focus {
    border-color: #111;
}

.email-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    transition: color .2s ease;
}

/* Make the confirmation clearly visible after a successful signup */
.email-note.success {
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
    background: #eefaf3;
    border: 1px solid #bfe8d2;
    border-radius: 9px;
    padding: 10px 14px;
    margin-top: 6px;
}

.email-note.error {
    font-size: 13px;
    font-weight: 500;
    color: var(--red);
}

/* ---------- Contact ---------- */
.contact-form {
    max-width: 560px;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 6px;
}

select.contact-select {
    width: 100%;
    background: #fff;
    margin-bottom: 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
}

.contact-form .row2 {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.contact-form .row2 .email-input { width: 100%; }

.contact-form textarea.email-input {
    width: 100%;
    resize: vertical;
    margin-bottom: 12px;
}

.contact-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    padding: 46px 0 26px;
    margin-top: 52px;
}
/* Rainbow strip separating the footer from the rest of the site. */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #E84545, #F5A623, #F8D348, #43B581, #5B8DEF, #9B59B6, #E84545);
}

/* Traditional multi-column footer. */
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 10px;
}
.footer-tag {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 240px;
    margin: 0;
}
.footer-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    font-weight: 500;
    margin: 0 0 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

/* Collapse the nav into a hamburger dropdown on narrow/mobile viewports
   (covers small desktop windows too). */
@media (max-width: 860px) {
    .nav-inner { position: relative; }
    .nav-burger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 0 0 14px 14px;
        padding: 8px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    }
    .nav-toggle-cb:checked ~ .nav-links { display: flex; }
    .nav-links a.plain {
        padding: 12px;
        border-radius: 8px;
        font-size: 15px;
    }
    .nav-links a.plain:hover { background: #f5f5f5; }
    .nav-links .skool-btn {
        justify-content: center;
        margin: 6px 4px 4px;
    }
    /* Burger → X when open. */
    .nav-toggle-cb:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle-cb:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle-cb:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive (375px target) ---------- */
@media (max-width: 760px) {
    .grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .next-card {
        grid-template-columns: 1fr;
    }

    .countdown {
        justify-content: flex-start;
    }

    .shipped-card {
        grid-template-columns: 1fr;
    }

    .shipped-shot {
        width: 100%;
    }

    .about {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-stats {
        gap: 24px;
    }

    .email-form {
        flex-direction: column;
    }

    /* Long CTA text must wrap instead of forcing a horizontal scroll */
    .btn {
        white-space: normal;
    }

    /* Keep the nav compact + let its button shrink/wrap to fit */
    .nav-inner {
        height: auto;
        min-height: 56px;
        gap: 10px;
        padding: 8px 0;
    }
    .nav-brand span:last-child { font-size: 13px; }
    .nav-links .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .nav-links .skool-btn {
        padding: 7px 12px;
        font-size: 14px;
    }

    /* Tighter card padding on small screens */
    .next-card { padding: 22px; gap: 20px; }
    .hero-inner,
    .compare-col { padding: 18px; }
    .about { padding: 22px; }
    .cd-block { min-width: 58px; padding: 12px; }
}

/* ============================================================ */
/* Single-column layout (hero banner + centered content)      */
/* ============================================================ */

/* Wider container for nav + footer + layout */
.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero banner spans the full width; body content is a centered column. */
.layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 20px;
}

.hero-wrap {
    padding: 0;
    margin-bottom: 44px;
}

.content {
    max-width: 820px;
    margin: 0 auto;
    min-width: 0;
}

/* Sections inside the layout use margin, not the global section padding */
.layout section {
    padding: 0;
}

.block {
    margin-bottom: 40px;
}

.block:last-child {
    margin-bottom: 0;
}

/* Section subtitle under headings */
.layout .section-head {
    margin-bottom: 10px;
}

.section-sub {
    font-size: 13px;
    color: var(--text-2);
    margin: 0 0 20px;
}

/* Intro video */
.video-card {
    border: 1.5px solid #111;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--surface);
}

.video-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 24px;
    color: var(--text-2);
}

.video-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.video-placeholder p {
    font-size: 13px;
    max-width: 380px;
    margin: 0;
}

/* Borderless pillars for "What we do" */
/* Showcase "live ↗" link */
.card-live {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #111;
    border-bottom: 1px solid var(--border);
}

/* ---------- Tablet: 2-col grid ---------- */
@media (min-width: 761px) and (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ */
/* Bottom CTA — Backstage-interest checkbox                    */
/* ============================================================ */
.email-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-2);
    margin: 0 0 12px;
}

.email-check input { accent-color: #111; }

/* ============================================================ */
/* v5 — modal, social, Free/Plus                               */
/* ============================================================ */

/* Intro video sits full-width (centered) */
.video-block { max-width: 820px; margin: 0 auto 40px; }

/* ============================================================ */
/* v16 — hero copy + tools section                             */
/* ============================================================ */

/* Positioning statement under the banner carousel. Brand-standard black/white,
   no rainbow: the hero banner above it already carries the one rainbow border. */
.hero-copy { text-align: center; }

.hero-title {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 12px 0 0;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-2);
    margin: 12px 0 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
}

.hero-actions .btn { font-size: 15px; padding: 13px 26px; }

.hero-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.hero-link:hover { color: #111; border-bottom-color: #111; }

/* Tool cards reuse .grid / .card; these only add the non-link bits. */
.tool-card { cursor: default; }
.tool-card:hover { transform: none; }

.tool-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    background: var(--surface-tag);
    border-radius: 6px;
    padding: 3px 9px;
    margin-top: 8px;
}

.tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tool-actions .btn { font-size: 13px; padding: 10px 18px; }
.tool-actions .card-live { margin-top: 0; }

@media (max-width: 600px) {
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 14px; }
}

/* ---------- Email-capture modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    max-width: 400px;
    width: 100%;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}
.modal-close:hover { color: #111; }
.modal-logo { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; margin-bottom: 12px; }
.modal-text { font-size: 13px; color: var(--text-2); margin: 0 0 16px; }
.modal form { display: flex; flex-direction: column; gap: 10px; }
.modal .email-input { width: 100%; }
.modal-fine { font-size: 11px; color: var(--text-muted); margin: 12px 0 0; }
.modal-plus-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.modal-plus-link:hover { color: #111; }

/* Skool intercept modal — fair "no thanks" option (equal weight, not hidden) */
.modal-secondary {
    display: block;
    width: 100%;
    margin-top: 10px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-2);
    background: #fff;
    border: 1.5px solid var(--border-strong);
    border-radius: 9px;
    padding: 10px 14px;
    cursor: pointer;
}
.modal-secondary:hover { background: var(--surface); color: #111; }

/* ---------- Work with me — sub-section inside the About card ---------- */
.about-work {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 26px;
}
.about-work-heading { font-size: 18px; font-weight: 500; color: #111; margin: 0 0 12px; }
.about-work p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 12px;
}
.about-work-price { font-size: 15px; font-weight: 500; color: #111; margin: 18px 0; }
.about-work-btn { margin-top: 6px; padding: 12px 28px; }

/* "Skool opens soon" note under the comparison CTA row */
.ct-soon {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin: 10px 0 0;
}

/* ---------- Social hub (primary cards + secondary icons) ---------- */
.social-primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
.social-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color .15s ease;
}
.social-card:hover { border-color: var(--border-strong); }
.social-card-icon { font-size: 26px; margin-bottom: 10px; }
.social-card-name { font-size: 14px; font-weight: 500; }
.social-card-desc { font-size: 12px; color: var(--text-2); margin-top: 4px; }

.social-secondary { display: flex; align-items: center; gap: 14px; font-size: 19px; }
.social-also { font-size: 12px; color: var(--text-muted); }
.social-secondary a { color: var(--text-2); }
.social-secondary a:hover { color: #111; }

/* ---------- About bio (multi-paragraph) ---------- */
.about-bio-wrap { margin: 0 0 18px; }
.about-bio-wrap .about-bio { margin: 0 0 12px; }
.about-bio-wrap .about-bio:last-child { margin-bottom: 0; }
.about-bio-strong { color: var(--text); }

/* ---------- Free vs Plus comparison TABLE (v6) ---------- */
.ctable {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 130px 130px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

/* Single continuous rainbow line on the LEFT edge of the Plus column */
.ctable::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 130px;
    width: 2px;
    z-index: 2;
    background: linear-gradient(180deg, #E84545, #F5A623, #F8D348, #43B581, #5B8DEF, #9B59B6);
}

.ct-cell {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.ct-feature {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.ct-desc {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.5;
}

.ct-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    border-left: 1px solid #f0f0f0;
}

.ct-check { font-size: 18px; color: var(--green); }
.ct-dash { font-size: 16px; color: #ddd; }

/* Header row */
.ct-head {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: #111;
}
.ct-head.ct-feature { font-size: 13px; }
.ct-sub {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}
/* Plus header: price + founding-price note */
.ct-price {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #111;
    margin-top: 3px;
    line-height: 1.35;
}
.ct-price-note {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.4;
}

/* Divider row */
.ct-divider {
    grid-column: 1 / -1;
    background: var(--surface);
    padding: 8px 18px;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* CTA row */
.ct-cta-cell {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: none;
}
.ct-btn {
    display: inline-block;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.ct-btn-free { background: #fff; color: #111; border: 1px solid #ccc; }
.ct-btn-plus { background: #111; color: #fff; border: 1px solid #111; }

.ct-footer {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    padding: 12px 0 0;
    margin: 0;
}

/* Closing sentence below the table */
.ct-closing {
    max-width: 640px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* "X of 30 left" urgency line in the Plus header cell */
.ct-remain {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--red, #E84545);
    margin-top: 3px;
}

/* ---------- Responsive: collapse split + grids ---------- */
@media (max-width: 1024px) {
    /* Safety net: never allow a horizontal scroll on tablet/phone.
       `clip` (not hidden) doesn't create a scroll container, so it leaves
       position:sticky (nav) working. The real overflow cause — the long
       CTA button — is fixed above by letting .btn wrap. */
    html, body { overflow-x: clip; }
}

/* Comparison table — Option A: narrower columns, hide descriptions on phones */
@media (max-width: 767px) {
    /* Wider value columns so the Plus price ("99 SEK/month") stays on one readable
       line instead of collapsing into a narrow block. */
    .ctable { grid-template-columns: 1fr 84px 84px; }
    .ctable::before { right: 84px; }
    .ct-cell { padding: 12px 10px; }
    .ct-col { padding: 12px 6px; }
    .ct-check { font-size: 15px; }
    .ct-dash { font-size: 15px; }
    .ct-desc { display: none; }
    /* Drop the verbose price tail + note on phones; keep just the number. */
    .ct-price { font-size: 10px; }
    .ct-price-note, .ct-price-tail { display: none; }

    /* CTA row: stack the two buttons full-width so labels never crush or overlap.
       Each button cell spans the whole grid; z-index lifts the #fafafa cells over
       the rainbow line so it doesn't cut across the stacked buttons. */
    .ct-cta-cell.ct-feature { display: none; }
    .ct-cta-cell.ct-col {
        grid-column: 1 / -1;
        border-left: none;
        position: relative;
        z-index: 3;
        padding: 6px 12px;
    }
    .ct-cta-cell.ct-col.ct-plus { padding-bottom: 12px; }
    .ct-cta-cell .ct-btn {
        display: block;
        width: 100%;
        white-space: normal;
        font-size: 13px;
        padding: 11px 10px;
    }

    /* v10: compact the week card on phones */
    .week-card { padding: 22px 18px; }
    .week-row { grid-template-columns: 12px 34px 1fr auto; gap: 9px; padding: 11px 12px; }
    .week-title { font-size: 13px; }
    .week-right { font-size: 11px; }
}

@media (max-width: 760px) {
    .social-primary { grid-template-columns: 1fr; }
}

/* Media never forces overflow */
img, iframe, video, svg { max-width: 100%; }

/* Long words / URLs wrap instead of pushing width */
.card-desc, .link-desc, .compare-note, .about-bio,
.social-card-desc, .next-desc, .hero-desc { overflow-wrap: anywhere; }

/* ---------- Legal pages (disclaimer / terms) ---------- */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 24px;
}

.legal-back:hover { color: #111; }

.legal h1 {
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 18px;
}

.legal h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 30px 0 8px;
}

.legal p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin: 0 0 12px;
}

.legal ul {
    padding-left: 20px;
    margin: 0 0 12px;
}

.legal li {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-updated {
    margin-top: 34px;
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================================ */
/* v1 rebuild — tools portfolio site                            */
/* Additions only. Everything above is the original, tested CSS. */
/* ============================================================ */

/* Rainbow strip under the nav (mirrors the one above the footer) */
.nav { position: sticky; }
.nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(135deg, #E84545, #F5A623, #F8D348, #43B581, #5B8DEF, #9B59B6, #E84545);
}
.footer::before { height: 4px; }

/* ---------- Hero ---------- */
.hero-copy { max-width: 700px; margin: 0 auto; }

/* ---------- Language switcher (small .btn-outline variant) ---------- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-btn {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    color: #111;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    padding: 5px 8px;
    line-height: 1;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lang-btn:hover { border-color: var(--border-strong); background: var(--surface); }
.lang-btn.active { background: #111; border-color: #111; color: #fff; }

/* ---------- Check list (custom builds, stack) ---------- */
.check-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 8px;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 500;
}

/* ---------- CTA card (custom builds, about) ---------- */
.cta-card {
    border: 1.5px solid #111;
    border-radius: 14px;
    padding: 30px;
}
.cta-card .section-title { margin-bottom: 10px; }
.cta-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 18px;
}

/* ---------- Breadcrumb (tool pages) ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Coming-soon email capture (tool pages) ---------- */
.notify-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 30px;
    text-align: center;
}
.notify-title { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.notify-text { font-size: 13px; color: var(--text-2); margin: 0 0 20px; }
.notify-card .email-form { margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq details {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1.2;
    color: var(--text-muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.75;
    margin: 0 0 16px;
    padding-right: 30px;
}

/* ---------- Tool cards ---------- */
.tool-card .card-title a:hover { border-bottom: 1px solid var(--border-strong); }
.tool-card .card-desc { min-height: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
    .nav-links .lang-switch {
        justify-content: center;
        margin: 8px 4px 4px;
    }
    .lang-btn { flex: 1; text-align: center; padding: 9px 8px; font-size: 12px; }
}

@media (max-width: 600px) {
    .cta-card, .notify-card { padding: 22px; }
    .breadcrumb { font-size: 11px; }
}

/* ============================================================ */
/* v2 — public tools shop (/tools/)                             */
/* ============================================================ */

.alert-error {
    border: 1.5px solid var(--red);
    border-radius: 12px;
    background: #fdf1f1;
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.7;
    color: #7a2020;
    margin-bottom: 28px;
}
.alert-error a { text-decoration: underline; text-underline-offset: 2px; }

/* Card holds no padding of its own — the preview sits flush to the edges and
   .shop-card-body carries the breathing room for everything below it. */
.shop-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}

.shop-card-body { padding: 24px; }
.shop-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 6px;
}
.shop-tagline {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 14px;
}
.shop-desc {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 620px;
}
.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
    font-size: 12px;
    color: var(--text-2);
    margin: 0 0 18px;
}
.shop-meta b { color: var(--text); font-weight: 500; }

/* Feature checklist in two columns on wide screens */
.shop-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-bottom: 22px;
}
.shop-features li { font-size: 13px; }

.shop-buy-label {
    font-size: 12px;
    color: var(--text-2);
    margin: 0 0 10px;
}
.shop-support {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 20px 0 0;
}

@media (max-width: 640px) {
    .shop-card-body { padding: 16px; }
}

@media (max-width: 600px) {
    .shop-features { grid-template-columns: 1fr; }
    .shop-name { font-size: 18px; }
    /* Buy buttons stack full width */
    .shop-card .tool-actions .btn { flex: 1 1 100%; }
}

/* ---------- Tool preview (screenshot or placeholder) ----------
   Full-bleed at the top of the card: no border, no radius, no margin — just a
   hairline separating it from the padded body below. */
.tool-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

/* Placeholder — diagonal stripe pattern. Uses the site's tokens, not the
   tool's own design system, so it sits correctly on the shop page. */
.tool-card-preview-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--border);
    background-color: var(--surface);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        var(--border) 10px,
        var(--border) 11px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.tool-card-preview-placeholder span {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
}

/* ---------- Shop: hero, comparison table, quote, CTA ---------- */
.shop-hero { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.shop-hero .hero-title { margin-top: 10px; }

/* "The math is simple" — monospace comparison table */
.math-wrap { overflow-x: auto; }
.math-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.math-table th,
.math-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.math-table thead th {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-2);
    background: var(--surface);
}
.math-table tbody th {
    font-weight: 400;
    color: var(--text-2);
    white-space: normal;
}
.math-table tbody tr:last-child th,
.math-table tbody tr:last-child td { border-bottom: none; }
.math-table td { color: var(--text-muted); }
.math-table td.win { color: var(--text); font-weight: 500; }
.math-note { font-size: 11px; color: var(--text-muted); margin: 12px 0 0; }

/* Founder quote */
.quote-card {
    border-left: 2px solid var(--border-strong);
    margin: 0;
    padding: 4px 0 4px 22px;
}
.quote-card blockquote {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    max-width: 620px;
}
.quote-card figcaption { font-size: 12px; color: var(--text-muted); }

.shop-cta .section-title { margin-bottom: 10px; }

@media (max-width: 600px) {
    .math-table th, .math-table td { padding: 10px 10px; font-size: 12px; }
    /* Let the value cells wrap so the table fits a 390px screen without
       needing its own horizontal scroll. */
    .math-table td { white-space: normal; }
    .quote-card { padding-left: 16px; }
    .quote-card blockquote { font-size: 14px; }
}
