/* ==========================================================================
   ClassTrack 2026 — "Modern Academic" editorial homepage design system
   A warm, paper-based, editorial identity built specifically for ClassTrack:
   Fraunces serif display, highlighter-ink accents, index-card components,
   handwritten margin notes, a hand-drawn "learning journey" line.
   Everything is namespaced under `body.ct2026` so it never leaks to other
   pages that share the asset bundle. Loaded AFTER the legacy styles.css.
   ========================================================================== */

:root {
    --ink:        #221f1a;   /* warm near-black text          */
    --ink-soft:   #4c4639;
    --paper:      #f5efe3;   /* warm cream canvas             */
    --paper-2:    #efe7d7;   /* sand panel                    */
    --card:       #fffdf7;   /* card / index-card             */
    --line:       #e6dcc7;   /* hairline                      */
    --line-2:     #d8cbb1;   /* stronger rule                 */
    --muted:      #6c6253;   /* secondary text                */

    --brand:      #0e6fb8;   /* deepened ClassTrack azure     */
    --brand-ink:  #0a5694;
    --brand-2:    #115fa0;

    --hi-yellow:  #ffd23f;   /* highlighter colours           */
    --hi-mint:    #a4e6c2;
    --hi-rose:    #ffc1d3;
    --hi-sky:     #bfe1ff;
    --hi-coral:   #ffb49d;

    --coral:      #e0573c;
    --green:      #2f9e6e;
    --grape:      #7c5cc4;
    --gold:       #d99021;

    --radius:     16px;
    --radius-sm:  10px;
    --maxw:       1180px;

    --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ff-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ff-hand:    "Caveat", "Comic Sans MS", cursive;

    --shadow:     0 2px 0 var(--line-2), 0 22px 40px -30px rgba(70,52,18,.55);
    --shadow-lg:  0 3px 0 var(--line-2), 0 40px 70px -36px rgba(70,52,18,.6);
    --ease:       cubic-bezier(.2, .8, .2, 1);
}

/* ----- base (scoped) ------------------------------------------------------ */
body.ct2026 {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* faint paper grain */
    background-image:
        radial-gradient(rgba(120,90,40,.035) 1px, transparent 1px);
    background-size: 4px 4px;
}
.ct2026 *, .ct2026 *::before, .ct2026 *::after { box-sizing: border-box; }
.ct2026 main { display: block; position: relative; }

.ct2026 h1, .ct2026 h2, .ct2026 h3, .ct2026 h4 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-optical-sizing: auto;
    line-height: 1.04;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0 0 .5em;
}
.ct2026 p  { margin: 0 0 1rem; color: var(--ink-soft); }
.ct2026 a  { color: inherit; text-decoration: none; }
.ct2026 img { max-width: 100%; height: auto; display: block; }
.ct2026 ul { margin: 0; padding: 0; list-style: none; }
.ct2026 ::selection { background: var(--hi-yellow); color: var(--ink); }

/* ----- layout primitives -------------------------------------------------- */
.ct-container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 44px);
    position: relative;
}
.ct-section { position: relative; padding-block: clamp(56px, 8vw, 116px); }
.ct-section--tight { padding-block: clamp(40px, 5vw, 72px); }
.ct-section--sand { background: var(--paper-2); border-block: 1px solid var(--line); }

/* hairline ruled divider used between editorial blocks */
.ct-rule { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* section eyebrow with little ruled flourish */
.ct-eyebrow {
    display: inline-flex; align-items: center; gap: .7em;
    font-family: var(--ff-body);
    font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--brand-ink);
    margin-bottom: 1.1rem;
}
.ct-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block; }
.ct-eyebrow .num { font-family: var(--ff-display); font-style: italic; font-weight: 600; color: var(--coral); }

