/* =========================================================================
   Redesign v2: Bricolage Grotesque + Manrope, dark hero, practice hub.
   Loaded after testify-redesign.css and builds on its tx-* classes.
   ========================================================================= */
body.testify-site {
    --v2-ink: #0B1F17;
    --v2-lime: #A6E35A;
    --v2-lime-soft: #EAF6DA;
    --v2-line: #E3E8DF;
    --v2-muted: #56685F;
    --tx-ink: #0B1F17;
    font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}
html.dark body.testify-site {
    --v2-line: rgba(255,255,255,.12);
    --v2-muted: #a9bdb1;
    --v2-lime-soft: rgba(166,227,90,.14);
    --tx-ink: #0f2c20;
}
body.testify-site .tx-display { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; letter-spacing: -.025em; }
body.testify-site .tx-h2 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
body.testify-site .v2-h2-sm { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
body.testify-site .tx-section { padding-block: 5rem; }
body.testify-site .btn-lime { background: var(--v2-lime); color: #0B1F17; }
body.testify-site .btn-lime:hover { background: #B8EC74; color: #0B1F17; }
body.testify-site .tx-panel, body.testify-site .tx-test-card, body.testify-site .tx-price-card { border-radius: 22px; border-color: var(--v2-line); }

/* Hero */
body.testify-site .v2-hero {
    background-color: #0B1F17;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    color: #fff;
}
body.testify-site .v2-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; padding-block: 4.5rem 3.5rem; }
@media (min-width: 1024px) { body.testify-site .v2-hero-inner { padding-block: 6rem 4rem; } }
body.testify-site .v2-hero-compact .v2-hero-inner { padding-block: 3.5rem 3rem; }
body.testify-site .v2-hero-pill {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 36px; padding: .35rem 1rem; border-radius: 999px;
    background: rgba(166,227,90,.12); border: 1px solid rgba(166,227,90,.3); color: #C8F08F; font-size: .88rem; font-weight: 700;
}
body.testify-site .v2-hero-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-lime); }
body.testify-site .v2-hero-title { margin: 0; max-width: 62rem; font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: .98; font-weight: 800; color: #fff; letter-spacing: -.035em; }
body.testify-site .v2-hero-title em { font-style: normal; color: var(--v2-lime); }
body.testify-site .v2-hero-compact .v2-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
body.testify-site .v2-hero-desc { margin: 0; max-width: 40rem; font-size: clamp(1.02rem, 2vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.74); }
body.testify-site .v2-back { color: rgba(255,255,255,.75); font-weight: 700; font-size: .9rem; text-decoration: none; }
body.testify-site .v2-back:hover { color: #fff; }
body.testify-site .v2-search {
    width: min(100%, 760px); display: flex; align-items: center; gap: .75rem; background: #fff; color: #56685F;
    border-radius: 999px; padding: .45rem .45rem .45rem 1.4rem; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
body.testify-site .v2-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.05rem; color: #0B1F17; }
body.testify-site .v2-search .btn-primary { background: #06402B; color: #fff; padding: .95rem 1.5rem; white-space: nowrap; }
body.testify-site .v2-search:focus-within { box-shadow: 0 0 0 4px rgba(166,227,90,.5), 0 24px 60px rgba(0,0,0,.35); }
body.testify-site .v2-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.6); }
body.testify-site .v2-popular a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; }
body.testify-site .v2-popular a:hover { border-color: var(--v2-lime); color: var(--v2-lime); }
body.testify-site .v2-logos { width: 100%; margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
body.testify-site .v2-logos > span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
body.testify-site .v2-logos > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.25rem; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 800; color: rgba(255,255,255,.55); }
@media (max-width: 639px) {
    body.testify-site .v2-search { padding-left: 1rem; }
    body.testify-site .v2-search .btn-primary { padding: .85rem 1rem; }
    body.testify-site .v2-search svg { display: none; }
}

/* Practice hub */
body.testify-site .hub { display: flex; flex-direction: column; gap: 2rem; scroll-margin-top: 90px; }
body.testify-site .hub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; }
body.testify-site .hub-title { display: flex; flex-direction: column; gap: .7rem; max-width: 54rem; }
body.testify-site .hub-modes { display: flex; padding: 5px; border-radius: 999px; background: var(--bg-muted); border: 1px solid var(--v2-line); }
body.testify-site .hub-modes button { min-height: 44px; padding: 0 1.25rem; border-radius: 999px; border: 0; background: transparent; color: var(--v2-muted); font: inherit; font-size: .95rem; font-weight: 800; cursor: pointer; }
body.testify-site .hub-modes button.is-active { background: var(--bg-surface); color: var(--text); box-shadow: 0 2px 8px rgba(11,31,23,.12); }
body.testify-site .hub-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { body.testify-site .hub-grid { grid-template-columns: 420px minmax(0, 1fr); } }
body.testify-site .hub-browser, body.testify-site .hub-player { background: var(--bg-surface); border: 1px solid var(--v2-line); border-radius: 24px; min-width: 0; }
body.testify-site .hub-browser { padding: 1.1rem; display: flex; flex-direction: column; gap: .9rem; }
@media (min-width: 1024px) { body.testify-site .hub-browser { height: 660px; box-sizing: border-box; } }
body.testify-site .hub-search { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 .9rem; border-radius: 14px; background: var(--bg-muted); color: var(--v2-muted); }
body.testify-site .hub-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: .95rem; color: var(--text); }
body.testify-site .hub-search:focus-within { box-shadow: 0 0 0 2px var(--v2-lime); }
body.testify-site .hub-cats { display: flex; flex-wrap: wrap; gap: .4rem; }
body.testify-site .hub-cats:empty { display: none; }
body.testify-site .hub-cat { min-height: 34px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--v2-line); background: var(--bg-surface); color: var(--text-secondary); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
body.testify-site .hub-cat.is-active { background: var(--v2-ink); border-color: var(--v2-ink); color: #fff; }
html.dark body.testify-site .hub-cat.is-active { background: var(--v2-lime); border-color: var(--v2-lime); color: #0B1F17; }
body.testify-site .hub-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .45rem; overflow-y: auto; padding-right: 4px; max-height: 420px; }
@media (min-width: 1024px) { body.testify-site .hub-list { max-height: none; } }
body.testify-site .hub-item {
    display: flex; align-items: center; gap: .85rem; width: 100%; padding: .7rem; border-radius: 16px; text-align: left; cursor: pointer;
    border: 1px solid transparent; background: transparent; color: var(--text); font: inherit;
}
body.testify-site .hub-item[hidden] { display: none; }
body.testify-site .hub-item:hover { background: var(--bg-muted); }
body.testify-site .hub-item.is-active { border: 2px solid #06402B; background: var(--v2-lime-soft); padding: calc(.7rem - 1px); }
html.dark body.testify-site .hub-item.is-active { border-color: var(--v2-lime); }
body.testify-site .hub-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
body.testify-site .hub-item-name { font-size: .95rem; font-weight: 800; }
body.testify-site .hub-item-meta { font-size: .8rem; font-weight: 600; color: var(--v2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.testify-site .hub-item-chev { color: var(--text-muted); flex-shrink: 0; }
body.testify-site .hub-empty { margin: 1rem 0; text-align: center; font-weight: 700; color: var(--v2-muted); }
body.testify-site .hub-mark {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .95rem; color: #0B1F17; background: #E8EDE4;
}
body.testify-site .hub-mark-lg { width: 54px; height: 54px; border-radius: 14px; font-size: 1.15rem; }
body.testify-site .tone-engineering, body.testify-site .tone-academic { background: #DCEBFF; }
body.testify-site .tone-medical { background: #FFE3E0; }
body.testify-site .tone-computing, body.testify-site .tone-programming { background: #E6E1FF; }
body.testify-site .tone-business, body.testify-site .tone-language { background: #FFF1D6; }
body.testify-site .tone-general-law { background: #DFF5E8; }
body.testify-site .hub-player { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: 0 30px 80px rgba(11,31,23,.10); scroll-margin-top: 90px; }
@media (min-width: 640px) { body.testify-site .hub-player { padding: 1.9rem; } }
@media (min-width: 1024px) { body.testify-site .hub-player { min-height: 660px; box-sizing: border-box; } }
body.testify-site .hub-player-head { display: flex; align-items: center; gap: .9rem; }
body.testify-site .hub-player-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
body.testify-site .hub-player-title p { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--text); }
body.testify-site .hub-player-title span { font-size: .85rem; font-weight: 600; color: var(--v2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.testify-site .hub-count { flex-shrink: 0; min-height: 32px; padding: 0 .8rem; border-radius: 999px; background: var(--bg-muted); display: inline-flex; align-items: center; font-size: .8rem; font-weight: 800; color: var(--text); }
body.testify-site .hub-subject { margin: .25rem 0 0; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); }
body.testify-site .hub-question { margin: -.5rem 0 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.3; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
body.testify-site .hub-opts { display: grid; gap: .7rem; }
@media (min-width: 768px) { body.testify-site .hub-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.testify-site .hub-opts .tx-opt { min-height: 60px; border-radius: 16px; }
body.testify-site .hub-player-foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--v2-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
body.testify-site .hub-full { display: flex; flex-direction: column; gap: .1rem; }
body.testify-site .hub-full strong { font-size: .92rem; font-weight: 800; color: var(--text); }
body.testify-site .hub-full span { font-size: .82rem; font-weight: 600; color: var(--v2-muted); }
body.testify-site .hub-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
body.testify-site .hub-actions .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
body.testify-site .hub-player .tx-quiz-progress span.is-current { background: var(--v2-lime); }
body.testify-site .hub-player .tx-quiz-end { flex: 1; justify-content: center; }
body.testify-site .hub-player .tx-quiz-end h3 { font-size: 1.5rem; }
body.testify-site .hub-player .tx-quiz-state { flex: 1; display: flex; align-items: center; justify-content: center; }
@media (max-width: 639px) {
    body.testify-site .hub-actions, body.testify-site .hub-actions > * { width: 100%; }
    body.testify-site .hub-modes { width: 100%; }
    body.testify-site .hub-modes button { flex: 1; padding: 0 .6rem; font-size: .85rem; }
}

/* Upcoming countdown */
body.testify-site .v2-count { background: var(--bg-surface); border: 1px solid var(--v2-line); border-radius: 22px; padding: 1.4rem; display: flex; flex-direction: column; gap: .75rem; }
body.testify-site .v2-count-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
body.testify-site .v2-count-top .tx-display { font-size: 1.35rem; font-weight: 800; color: var(--text); }
body.testify-site .v2-badge-amber { min-height: 26px; padding: 0 .65rem; border-radius: 999px; background: #FFF1D6; color: #7A4B00; font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; white-space: nowrap; }
body.testify-site .v2-count-name { margin: -.4rem 0 0; font-size: .85rem; font-weight: 600; color: var(--v2-muted); }
body.testify-site .v2-count-days { margin: 0; font-size: 3.1rem; line-height: 1; font-weight: 800; color: var(--text); }
body.testify-site .v2-count-days small { font-family: 'Manrope', sans-serif; font-size: .95rem; font-weight: 700; color: var(--v2-muted); letter-spacing: 0; }
body.testify-site .v2-count-meta { margin: 0; font-size: .82rem; font-weight: 600; color: var(--v2-muted); }
body.testify-site .v2-count .tx-link { margin-top: auto; }

/* Bento */
body.testify-site .v2-bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { body.testify-site .v2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { body.testify-site .v2-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.testify-site .v2-bento p.tx-display { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
body.testify-site .v2-bento-card { background: var(--bg-surface); border: 1px solid var(--v2-line); border-radius: 24px; padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; color: var(--text); }
body.testify-site .v2-bento-card > span:last-child { font-size: .93rem; line-height: 1.55; color: var(--v2-muted); }
body.testify-site .v2-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--v2-lime-soft); color: #06402B; display: inline-flex; align-items: center; justify-content: center; }
html.dark body.testify-site .v2-icon { color: var(--v2-lime); }
body.testify-site .v2-bento-feature { background: #06402B; color: #fff; border-radius: 24px; padding: 1.8rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { body.testify-site .v2-bento-feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr) 240px; } }
body.testify-site .v2-bento-feature p.tx-display { font-size: 1.8rem; }
body.testify-site .v2-bento-feature > div:first-child { display: flex; flex-direction: column; gap: .7rem; }
body.testify-site .v2-bento-feature > div:first-child span { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.76); }
body.testify-site .v2-bento-bars { background: #fff; color: #0B1F17; border-radius: 18px; padding: 1.1rem; }
body.testify-site .v2-bento-bars .tx-bar { background: #EEF1EC; }
body.testify-site .v2-bento-bars .tx-bar > span { background: #06402B; }
body.testify-site .v2-bento-bars .tx-bar.is-weak > span { background: #D98A0B; }
body.testify-site .v2-bento-lime { background: var(--v2-lime); color: #0B1F17; border-radius: 24px; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
@media (min-width: 768px) { body.testify-site .v2-bento-lime { grid-column: span 2; } }
body.testify-site .v2-bento-lime p.tx-display { font-size: 1.8rem; max-width: 28rem; }
body.testify-site .v2-bento-lime div { display: flex; flex-wrap: wrap; gap: .5rem; }
body.testify-site .v2-bento-lime div span { min-height: 34px; padding: 0 .85rem; border-radius: 999px; background: rgba(11,31,23,.08); display: inline-flex; align-items: center; font-size: .85rem; font-weight: 800; }

/* Steps */
body.testify-site .v2-steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body.testify-site .v2-step { display: flex; flex-direction: column; gap: .7rem; }
body.testify-site .v2-step > span.tx-display { width: 52px; height: 52px; border-radius: 50%; background: #06402B; color: var(--v2-lime); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 800; }
body.testify-site .v2-step p { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--text); }
body.testify-site .v2-step-desc { font-size: .95rem; line-height: 1.55; color: var(--v2-muted); }

/* Pricing cards */
body.testify-site .tx-price-card .tx-price-amount { font-size: 2.6rem; }
body.testify-site .tx-price-card.is-featured { background: #0B1F17; border-color: #0B1F17; }
body.testify-site .tx-price-card.is-featured .tx-price-amount { color: var(--v2-lime); }
body.testify-site .tx-price-card > .btn-outline, body.testify-site .tx-price-card > .btn-lime { margin-top: auto; }

/* FAQ */
body.testify-site .v2-faq { display: grid; gap: 2rem; }
@media (min-width: 1024px) { body.testify-site .v2-faq { grid-template-columns: 360px minmax(0, 1fr); gap: 4rem; } }
body.testify-site .v2-faq-list { display: flex; flex-direction: column; gap: .75rem; }
body.testify-site .v2-faq-item { background: var(--bg-surface); border: 1px solid var(--v2-line); border-radius: 18px; padding: 1.2rem 1.4rem; }
body.testify-site .v2-faq-item summary { cursor: pointer; font-size: 1.05rem; font-weight: 800; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
body.testify-site .v2-faq-item summary::-webkit-details-marker { display: none; }
body.testify-site .v2-faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--v2-muted); }
body.testify-site .v2-faq-item[open] summary::after { content: "\2212"; }
body.testify-site .v2-faq-item p { margin: .75rem 0 0; font-size: .95rem; line-height: 1.6; color: var(--v2-muted); }

/* Closing CTA */
body.testify-site .v2-cta { background: #06402B; color: #fff; border-radius: 32px; padding: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { body.testify-site .v2-cta { padding: 3.5rem 4rem; } }
body.testify-site .v2-cta h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.05; color: #fff; }
body.testify-site .v2-cta p { margin: .6rem 0 0; font-size: 1.05rem; color: rgba(255,255,255,.76); }
body.testify-site .v2-cta .btn-lime { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
body.testify-site .v2-cta > div { flex: 1 1 420px; }
body.testify-site .hub-title { flex: 1 1 420px; }
body.testify-site .section-title, body.testify-site .inner-hero-title, body.testify-site .page-section h2 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; letter-spacing: -.025em; }

/* University logos: tiles, hero marquee, hidden hub scrollbar */
body.testify-site .hub-mark-logo { background: #fff; border: 1px solid var(--v2-line); padding: 4px; box-sizing: border-box; overflow: hidden; }
body.testify-site .hub-mark-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
html.dark body.testify-site .hub-mark-logo { border-color: transparent; }

body.testify-site .v2-marquee {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
body.testify-site .v2-marquee-track { display: flex; width: max-content; animation: v2-marquee var(--marquee-duration, 90s) linear infinite; }
body.testify-site .v2-marquee:hover .v2-marquee-track, body.testify-site .v2-marquee:focus-within .v2-marquee-track { animation-play-state: paused; }
body.testify-site .v2-marquee-list { list-style: none; margin: 0; padding: 0 .75rem 0 0; display: flex; gap: .75rem; }
body.testify-site .v2-marquee-list a {
    display: flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem .5rem .5rem; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease;
}
body.testify-site .v2-marquee-list a:hover, body.testify-site .v2-marquee-list a:focus-visible { background: rgba(166,227,90,.14); border-color: rgba(166,227,90,.45); }
body.testify-site .v2-marquee-list .hub-mark { width: 44px; height: 44px; border-radius: 50%; }
body.testify-site .v2-marquee-list .hub-mark-logo { border: 0; padding: 5px; }
body.testify-site .v2-marquee-list .tx-display { font-size: 1.05rem; font-weight: 800; }
@keyframes v2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    body.testify-site .v2-marquee { overflow-x: auto; }
    body.testify-site .v2-marquee-track { animation: none; }
    body.testify-site .v2-marquee-list[aria-hidden="true"] { display: none; }
}

/* Hub list scrolls without a visible scrollbar; a soft fade hints there is more. */
body.testify-site .hub-list { scrollbar-width: none; -ms-overflow-style: none; }
body.testify-site .hub-list::-webkit-scrollbar { display: none; }
body.testify-site .hub-list {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent);
    padding-bottom: 32px; padding-right: 0;
}
body.testify-site .v2-marquee-list .hub-mark { border-radius: 14px; width: 48px; height: 48px; }
body.testify-site .v2-marquee-list a { padding: .45rem 1.1rem .45rem .45rem; border-radius: 20px; }
body.testify-site .hub-mark-icon img { width: 56%; height: 56%; object-fit: contain; display: block; }
body.testify-site .v2-course-mark.hub-mark-logo { padding: 8px; }
html.dark body.testify-site .hub-mark-icon img { filter: none; }

/* ---- Motion ---- */
/* Page headers fade up on load, one line after another. */
@keyframes v2-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.testify-site .v2-hero-inner > *, body.testify-site .v2-page-head-inner > *, body.testify-site .v2-course-hero .page-shell > *, body.testify-site .v2-auth-side-inner > * {
    animation: v2-rise .7s cubic-bezier(.2,.7,.2,1) both;
}
body.testify-site .v2-hero-inner > *:nth-child(2), body.testify-site .v2-auth-side-inner > *:nth-child(2), body.testify-site .v2-course-hero .page-shell > *:nth-child(2) { animation-delay: .08s; }
body.testify-site .v2-hero-inner > *:nth-child(3), body.testify-site .v2-auth-side-inner > *:nth-child(3), body.testify-site .v2-course-hero .page-shell > *:nth-child(3) { animation-delay: .16s; }
body.testify-site .v2-hero-inner > *:nth-child(4), body.testify-site .v2-auth-side-inner > *:nth-child(4) { animation-delay: .24s; }
body.testify-site .v2-hero-inner > *:nth-child(5) { animation-delay: .32s; }
body.testify-site .v2-hero-inner > *:nth-child(n+6) { animation-delay: .4s; }

/* Sections fade up as they scroll into view (classes added by testify-v2.js). */
body.testify-site .v2-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
body.testify-site .v2-reveal.is-in { opacity: 1; transform: none; }

/* Hover lift on cards and buttons. */
body.testify-site .v2-count, body.testify-site .v2-bento-card, body.testify-site .tx-price-card, body.testify-site .v2-steps-cards .v2-step, body.testify-site .v2-faq-item {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.testify-site .v2-count:hover, body.testify-site .v2-bento-card:hover, body.testify-site .tx-price-card:hover, body.testify-site .v2-steps-cards .v2-step:hover {
    transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,23,.10);
}
body.testify-site .btn-primary, body.testify-site .btn-lime, body.testify-site .btn-outline, body.testify-site .v2-ghost-btn, body.testify-site .v2-dark-btn {
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.testify-site .btn-primary:hover, body.testify-site .btn-lime:hover, body.testify-site .v2-dark-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,31,23,.18); }
body.testify-site .hub-item { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
body.testify-site .hub-item:hover { transform: translateX(3px); }
body.testify-site .hub-player > * { animation: v2-rise .35s ease both; }
body.testify-site .tx-opt { transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
body.testify-site .tx-opt:not(:disabled):hover { transform: translateY(-1px); }

/* FAQ accordion: the icon turns, the item highlights while open. */
body.testify-site .v2-faq-item summary::after { transition: transform .28s ease; }
body.testify-site .v2-faq-item[open]:not(.is-closing) summary::after { content: "+"; transform: rotate(45deg); }
body.testify-site .v2-faq-item[open]:not(.is-closing) { border-color: rgba(6,64,43,.35); box-shadow: 0 12px 30px rgba(11,31,23,.07); }
html.dark body.testify-site .v2-faq-item[open]:not(.is-closing) { border-color: rgba(166,227,90,.4); }
body.testify-site .v2-faq-item p { animation: v2-rise .35s ease both; }

@media (prefers-reduced-motion: reduce) {
    body.testify-site *, body.testify-site *::before, body.testify-site *::after { animation: none !important; transition: none !important; }
    body.testify-site .v2-reveal { opacity: 1; transform: none; }
}
