/* =====================================================================
   App Evaluation page. Extends concept.css (tokens, buttons, section heads,
   steps, FAQ).
   ===================================================================== */


/* ---------- App Evaluation page ---------- */
.ck-hero {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
    align-items: center; gap: clamp(32px, 5vw, 72px);
}
body.page-compact .ck-hero { padding-top: clamp(130px, 17vh, 190px); }
.ck-hero .display { font-size: clamp(48px, 6.2vw, 112px); max-width: none; }
.ck-hero .body-line { margin-top: 24px; max-width: 56ch; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.5; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* The price, as the No. 1 packet: crimped top, flap, glyph, and the checklist on its face */
.ck-packet { justify-self: end; width: min(100%, 400px); filter: drop-shadow(0 26px 26px rgba(20, 26, 22, 0.2)); transform: rotate(2.5deg); }
.js .ck-packet.reveal { transform: translateY(40px) rotate(9deg); transition-duration: 1000ms; transition-timing-function: cubic-bezier(.2,.8,.25,1.12); }
.js .ck-packet.reveal.in { transform: rotate(2.5deg); }
.ck-packet-sheet {
    --s: 6px;
    padding: 0 clamp(22px, 2.2vw, 30px) clamp(24px, 2.4vw, 32px); border-radius: 4px 4px 24px 24px;
    background: var(--clay); color: #fff6ec;
    -webkit-mask: radial-gradient(var(--s) at 50% 0, #0000 96%, #000) 50% 0 / calc(var(--s) * 2.4) 100% repeat-x;
            mask: radial-gradient(var(--s) at 50% 0, #0000 96%, #000) 50% 0 / calc(var(--s) * 2.4) 100% repeat-x;
}
.ck-packet-flap {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    margin: 0 calc(clamp(22px, 2.2vw, 30px) * -1) 18px; padding: 20px clamp(22px, 2.2vw, 30px) 12px;
    background: rgba(20, 26, 22, 0.14); border-bottom: 2px dashed rgba(255, 246, 236, 0.45);
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.ck-packet-brand { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.ck-packet-art { float: right; width: 64px; margin: 4px 0 0 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ck-price-label { margin: 0; font-family: var(--serif); font-weight: 800; font-variation-settings: "WONK" 1, "opsz" 144; font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1; }
.ck-price-amount { margin: 8px 0 20px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 6.4vw, 96px); letter-spacing: -0.04em; line-height: 1; }
.ck-price-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 2px solid rgba(255, 246, 236, 0.3); display: grid; gap: 10px; }
.ck-price-list li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.ck-price-list li::before { content: "✓"; font-weight: 700; }
.ck-price-add { margin: 18px 0 0; padding-top: 16px; border-top: 2px solid rgba(255, 246, 236, 0.3); font-size: 13.5px; line-height: 1.5; opacity: 0.9; }
@media (max-width: 900px) { .ck-hero { grid-template-columns: 1fr; align-items: start; } .ck-packet { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .js .ck-packet.reveal, .js .ck-packet.reveal.in { transform: rotate(2.5deg); } }

/* Goals: six tiles to pick from, two at most; picked ones turn Sun and get a tick */
.goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.goal {
    position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left;
    padding: 24px 56px 24px 24px; border: 2px solid var(--rule); border-radius: 22px;
    background: var(--bg-soft); color: var(--ink); font: inherit; cursor: pointer;
    transition: background-color 250ms ease, border-color 250ms ease, transform 350ms cubic-bezier(.34,1.56,.64,1);
}
.goal::after {
    content: ""; position: absolute; right: 20px; top: 22px; width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid rgba(20, 26, 22, 0.3);
    background: center / 14px no-repeat;
}
.goal:hover { border-color: var(--ink); transform: translateY(-2px); }
.goal:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.goal[aria-pressed="true"] { background: var(--sun); border-color: var(--ink); }
.goal[aria-pressed="true"]::after {
    border-color: var(--ink); background-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23f2b63d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.goal-name { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: -0.015em; line-height: 1.1; }
.goal-text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.goal[aria-pressed="true"] .goal-text { color: var(--ink); }
html:not(.js) .goal { cursor: default; padding-right: 24px; }
html:not(.js) .goal::after, html:not(.js) .goal-pick { display: none; }
.goal-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; padding: 18px 18px 18px 26px; border-radius: 999px; background: var(--sunk); }
.goal-pick-line { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.goal-pick-line b { font-family: var(--serif); font-weight: 700; }
.goal-pick .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
@media (max-width: 900px) { .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .goal-grid { grid-template-columns: 1fr; } .goal-pick { border-radius: 22px; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .goal { transition: none; } .goal:hover { transform: none; } }

/* What you get: the list beside a phone that slowly scrolls through the real sample report */
.ck-get-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ck-get-copy .section-head { display: block; margin-bottom: 36px; }
.ck-get-copy .section-head .body-line { margin-top: 20px; }
.get-list { list-style: none; margin: 0; padding: 0; counter-reset: get; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.get { position: relative; padding: 22px 0 24px 52px; border-top: 1px solid var(--rule); }
.get::before {
    counter-increment: get; content: counter(get, decimal-leading-zero);
    position: absolute; left: 0; top: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--clay); color: #fff6ec; font-family: var(--serif); font-weight: 800; font-size: 14px;
}
.get h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; line-height: 1.15; }
.get p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.ck-get-phone { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ck-phone {
    display: block; width: min(100%, 300px); aspect-ratio: 9 / 19; padding: 11px; border-radius: 48px;
    background: var(--ink); box-shadow: 0 50px 80px -40px rgba(20, 26, 22, 0.55);
    transform: rotate(-3deg); transition: transform 500ms cubic-bezier(.34,1.56,.64,1);
}
.js .ck-phone.reveal { transform: translateY(40px) rotate(-8deg); }
.js .ck-phone.reveal.in { transform: rotate(-3deg); }
.ck-phone:hover { transform: rotate(0deg) scale(1.02); }
.ck-phone:focus-visible { outline: 3px solid var(--clay); outline-offset: 6px; }
/* overflow keeps the aspect ratio from growing to fit the tall image */
.ck-phone { overflow: hidden; }
.ck-phone-screen { display: block; height: 100%; overflow: hidden; border-radius: 38px; background: var(--paper); }
.ck-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; animation: ckScroll 30s cubic-bezier(.45,0,.55,1) 1.2s infinite alternate; }
@keyframes ckScroll { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
.js .ck-phone:not(.in) img { animation-play-state: paused; }
.ck-phone:hover img { animation-play-state: paused; }
.ck-phone-cap { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ck-phone-cap .link-arrow { font-size: 14px; }
@media (max-width: 1000px) { .get-list { grid-template-columns: 1fr; } }
/* On a phone: heading, then the phone, then the list */
@media (max-width: 820px) {
    .ck-get-grid { display: flex; flex-direction: column; gap: 0; }
    .ck-get-copy { display: contents; }
    .ck-get-phone { position: static; order: 1; margin-bottom: 40px; }
    .ck-get-copy .get-list { order: 2; }
    .ck-phone { width: min(72%, 260px); }
}
@media (prefers-reduced-motion: reduce) {
    .ck-phone-screen img { animation: none; }
    .ck-phone, .js .ck-phone.reveal, .js .ck-phone.reveal.in { transition: none; transform: rotate(-3deg); }
}

/* How it goes: the One Line, thicker, with a node per step in the chapter colors */
.ck-timeline .steps::before, .ck-timeline .steps::after { top: 13px; height: 3px; border-radius: 3px; }
.ck-timeline .steps::before { background: var(--rule); }
.ck-timeline .steps::after { background: var(--ink); }
.ck-timeline .step { padding-top: 54px; }
.ck-timeline .step-dot { width: 30px; height: 30px; border: 3px solid var(--ink); background: var(--bg); }
.ck-timeline .step:nth-child(1) { --node: var(--clay); }
.ck-timeline .step:nth-child(2) { --node: var(--sun); }
.ck-timeline .step:nth-child(3) { --node: var(--water); }
.ck-timeline .step:nth-child(4) { --node: var(--leaf); }
.ck-timeline .step.is-lit .step-dot, html:not(.js) .ck-timeline .step-dot { background: var(--node); border-color: var(--ink); box-shadow: 0 0 0 6px var(--bg); }
.ck-timeline .step-when { color: var(--ink-soft); font-weight: 700; }
.ck-timeline .step-title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; font-variation-settings: "WONK" 1, "opsz" 144; letter-spacing: -0.03em; }
@media (max-width: 900px) {
    .ck-timeline .steps::before, .ck-timeline .steps::after { left: 13px; top: 0; width: 3px; height: auto; }
    .ck-timeline .step { padding-top: 0; padding-left: 54px; }
}

/* What we need: on Sun */
.ck-need { background: var(--sun); color: var(--ink); --seed: var(--ink); --accent: var(--clay); }
.ck-need .eyebrow { color: var(--ink); }
.ck-need-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ck-need-grid .display { font-size: clamp(40px, 5vw, 76px); }
.need-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.need-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(20, 26, 22, 0.22); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.need-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23f2b63d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 820px) { .ck-need-grid { grid-template-columns: 1fr; } }

/* After: four ways forward, as packets in their colors */
.after-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.after {
    --s: 5px;
    display: flex; flex-direction: column; gap: 10px;
    padding: 0 22px 26px; border-radius: 4px 4px 22px 22px;
    background: var(--ac); color: var(--ai);
    -webkit-mask: radial-gradient(var(--s) at 50% 0, #0000 96%, #000) 50% 0 / calc(var(--s) * 2.4) 100% repeat-x;
            mask: radial-gradient(var(--s) at 50% 0, #0000 96%, #000) 50% 0 / calc(var(--s) * 2.4) 100% repeat-x;
}
.after--paper { --ac: var(--sunk); --ai: var(--ink); }
.after--sun   { --ac: var(--sun);  --ai: var(--ink); }
.after--sage  { --ac: var(--sage); --ai: var(--ink); }
.after--water { --ac: var(--water); --ai: #eef3fb; }
.after-flap {
    margin: 0 -22px 8px; padding: 18px 22px 10px;
    background: rgba(20, 26, 22, 0.1); border-bottom: 2px dashed color-mix(in srgb, currentColor 40%, transparent);
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.after h3 { margin: 0; font-family: var(--serif); font-weight: 800; font-variation-settings: "WONK" 1, "opsz" 144; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1.02; }
.after p:not(.after-flap) { margin: 0; font-size: 15px; line-height: 1.55; }
.after a { display: inline-block; margin-top: 4px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; white-space: nowrap; }
.after a::after { content: " →"; }
@media (max-width: 1000px) { .after-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .after-grid { grid-template-columns: 1fr; } }