.ct-head { max-width: 720px; }
.ct-head--center { margin-inline: auto; text-align: center; }
.ct-head h1,
.ct-head h2 {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    font-weight: 600;
    margin-bottom: .6rem;
}
.ct-head h1 em,
.ct-head h2 em { font-style: italic; font-weight: 400; }
.ct-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ----- highlighter ink ---------------------------------------------------- */
.ct-hl {
    position: relative;
    isolation: isolate;
    padding-inline: .06em;
}
.ct-hl::before {
    content: "";
    position: absolute;
    left: -.12em; right: -.12em; top: .42em; bottom: .04em;
    background: var(--hl, var(--hi-yellow));
    border-radius: .25em .35em .3em .25em;
    transform: scaleX(0) rotate(-.6deg);
    transform-origin: left center;
    transition: transform .7s var(--ease) .1s;
    z-index: -1;
}
.ct-hl.is-lit::before { transform: scaleX(1) rotate(-.6deg); }
.ct-ink { color: var(--brand-ink); }
.ct-serif-em { font-family: var(--ff-display); font-style: italic; font-weight: 400; }

/* handwritten margin note */
.ct-note {
    font-family: var(--ff-hand);
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--coral);
    transform: rotate(-4deg);
    display: inline-block;
}
.ct-note .arrow { display: inline-block; transform: rotate(8deg); }

/* ----- buttons ------------------------------------------------------------ */
.ct-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    font-family: var(--ff-body); font-weight: 600; font-size: 1rem; line-height: 1;
    padding: .95em 1.6em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.ct-btn--primary {
    color: #fff; background: var(--brand);
    box-shadow: 0 2px 0 var(--brand-ink), 0 16px 28px -16px rgba(14,111,184,.8);
}
.ct-btn--primary:hover { transform: translateY(-2px); background: var(--brand-2); box-shadow: 0 4px 0 var(--brand-ink), 0 22px 34px -16px rgba(14,111,184,.9); }
.ct-btn--ink { color: #fff; background: var(--ink); box-shadow: 0 2px 0 #000, 0 16px 28px -18px rgba(0,0,0,.6); }
.ct-btn--ink:hover { transform: translateY(-2px); background: #2e2a23; }
.ct-btn--ghost {
    color: var(--ink); background: transparent; border-color: var(--line-2);
}
.ct-btn--ghost:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--card); }
.ct-btn--text { padding: .6em .3em; color: var(--brand-ink); border-radius: 4px; }
.ct-btn--text:hover { gap: .9em; }
.ct-btn--lg { padding: 1.1em 2em; font-size: 1.06rem; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.ct-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .4s var(--ease), box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.ct-nav.is-scrolled { background: rgba(245,239,227,.86); backdrop-filter: blur(12px) saturate(120%); border-bottom-color: var(--line); box-shadow: 0 12px 30px -26px rgba(70,52,18,.7); }
.ct-nav__topbar {
    text-align: center; font-size: .82rem; letter-spacing: .01em;
    color: #fff; background: var(--ink);
    padding: .42em 1em;
}
.ct-nav__topbar a { color: #fff; }
.ct-nav__topbar strong { color: var(--hi-yellow); font-weight: 700; }
.ct-nav__topbar i { margin-right: .45em; color: var(--hi-yellow); }
.ct-nav__inner { display: flex; align-items: center; gap: 1.2rem; height: 70px; }
.ct-nav__brand { display: flex; align-items: center; flex: 0 0 auto; }
.ct-nav__brand img { height: 36px; width: auto; }
.ct-nav__menu { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.ct-nav__menu a {
    position: relative; font-weight: 500; font-size: .96rem; color: var(--ink-soft);
    padding: .5em .85em; border-radius: 8px; transition: color .2s, background .2s;
}
.ct-nav__menu a:hover { color: var(--ink); }
.ct-nav__menu a.is-active { color: var(--ink); }
.ct-nav__menu a.is-active::after {
    content: ""; position: absolute; left: .85em; right: .85em; bottom: .15em; height: 3px;
    background: var(--hi-yellow); border-radius: 3px; transform: rotate(-.8deg);
}
.ct-nav__actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.ct-nav__link { font-weight: 500; color: var(--ink-soft); padding: .5em .5em; transition: color .2s; }
.ct-nav__link:hover { color: var(--brand-ink); }
.ct-nav__toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 1.15rem; cursor: pointer; }
.ct-nav__drawer { display: none; }

@media (max-width: 991px) {
    .ct-nav__menu, .ct-nav__actions .ct-nav__link, .ct-nav__actions .ct-btn--ghost { display: none; }
    .ct-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
    .ct-nav__drawer {
        display: block; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
        transform: translateX(100%); transition: transform .45s var(--ease);
        background: var(--card); border-left: 1px solid var(--line); z-index: 1100;
        padding: 84px 28px 28px; overflow-y: auto;
    }
    .ct-nav__drawer.is-open { transform: translateX(0); }
    .ct-nav__drawer a { display: block; font-family: var(--ff-display); font-size: 1.25rem; color: var(--ink); padding: .75rem 0; border-bottom: 1px solid var(--line); }
    .ct-nav__drawer .ct-btn { width: 100%; margin-top: 1.1rem; }
    .ct-nav__drawer .ct-drawer-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 1.25rem; cursor: pointer; }
    .ct-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(34,31,26,.45); opacity: 0; visibility: hidden; transition: opacity .35s; }
    .ct-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   "LEARNING JOURNEY" hand-drawn line (desktop delight, decorative)
   ========================================================================== */
.ct-journey { position: fixed; top: 0; left: max(14px, calc((100vw - var(--maxw)) / 2 - 38px)); height: 100vh; width: 46px; z-index: 1; pointer-events: none; }
.ct-journey svg { width: 100%; height: 100%; overflow: visible; }
.ct-journey .track { fill: none; stroke: var(--line-2); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .8; }
.ct-journey .draw  { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.ct-journey .dot   { fill: var(--card); stroke: var(--brand); stroke-width: 3; }
@media (max-width: 1280px) { .ct-journey { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.ct-hero { position: relative; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.ct-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ct-hero__eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 1.3rem; }
.ct-hero__eyebrow .leaf { color: var(--coral); }
.ct-hero__title {
    font-family: var(--ff-display);
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.02em;
    margin-bottom: 1.4rem;
}
.ct-hero__title em { font-style: italic; font-weight: 400; }
.ct-hero__sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }
.ct-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.ct-hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; color: var(--muted); font-size: .94rem; }
.ct-hero__trust b { font-family: var(--ff-display); color: var(--ink); font-weight: 600; }
.ct-hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); display: inline-block; }

