/* Owning Less — calm editorial look: warm paper, ink, one sage accent. */

:root {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --ink: #1d1d1b;
    --muted: #6f6b63;
    --line: #e6e1d8;
    --accent: #6b7f6a;
    --accent-soft: #e8ede6;
    --radius: 6px;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #151514;
        --surface: #1e1e1c;
        --ink: #ece8e1;
        --muted: #a39e94;
        --line: #2e2d2a;
        --accent: #9db39b;
        --accent-soft: #232a22;
        color-scheme: dark;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
}

main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.muted {
    color: var(--muted);
}

.dot {
    color: var(--line);
    margin: 0 6px;
}

.empty {
    color: var(--muted);
    font-style: italic;
}

/* Header and footer */

.site-header {
    text-align: center;
    padding: 44px 24px 20px;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: var(--serif);
    font-size: 2.1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--ink);
}

.tagline {
    margin: 6px 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: 0.9rem;
}

.site-nav a {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .site-nav { gap: 8px 18px; padding: 0 12px; }
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--accent);
}

footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}

/* Issue head */

.issue-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.issue-title {
    font-size: 2.4rem;
    margin: 0;
}

.issue-meta {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.generate {
    text-align: right;
}

.generate-status {
    margin: 8px 0 0;
    font-size: 0.8rem;
}

.button {
    font: inherit;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.button:hover:not(:disabled) {
    background: var(--ink);
    color: var(--bg);
}

.button:disabled {
    opacity: 0.5;
    cursor: progress;
}

.link-button {
    font: inherit;
    font-size: 0.8rem;
    border: 0;
    background: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.link-button:hover {
    text-decoration: underline;
}

/* Cards */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px 28px;
}

.card {
    min-width: 0;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--line);
    transition: opacity 0.25s ease;
}

.card-link:hover img {
    opacity: 0.85;
}

.card-link:hover .card-title {
    color: var(--accent);
}

.label,
.focus-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.card .label {
    margin: 16px 0 6px;
}

.card-title {
    font-size: 1.25rem;
    margin: 0 0 8px;
    transition: color 0.2s;
}

.card-dek {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (min-width: 900px) {
    .card-lead {
        grid-column: 1 / -1;
        display: block;
    }

    .card-lead .card-link {
        display: grid;
        grid-template-columns: minmax(0, 420px) 1fr;
        align-items: start;
        grid-template-rows: 1fr auto 1fr;
        grid-template-areas: "img label" "img title" "img dek";
        column-gap: 44px;
    }

    .card-lead img {
        grid-area: img;
        align-self: center;
    }

    .card-lead .label {
        grid-area: label;
        align-self: end;
    }

    .card-lead .card-title {
        grid-area: title;
    }

    .card-lead .card-dek {
        grid-area: dek;
        align-self: start;
    }

    .card-lead .card-title {
        font-size: 2.2rem;
    }

    .card-lead .card-dek {
        font-size: 1.1rem;
    }
}

/* Article */

.post {
    max-width: 680px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 32px;
}

.post-meta {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.85rem;
}

.post-header h1 {
    font-size: 2.8rem;
    line-height: 1.12;
    margin: 0 0 14px;
}

.dek {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--muted);
    margin: 0;
}

.post-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 36px;
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0 0 1.2em;
}

.post-body p:first-child::first-letter {
    font-family: var(--serif);
    float: left;
    font-size: 3.4rem;
    line-height: 0.9;
    padding: 6px 10px 0 0;
    color: var(--accent);
}

/* Products */

