/* Test product page (user decision 2026-10-12): sample reading, discovery areas, offers, free start. */
.tp-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"gallery head" "gallery buy";gap:8px 56px;align-items:start;padding-block:28px 72px}
.tp-head{grid-area:head}.tp-gallery{grid-area:gallery;position:sticky;top:92px}.tp-buy{grid-area:buy}
.test-landing .tp-hero .eyebrow{margin:26px 0 10px}
.tp-hero h1{font:400 clamp(40px,4.6vw,60px)/1.05 var(--serif);margin:0}
.test-landing .tp-headline{font:italic 400 clamp(20px,2vw,24px)/1.35 var(--serif);color:#e9dcc4;margin:10px 0 0}
.tp-proof{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:16px}
.tp-proof .pilot-test-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.tp-proof .pilot-test-summary p{margin:0!important}
.tp-rating{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;text-decoration:none;color:var(--text)}.tp-rating span:last-child{color:var(--muted);font-weight:400}
.tp-stars{color:#ffc24b;letter-spacing:2px;font-size:17px}

/* 4. The sample reading, framed like a product photo with a page strip underneath. */
.tp-sample-frame{position:relative;padding:10px;border-radius:26px;background:linear-gradient(160deg,#ffffff16,#ffffff05);border:1px solid #ffd18a38;box-shadow:0 30px 70px #00000066}
.tp-sample-label{position:absolute;z-index:3;top:-12px;left:22px;transform:rotate(-2deg);background:linear-gradient(110deg,#ffcf87,#f4b482);color:#262235;font:700 12px/1 var(--sans);letter-spacing:.02em;padding:8px 13px;border-radius:999px;box-shadow:0 6px 16px #0007}
.tp-sample{height:min(76vh,720px);min-height:520px;border-radius:18px;overflow:hidden;background:#f6efe1}
.tp-sample-loading{color:#6b5f4a;text-align:center;padding:48% 20px 0;margin:0}
.tp-pages{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.tp-pages button{width:100%;min-height:62px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:4px;text-align:left;padding:8px 10px;border-radius:12px;border:1px solid #ffffff22;background:#ffffff08;color:var(--muted);cursor:pointer;font:500 11px/1.25 var(--sans);transition:border-color .2s,background .2s,color .2s}
.tp-pages button b{font:400 20px/1 var(--serif);color:var(--text)}
.tp-pages button span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-pages button:hover{border-color:#ffd18a66;color:var(--text)}
.tp-pages button[aria-current="true"]{border-color:var(--accent);background:#ffd18a1a;color:var(--text);box-shadow:inset 0 0 0 1px var(--accent)}
.tp-pages button[aria-current="true"] b{color:var(--accent)}
.test-landing .tp-sample-note{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 0}

/* 1. What the reading explores. */
main.test-landing>section.tp-hero,main.test-landing>section.tp-ideas,main.test-landing>section.tp-faq,main.test-landing>section.tp-reviews,main.test-landing>section.tp-related{text-align:left}
main.test-landing>section[class*="tp-"] p{margin-inline:0}
.test-landing .tp-label{font:600 11px/1.5 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:34px 0 16px;padding:0;max-width:none}
.tp-areas{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.tp-areas li{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center}
.tp-area-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--accent);background:radial-gradient(circle at 30% 25%,#ffd18a33,#ffd18a10 70%);border:1px solid #ffd18a40}
.tp-area-icon .tp-icon{width:21px;height:21px}
.tp-areas b{display:block;font-weight:600;font-size:16px;line-height:1.3}
.tp-areas small{display:block;color:var(--muted);font-size:13.5px;line-height:1.45;margin-top:2px}

/* 2. Offers: radio cards with stickers slapped on. */
.tp-offers{border:0;margin:0;padding:0;min-width:0;display:grid;gap:12px}
.tp-offers{margin-top:8px}.test-landing .tp-offers legend{float:left;width:100%;margin:34px 0 16px}.tp-offers legend+*{clear:both}
.tp-offer{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;border:1px solid #ffffff24;background:#ffffff07;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.tp-offer.is-flagged{margin-top:6px}
.tp-offer:hover{border-color:#ffd18a70}
.tp-offer input{position:absolute;opacity:0;pointer-events:none}
.tp-radio{width:22px;height:22px;border-radius:50%;border:2px solid #ffffff55;display:grid;place-items:center}
.tp-offer:has(input:checked){border-color:var(--accent);background:linear-gradient(120deg,#ffd18a1f,#ffd18a08);box-shadow:0 12px 32px #0005,inset 0 0 0 1px var(--accent)}
.tp-offer:has(input:checked) .tp-radio{border-color:var(--accent)}
.tp-offer:has(input:checked) .tp-radio:after{content:'';width:10px;height:10px;border-radius:50%;background:var(--accent)}
.tp-offer:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.tp-offer-body b{display:block;font-weight:600;font-size:16px;line-height:1.3}
.tp-offer-body small{display:block;color:var(--muted);font-size:13px;line-height:1.45;margin-top:3px}
.tp-offer-state{display:block;font-style:normal;font-size:12.5px;font-weight:600;color:#9fd8b8;margin-top:4px}.tp-offer-state:empty{display:none}
.tp-offer-price{text-align:right;white-space:nowrap}
.tp-offer-price s{display:block;font-size:13px;color:#a8b2c5}.tp-offer-price s:empty{display:none}
.tp-offer-price b{font:500 20px/1.2 var(--serif)}
.tp-offer.is-unavailable{cursor:default;opacity:.6}.tp-offer.is-unavailable:hover{border-color:#ffffff24}
.tp-sticker{position:absolute;z-index:2;top:-11px;font:800 11px/1 var(--sans);letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:7px;box-shadow:0 5px 12px #0008,inset 0 -2px 0 #0000001f;pointer-events:none}
.tp-save{right:16px;transform:rotate(4deg);background:#ff9e57;color:#2a1405}
.tp-flag{left:52px;transform:rotate(-3deg);background:#ffd18a;color:#262235}
.tp-offer:has(input:checked) .tp-save{transform:rotate(4deg) scale(1.06)}

/* 3. Price and the free start. */
.tp-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:24px 0 4px}
.tp-price strong{font:400 42px/1 var(--serif);color:var(--text)}
.tp-price s{font-size:18px;color:#a8b2c5}.tp-price s:empty{display:none}
.tp-price span{font-size:13px;color:var(--muted);flex-basis:100%}
.tp-actions{display:grid;gap:10px;margin-top:18px}
.test-landing .tp-actions .cta{margin:0;width:100%;min-height:62px;font-size:17px;box-shadow:0 14px 34px #ffd18a3d}
.tp-actions .cta.secondary,.tp-related .cta.secondary{background:transparent;color:var(--text);border:1px solid #ffd18a80;box-shadow:none}
.tp-actions .cta.secondary:hover,.tp-related .cta.secondary:hover{background:#ffd18a14}
.tp-actions .cta[hidden]{display:none}
.test-landing .tp-cta-note{font-size:14px;line-height:1.55;color:#e9dcc4;margin:12px 0 0;text-align:center}
.test-landing .tp-status{font-size:13px;color:#ffb39a;margin:6px 0 0;text-align:center}.tp-status:empty{display:none}
.tp-trust{list-style:none;margin:24px 0 0;padding:18px 0 0;border-top:1px solid #ffffff1c;display:grid;gap:10px;font-size:14px;color:var(--muted)}
.tp-trust li{display:flex;align-items:center;gap:10px}.tp-trust .tp-icon{width:18px;height:18px;color:var(--accent);flex:none}

/* Lower sections. */
.tp-ideas{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start}
.tp-ideas-text{padding:40px;border-radius:28px;background:radial-gradient(ellipse at 0 0,#ffd18a1a,transparent 60%),linear-gradient(160deg,#ffffff0d,#ffffff03);border:1px solid #ffffff1c}
.test-landing .tp-ideas .research-card{margin:0 0 16px;border-color:#ffd18a33;background:linear-gradient(160deg,#ffd18a0f,#ffffff03)}
.tp-research h3{font:400 34px/1.1 var(--serif);color:var(--accent);margin:0 0 8px}
.tp-measures{padding:28px;border-radius:22px;border:1px solid #ffffff1c;background:#ffffff05}
.test-landing .tp-research .tp-measures h3{font:600 11px/1.5 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 16px}
.tp-measures ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tp-measures li{padding:7px 13px;border-radius:999px;border:1px solid #ffffff26;background:#ffffff08;font-size:13.5px;line-height:1.3}
.tp-faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:start}
.tp-faq-head{position:sticky;top:110px}
.tp-faq-list{display:grid;gap:12px}
.tp-faq-list details{padding:0;border:1px solid #ffffff20;border-radius:18px;background:#ffffff06;transition:border-color .2s,background .2s}
.tp-faq-list details[open]{border-color:#ffd18a55;background:#ffd18a0b}
.tp-faq-list summary{list-style:none;cursor:pointer;font-weight:600;padding:20px 56px 20px 22px;position:relative}
.tp-faq-list summary::-webkit-details-marker{display:none}
.tp-faq-list summary:after{content:'+';position:absolute;right:22px;top:50%;transform:translateY(-50%);font:400 24px/1 var(--serif);color:var(--accent)}
.tp-faq-list details[open] summary:after{content:'\2212'}
.test-landing .tp-faq-list p{margin:0;padding:0 22px 20px;color:#d6dbe6}
.tp-reviews{border-top:1px solid #ffffff14}
.tp-related{border-top:1px solid #ffffff14}
.tp-related-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:28px}
.test-landing .tp-related-head .cta{margin:0;flex:none}
.tp-related-head s{color:#a8b2c5}.tp-related-head b{color:var(--accent)}
.tp-related .related-tests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tp-related .test-card{min-height:280px}

@media(max-width:1000px){
 .tp-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "gallery" "buy";gap:20px;padding-block:12px 48px}
 .tp-gallery{position:static}
 .tp-sample{height:min(72vh,620px);min-height:460px}
 .tp-ideas,.tp-faq{grid-template-columns:minmax(0,1fr);gap:28px}
 .tp-faq-head{position:static}
 .tp-related .related-tests{grid-template-columns:minmax(0,1fr)}
 .tp-related-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){
 .tp-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;margin-inline:-4px}
 .tp-pages li{flex:0 0 112px;scroll-snap-align:start}
 .tp-offer{grid-template-columns:22px minmax(0,1fr);padding:16px 14px}
 .tp-offer-price{grid-column:2;text-align:left;display:flex;gap:10px;align-items:baseline}
 .tp-offer-price s{display:inline}
 .tp-flag{left:46px}
 .tp-ideas-text{padding:26px 22px}
 .tp-price strong{font-size:36px}
}
@media(prefers-reduced-motion:reduce){.tp-offer,.tp-pages button,.tp-faq-list details{transition:none}}

/* Cream offers (12 October 2026): the reading's paper on the option cards, deep ink text, gold for the choice. */
.tp-offer{--paper:#fffaf0;--paper-2:#f5e8cc;--ink:#1d1a2e;background:linear-gradient(170deg,var(--paper),var(--paper-2));border-color:#d9c39a;color:var(--ink);box-shadow:0 10px 24px #0005}
.tp-offer:hover{border-color:#b8862b}
.tp-offer-body small{color:#5f5547}
.tp-offer-price s{color:#8a7d66}
.tp-offer-price b{color:var(--ink)}
.tp-radio{border-color:#b8a98a;background:#fff}
.tp-offer-state{color:#2e7d55}
.tp-offer:has(input:checked){background:linear-gradient(170deg,#fffdf7,#f3e1bd);border-color:#b8862b;box-shadow:0 16px 36px #0008,inset 0 0 0 2px #b8862b}
.tp-offer:has(input:checked) .tp-radio{border-color:#b8862b}
.tp-offer:has(input:checked) .tp-radio:after{background:#b8862b}
.tp-offer:has(input:focus-visible){outline-color:#f0c46a}
.tp-offer.is-unavailable:hover{border-color:#d9c39a}
.tp-sticker{box-shadow:0 6px 14px #0009,inset 0 -2px 0 #0000001f}
/* Subtle cream elsewhere on the page. */
.tp-price strong{color:#fff3dc}
.tp-measures li{background:#fffaf0;border-color:#e6d5b0;color:#1d1a2e}
.tp-faq-list details[open]{border-color:#e6d5b0;background:linear-gradient(90deg,#fffaf00f,#ffffff05);box-shadow:inset 3px 0 0 #f0dcb4}
.tp-faq-list summary:after{color:#f0dcb4}

/* Hero call to action and clearer price tags (12 October 2026). */
.tp-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:22px}
.test-landing .tp-hero-cta .cta{margin:0;min-height:54px;padding:15px 26px;font-size:16px;box-shadow:0 12px 30px #ffd18a3d}
.tp-hero-cta span{font-size:14px;color:#e9dcc4}
.tp-price span:empty{display:none}
.test-landing .tp-price-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.tp-price-tags span{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:999px;background:#fff3dc14;border:1px solid #ffd18a66;color:#fff3dc;font-size:14px;font-weight:600}
.tp-price-tags span:before{content:"";width:13px;height:7px;border:solid #ffd18a;border-width:0 0 2px 2px;transform:translateY(-2px) rotate(-45deg)}
/* Only the note under the button spans the row; the button keeps its label and arrow centred together (20 October 2026). */
@media(max-width:560px){.tp-hero-cta .cta{width:100%;justify-content:center}.tp-hero-cta>span{width:100%;text-align:center}}
.tp-hero-cta .cta span{color:inherit}
/* A labelled pack (Best Value · Recommended, David 20 October 2026) carries its savings sticker at the bottom corner. */
.tp-offer.is-flagged{margin-bottom:10px}.tp-offer.is-flagged .tp-save{top:auto;bottom:-11px}.tp-flag{max-width:calc(100% - 70px)}
/* Price per test first, tests and total beneath (David, 20 October 2026; content/features.json perTestPrice). */
.tp-offer-price.is-per-test .tp-per{display:block;font-size:12px;opacity:.8}.tp-offer-price.is-per-test .tp-total{display:block;margin-top:2px;font-size:13px;font-weight:700;white-space:normal}
@media(max-width:560px){.tp-offer-price.is-per-test{flex-wrap:wrap;column-gap:6px}.tp-offer-price.is-per-test .tp-per{display:inline}.tp-offer-price.is-per-test .tp-total{flex-basis:100%}}