/* product visual in a tilted "paper frame" with a tab + clip */
.ct-hero__visual { position: relative; }
.ct-hero__frame {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 14px; box-shadow: var(--shadow-lg);
    transform: rotate(1.4deg);
    transition: transform .5s var(--ease);
}
.ct-hero__frame:hover { transform: rotate(0deg); }
.ct-hero__frame img { border-radius: 8px; width: 100%; display: block; }
.ct-hero__frame::before { /* tape on the corner */
    content: ""; position: absolute; top: -12px; left: 30px; width: 88px; height: 26px;
    background: rgba(255,210,63,.55); transform: rotate(-7deg);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ct-hero__tag {
    position: absolute; display: inline-flex; align-items: center; gap: .5rem;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: .6rem .85rem; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--ink);
}
.ct-hero__tag i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.ct-hero__tag small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.ct-hero__tag--1 { bottom: 16%; left: -7%; }
.ct-hero__tag--1 i { background: var(--green); }
.ct-hero__tag--2 { top: 12%; right: -6%; }
.ct-hero__tag--2 i { background: var(--coral); }
.ct-hero__note { position: absolute; right: -2%; top: -8%; }

/* ----- "trusted by" strip ------------------------------------------------- */
.ct-trusted { text-align: center; }
.ct-trusted__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ct-trusted__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; }
.ct-chip {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .55em 1.05em; border-radius: 999px;
    border: 1.5px solid var(--line-2); background: var(--card);
    color: var(--ink-soft); font-weight: 600; font-size: .9rem;
}
.ct-chip i { color: var(--brand); }

