/* ==========================================================================
   home.css - the signed-out home page (views/index.ejs), design option 1a
   ("Picker first", Claude Design project f52570d4). A short pitch around the
   questions hub's own picker: hero, picker, three example cards, Free vs Pro.
   Built from the --in-* tokens in instrument.css; everything is scoped under
   .home3 so nothing leaks into the shared header, footer or picker styles.
   ========================================================================== */

.home3 { color: var(--in-ink2); font-family: var(--in-sans); }
.home3-wrap { max-width: 1280px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.home3 h1, .home3 h2, .home3 h3, .home3 p { margin: 0; }

/* ---------- type ---------- */
.home3-h1 {
   font-weight: 700;
   font-size: clamp(38px, 5vw, 60px);
   line-height: 1;
   letter-spacing: -.045em;
   color: var(--in-ink);
   text-wrap: balance;
   max-width: 900px;
}
.home3-soft { color: var(--in-ink4); }
.home3-acc { color: var(--in-orange); }
.home3-h2 {
   font-weight: 700;
   font-size: clamp(26px, 3vw, 34px);
   line-height: 1.12;
   letter-spacing: -.03em;
   color: var(--in-ink);
   text-wrap: balance;
}
.home3-h3 {
   font-weight: 700;
   font-size: 19px;
   line-height: 1.25;
   letter-spacing: -.02em;
   color: var(--in-ink);
}
.home3-lede {
   font-size: 18px;
   line-height: 1.6;
   color: var(--in-ink2);
   max-width: 620px;
   text-wrap: pretty;
}
.home3-body { font-size: 16px; line-height: 1.6; color: var(--in-ink2); text-wrap: pretty; }
.home3-eyebrow {
   font-family: var(--in-mono);
   font-weight: 400;
   font-size: 11px;
   letter-spacing: .14em;
   text-transform: uppercase;
   color: var(--in-ink3);
}
.home3-eyebrow--or { color: var(--in-orangeD); }

.home3-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.home3-textlink {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-weight: 600;
   font-size: 15px;
   color: var(--in-orange);
   text-decoration: none;
}
.home3-textlink:hover { color: var(--in-orangeD); }

/* ---------- hero ---------- */
.home3-hero {
   display: grid;
   gap: 40px;
   padding-top: 56px;
   padding-bottom: 36px;
}
.home3-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.home3-hero-copy .home3-row { margin-top: 6px; }

/* Split hero: the text left, a real concept playing right (switches on with
   the concept showcase - services/homeShowcase.js). */
.home3-hero--split {
   grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
   align-items: start;
   padding-top: 48px;
}
.home3-hero--split .home3-hero-copy { padding-top: 18px; }
.home3-concept { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home3-stage .lts-scene { margin: 0; }
.home3-concept-meta { display: flex; flex-direction: column; gap: 10px; }
.home3-concept-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.home3-concept-title {
   font-weight: 700;
   font-size: 19px;
   line-height: 1.25;
   letter-spacing: -.02em;
   color: var(--in-ink);
   text-decoration: none;
}
.home3-concept-title:hover { color: var(--in-orange); }
.home3-small { font-size: 14px; line-height: 1.5; color: var(--in-ink3); }
.home3-qlist { display: flex; flex-direction: column; gap: 6px; }
.home3-qrow {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   padding: 9px 12px;
   border-radius: 9px;
   background: var(--in-well);
   border: 1px solid var(--in-well-edge);
   color: var(--in-ink);
   font-size: 14.5px;
   font-weight: 500;
   text-decoration: none;
}
.home3-qrow:hover { border-color: var(--in-hairline); color: var(--in-ink); }
.home3-badge {
   flex: none;
   display: inline-flex;
   align-items: center;
   font-size: 11.5px;
   font-weight: 700;
   letter-spacing: .04em;
   text-transform: uppercase;
   border-radius: 999px;
   padding: 3px 9px;
}
.home3-badge--free { color: var(--in-gr-text); background: var(--in-gr-tint); border: 1px solid #BCD7C6; }
.home3-badge--pro { color: var(--in-orangeD); background: var(--in-orange-tint); border: 1px solid var(--in-orange-edge); }

/* ---------- sections ---------- */
.home3-sec { padding-top: 28px; padding-bottom: 44px; }
.home3-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

/* Picker: the hub's own partial (views/includes/iq-picker.ejs), unchanged
   apart from its opt-in count line. */
.home3-pick .iq-picker { margin-top: 14px; }
.home3-pickfoot {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: 10px;
   margin-top: 14px;
   font-size: 14px;
   color: var(--in-ink3);
}

/* ---------- example cards ---------- */
.home3-proofs {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 16px;
}
.home3-proof {
   display: flex;
   flex-direction: column;
   gap: 12px;
   padding: 22px;
   border-radius: 14px;
   background: var(--in-well);
   border: 1px solid var(--in-well-edge);
   box-shadow: var(--in-inset);
}
.home3-proof-title {
   font-weight: 700;
   font-size: 19px;
   line-height: 1.25;
   letter-spacing: -.02em;
   color: var(--in-ink);
}
/* The plate is a real question from the bank; it links to its page. */
.home3-plate {
   display: flex;
   flex-direction: column;
   gap: 10px;
   padding: 14px;
   border-radius: 10px;
   background: var(--in-panel);
   border: 1px solid var(--in-well-edge);
   color: var(--in-ink2);
   text-decoration: none;
   transition: border-color .15s ease;
}
.home3-plate:hover { border-color: var(--in-hairline); color: var(--in-ink2); }
.home3-plate-q { font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--in-ink); }
.home3-plate-text { font-size: 13.5px; line-height: 1.55; color: var(--in-ink2); }
.home3-sw { align-self: flex-start; }
.home3-sw .in-switch-opt { font-size: 12.5px; padding: 5px 10px; }
.home3-plate-input {
   font-size: 13px;
   color: var(--in-ink3);
   border: 1px dashed var(--in-hairline);
   border-radius: 7px;
   padding: 8px 10px;
   background: var(--in-well);
}
.home3-mini {
   display: inline-flex;
   align-items: center;
   font-size: 13px;
   font-weight: 600;
   white-space: nowrap;
   border-radius: 7px;
   padding: 6px 10px;
   border: 1px solid #C2C0B9;
   background: linear-gradient(180deg, #F2F1EE, #E2E0DA);
   color: var(--in-ink);
}
.home3-mini--ink { background: var(--in-ink); border-color: var(--in-ink); color: #F8F7F4; }
.home3-grades { display: flex; flex-wrap: wrap; gap: 6px; }
.home3-grade {
   font-size: 12.5px;
   font-weight: 600;
   border-radius: 999px;
   padding: 4px 10px;
   border: 1px solid var(--in-well-edge);
   background: var(--in-well);
   color: var(--in-ink2);
}
.home3-grade--knew { color: var(--in-gr-text); background: var(--in-gr-tint); border-color: #BCD7C6; }
.home3-grade--shaky { color: var(--in-am-text); background: var(--in-am-tint); border-color: #E5D3A6; }
.home3-lens-h {
   font-family: var(--in-mono);
   font-size: 11px;
   letter-spacing: .12em;
   text-transform: uppercase;
   color: var(--in-ink3);
}
.home3-lens-item {
   display: flex;
   flex-direction: column;
   gap: 3px;
   padding: 10px 12px;
   border-radius: 8px;
   background: var(--in-well);
   border: 1px solid var(--in-well-edge);
}
.home3-lens-item--dim { opacity: .6; }
.home3-lens-q { font-weight: 600; font-size: 13.5px; line-height: 1.4; color: var(--in-ink); }
.home3-lens-hint { font-size: 13px; line-height: 1.5; color: var(--in-ink2); }

/* Diagram thumbnail: the real figure laid out at full width, scaled to the
   card by a few lines of script in index.ejs; inert, so it reads as a
   picture. The fixed fallback is for a visit with scripts blocked. */
.home3-figthumb {
   position: relative;
   height: 230px;
   overflow: hidden;
   border-radius: 8px;
}
.home3-figthumb-in {
   position: absolute;
   top: 0;
   left: 0;
   width: 760px;
   transform-origin: 0 0;
   transform: scale(.42);
   pointer-events: none;
}

/* ---------- Free vs Pro ---------- */
.home3-planshead {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: flex-end;
   gap: 12px;
   margin-bottom: 20px;
}
.home3-planshead .home3-head { margin-bottom: 0; }
.home3-plans {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
   gap: 16px;
}
.home3-plan { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 16px; }
.home3-plan--free {
   background: var(--in-well);
   border: 1px solid var(--in-well-edge);
   box-shadow: var(--in-inset);
}
.home3-plan--pro {
   background: linear-gradient(180deg, var(--in-black2), var(--in-black));
   border: 1px solid var(--in-black-edge);
   color: #F0EEE4;
   box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 40px -22px rgba(35,35,32,.7);
}
.home3-plan .home3-row { margin-top: auto; }
.home3-prohead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.home3-pill {
   display: inline-flex;
   font-family: var(--in-mono);
   font-size: 11px;
   letter-spacing: .12em;
   text-transform: uppercase;
   color: var(--in-orangeD);
   background: var(--in-orange-tint);
   border: 1px solid var(--in-orange-edge);
   border-radius: 999px;
   padding: 4px 10px;
}
.home3-grille {
   width: 120px;
   height: 14px;
   border-radius: 3px;
   background: repeating-linear-gradient(90deg, #45443E 0 2px, transparent 2px 7px);
   opacity: .8;
}
.home3-price { font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--in-ink); }
.home3-plan--pro .home3-price { color: #F8F7F4; }
.home3-per { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--in-ink3); }
.home3-plan--pro .home3-per { color: #B5B4AC; }
.home3-note { font-size: 13.5px; color: var(--in-ink3); }
.home3-plan--pro .home3-note { color: #B5B4AC; }
.home3-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.home3-checks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--in-ink2); }
.home3-plan--pro .home3-checks li { color: #E4E2D8; }
.home3-tick {
   flex: none;
   width: 10px;
   height: 6px;
   margin-top: 7px;
   border-left: 2px solid var(--in-gr);
   border-bottom: 2px solid var(--in-gr);
   transform: rotate(-45deg);
}
.home3-plan--pro .home3-tick { border-color: var(--in-orange); }

/* ---------- responsive (the site's home/footer breakpoint is 760) ---------- */
@media (max-width: 1080px) {
   .home3-hero--split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
   .home3-hero--split .home3-hero-copy { padding-top: 0; }
}
@media (max-width: 880px) {
   .home3-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
   .home3-wrap { padding-left: 16px; padding-right: 16px; }
   .home3-hero { padding-top: 36px; padding-bottom: 24px; }
   .home3-proof, .home3-plan { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
   .home3-plate { transition: none; }
}