.products {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.products h2 {
    font-size: 1.6rem;
    margin: 0 0 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.product {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.product-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--surface);
    margin-bottom: 14px;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.product h3 {
    font-size: 1.15rem;
    margin: 0;
}

.product p {
    margin: 6px 0 0;
}

.price {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.95rem;
}

.brand-line {
    color: var(--muted);
    font-size: 0.8rem;
}

.note {
    font-size: 0.95rem;
}

.why {
    color: var(--muted);
    font-size: 0.85rem;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    margin-top: 12px !important;
}

.shop-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.shop-link:hover {
    text-decoration: underline;
}

.disclosure {
    margin: 6px 0 0;
    font-size: 0.72rem;
}

/* More from today */

.more {
    max-width: 1040px;
    margin: 72px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.more h2 {
    font-size: 1.5rem;
    margin: 0 0 24px;
}

.grid-small {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

.grid-small .card-title {
    font-size: 1.15rem;
}

/* Shop */

.section-link {
    float: right;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    margin-top: 0.5em;
}

.shop-head {
    margin-bottom: 36px;
}

.shop-intro {
    max-width: 620px;
    color: var(--muted);
    margin: 10px 0 24px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: 0.85rem;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    background: var(--surface);
    transition: border-color 0.2s, color 0.2s;
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.chip-active,
.chip-active:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.shop-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
}

.shop-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: opacity 0.25s;
}

.shop-card-image:hover img {
    opacity: 0.85;
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.shop-card-body .label {
    margin-bottom: 6px;
}

.shop-card-title {
    font-size: 1.2rem;
    margin: 0;
}

.shop-card-body p {
    margin: 6px 0 0;
}

.why-lasts {
    font-size: 0.95rem;
    padding-top: 10px;
    margin-top: 12px !important;
    border-top: 1px dashed var(--line);
}

.featured {
    color: var(--muted);
    font-size: 0.8rem;
}

.featured a {
    color: var(--ink);
}

.shop-card .shop-link {
    margin-top: auto;
    padding-top: 16px;
}

.is-photo {
    object-fit: contain !important;
    background: #ffffff;
    padding: 12px;
}

.live-price {
    margin-top: 10px !important;
}

.price-at {
    color: var(--muted);
    font-size: 0.75rem;
}

.amazon-panel {
    max-width: 680px;
    padding: 16px 18px;
    margin: 16px 0 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.amazon-panel p {
    margin: 8px 0 0;
}

.amazon-panel code {
    font-size: 0.85em;
}

.match {
    margin: 4px 0 0;
}

/* Product photos (local admin) */

.howto {
    max-width: 680px;
    color: var(--muted);
    padding-left: 20px;
    margin: 16px 0;
}

.howto li {
    margin-bottom: 6px;
}

.notice {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.9rem;
}

.notice-warn {
    color: #9a5b3c;
}

.photo-list {
    display: grid;
    gap: 16px;
}

.photo-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.photo-thumb {
    width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-info {
    min-width: 0;
}

.photo-form {
    margin-top: 10px;
}

.photo-form textarea {
    width: 100%;
    font: inherit;
    font-size: 0.85rem;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--ink);
    resize: vertical;
}

.photo-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.photo-actions .link-button {
    margin-left: 0;
}

@media (max-width: 600px) {
    .photo-row {
        grid-template-columns: 1fr;
    }

    .photo-thumb {
        width: 100%;
    }
}

/* Client and readers */

.client-header {
    margin-bottom: 36px;
}

.client-header h1 {
    font-size: 2.4rem;
    margin: 0 0 8px;
}

.client-meta {
    margin: 0;
    color: var(--muted);
}

.level {
    text-transform: capitalize;
}

.client-section {
    margin-bottom: 40px;
}

.client-section h2,
.reader-group h2 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}

.article-list,
.reader-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.article-list a,
.reader-list a {
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.1rem;
}

.article-list a:hover,
.reader-list a:hover {
    color: var(--accent);
}

.list-meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.save {
    flex-shrink: 0;
}

.readers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px 32px;
}

.reader-group {
    min-width: 0;
}

.reader-list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
}

.reader-list a {
    font-size: 1rem;
}

/* Small screens */

@media (max-width: 600px) {
    main {
        padding: 28px 16px 56px;
    }

    .site-header {
        padding: 32px 16px 16px;
    }

    .issue-title,
    .client-header h1 {
        font-size: 1.8rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .generate {
        text-align: left;
    }

    .article-list li {
        flex-wrap: wrap;
    }
}

/* Real photos */
.post-figure { margin: 0 0 2rem; }
.post-figure .post-image { margin-bottom: .4rem; }
.post-figure figcaption { font-size: .78rem; color: var(--muted, #888); text-align: right; }
.post-figure figcaption a { color: inherit; }

/* Research */
.research-row { grid-template-columns: 72px 1fr; }
.research-count { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 4px; }
.research-count strong { font-family: var(--serif, Georgia, serif); font-size: 2rem; line-height: 1; }
.research-count span, .research-count em { font-size: .75rem; color: var(--muted, #888); font-style: normal; }
.research-fields { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.photo-form input, .photo-form select, .research-run input { font: inherit; padding: 8px 10px; border: 1px solid var(--line, #ddd);
    border-radius: 6px; background: var(--bg, #fff); color: inherit; width: 100%; box-sizing: border-box; }
.research-run { display: flex; gap: 8px; align-items: center; }
.research-run input { width: 120px; }
.research-log { font-size: .75rem; white-space: pre-wrap; color: var(--muted, #888); margin: 8px 0 0; }
.badge { font-size: .7rem; font-family: system-ui, sans-serif; padding: 2px 8px; border-radius: 99px;
    background: var(--line, #eee); vertical-align: middle; }
@media (max-width: 600px) { .research-fields { grid-template-columns: 1fr; } }

/* Product pages */
.crumbs { max-width: var(--max, 1040px); margin: 24px auto 0; padding: 0 20px; font-size: .85rem; color: var(--muted, #888); }
.crumbs a { color: inherit; }
.crumbs span { margin: 0 6px; }
.product-page { max-width: var(--max, 1040px); margin: 0 auto; padding: 16px 20px 0; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 24px 0 40px; }
.product-hero-image { background: #fff; border-radius: var(--radius, 8px); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-image img.is-photo { object-fit: contain; padding: 8%; box-sizing: border-box; }
.product-title { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 8px 0; }
.product-why { font-size: 1.15rem; line-height: 1.6; margin: 20px 0 28px; }
.button-buy { display: inline-block; text-decoration: none; }
.evidence { border-top: 1px solid var(--line, #e5e2da); padding: 32px 0; max-width: 680px; }
.evidence h2, .related h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 12px; }
.evidence-count strong { font-size: 1.2rem; }
.evidence-list { padding-left: 1.1rem; line-height: 1.7; }
.featured-list { padding-left: 1.1rem; line-height: 1.8; }
.related { max-width: var(--max, 1040px); margin: 0 auto; padding: 32px 20px 48px; border-top: 1px solid var(--line, #e5e2da); }
.shop-grid-small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 0; }
.shop-card-title a, .product h3 a { color: inherit; text-decoration: none; }
.shop-card-title a:hover, .product h3 a:hover { text-decoration: underline; }
.footer-nav { font-size: .85rem; margin-bottom: 8px; }
.footer-nav a { color: inherit; }
.about .post-body h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.4rem; margin: 2rem 0 .5rem; }
@media (max-width: 720px) { .product-hero { grid-template-columns: 1fr; gap: 24px; } }
.evidence-badge { font-size: .8rem; color: var(--accent, #5b6f5f); margin: 6px 0; }
.evidence-badge::before { content: "✓ "; }
.shop-intro + .shop-intro { margin-top: .6rem; }

/* Archive and home extras */
.archive { max-width: 760px; margin: 0 auto; padding: 8px 20px 48px; }
.archive-day h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.2rem; border-top: 1px solid var(--line, #e5e2da); padding-top: 20px; }
.archive-day ul { list-style: none; padding: 0; }
.archive-day li { margin: 0 0 14px; line-height: 1.5; }
.archive-day li > a { font-size: 1.05rem; color: inherit; }
.archive-day .label { margin-left: 6px; }
.more-link { max-width: var(--max, 1040px); margin: 8px auto 0; padding: 0 20px; text-align: right; }
.home-shop { max-width: var(--max, 1040px); margin: 40px auto 0; padding: 32px 20px 48px; border-top: 1px solid var(--line, #e5e2da); }
.section-title { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 20px; }
.signup { max-width: 680px; margin: 40px auto; padding: 28px 24px; border: 1px solid var(--line, #e5e2da); border-radius: var(--radius, 8px); text-align: center; }
.signup h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; margin: 0 0 6px; }
.signup-form { display: flex; gap: 8px; max-width: 440px; margin: 16px auto 0; }
.signup-form input { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 6px; background: var(--bg, #fff); color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 480px) { .signup-form { flex-direction: column; } }

/* Guides */
.guide .post-body h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
.guide-picks { display: grid; gap: 10px; margin: 1rem 0 1.5rem; }
.guide-pick { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line, #e5e2da);
    border-radius: var(--radius, 8px); text-decoration: none; color: inherit; background: var(--card, transparent); font-size: .95rem; line-height: 1.45; }
.guide-pick:hover { border-color: var(--accent, #5b6f5f); }
.guide-pick img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 6px; }

.guide-links { font-size: .95rem; color: var(--muted, #6b6b66); margin: .25rem 0 1rem; }
.guide-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.also-at { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.also-at a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Books */
.book-theme { margin: 48px 0 0; }
.book-theme > h2 { font-size: 1.6rem; margin: 0 0 4px; }
.book-theme > p { margin: 0 0 20px; }
.book-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 36px; }
.book { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; scroll-margin-top: 24px; }
.book img { width: 96px; height: auto; aspect-ratio: 2 / 3; object-fit: contain; background: #fff; border-radius: 4px;
            box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
.book h3 { font-size: 1.15rem; margin: 0 0 2px; }
.book .brand-line { margin: 0 0 8px; }
.book p { margin: 0 0 8px; font-size: .95rem; }

/* Principles */
.principle-list { list-style: none; counter-reset: pr; padding: 0; margin: 32px 0 0; }
.principle-list li { counter-increment: pr; position: relative; padding: 0 0 28px 56px; margin: 0 0 28px;
                     border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.principle-list li:last-child { border-bottom: 0; }
.principle-list li::before { content: counter(pr); position: absolute; left: 0; top: 2px; font-family: Georgia, serif;
                             font-size: 2rem; line-height: 1; color: var(--accent); }
.principle-list h2 { font-size: 1.45rem; margin: 0 0 10px; }
.principle-links { font-size: .9rem; color: var(--muted); }
.principle-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Start here, practice, before you buy, care */
.newhere { margin: 0 0 28px; font-size: .92rem; color: var(--muted); }
.newhere a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.practice { margin: 48px 0; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.practice-text { font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.4; margin: 8px 0 10px; }
.practice-more { margin: 0; font-size: .9rem; }
.practice-more a { color: var(--muted); }
.path-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.path-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 22px;
             border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit;
             background: var(--surface); transition: border-color .2s, transform .2s; }
.path-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.path-want { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.4; }
.path-title { color: var(--accent); font-weight: 600; font-size: .95rem; }
.start-foot { margin-top: 8px; }
.path-steps { list-style: none; counter-reset: st; padding: 0; margin: 28px 0 0; }
.path-steps > li { counter-increment: st; position: relative; padding: 0 0 8px 52px; margin: 0 0 28px; }
.path-steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
                          border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center;
                          font-family: Georgia, serif; }
.path-steps h2 { font-size: 1.3rem; margin: 2px 0 10px; }
.path-read { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.path-read img { width: 120px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.habits { list-style: none; padding: 0; margin: 0 0 6px; }
.habits li { margin: 0 0 10px; }
.habits label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; cursor: pointer; }
.habits input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); }
.habits input:checked + span { color: var(--muted); text-decoration: line-through; }
.small { font-size: .85rem; }
.path-others { border-top: 1px solid var(--line); padding-top: 20px; }
.path-others h2 { font-size: 1.1rem; }
.byb-form { margin: 24px 0; }
.byb-q { border: 0; border-bottom: 1px solid var(--line); padding: 16px 0; margin: 0; }
.byb-q legend { font-family: Georgia, serif; font-size: 1.15rem; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.byb-q label { display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 0 0; cursor: pointer; clear: left; }
.byb-q input { accent-color: var(--accent); }
.byb-n { display: inline-block; width: 1.6em; color: var(--accent); }
.byb-verdict { margin: 24px 0; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.byb-verdict h2 { margin: 0 0 8px; }
.byb-verdict ul { margin: 8px 0 0; padding-left: 20px; }
.byb-verdict li { margin-bottom: 6px; }
.care-list { display: grid; gap: 18px; }
.care-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.care-item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 6px; }
.care-item h3 { font-size: 1.05rem; margin: 0 0 4px; }
.care-item h3 a { color: inherit; text-decoration: none; }
.care-item p { margin: 0; font-size: .95rem; }
@media (max-width: 600px) { .practice { padding: 22px; } .practice-text { font-size: 1.25rem; } .path-read { grid-template-columns: 80px 1fr; } .path-read img { width: 80px; } }

/* My list */
.save-btn { font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
            background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap; }
.save-btn:hover { border-color: var(--accent); color: var(--accent); }
.save-btn.is-saved { border-color: var(--accent); color: var(--accent); background: rgba(47, 58, 51, .06); }
.product-hero-body .save-btn { margin: 0 0 0 10px; vertical-align: middle; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 0; }
.ml-section { margin: 32px 0; }
.ml-section h2 { font-size: 1.3rem; margin: 0 0 4px; }
.ml-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ml-img img, .ml-noimg { display: block; width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 6px; }
.ml-item h3 { font-size: 1.05rem; margin: 0 0 4px; }
.ml-item h3 a { color: inherit; text-decoration: none; }
.ml-item p { margin: 0 0 6px; font-size: .92rem; }
.ml-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ml-actions button, .ml-actions a { font: inherit; font-size: .82rem; padding: 4px 10px; border-radius: 999px;
                                    border: 1px solid var(--line); background: transparent; color: var(--ink, inherit);
                                    cursor: pointer; text-decoration: none; }
.ml-actions button:hover, .ml-actions a:hover { border-color: var(--accent); color: var(--accent); }
.ml-letgo-count { font-family: Georgia, serif; font-size: 1.2rem; margin: 32px 0 0; }
.ml-empty { margin: 32px 0; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.ml-privacy { margin-top: 32px; }

/* Search */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-form input { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.15rem; padding: 14px 18px;
                     border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: inherit; }
.search-form input:focus { outline: none; border-color: var(--accent); }
.search-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.search-try .chip { font: inherit; font-size: .85rem; cursor: pointer; background: transparent; }
.search-status { margin: 8px 0 12px; }
.search-results { display: grid; gap: 4px; margin-bottom: 28px; }
.search-hit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 8px;
              border-radius: var(--radius); text-decoration: none; color: inherit; }
.search-hit:hover { background: rgba(127, 127, 127, .08); }
.search-hit img, .search-noimg { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; display: block; }
.search-noimg { background: var(--line); }
.search-hit strong { display: block; font-weight: 600; }
.search-hit .muted { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit .label { display: block; margin-bottom: 2px; }
.site-search { display: inline-flex; align-items: center; }
.site-search svg { width: 16px; height: 16px; }

/* Mend it */
.mend-item { border-top: 1px solid var(--line); padding: 4px 0; }
.mend-item summary { cursor: pointer; padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mend-title { font-weight: 600; }
.mend-time { font-size: .85rem; white-space: nowrap; }
.mend-body { padding: 0 0 14px; }
.mend-steps { padding-left: 1.3rem; }
.mend-steps li { margin-bottom: 8px; }
.mend-need, .mend-tip { font-size: .95rem; }
.mend-tip { border-left: 3px solid var(--line); padding-left: 12px; font-style: italic; }

/* Cost per year */
.cpy-examples { font-size: .95rem; }
.cpy-examples button, .cpy-side input, .cpy-horizon input { font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.cpy-examples button { padding: 4px 12px; margin: 4px 4px 0 0; cursor: pointer; }
.cpy-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0; }
.cpy-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 0; }
.cpy-side legend { font-family: Georgia, serif; font-size: 1.1rem; padding: 0 6px; }
.cpy-side label { display: block; margin: 10px 0; font-size: .95rem; }
.cpy-side input { display: block; width: 100%; box-sizing: border-box; padding: 8px 10px; margin-top: 4px; }
.cpy-horizon { grid-column: 1 / -1; }
.cpy-horizon input { width: 5em; padding: 6px 8px; margin: 0 6px; }
.cpy-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.cpy-table th, .cpy-table td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.cpy-table th:first-child, .cpy-table td:first-child { text-align: left; }

/* Go deeper (article pages) */
.deeper { max-width: 680px; margin: 8px auto 40px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.deeper h2 { margin: 0 0 10px; font-size: 1.2rem; }
.deeper-list { list-style: none; margin: 0; padding: 0; }
.deeper-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.deeper-list li:first-child { border-top: 0; }
.deeper-list .label { display: inline-block; min-width: 8.5em; }

/* glossary: /words */
.words { margin: 0; }
.word { border-top: 1px solid var(--line); padding: 14px 0 6px; scroll-margin-top: 80px; }
.word dt { font-family: var(--serif, Georgia, serif); font-size: 1.15rem; font-weight: 600; }
.word dd { margin: 6px 0 0; }
.word dd p { margin: 0 0 8px; }
.word-look { font-size: .95rem; }
.word:target { background: var(--surface); padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-radius: 6px; }

/* Print: guides, repairs, the glossary and articles print as plain reading copy */
@media print {
  :root { --bg: #fff; --ink: #000; --surface: #fff; --line: #bbb; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, footer, .site-nav, .chips, .signup, .cpy-examples, .deeper, .related, .share, nav { display: none !important; }
  a { color: #000; text-decoration: underline; }
  img { max-width: 60% !important; height: auto; }
  h1, h2, dt { break-after: avoid; page-break-after: avoid; }
  .mend-item, .word, li { break-inside: avoid; page-break-inside: avoid; }
  details.mend-item > .mend-body { display: block !important; }
  details.mend-item summary { list-style: none; }
}

/* This or that: /compare */
.table-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-weight: 600; }
.cmp-table tbody th { font-weight: 600; white-space: nowrap; }
.cmp-list { list-style: none; padding: 0; }
.cmp-list li { border-top: 1px solid var(--line); padding: 14px 0; }
a.term { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
a.term:hover { text-decoration-style: solid; }

/* Home: learn the basics */
.learn { margin: 40px 0; }
.learn-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.learn-grid li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.learn-grid a { text-decoration: none; }
.learn-grid a strong { font-family: Georgia, serif; font-size: 1.1rem; }
.learn-grid .muted { font-size: .92rem; }
.print-btn { font: inherit; font-size: .85rem; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; cursor: pointer; margin-top: 6px; }
@media print { .print-btn { display: none !important; } }
.word-today { margin: 0 0 16px; font-size: .98rem; }
.word-today .label { display: block; margin-bottom: 4px; }

/* Care calendar */
.cal-now ul { margin: 8px 0 0; padding-left: 1.2rem; }
.cal-now li { margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.cal-month { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.cal-month h3 { margin: 0 0 6px; font-size: 1rem; }
.cal-month ul { margin: 0; padding-left: 1.1rem; font-size: .93rem; }
.cal-month.is-now { background: var(--surface); border-color: currentColor; }

.made-note { font-size: .85rem; color: var(--muted, #6b675f); border-top: 1px solid var(--line, #e2ded5); padding-top: .8rem; margin-top: 1.6rem; }
