/*
Theme Name: Top3Sel Editorial
Author: Top3Sel
Description: A free, self-contained editorial concept preview for Top3Sel.
Version: 0.2.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: top3sel
*/
:root{--ink:#202b26;--muted:#69736c;--paper:#fafaf6;--line:#dfe3d9;--green:#245b40;--lime:#d9edab;--radius:16px;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a14b18;outline-offset:5px}button{cursor:pointer}svg{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}p+p{margin-top:1em}.wrap{width:min(1180px,calc(100% - 72px));margin-inline:auto}.skip-link{position:absolute;left:12px;top:-80px;z-index:1000;background:#fff;padding:12px}.skip-link:focus{top:12px}.preview-bar{padding:8px 20px;text-align:center;background:#e8efdc;color:#45563d;font-size:11px;letter-spacing:.02em}.preview-bar strong{font-size:10px;letter-spacing:.1em;margin-right:10px}.site-header{border-bottom:1px solid var(--line);background:rgba(250,250,246,.96);position:relative;z-index:10}.header-inner{height:90px;display:flex;align-items:center;justify-content:space-between;gap:30px}.wordmark{font-weight:850;font-size:31px;line-height:1;letter-spacing:-2px;display:inline-flex;align-items:center;gap:8px}.wordmark .three{color:var(--green)}.brand-icon{display:grid;grid-template-columns:repeat(3,4px);gap:3px;align-items:end;margin-right:4px;height:25px}.brand-icon i{background:var(--green);height:13px;border-radius:1px}.brand-icon i:nth-child(2){height:20px}.brand-icon i:nth-child(3){height:25px}.main-nav{display:flex;align-items:center;gap:33px;font-size:13px;font-weight:600}.nav-button{padding:11px 18px;border:1px solid #bbc5b8;border-radius:99px}.main-nav a:hover,.footer-links a:hover{color:var(--green);text-decoration:underline;text-underline-offset:5px}.menu-toggle{display:none;border:1px solid var(--line);border-radius:8px;background:transparent;padding:8px 12px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.16em;font-weight:750;display:flex;align-items:center;gap:10px}.eyebrow:before{content:"";width:23px;height:1px;background:currentColor}.hero{padding:76px 0 62px;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.hero h1{font-size:clamp(54px,6.4vw,84px);font-weight:550;line-height:1.02;letter-spacing:-.065em;margin:24px 0}.hero h1 em{font-family:Georgia,serif;font-weight:normal;color:var(--green);letter-spacing:-.06em}.hero-copy>p{font-size:16px;max-width:420px;color:var(--muted);line-height:1.75}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;border:0;border-radius:99px;background:var(--green);color:#fff;padding:14px 23px;font-size:12px;font-weight:650;transition:background .2s,transform .2s}.button:hover{background:#173e2b;transform:translateY(-2px)}.button.secondary{background:transparent;border:1px solid #bcc8b5;color:var(--green)}.hero-actions{display:flex;gap:22px;align-items:center;margin-top:28px}.quiet-link{font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:5px}.hero-footnote{margin-top:26px!important;font-size:10px!important;letter-spacing:.03em;color:#7c847b!important;display:flex;align-items:center;gap:8px}.tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--green)}.hero-scene{min-height:365px;position:relative;display:grid;align-items:center;padding:40px 4px}.scene-label{position:absolute;top:10px;left:12px;font-size:9px;letter-spacing:.14em;color:var(--muted)}.scene-circle{position:absolute;width:310px;height:310px;border-radius:50%;background:#edf0e5;left:50%;top:50%;transform:translate(-50%,-50%)}.scene-cards{display:flex;align-items:center;justify-content:center;position:relative}.scene-card{border:1px solid rgba(50,70,50,.1);border-radius:13px;width:176px;height:247px;padding:14px;background:#f4dbbe;box-shadow:0 18px 40px #2638200c;transform:rotate(-13deg) translate(10px,12px);flex-shrink:0}.scene-card:nth-child(2){background:#dce7e9;z-index:2;transform:rotate(1deg) translateY(-15px);margin-left:-38px}.scene-card:nth-child(3){background:#e2e4d4;transform:rotate(12deg) translate(-8px,14px);margin-left:-38px}.scene-card .scene-number{font:italic 30px Georgia,serif;opacity:.5}.scene-card svg{height:135px;width:100%;margin:0 auto 13px}.scene-card .scene-name{font-size:10px;font-weight:650;letter-spacing:-.02em}.scene-note{position:absolute;bottom:1px;right:23px;font-family:Georgia,serif;font-size:15px;transform:rotate(-7deg);color:var(--green)}.principles{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);padding:23px 0;margin-bottom:62px}.principle{display:flex;gap:14px;align-items:center;padding-left:26px;border-right:1px solid var(--line)}.principle:first-child{padding-left:0}.principle:last-child{border-right:0}.principle-number{font-family:Georgia,serif;font-size:23px;color:var(--green)}.principle h3{font-size:12px;letter-spacing:-.015em;margin-bottom:3px}.principle p{font-size:10px;color:var(--muted)}.section-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-top h2{font-size:34px;font-weight:550;margin-top:11px}.section-top .section-note{font-size:11px;color:var(--muted)}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:27px 0 37px}.category-tab{border:1px solid var(--line);background:transparent;padding:8px 17px;border-radius:99px;font-size:11px;color:#59645c;display:flex;gap:12px;align-items:center}.category-tab[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.category-tab span{font-size:9px;opacity:.65}.category-group{margin-bottom:48px;scroll-margin-top:28px}.category-group[hidden]{display:none}.category-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.category-title{display:flex;gap:12px;align-items:center}.category-symbol{height:28px;width:28px;display:grid;place-items:center;background:#e5ece4;border-radius:50%;font-size:12px}.category-heading h3{font-size:19px;font-weight:600;letter-spacing:-.03em}.text-link{font-size:11px;font-weight:650;display:inline-flex;align-items:center;gap:14px}.text-link:hover{text-decoration:underline;text-underline-offset:5px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #243b2410}.product-art{height:235px;position:relative;display:grid;place-items:center;background:var(--tint,#edf0e8);overflow:hidden}.product-art:after{content:"";position:absolute;width:165px;height:18px;bottom:29px;background:#15251b0c;border-radius:50%;filter:blur(7px)}.product-art svg{width:86%;height:180px;z-index:1;transition:transform .35s}.product-card:hover .product-art svg{transform:rotate(-3deg) scale(1.04)}.pick-number{position:absolute;top:18px;left:20px;font:italic 28px Georgia,serif;color:#47574780}.art-label{position:absolute;top:22px;right:17px;font-size:7px;letter-spacing:.13em;color:#43554d80}.card-body{padding:24px 24px 18px;display:flex;flex-direction:column;flex:1}.product-use{font-size:8px;text-transform:uppercase;letter-spacing:.11em;font-weight:700;color:var(--green);display:flex;align-items:center;gap:6px;margin-bottom:11px}.product-use:before{content:"";width:4px;height:4px;background:var(--green);border-radius:50%}.card-body h4{margin:0 0 10px;font-size:20px;font-weight:600;line-height:1.18;letter-spacing:-.04em}.card-body p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:18px;min-height:60px}.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e8;padding-top:15px;margin-top:auto}.research-label{font-size:8px;color:#7d847b}.card-arrow{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--green)}.editor-note{display:flex;gap:16px;align-items:start;background:#f0f2e9;border:1px solid #e3e7db;border-radius:12px;padding:20px 24px;margin:0 0 66px;font-size:11px;color:#69705f}.editor-note strong{font-size:11px;color:var(--ink);display:block;margin-bottom:3px}.editor-note .note-mark{font:italic 27px Georgia,serif;color:var(--green);line-height:1.1}.method-feature{background:#e6ebdf;border-radius:20px;padding:48px 52px;margin-bottom:70px;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.method-feature h2{font:normal 38px/1.12 Georgia,serif;letter-spacing:-.04em;margin:15px 0}.method-feature p{font-size:12px;line-height:1.8;color:#5f6b5a}.method-list{display:grid;gap:0}.method-step{display:flex;gap:18px;padding:17px 0;border-bottom:1px solid #ccd5c4}.method-step:last-child{border:0}.method-step>span{font:italic 21px Georgia,serif;color:#7c8b70}.method-step h3{font-size:12px;letter-spacing:-.01em;margin:0 0 5px}.method-step p{font-size:10px;line-height:1.65}.site-footer{border-top:1px solid var(--line);padding:43px 0 23px}.footer-top{display:flex;justify-content:space-between;gap:30px;margin-bottom:34px}.footer-tagline{font-size:11px;color:var(--muted);margin-top:13px}.footer-links{display:flex;gap:25px;font-size:11px;align-items:flex-start;padding-top:7px}.footer-bottom{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;gap:25px;font-size:9px;color:#858c81}.footer-small{max-width:530px}.guide-hero{padding:50px 0 45px;max-width:820px}.breadcrumbs{font-size:10px;color:var(--muted);margin-bottom:35px}.breadcrumbs a{text-decoration:underline;text-underline-offset:4px}.guide-hero h1{font-size:clamp(42px,5vw,66px);font-weight:550;margin:18px 0 22px}.guide-hero>p{max-width:620px;font-size:16px;color:var(--muted)}.guide-meta{display:flex;flex-wrap:wrap;gap:20px;font-size:10px;margin-top:25px;color:var(--muted)}.guide-overview{border-block:1px solid var(--line);padding:24px 0;margin-bottom:46px;display:flex;gap:28px;flex-wrap:wrap}.guide-overview a{display:flex;gap:12px;align-items:center;font-size:12px}.guide-overview span{font:italic 21px Georgia,serif;color:var(--green)}.selection-detail{display:grid;grid-template-columns:360px 1fr;gap:55px;padding:44px 0;border-bottom:1px solid var(--line);scroll-margin-top:25px}.selection-detail .product-art{height:330px;border-radius:16px;position:sticky;top:30px}.selection-detail .product-art svg{height:250px}.detail-copy h2{font-size:32px;font-weight:550;margin:12px 0 18px}.detail-copy>p{font-size:13px;color:var(--muted);line-height:1.8}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}.detail-facts h3{font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.detail-facts p{font-size:12px;color:var(--muted)}.source-link{font-size:10px;text-decoration:underline;text-underline-offset:4px;color:var(--green)}.buy-preview{border:1px solid var(--line);border-radius:12px;padding:17px 18px;margin-top:25px;background:#fff}.buy-preview h3{font-size:12px;letter-spacing:-.01em;margin-bottom:6px}.buy-preview>p{font-size:10px;color:var(--muted)}.merchant-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.merchant{display:flex;justify-content:space-between;align-items:center;gap:15px;flex:1;min-width:110px;border:1px solid #e2e5dc;border-radius:8px;padding:9px 12px;color:#6b746c;font-size:11px;background:#f9faf6}.merchant span{font-size:8px;color:#889081}.guide-bottom{margin:42px 0 70px;display:flex;gap:15px;align-items:center;justify-content:space-between}.prose{max-width:760px;padding:65px 0 80px}.prose h1{font-size:51px;font-weight:550;margin:20px 0 30px}.prose h2{font-size:24px;letter-spacing:-.03em;margin:35px 0 15px}.prose h3{font-size:18px;margin:28px 0 12px}.prose p,.prose li{font-size:14px;color:var(--muted);line-height:1.85}.prose a{text-decoration:underline;text-underline-offset:4px;color:var(--green)}.prose ul,.prose ol{padding-left:21px}.no-results{padding:80px 0;min-height:50vh}.no-results h1{font-size:45px;margin-bottom:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.hero{padding-block:85px}.hero-scene{transform:scale(1.05)}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.hero{gap:20px}.hero h1{font-size:66px}.scene-card{width:145px;height:220px}.scene-card svg{height:110px}.product-grid{gap:16px}.product-art{height:200px}.card-body{padding:20px}.card-body h4{font-size:18px}.selection-detail{grid-template-columns:300px 1fr;gap:35px}.method-feature{padding:35px;gap:30px}.main-nav{gap:20px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.preview-bar{font-size:9px;padding:7px 18px;line-height:1.5}.preview-bar strong{font-size:9px}.header-inner{height:74px}.wordmark{font-size:28px}.menu-toggle{display:block;font-size:11px}.main-nav{display:none;position:absolute;top:74px;left:0;right:0;background:var(--paper);padding:24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:20px}.main-nav.is-open{display:flex}.nav-button{text-align:center}.hero{padding:42px 0 34px;grid-template-columns:1fr}.hero h1{font-size:65px;margin:20px 0}.hero-copy>p{font-size:14px;max-width:360px}.hero-actions{gap:20px}.hero-footnote{font-size:9px!important;margin-top:22px!important}.hero-scene{min-height:305px;margin-top:18px;overflow:hidden}.scene-circle{width:255px;height:255px}.scene-card{width:140px;height:214px}.scene-label{left:4px;font-size:8px}.scene-note{right:13px;font-size:13px}.principles{margin-bottom:40px;padding:20px 0;gap:15px}.principle{padding-left:0;border:0;display:block}.principle-number{font-size:18px}.principle h3{font-size:10px;margin-top:7px}.principle p{font-size:8px;line-height:1.6;margin-top:5px}.section-top{align-items:start}.section-top h2{font-size:30px}.section-note{display:none}.category-tabs{gap:6px;margin:23px 0 28px}.category-tab{font-size:10px;padding:8px 12px;gap:7px}.product-grid{grid-template-columns:1fr;gap:18px}.product-art{height:240px}.product-art svg{height:195px;width:80%}.card-body{padding:24px}.card-body h4{font-size:23px}.card-body p{min-height:0;margin-bottom:23px;font-size:13px}.product-use{font-size:9px}.research-label{font-size:10px}.category-heading h3{font-size:18px}.text-link{font-size:10px;gap:6px}.category-group{margin-bottom:35px}.editor-note{margin-bottom:40px;padding:18px;font-size:10px}.method-feature{grid-template-columns:1fr;padding:29px 25px;gap:18px;margin-bottom:43px}.method-feature h2{font-size:34px}.method-feature p{font-size:12px}.method-step h3{font-size:12px}.method-step p{font-size:11px}.footer-top{flex-direction:column;gap:24px}.footer-links{flex-wrap:wrap;gap:20px}.footer-bottom{display:block;font-size:9px}.footer-small{margin-top:12px}.guide-hero{padding-top:30px}.guide-hero h1{font-size:46px}.guide-hero>p{font-size:14px}.guide-meta{gap:12px}.breadcrumbs{margin-bottom:27px}.guide-overview{display:grid;gap:12px}.selection-detail{grid-template-columns:1fr;gap:28px;padding:30px 0}.selection-detail .product-art{position:relative;top:0;height:280px}.selection-detail .product-art svg{height:230px}.detail-copy h2{font-size:29px}.detail-facts{gap:20px}.guide-bottom{align-items:start;flex-direction:column;margin-bottom:45px}.prose{padding:40px 0 55px}.prose h1{font-size:40px}.prose p,.prose li{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* The original illustrations keep their colored paper backgrounds in both modes. */
:root {
    color-scheme: light;
}

.site-header .main-nav {
    margin-inline-start: auto;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.appearance-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
}

.appearance-toggle:hover {
    border-color: var(--green);
    color: var(--green);
}

.appearance-toggle svg {
    width: 19px;
    height: 19px;
}

.appearance-toggle .appearance-sun,
.appearance-toggle[aria-pressed="true"] .appearance-moon {
    display: none;
}

.appearance-toggle[aria-pressed="true"] .appearance-sun {
    display: block;
}

:root[data-appearance="dark"] {
    color-scheme: dark;
    --ink: #edf2e8;
    --muted: #b4c1b4;
    --paper: #151d18;
    --line: #3a493e;
    --green: #b7dba9;
    --dark-surface: #202c24;
    --dark-raised: #29382d;
    --dark-on-accent: #17241a;
}

[data-appearance="dark"] :is(.site-header, .skip-link) {
    background: var(--paper);
}

[data-appearance="dark"] :is(.preview-bar, .category-symbol, .method-feature, .scene-circle) {
    background: var(--dark-raised);
}

[data-appearance="dark"] .preview-bar {
    color: #d2e4c8;
}

[data-appearance="dark"] :is(.scene-card, .product-art) {
    color: #202b26;
}

[data-appearance="dark"] .scene-number {
    opacity: .8;
}

[data-appearance="dark"] :is(.pick-number, .art-label) {
    color: #405047;
}

[data-appearance="dark"] :is(.product-card, .buy-preview, .editor-note) {
    background: var(--dark-surface);
    border-color: var(--line);
}

[data-appearance="dark"] .merchant {
    background: var(--dark-raised);
    border-color: var(--line);
}

[data-appearance="dark"] :is(.nav-button, .card-footer, .method-step) {
    border-color: var(--line);
}

[data-appearance="dark"] :is(.research-label, .editor-note, .method-feature p, .method-step > span, .footer-bottom, .merchant, .merchant span, .category-tab) {
    color: var(--muted);
}

[data-appearance="dark"] .hero-footnote {
    color: var(--muted) !important;
}

[data-appearance="dark"] :is(.button, .category-tab[aria-pressed="true"]) {
    background: var(--green);
    border-color: var(--green);
    color: var(--dark-on-accent);
}

[data-appearance="dark"] .button:hover {
    background: #d2e9c8;
}

[data-appearance="dark"] .button.secondary {
    background: transparent;
    color: var(--green);
}

[data-appearance="dark"] :is(a, button, summary):focus-visible {
    outline-color: #f2b68c;
}

@media (max-width: 1000px) {
    .header-inner {
        gap: 16px;
    }
}

@media (max-width: 760px) {
    .header-inner {
        gap: 12px;
    }

    .header-controls .menu-toggle {
        min-height: 44px;
    }
}
