/* ==========================================================================
   ASKTURA — book landing page
   Layers on book.css (shared engine) and prompt1000.css (the Practical AI
   Mastery series look), then re-tints to the ASKTURA cover's teal and adds
   the page's own tools: prompt ladder, PROMPT Loop, Repair Lab, AI Passport,
   method picker, five gates, Quality Scorecard and the 12-challenge tracker.
   ========================================================================== */
.ask {
    --gold: #00CFDF;
    --gold-2: #7FEFF7;
    --gold-rgb: 0, 207, 223;
    --gold2-rgb: 127, 239, 247;
    --gold-deep: #00A3B4;
    --on-gold: #02141F;
    --gold-ink: #00707D;
    --navy: #071528;
    --navy-2: #0B1F38;
    --navy-3: #10304F;
    --bg: #F2F7F9;
    --bg-alt: #E5EFF2;
    --ink: #071528;
    --book-ratio: 1.6;
}
[data-theme="dark"] .ask {
    --bg: #040D18;
    --bg-alt: #081628;
    --ink: #EAF6FB;
    --muted: #9FB3C4;
    --card: #0B1D31;
    --gold-ink: var(--gold);
}
/* 58 pages: a slim spine on the 3D model */
.ask .book3d { --d: calc(var(--w) * 0.06); }
.ask .bow-hero__bg {
    background:
        radial-gradient(40rem 26rem at 78% 40%, rgba(0, 207, 223, 0.2), transparent 65%),
        radial-gradient(30rem 20rem at 10% 100%, rgba(20, 80, 150, 0.3), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px;
}
.ask .bow-section--dark {
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(0, 207, 223, 0.12), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 48px 48px,
        var(--navy);
}
.ask .book3d__front { box-shadow: inset 3px 0 8px rgba(0, 0, 0, 0.35), 0 0 60px -10px rgba(0, 207, 223, 0.35); }
.ask .book3d__shine { background: linear-gradient(105deg, transparent 30%, rgba(127, 239, 247, 0.2) 45%, transparent 60%); background-size: 250% 100%; background-position: calc(var(--shine, 0.5) * 200%) 0; }
.ask .bow-sticky { background: rgba(7, 21, 40, 0.9); }
.ask .bow-ticker__track span::after { content: "\25C7"; }
.ask .recovery { background: linear-gradient(160deg, #F6FBFC, #DDEFF3); }
.ask .recovery__eyebrow { color: #00707D; }

/* corner brackets, echoing the cover */
.ask-frame { position: relative; }
.ask-frame::before, .ask-frame::after {
    content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
    border: 3px solid var(--gold); opacity: 0.85;
}
.ask-frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.ask-frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

.ask-verbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 0 0 1.5rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; color: #9FB3C4; }
.ask-verbs b { color: var(--gold); font-weight: 500; }
.ask-verbs i { font-style: normal; opacity: 0.5; }

/* ---------- LADDER (weak → better → professional) ---------- */
.ladder { display: grid; gap: 1.25rem; container-type: inline-size; }
.ladder__tabs { display: inline-flex; padding: 0.3rem; gap: 0.25rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); border: 1px solid var(--line); justify-self: start; flex-wrap: wrap; }
.ladder__tabs button {
    font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; border: 0; border-radius: 999px; padding: 0.55rem 1.1rem;
    background: transparent; color: var(--muted); transition: background 0.3s, color 0.3s;
}
.ladder__tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }
.ladder__tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ladder__panel { display: grid; gap: 1.25rem; }
@container (min-width: 820px) { .ladder__panel { grid-template-columns: 1.4fr 0.8fr; align-items: start; } }
.ladder__prompt {
    margin: 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.6; color: var(--ink); font-weight: 500;
}
.ladder__prompt mark { background: rgba(var(--gold-rgb), 0.16); color: inherit; border-bottom: 2px solid var(--gold); padding: 0 0.15em; border-radius: 3px; }
.ladder__prompt.is-in { animation: bow-pop 0.45s var(--ease); }
.ladder__side { display: grid; gap: 0.9rem; }
.ladder__meter { height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.ladder__meter span { display: block; height: 100%; width: var(--lv, 10%); background: linear-gradient(90deg, #FF8A5B, var(--gold) 60%, #3DDC97); transition: width 0.6s var(--ease); }
.ladder__label { margin: 0; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ladder__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ladder__tags li { font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(var(--gold-rgb), 0.12); color: var(--gold-ink); border: 1px solid rgba(var(--gold-rgb), 0.35); }
.ladder__tags li.is-missing { background: transparent; color: var(--muted); border-style: dashed; border-color: var(--line); }
.ladder__note { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

/* ---------- PROMPT LOOP ---------- */
.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); counter-reset: loop; }
.loop li {
    position: relative; padding: 1.4rem 1.2rem 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
    transition: transform 0.4s var(--ease), border-color 0.3s;
}
.loop li:hover { transform: translateY(-4px); border-color: var(--gold); }
.loop b { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--navy); color: var(--gold); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.9rem; }
.loop h3 { margin: 0 0 0.4rem; font-size: 1.08rem; color: var(--ink); }
.loop p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.loop li:not(:last-child)::after {
    content: "\2192"; position: absolute; right: -0.75rem; top: 2.1rem; z-index: 1; width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
    border-radius: 50%; font-size: 0.8rem; background: var(--gold); color: var(--on-gold);
}
.loop li:last-child::after { content: "\21BA"; position: absolute; right: 0.9rem; top: 1.1rem; color: var(--gold); font-size: 1.3rem; }
@media (max-width: 720px) { .loop li:not(:last-child)::after { display: none; } }
.loop-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1.75rem; color: var(--muted); }

/* ---------- REPAIR LAB ---------- */
.repair { display: grid; gap: 1.5rem; container-type: inline-size; }
@media (min-width: 960px) { .repair { grid-template-columns: 1fr 1fr; align-items: start; } .repair .recovery { position: sticky; top: 100px; } }
.repair__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.repair__q { margin: 0 0 0.8rem; font-weight: 700; color: var(--ink); }
.symptoms { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.45rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.symptoms button {
    width: 100%; height: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
    padding: 0.75rem 0.85rem; border-radius: 12px; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent);
    display: grid; gap: 0.15rem; transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
}
.symptoms button:hover { border-color: rgba(var(--gold-rgb), 0.6); transform: translateY(-2px); }
.symptoms button[aria-pressed="true"] { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.14); }
.symptoms button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.symptoms strong { font-size: 0.95rem; }
.symptoms small { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.repair__field { margin-bottom: 1rem; }
.repair__field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink); }
.repair__field label small { font-weight: 400; color: var(--muted); }
.repair__guess { font-size: 0.85rem; color: var(--gold-ink); min-height: 1.2em; margin: -0.4rem 0 1rem; }
.repair-card .recovery__list > div { border-left-color: var(--gold); background: rgba(var(--gold-rgb), 0.1); }
.repair-card .recovery__list dt span { color: #00707D; width: 3.2rem; }
.repair-card pre { margin: 0 0 1rem; }
.repair-card.is-idle .recovery__list, .repair-card.is-idle pre, .repair-card.is-idle .recovery__actions { display: none; }
.repair-card__idle { margin: 0; color: #4A5B6C; line-height: 1.6; }
.repair-card:not(.is-idle) .repair-card__idle { display: none; }
.repair-card__diag { margin: -0.6rem 0 1rem; color: #3E5163; line-height: 1.55; font-size: 0.95rem; }

/* ---------- AI PASSPORT ---------- */
.passport { display: grid; gap: 1.25rem; }
.passport__mission { display: grid; gap: 0.6rem; }
.passport__mission label { font-weight: 700; color: var(--ink); }
.passport__mission input {
    width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: rgba(0, 0, 0, 0.25); border: 1.5px solid var(--line);
    border-radius: 12px; padding: 0.9rem 1rem; min-height: 3.2rem;
}
.passport__mission input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.25); }
.passport__examples { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.82rem; color: var(--muted); }
.modes { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; border: 0; }
.modes legend { font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; padding: 0; }
.modes label { position: relative; cursor: pointer; }
.modes input { position: absolute; opacity: 0; pointer-events: none; }
.modes span {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
    border: 1.5px solid var(--line); color: var(--muted); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.modes input:checked + span { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.modes input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.passport__out { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.stamp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; position: relative; overflow: hidden; }
.stamp.is-in { animation: bow-pop 0.45s var(--ease) both; }
.stamp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.25rem; }
.stamp h3 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.stamp__code { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--gold); border: 1px solid rgba(var(--gold-rgb), 0.5); border-radius: 6px; padding: 0.1rem 0.4rem; }
.stamp__grammar { margin: 0 0 0.7rem; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.stamp pre {
    margin: 0 0 0.8rem; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 0.8rem; line-height: 1.6;
    background: rgba(0, 0, 0, 0.28); color: #DDF6FC; border-radius: 10px; padding: 0.8rem 0.9rem; border: 1px solid var(--line);
}
.stamp__actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.passport__empty { color: var(--muted); padding: 1.25rem; border: 1px dashed rgba(var(--gold-rgb), 0.45); border-radius: 14px; margin: 0; }
.passport__check { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.passport__check strong { color: var(--ink); }

/* ---------- METHODS ---------- */
.jobs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; align-items: center; }
.jobs > span { font-size: 0.85rem; color: var(--muted); margin-right: 0.2rem; }
.methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.methods li {
    padding: 1rem 1.1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
    transition: opacity 0.35s, transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.methods li span { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-ink); letter-spacing: 0.08em; }
.methods li h3 { margin: 0.25rem 0 0.3rem; font-size: 1rem; color: var(--ink); }
.methods li p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.methods.is-filtered li { opacity: 0.32; }
.methods.is-filtered li.is-hit { opacity: 1; border-color: var(--gold); box-shadow: 0 12px 26px -18px rgba(0, 163, 180, 0.8); transform: translateY(-2px); }
.methods__special { margin-top: 1.25rem; }
.methods__special li { background: var(--navy); border-color: transparent; }
.methods__special li h3 { color: #F2FAFD; }
.methods__special li p { color: #A9BFD0; }
.methods__special li span { color: var(--gold); }
.methods__note { margin: 1.25rem 0 0; color: var(--muted); line-height: 1.6; max-width: 760px; }

/* ---------- FIVE GATES ---------- */
.gates { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); counter-reset: gate; }
.gates li { counter-increment: gate; padding: 1.3rem 1.2rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.gates li::before { content: "GATE " counter(gate); display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.6rem; }
.gates h3 { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--ink); }
.gates p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.gates li:last-child { background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.05)); border-color: rgba(var(--gold-rgb), 0.5); }
.stops { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.stops li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255, 138, 91, 0.45); background: rgba(255, 138, 91, 0.07); }
.stops b { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); background: #E5623A; color: #fff; font-size: 0.62rem; letter-spacing: 0.06em; }
.stops strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }
.stops span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ---------- SCORECARD ---------- */
.scorecard { display: grid; gap: 1.5rem; container-type: inline-size; }
@media (min-width: 960px) { .scorecard { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.scorecard__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.dim { display: grid; gap: 0.6rem; padding: 0.95rem 0; border: 0; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
.dim:first-child { padding-top: 0; }
.dim legend { float: left; width: 100%; padding: 0; margin-bottom: 0.5rem; }
.dim legend strong { display: block; color: var(--ink); font-size: 1.02rem; }
.dim legend small { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.seg { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
    display: grid; justify-items: center; gap: 0.05rem; padding: 0.5rem 0.4rem; border-radius: 10px; border: 1.5px solid var(--line);
    font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.25; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.seg span b { font-size: 1.1rem; color: var(--ink); }
.seg input:checked + span { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.14); color: var(--ink); }
.seg input:checked + span b { color: var(--gold-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.critical { display: flex; gap: 0.7rem; align-items: start; margin-top: 1.1rem; padding: 0.9rem 1rem; border-radius: 12px; border: 1.5px dashed rgba(229, 98, 58, 0.55); cursor: pointer; color: var(--ink); line-height: 1.5; font-size: 0.93rem; }
.critical input { margin-top: 0.25rem; width: 1.1rem; height: 1.1rem; accent-color: #E5623A; flex: none; }
.critical small { display: block; color: var(--muted); }
.score-card { text-align: center; }
.score-ring { --v: 0; width: 170px; aspect-ratio: 1; margin: 0 auto 0.75rem; border-radius: 50%; display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--ring, var(--gold)) calc(var(--v) * 1%), rgba(7, 21, 40, 0.1) 0); transition: --v 0.8s var(--ease); }
@property --v { syntax: '<number>'; initial-value: 0; inherits: false; }
.score-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #F2F8FA; }
.score-ring span { position: relative; font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.score-ring span small { font-size: 1rem; color: #4A5B6C; font-weight: 600; }
.score-card[data-grade="good"] .score-ring { --ring: #2BBF83; }
.score-card[data-grade="low"] .score-ring, .score-card[data-grade="stop"] .score-ring { --ring: #E5623A; }
.score-card h3 { margin: 0 0 0.4rem; }
.score-card__msg { margin: 0 auto 1.1rem; max-width: 34ch; color: #3E5163; line-height: 1.55; }
.score-card__fix { text-align: left; margin: 0 0 1.2rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(var(--gold-rgb), 0.12); border-left: 3px solid var(--gold); color: var(--navy); line-height: 1.5; font-size: 0.92rem; }
.score-card__fix:empty { display: none; }
.score-card .recovery__actions { justify-content: center; }

/* ---------- CHALLENGES ---------- */
.challenges { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .challenges { grid-template-columns: 0.75fr 1.25fr; align-items: start; } .challenges__side { position: sticky; top: 100px; } }
.challenges__side { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--navy); color: #DCE8F0; }
.challenges__side .score-ring::before { background: var(--navy); }
.challenges__side .score-ring { background: conic-gradient(var(--gold) calc(var(--v) * 1%), rgba(255, 255, 255, 0.1) 0); }
.challenges__side .score-ring span { color: #F2FAFD; }
.challenges__side .score-ring span small { color: #9FB3C4; }
.challenges__side h3 { margin: 0 0 0.4rem; color: #F2FAFD; text-align: center; }
.challenges__side p { margin: 0 0 1rem; color: #A9BFD0; line-height: 1.55; text-align: center; font-size: 0.95rem; }
.challenges__side .detector__actions { justify-content: center; }
.challenges__side .bow-chip, .pair .bow-chip { color: #F2FAFD; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); }
.challenges__side .bow-chip:hover, .pair .bow-chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.chlist label {
    display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; cursor: pointer;
    padding: 0.85rem 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s;
}
.chlist label:hover { border-color: rgba(var(--gold-rgb), 0.6); }
.chlist input { position: absolute; opacity: 0; pointer-events: none; }
.chlist .tick { width: 1.6rem; height: 1.6rem; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; font-weight: 800; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.chlist input:checked ~ .tick { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chlist input:focus-visible ~ .tick { outline: 3px solid var(--gold); outline-offset: 2px; }
.chlist input:checked ~ .chlist__t strong { text-decoration: line-through; text-decoration-color: rgba(var(--gold-rgb), 0.8); text-decoration-thickness: 2px; }
.chlist__t strong { display: block; color: var(--ink); font-size: 0.98rem; }
.chlist__t small { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.chlist__ch { font-family: var(--mono); font-size: 0.7rem; color: var(--gold-ink); white-space: nowrap; }
.chlist li:has(input:checked) label { border-color: rgba(var(--gold-rgb), 0.55); background: color-mix(in srgb, var(--card) 85%, rgba(var(--gold-rgb), 0.15)); }
.chlist__zero label { border-style: dashed; }

/* ---------- PAIR (series) ---------- */
.pair { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 5vw, 3.25rem); border-radius: 28px; background: var(--navy); color: #DCE8F0; }
@media (min-width: 900px) { .pair { grid-template-columns: auto 1fr; } }
.pair__covers { display: flex; justify-content: center; perspective: 900px; }
.pair__covers img { width: clamp(110px, 14vw, 150px); height: auto; border-radius: 3px 6px 6px 3px; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.7); transition: transform 0.5s var(--ease); }
.pair__covers img:first-child { transform: rotateY(-14deg) translateX(14px); position: relative; z-index: 1; }
.pair__covers img:last-child { transform: rotateY(-14deg) translateX(-14px) translateY(18px); }
.pair:hover .pair__covers img:first-child { transform: rotateY(-4deg) translateX(4px); }
.pair .bow-h2 { color: #F2FAFD; }
.pair p { color: #A9BFD0; line-height: 1.65; margin: 0 0 1.25rem; }
.pair strong { color: #F2FAFD; }
.pair .shelf__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.free__sheet--ask span:not(:first-child) { text-align: left !important; font-size: 0.82rem; }
.offers__fine { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 1.25rem auto 0; max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
    .loop li, .methods li, .symptoms button, .stamp.is-in, .ladder__prompt.is-in { transition: none; animation: none; }
}
@media print {
    body.print-score * { visibility: hidden; }
    body.print-score .score-card, body.print-score .score-card * { visibility: visible; }
    body.print-score .score-card { position: absolute; inset: 0 auto auto 0; width: 100%; box-shadow: none; }
    body.print-score .recovery__actions { display: none; }
}