/* ==========================================================================
   INDEX-CARD value pillars
   ========================================================================== */
.ct-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.ct-card {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.7rem 1.6rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* faint ruled paper lines inside the card */
.ct-card::after {
    content: ""; position: absolute; inset: 56px 18px 18px;
    background-image: linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 100% 30px; opacity: .35; pointer-events: none; z-index: 0;
}
.ct-card > * { position: relative; z-index: 1; }
.ct-card:nth-child(odd)  { transform: rotate(-.5deg); }
.ct-card:nth-child(even) { transform: rotate(.5deg); }
.ct-card:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lg); }
.ct-card__ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; color: var(--ink); background: var(--hl, var(--hi-yellow)); margin-bottom: 1rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.ct-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.ct-card p { font-size: .96rem; margin: 0; color: var(--muted); }
.ct-card__list { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.ct-card__list li { font-size: .78rem; color: var(--ink-soft); padding: .25em .7em; border-radius: 7px; background: var(--paper-2); border: 1px solid var(--line); }

/* ==========================================================================
   STATS — editorial serif numbers on a ruled baseline
   ========================================================================== */
.ct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.ct-stat { padding: 2.2rem 1.4rem; text-align: center; border-right: 1px solid var(--line); }
.ct-stat:last-child { border-right: 0; }
.ct-stat__num { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; color: var(--brand-ink); letter-spacing: -.02em; }
.ct-stat__num .u { color: var(--coral); }
.ct-stat__lbl { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

/* ==========================================================================
   MODULES — a "course catalog" with subject-coloured tabs
   ========================================================================== */
.ct-modules { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; margin-top: 3rem; }
.ct-mod { position: relative; grid-column: span 4; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); overflow: hidden; }
.ct-mod::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tab, var(--brand)); }
.ct-mod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ct-mod--wide { grid-column: span 6; }
.ct-mod--feature { grid-column: span 6; }
.ct-mod__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.ct-mod__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: var(--tab, var(--brand)); }
.ct-mod__cat { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.ct-mod__cat small { display: block; font-family: var(--ff-body); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ct-mod p { font-size: .92rem; margin: 0 0 1rem; color: var(--muted); }
.ct-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ct-tag { font-size: .76rem; color: var(--ink-soft); padding: .28em .65em; border-radius: 7px; background: var(--paper-2); border: 1px solid var(--line); }

/* ==========================================================================
   FEATURE ROWS (alternating editorial)
   ========================================================================== */
.ct-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.ct-feature + .ct-feature { border-top: 1px solid var(--line); }
.ct-feature--rev .ct-feature__media { order: 2; }
.ct-feature__media { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-lg); }
.ct-feature--rev .ct-feature__media { transform: rotate(-1deg); }
.ct-feature__media { transform: rotate(1deg); transition: transform .5s var(--ease); }
.ct-feature__media:hover { transform: rotate(0); }
.ct-feature__media img { border-radius: 9px; width: 100%; }
.ct-feature__kicker { display: inline-block; font-family: var(--ff-body); color: var(--brand-ink); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.ct-feature h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: .8rem; }
.ct-feature p { font-size: 1.04rem; color: var(--ink-soft); }
.ct-feature .ct-btn { margin-top: .6rem; }

/* ==========================================================================
   STEPS — numbered along the journey
   ========================================================================== */
.ct-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 3rem; counter-reset: ctstep; }
.ct-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.5rem; box-shadow: var(--shadow); }
.ct-step::before { counter-increment: ctstep; content: counter(ctstep, decimal-leading-zero); position: absolute; top: -18px; left: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.ct-step h3 { font-size: 1.2rem; margin-bottom: .4rem; margin-top: .6rem; }
.ct-step p { font-size: .95rem; margin: 0; color: var(--muted); }

/* ==========================================================================
   SPLIT (why / tailored) + problem note
   ========================================================================== */
.ct-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ct-checks { display: grid; gap: 1rem; margin-top: 1.6rem; }
.ct-check { display: flex; gap: .9rem; align-items: flex-start; }
.ct-check i { flex: 0 0 auto; margin-top: 3px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; color: #fff; background: var(--green); }
.ct-check b { font-family: var(--ff-display); font-weight: 600; color: var(--ink); }
.ct-check span { color: var(--muted); font-size: .96rem; }

/* the problem panel as a yellow legal-pad note */
.ct-problem { position: relative; background: #fff8df; border: 1px solid #ecdca0; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); transform: rotate(-.8deg); }
.ct-problem::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 1px; background: #f0b8b0; }
.ct-problem .ct-feature__kicker { color: var(--coral); }
.ct-problem h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.ct-problem p { color: var(--ink-soft); font-size: 1rem; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.ct-price-hero { text-align: center; }
.ct-price-hero .amount { font-family: var(--ff-display); font-weight: 600; font-size: clamp(3.4rem, 9vw, 6rem); line-height: 1; color: var(--brand-ink); letter-spacing: -.03em; }
.ct-price-hero .amount small { font-size: 1.1rem; color: var(--muted); font-weight: 500; font-family: var(--ff-body); }
.ct-saves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.ct-save { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ct-save:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ct-save i { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; color: var(--ink); background: var(--hl, var(--hi-mint)); margin-bottom: 1rem; }
.ct-save b { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-bottom: .35rem; }
.ct-save p { font-size: .94rem; margin: 0; color: var(--muted); }

/* ==========================================================================
   VIDEO guides — paper-frame thumbnails
   ========================================================================== */
.ct-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.ct-video { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ct-video:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ct-video__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; margin: 12px 12px 0; border-radius: 9px; }
.ct-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ct-video:hover .ct-video__thumb img { transform: scale(1.05); }
.ct-video__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: var(--brand); box-shadow: 0 10px 24px -8px rgba(14,111,184,.8); transition: transform .35s var(--ease); }
.ct-video:hover .ct-video__play { transform: scale(1.12); }
.ct-video__cap { padding: 1rem 1.2rem; font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.ct-video__cap .tag { font-family: var(--ff-body); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* video modal restyle */
.ct2026 #videoModal { position: fixed; inset: 0; z-index: 2000; display: none; background: rgba(34,31,26,.78); backdrop-filter: blur(4px); }
.ct2026 #videoModal .modal-content { position: relative; max-width: 900px; width: 92%; margin: 8vh auto 0; background: transparent; }
.ct2026 #videoModal iframe { border-radius: 12px; width: 100%; border: 6px solid var(--card); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.ct2026 #videoModal .close { position: absolute; top: -46px; right: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ==========================================================================
   CTA — bold editorial closer on ink
   ========================================================================== */
.ct-cta { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); border-radius: 24px; padding: clamp(2.6rem, 6vw, 4.5rem); text-align: center; }
.ct-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 5px 5px; opacity: .6; }
.ct-cta > * { position: relative; z-index: 1; }
.ct-cta h2 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 600; margin-bottom: .7rem; }
.ct-cta h2 em { font-style: italic; font-weight: 400; }
.ct-cta .ct-hl::before { mix-blend-mode: multiply; }
.ct-cta p { color: rgba(245,239,227,.82); font-size: 1.12rem; max-width: 52ch; margin: 0 auto 2rem; }
.ct-cta__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.ct-cta .ct-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.ct-cta .ct-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ct-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding-block: clamp(3rem, 6vw, 4.5rem) 0; margin-top: clamp(3rem, 7vw, 5rem); }
.ct-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.ct-footer__brand img { height: 36px; margin-bottom: 1.1rem; }
.ct-footer__brand p { font-size: .95rem; max-width: 34ch; color: var(--muted); }
.ct-footer h3 { font-family: var(--ff-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.ct-footer ul li { margin-bottom: .65rem; }
.ct-footer ul a { color: var(--ink-soft); font-size: .95rem; transition: color .2s; }
.ct-footer ul a:hover { color: var(--brand-ink); }
.ct-footer .new { font-size: .64rem; color: #fff; background: var(--coral); border-radius: 6px; padding: .12em .45em; margin-left: .35em; }
.ct-footer__social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.ct-footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-soft); transition: all .25s; }
.ct-footer__social a:hover { color: var(--brand-ink); border-color: var(--brand); transform: translateY(-3px); }
.ct-footer__bottom { margin-top: 3rem; padding: 1.6rem 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.ct-footer__bottom img { height: 24px; display: inline-block; vertical-align: middle; margin-left: .4em; }

/* proudly canadian + back to top (carried-over elements) */
.ct2026 .proudly-canadian { position: fixed; left: 14px; bottom: 14px; z-index: 2147483647; width: 66px; }
.ct2026 .proudly-canadian img { width: 100%; }
@media (max-width: 1280px) { .ct2026 .proudly-canadian { display: none; } }
.ct2026 #back2Top { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: 46px; height: 46px; border-radius: 50%; display: none; align-items: center; justify-content: center; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.ct2026 #back2Top.show { display: flex; }

/* ==========================================================================
   REVEAL (IntersectionObserver-driven; pre-hidden only while html.ct-anim)
   ========================================================================== */
html.ct-anim .ct-reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
html.ct-anim .ct-reveal-stagger:not(.is-in) > * { opacity: 0; transform: translateY(22px); }
.ct-reveal, .ct-reveal-stagger > * { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ct-reveal-stagger.is-in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   BOOK-A-MEETING page (demo/meeting-schedule/add.php) — editorial form
   ========================================================================== */
.ct2026 #loader { position: fixed; inset: 0; background: rgba(245,239,227,.78); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.ct2026 #loader .spinner { width: 52px; height: 52px; border: 5px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: ct-spin 1s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
.ct2026 .ct-booking .ct-hero { padding-bottom: 0; }
.ct2026 .ct-form-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.8rem); }
.ct2026 .ct-form-panel .ct-form-title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 1.8rem; }
.ct2026 .meeting-schedule-form label { display: block; font-weight: 600; color: var(--ink-soft); font-size: .9rem; margin-bottom: .35rem; }
.ct2026 .meeting-schedule-form .form-group { margin-bottom: 1.15rem; }
.ct2026 .meeting-schedule-form .form-control,
.ct2026 .meeting-schedule-form .form-select,
.ct2026 .meeting-schedule-form input[type="time"],
.ct2026 .meeting-schedule-form textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper); padding: .65rem .85rem; color: var(--ink); font-family: var(--ff-body); font-size: 1rem; }
.ct2026 .meeting-schedule-form .form-control:focus,
.ct2026 .meeting-schedule-form .form-select:focus,
.ct2026 .meeting-schedule-form input[type="time"]:focus,
.ct2026 .meeting-schedule-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,111,184,.15); outline: none; }
.ct2026 .meeting-schedule-form .help-block { color: var(--coral); font-size: .82rem; margin-top: .3rem; }
.ct2026 .meeting-schedule-form .input-group { display: flex; align-items: stretch; }
.ct2026 .meeting-schedule-form .input-group-addon { display: grid; place-items: center; padding: 0 .8rem; border: 1.5px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; background: var(--paper-2); color: var(--muted); }
.ct2026 .meeting-schedule-form .input-group .form-control { border-radius: 0 10px 10px 0; }
.ct2026 .meeting-schedule-form .select2-container--krajee .select2-selection,
.ct2026 .meeting-schedule-form .select2-selection { border: 1.5px solid var(--line-2) !important; border-radius: 10px !important; background: var(--paper) !important; min-height: 44px; }
.ct2026 .meeting-schedule-form .checkbox label,
.ct2026 .meeting-schedule-form input[type="checkbox"] + label { display: inline; font-weight: 500; }
.ct2026 #slots-container h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; margin: 1.1rem 0 .7rem; }
.ct2026 #available-slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.ct2026 #available-slots .btn { border-radius: 10px; padding: .5em .9em; font-weight: 600; border: 1.5px solid var(--line-2); }
.ct2026 #available-slots .slot-button.btn-primary { background: var(--paper-2); color: var(--ink); }
.ct2026 #available-slots .slot-button.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.ct2026 #available-slots .btn-secondary { background: var(--paper-2); color: var(--muted); opacity: .65; }
.ct2026 #add-button.btn-success { background: var(--brand); border: 1.5px solid var(--brand-ink); border-radius: 999px; padding: .95em 2.4em; font-weight: 600; color: #fff; box-shadow: 0 2px 0 var(--brand-ink), 0 16px 28px -16px rgba(14,111,184,.7); transition: transform .3s var(--ease), background .25s; }
.ct2026 #add-button.btn-success:hover { background: var(--brand-2); transform: translateY(-2px); }
.ct2026 .ct-thanks-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: var(--green); margin: 0 auto 1.3rem; }

