/* Template QA landing page v2 (Nov 7, 2026). Direction "The sentence is the layout" (tasteskill seed 1204699100),
   brand palette and type kept from app.css. The idea: the width where a layout breaks is the seam that cuts the
   headline in two, "Fine at 1440." on paper and "Broken at 390." sunk into the blue field.
   Everything is scoped to .lv so the app screens and /framer-site-check keep the old landing styles.
   Five type sizes: --d display, --h statement, --m clause and question, 18px text, 14px small. */

.lv {
    --field: #2448d8;
    --on-field: #ffffff;
    --on-field-soft: #dfe5fb;
    --inverse: #15171b;
    --on-inverse: #f7f7f4;
    --m-side: clamp(20px, 4.5cqi, 72px);
    --gap-section: clamp(96px, 13cqi, 200px);
    --d: clamp(52px, 10.4cqi, 176px);
    --h: clamp(34px, 5.4cqi, 84px);
    --m: clamp(24px, 2.9cqi, 44px);
    --t: 18px;
    --s: 14px;
    container-type: inline-size;
    max-width: none !important;
    display: block !important;
    margin: -32px -32px -64px;
    color: var(--text);
    background: var(--ground);
}
@media (max-width: 860px) {
    .lv { margin: -20px -16px -48px; --t: 17px; }
}
@media (min-width: 1800px) {
    .lv { margin: -48px -56px -80px; --t: 20px; --s: 15px; }
}
@media (prefers-color-scheme: dark) {
    .lv { --inverse: #eceee9; --on-inverse: #111317; }
}
.lv p, .lv h1, .lv h2, .lv h3, .lv dl, .lv dd, .lv figure, .lv blockquote { margin: 0; }
.lv p, .lv dd { font-size: var(--t); line-height: 1.55; }
.lv .lv-small { font-size: var(--s); line-height: 1.5; }
.lv .lv-muted { color: var(--muted); }
.lv img { display: block; width: 100%; height: auto; }
.lv section, .lv footer { padding: var(--gap-section) var(--m-side); }
.lv a:not(.lv-btn) { color: inherit; text-underline-offset: 3px; }

/* Shared type */
.lv .lv-h { font-size: var(--d); line-height: 0.92; font-weight: 700; letter-spacing: -0.045em; }
.lv .lv-h span, .lv .lv-cta-h span { display: block; white-space: nowrap; }
.lv-statement { font-size: var(--h); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.lv-h2 { font-size: var(--m); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.lv-lead { max-width: 52ch; }

/* Buttons: one shape, square, flat */
.lv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; background: var(--primary); color: var(--primary-ink); font: 600 var(--t)/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s ease, background-color .15s ease; }
.lv-btn:hover { background: var(--accent); color: #fff; }
.lv-btn:active { transform: translateY(1px) scale(.98); }
/* Beat the app-wide link hover (accent color and underline), which made button text 2.3:1 in dark mode (Impeccable, Nov 7 2026). */
.lv a.lv-btn:hover { color: #fff; text-decoration: none; }
.lv .lv-answer .lv-btn:hover { color: var(--on-inverse); }
.lv a.lv-btn-on-accent:hover { background: #15171b; color: #fff; }
.lv-btn-on-accent { background: var(--on-field); color: #15171b; }
.lv-btn-on-accent:hover { background: #fff; color: #15171b; }
.lv-btn-accent { background: var(--field); color: #fff; }
.lv-btn-accent:hover { background: #1b37a8; color: #fff; }
.lv :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lv-hero .lv-low :focus-visible, .lv-try :focus-visible, .lv-foot :focus-visible { outline-color: #fff; }
.lv-cta :focus-visible { outline-color: var(--field); }

/* 1. Hero: two fields, the headline cut by the seam. Both copies share one size, so the clip lines up exactly. */
.lv-hero { padding: 0 !important; --lh: calc(var(--d) * 0.92); --seam: calc(var(--lh) * 1.36); }
.lv-top { padding: clamp(56px, 9cqi, 132px) var(--m-side) 0; height: calc(clamp(56px, 9cqi, 132px) + var(--seam)); overflow: hidden; overflow: clip; }
.lv-low { background: var(--field); color: var(--on-field); padding: 0 var(--m-side) clamp(48px, 6cqi, 88px); overflow: hidden; overflow: clip; display: flow-root; }
/* flow-root keeps the copy's negative top margin inside the blue field: overflow: clip alone lets it collapse through and lift the whole field over the paper. */
.lv .lv-h-copy { margin-top: calc(var(--seam) * -1); color: var(--on-field); transform: translateX(0.07em); }
.lv-hero-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-top: clamp(32px, 4cqi, 56px); }
.lv-hero-foot .lv-lead { grid-column: 1; }
.lv-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-self: end; }
.lv-on-accent-soft { color: var(--on-field-soft); grid-column: 1; }
.lv-link-on-accent { color: var(--on-field) !important; font-weight: 600; font-size: var(--t); text-decoration: underline; text-decoration-thickness: 2px; }
.lv-link-on-accent { display: inline-block; transition: transform .15s ease; }
.lv-link-on-accent:hover { text-decoration-thickness: 3px; transform: translateY(-2px); }
.lv .lv-hero .lv-low a.lv-link-on-accent:hover { color: #fff !important; }

/* 2. Bugs: the statement holds the left column while the three close-ups scroll past it on the right */
.lv-bugs { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); column-gap: clamp(32px, 5cqi, 80px); row-gap: 56px; align-items: start; }
.lv-bugs .lv-statement { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 48px; }
.lv-rows { grid-column: 2; max-width: 1040px; display: grid; gap: clamp(72px, 9cqi, 128px); }
.lv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lv-row-text { grid-column: 1; display: grid; gap: 14px; }
.lv-row-text h3 { font-size: var(--m); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lv-row-text p { max-width: 38ch; }
.lv-pic { grid-column: 2; justify-self: end; background: var(--raised); }
.lv-pic-tall { width: min(100%, 300px); }
.lv-pic-wide { width: 100%; }
.lv-pic-mid { width: min(100%, 360px); }
.lv-bugs-note { grid-column: 2; max-width: 60ch; }

/* 3. How it works: one control drives the clause and the screen */
.lv-how { background: var(--raised); display: grid; gap: 40px; }
.lv-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lv-stage + .lv-stage { margin-top: 96px; }
.lv-stage-text { display: grid; gap: 16px; align-content: start; }
.lv-clause { font-size: var(--m) !important; line-height: 1.08 !important; font-weight: 600; letter-spacing: -0.02em; max-width: 13ch; text-wrap: balance; }
.lv-stage-note { max-width: 40ch; }
.lv-frag video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.lv-frag-video { aspect-ratio: 1000 / 340; }
.lv-vid-toggle { justify-self: start; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font: 600 var(--s)/1.3 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lv-frag { background: var(--surface); overflow: hidden; aspect-ratio: 4 / 3; }
.lv-frag img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.lv-frag-pair { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; background: transparent; }
.lv-frag-pair img { object-position: 0 0; }
.lv-frag-narrow img { object-fit: contain; object-position: 50% 0; background: var(--surface); }
/* With the script: one stage at a time, crossfading */
.lv.js .lv-how-stages { display: grid; }
.lv.js .lv-stage { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.lv.js .lv-stage.on { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.lv.js .lv-stage.on .lv-frag img { animation: lv-drift 9s ease-out both; }
@keyframes lv-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.lv-scrub { display: grid; gap: 12px; }
/* The track and the part already passed are two plain bars behind a transparent native range input. */
.lv-track { position: relative; height: 44px; }
.lv-track::before, .lv-track::after { content: ""; position: absolute; left: 16px; right: 16px; top: 18px; height: 8px; background: var(--control); }
.lv-track::after { right: auto; width: calc((100% - 32px) * var(--fill, 0)); background: var(--text); transition: width .2s ease; }
.lv-scrub input { font-size: 16px; position: relative; z-index: 1; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.lv-scrub input::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.lv-scrub input::-moz-range-track { height: 8px; background: transparent; }
.lv-scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border: 0; border-radius: 50%; background: var(--field); transition: transform .12s ease; }
.lv-scrub input::-moz-range-thumb { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--field); }
.lv-scrub input:active::-webkit-slider-thumb { transform: scale(1.12); }
.lv-scrub-names { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.lv-scrub-names li { font-size: var(--t); color: var(--muted); transition: color .2s ease; }
.lv-scrub-names li:nth-child(2) { text-align: center; transform: translateX(-17%); }
.lv-scrub-names li:nth-child(3) { text-align: center; transform: translateX(17%); }
.lv-scrub-names li:last-child { text-align: right; }
.lv-scrub-names li.on { color: var(--text); font-weight: 600; }

/* 4. Try it: the heading line is an input on the blue field */
.lv-try { background: var(--field); color: var(--on-field); display: grid; gap: 28px; }
.lv-try .lv-statement { max-width: none; font-size: var(--m); letter-spacing: -0.02em; font-weight: 600; }
.lv-try-form { display: grid; gap: 40px; }
.lv-try-input:focus { border-bottom-color: #fff; }
.lv-try-input { width: 100%; min-width: 0; padding: 0 0 0.12em; border: 0; border-bottom: 4px solid rgba(255, 255, 255, 0.5); border-radius: 0; background: transparent; color: var(--on-field); font: 700 var(--h)/1.05 var(--font); letter-spacing: -0.035em; caret-color: #fff; outline-offset: 8px; }
.lv-answer { display: grid; gap: 10px; max-width: 560px; justify-items: start; }
.lv-answer-verdict { font-size: var(--m) !important; line-height: 1.1 !important; font-weight: 600; letter-spacing: -0.02em; }
.lv-answer .lv-muted { color: var(--on-field-soft); }
.lv-answer .lv-btn { margin-top: 10px; background: var(--on-field); color: #15171b; }
.lv-answer .lv-btn:hover { background: var(--inverse); color: var(--on-inverse); }
.lv-examples { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.lv-example { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--on-field); font: 500 var(--t)/1.3 var(--font); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.lv-example { transition: transform .15s ease; }
.lv-example:hover { transform: translateY(-2px); }
.lv-example:hover, .lv-example[aria-pressed="true"] { text-decoration-thickness: 3px; }

/* 5. Proof: the statement left, the evidence right */
.lv-proof { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5cqi, 80px); align-items: center; }
.lv-proof-text { display: grid; gap: 24px; }
.lv-quote p { font-size: clamp(20px, 2.1cqi, 28px) !important; line-height: 1.3 !important; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.lv-proof-pic { display: grid; gap: 12px; }
.lv-proof-pic img { background: var(--raised); }

/* 6. What it checks: statement, then the table pushed right */
.lv-checks { background: var(--raised); display: grid; gap: clamp(48px, 7cqi, 96px); }
.lv-checks .lv-statement { max-width: 18ch; }
/* Every row is as tall as the tallest, so the labels on the left sit at an even rhythm, as in the FAQ (Shashank, Nov 8 2026). */
.lv-table { display: grid; grid-auto-rows: 1fr; gap: 36px; margin-left: 42%; }
.lv-table > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; }
.lv-table dt { font-size: var(--t); line-height: 1.4; font-weight: 600; }
.lv-soon dt { color: var(--accent); }
.lv-checks-note { margin-left: 42%; }

/* 7. Questions: every answer open, large questions as an index */
.lv-faq { display: grid; gap: clamp(48px, 6cqi, 80px); }
/* Every question row is as tall as the tallest, so the questions sit at an even rhythm (Shashank, Nov 7 2026). */
.lv-qa-list { display: grid; grid-auto-rows: 1fr; gap: clamp(40px, 4.5cqi, 64px); }
.lv-qa { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); }
.lv-q { grid-column: 1; font-size: var(--m); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lv-q-head { color: var(--muted); }
.lv-a { grid-column: 3; max-width: 42ch; padding-top: 0.25em; }

/* 8. The close: the page inverted */
.lv-cta { background: var(--inverse); color: var(--on-inverse); min-height: 80svh; display: grid; align-content: space-between; gap: 64px; }
.lv-cta-h { font-size: var(--d); line-height: 0.92; font-weight: 700; letter-spacing: -0.045em; }
.lv-cta-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px 48px; align-items: end; }
.lv-cta-actions { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; position: relative; }
.lv-link-inverse { color: var(--on-inverse); font-weight: 600; font-size: var(--t); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; list-style: none; min-height: 44px; display: inline-flex; align-items: center; }
.lv-link-inverse::-webkit-details-marker { display: none; }
.lv-mail .mail-menu-list { color: var(--text); }
/* The email menu floats only while it is open, so it has no shadow when closed. taste-skill-ignore */
.lv .mail-menu:not([open]) .mail-menu-list { box-shadow: none; } /* taste-skill-ignore */
.lv-cta #invite-status { width: 100%; text-align: right; min-height: 1.5em; }

/* Footer: the address is the display line */
.lv-foot { background: var(--field); color: var(--on-field); display: grid; gap: clamp(64px, 12cqi, 180px); padding-top: 40px !important; padding-bottom: 40px !important; }
.lv-foot-top { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.lv-foot-top p { max-width: 46ch; font-size: var(--s) !important; }
.lv-foot-top-link { font-size: var(--s); font-weight: 600; }
/* Sized so "shashankthigale.com" always fits on its own line, down to 320 px; it breaks only after the @. */
.lv .lv-foot-mail { font-size: min(var(--h), 7.8cqi); line-height: 1; font-weight: 700; letter-spacing: -0.035em; text-decoration: none; }
.lv .lv-foot-mail:hover { text-decoration: underline; text-decoration-thickness: 4px; color: #fff; }
.lv-foot-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: calc(-1 * clamp(32px, 8cqi, 120px)); }
.lv-foot-badges a { display: block; line-height: 0; border-radius: 10px; }
.lv .lv-foot .lv-foot-badges a:hover { background: none; opacity: 0.9; }
.lv-foot-badges img { height: 40px; width: auto; }
.lv-foot-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lv-foot-meta p { font-size: var(--s) !important; }
.lv .lv-foot a:not(.lv-foot-mail):hover, .lv .lv-try a:hover { color: #15171b; background: #fff; text-decoration: none; }

/* Entrances: the parts of each section rise in turn, once. Content stays visible if the script never runs. */
.lv.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.lv.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.lv.js .lv-low { animation: lv-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.lv.js .lv-top .lv-h span, .lv.js .lv-h-copy span { animation: lv-type .8s cubic-bezier(.2, .7, .2, 1) both; }
.lv.js .lv-h span + span { animation-delay: .08s; }
@keyframes lv-rise { from { transform: translateY(40px); } to { transform: none; } }
@keyframes lv-type { from { transform: translateY(0.18em); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .lv.js [data-reveal] { opacity: 1; transform: none; }
    .lv.js .lv-low, .lv.js .lv-h span, .lv.js .lv-stage.on .lv-frag img { animation: none; }
}

/* Tablet and phone */
@media (max-width: 1100px) {
    .lv-hero-foot { grid-template-columns: minmax(0, 1fr); }
    .lv-actions { grid-column: 1; grid-row: auto; justify-self: start; }
    .lv-bugs { grid-template-columns: minmax(0, 1fr); }
    .lv-bugs .lv-statement { grid-row: auto; position: static; }
    .lv-rows, .lv-bugs-note { grid-column: 1; }
    .lv-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
    .lv-table, .lv-checks-note { margin-left: 0; }
    .lv-proof { grid-template-columns: minmax(0, 1fr); }
    .lv-qa { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .lv-a { grid-column: 1; padding-top: 0; }
    .lv-qa-list { grid-auto-rows: auto; }
}
@media (max-width: 720px) {
    .lv-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .lv-pic { grid-column: 1; justify-self: start; }
    .lv-row:nth-child(1) .lv-pic { width: 100%; max-width: 360px; }
    .lv-row:nth-child(2) .lv-pic { width: 86%; justify-self: end; }
    .lv-row:nth-child(3) .lv-pic { width: 70%; }
    .lv-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .lv-stage .lv-frag { order: -1; }
    .lv-table { grid-auto-rows: auto; }
    .lv-table > div { grid-template-columns: minmax(0, 1fr); }
    .lv-qa { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .lv-a { grid-column: 1; padding-top: 0; }
    .lv-cta { min-height: 70svh; }
    .lv-cta-foot { grid-template-columns: minmax(0, 1fr); }
    .lv-cta-actions { justify-self: stretch; }
    .lv-cta-actions .lv-btn { width: 100%; }
    .lv-cta #invite-status { text-align: left; }
    .lv-foot-top { flex-direction: column; }
    .lv-scrub-names li { font-size: 15px; }
}
@media (max-width: 860px) {
    .lv { --d: clamp(44px, 12.4cqi, 96px); --h: clamp(30px, 8.6cqi, 52px); --m: clamp(22px, 6cqi, 30px); }
}

/* Motion pass (Nov 9 2026): "Broken at 390." squeezes once after it arrives, as if pressed into a phone; the
   pilot review lights up word by word (app.js scrollMoments); the report picture is clipped so its settle-zoom stays inside. */
@keyframes lv-squeeze { 0%, 100% { letter-spacing: -0.045em; } 45% { letter-spacing: -0.1em; } }
.lv.js .lv-top .lv-h span + span, .lv.js .lv-h-copy span + span { animation: lv-type .8s cubic-bezier(.2, .7, .2, 1) .08s both, lv-squeeze 1.3s cubic-bezier(.65, 0, .35, 1) 1s both; }
.lv-proof-pic { overflow: hidden; overflow: clip; }
.lv-w { transition: opacity .25s linear; }
@media (prefers-reduced-motion: reduce) { .lv.js .lv-top .lv-h span + span, .lv.js .lv-h-copy span + span { animation: none; } }

/* Template QA deep run fixes (Nov 9 2026): the report picture stops short of the right edge on big screens. */
.lv-proof { max-width: 1480px; }

/* Grades section (Nov 12 2026): the grades page picture sits on the same paper as the page, so it gets a frame. */
.lv-grades .lv-proof-pic img { border: 1px solid var(--border); border-radius: 12px; }
.lv-grades p { text-wrap: pretty; }

/* Two plain sections in a row (real report, then grades) stacked their spacing with no change of ground, so the
   seam read as empty space (Shashank, Nov 12 2026). Half the gap on each side, with a thin rule between them. */
.lv-proof:has(+ .lv-proof) { padding-bottom: calc(var(--gap-section) / 2); }
.lv-proof + .lv-proof { padding-top: 0; }
.lv-proof + .lv-proof::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--border); margin-bottom: max(0px, calc(var(--gap-section) / 2 - clamp(32px, 5cqi, 80px))); }