/* ==========================================================================
   FOCUS (WCAG 2.4.7) + sr-only
   ========================================================================== */
.ct2026 a:focus-visible, .ct2026 button:focus-visible, .ct2026 [tabindex]:focus-visible,
.ct2026 .ct-btn:focus-visible, .ct2026 .ct-video:focus-visible, .ct2026 input:focus-visible {
    outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px;
}
.ct2026 a:focus:not(:focus-visible), .ct2026 button:focus:not(:focus-visible) { outline: none; }
.ct2026 .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .ct-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .ct-hero__sub { margin-inline: auto; }
    .ct-hero__cta, .ct-hero__trust { justify-content: center; }
    .ct-hero__visual { max-width: 460px; margin: 1.5rem auto 0; }
    .ct-hero__note { display: none; }
    .ct-stats { grid-template-columns: repeat(2, 1fr); }
    .ct-stat:nth-child(2) { border-right: 0; }
    .ct-stat { border-bottom: 1px solid var(--line); }
    .ct-modules .ct-mod, .ct-modules .ct-mod--wide, .ct-modules .ct-mod--feature { grid-column: span 6; }
    .ct-feature { grid-template-columns: 1fr; }
    .ct-feature--rev .ct-feature__media { order: 0; }
    .ct-split { grid-template-columns: 1fr; }
    .ct-saves, .ct-videos { grid-template-columns: 1fr; }
    .ct-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    body.ct2026 { font-size: 17px; }
    .ct-stats { grid-template-columns: 1fr; }
    .ct-stat { border-right: 0; }
    .ct-modules .ct-mod, .ct-modules .ct-mod--wide, .ct-modules .ct-mod--feature { grid-column: span 12; }
    .ct-footer__grid { grid-template-columns: 1fr; }
    .ct-hero__tag { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .ct2026 *, .ct2026 *::before, .ct2026 *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    html.ct-anim .ct-reveal:not(.is-in), html.ct-anim .ct-reveal-stagger:not(.is-in) > * { opacity: 1 !important; transform: none !important; }
    .ct-hl::before { transform: scaleX(1) rotate(-.6deg) !important; }
    .ct-card, .ct-card:nth-child(odd), .ct-card:nth-child(even), .ct-hero__frame, .ct-feature__media, .ct-problem { transform: none !important; }
    .ct-journey { display: none !important; }
}
