/* ==========================================================================
   ClassHud Learning Tools - tools home page (/learning-tools)
   Sits between the main site header and footer. Everything is scoped under
   .lt so nothing here leaks into the rest of the site.
   ========================================================================== */

.lt {
  --red: #DC2626;
  --red-d: #B91C1C;
  --maroon: #9F1239;
  --ink: #0F172A;
  --ink-2: #334155;
  --mute: #64748B;
  --line: #EDEFF3;
  --pink: #FFF1F2;
  --pink-2: #FFE4E6;
  --gold: #F59E0B;
  --r-lg: 24px;
  --r: 16px;
  --sh: 0 18px 40px -22px rgba(15, 23, 42, .28);
  --sh-sm: 0 6px 18px -10px rgba(15, 23, 42, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}
.lt h1, .lt h2, .lt h3 { letter-spacing: -.02em; }
.lt img { max-width: 100%; }
:where(.lt) button { font: inherit; color: inherit; }

/* ── shared bits ──────────────────────────────────────────────────────────── */
.lt-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid #FECDD3; color: var(--red-d);
  font-weight: 700; font-size: .86rem; box-shadow: 0 4px 14px -8px rgba(220, 38, 38, .5);
}
.lt-badge i { color: var(--gold); }
.lt-badge.sm { font-size: .78rem; padding: 5px 12px; }
.lt-badge.light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.lt-go {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in srgb, var(--c, var(--red)) 14%, #fff); color: var(--c, var(--red));
  transition: transform .3s var(--ease), background .3s;
}
.lt-btn-red, .lt-btn-white, .lt-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.lt-btn-red { background: linear-gradient(135deg, var(--red), var(--maroon)); color: #fff; padding: 14px 26px; box-shadow: 0 12px 24px -12px rgba(159, 18, 57, .7); }
.lt-btn-red.sm { padding: 10px 20px; font-size: .9rem; }
.lt-btn-red:hover, .lt-btn-white:hover { transform: translateY(-2px); }
.lt-btn-red:hover i, .lt-btn-white:hover i { transform: translateX(4px); }
.lt-btn-red i, .lt-btn-white i { transition: transform .25s var(--ease); }
.lt-btn-white { background: #fff; color: var(--maroon); padding: 14px 26px; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .5); }
.lt-btn-ghost { border: 1px solid #E2E8F0; padding: 8px 16px; font-size: .86rem; color: var(--red-d); background: #fff; white-space: nowrap; }
.lt-btn-ghost:hover { border-color: #FECACA; background: var(--pink); }
.lt-sec-ico {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  color: var(--red); font-size: 1.7rem;
}
.lt-sec-ico.star { color: var(--gold); font-size: 2rem; }
.lt-pop {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  background: #FEF3C7; color: #B45309; font-size: .72rem; font-weight: 700;
}
.lt-pop i { color: var(--gold); }

/* ── entrance + scroll reveal ─────────────────────────────────────────────── */
@keyframes lt-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lt-shine { to { background-position: 200% 0; } }
@keyframes lt-float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) * -1)); } }
@keyframes lt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lt-twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes lt-dash { to { stroke-dashoffset: -280; } }
@keyframes lt-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) scale(1.06); } 75% { transform: rotate(6deg) scale(1.06); } }
@keyframes lt-fly { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-14px, -10px) rotate(4deg); } }
@keyframes lt-pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lt-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.lt-in { opacity: 0; animation: lt-up .75s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms); display: inline-block; }
.lt-js .lt-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.lt-js .lt-reveal.in { opacity: 1; transform: none; }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.lt-hero {
  position: relative; padding: 46px 0 120px;
  background: linear-gradient(180deg, #FFF3F3 0%, #FFE5E8 58%, #FFF5F6 100%);
}
.lt-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.lt-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .65; }
.lt-blob.b1 { width: 420px; height: 420px; right: 6%; top: -120px; background: #FECDD3; }
.lt-blob.b2 { width: 300px; height: 300px; left: -80px; bottom: -60px; background: #FFE4E6; }
.lt-blob.b3 { width: 220px; height: 220px; left: 45%; top: 30%; background: #FFF; opacity: .8; }
.lt-hero-swirl { position: absolute; left: -40px; top: 40px; width: 380px; color: #FDA4AF; opacity: .5; }
.lt-hero-swirl path, .lt-cta-path path { animation: lt-dash 18s linear infinite; }
.lt-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.lt-hero-copy { max-width: 640px; }
.lt-h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); line-height: 1.08; font-weight: 800; margin: 20px 0 16px; color: var(--ink); }
.lt-h1-a { display: block; }
@media (min-width: 1100px) { .lt-h1-a { white-space: nowrap; } }
.lt-dot { color: var(--red); margin: 0 .05em; }
.lt-h1-b {
  display: block; width: fit-content;
  background: linear-gradient(90deg, #DC2626 0%, #F43F5E 25%, #B91C1C 50%, #F43F5E 75%, #DC2626 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lt-up .75s var(--ease) forwards, lt-shine 7s linear infinite;
  animation-delay: calc(var(--d, 0) * 90ms), 0s;
}
.lt-lead { font-size: 1.08rem; color: var(--ink-2); max-width: 520px; line-height: 1.65; }
.lt-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 28px; }
.lt-perks li { display: flex; align-items: center; gap: 12px; }
.lt-perk-i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--red); font-size: 1.2rem; box-shadow: 0 6px 16px -8px rgba(220, 38, 38, .6);
}
.lt-perks b { display: block; font-size: .92rem; }
.lt-perks small { display: block; color: var(--mute); font-size: .8rem; }

.lt-hero-art { position: relative; width: 100%; aspect-ratio: 962 / 560; --mx: 0; --my: 0; }
.lt-ring {
  position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 45%, transparent 70%);
}
.lt-kid {
  position: absolute; left: 50%; top: 24%; width: 61%;
  translate: calc(-50% + var(--mx) * -6px) calc(var(--my) * -4px);
  filter: drop-shadow(0 22px 26px rgba(159, 18, 57, .18));
  animation: lt-bob 6s ease-in-out infinite;
}
.lt-fl, .lt-word {
  position: absolute; translate: calc(-50% + var(--mx) * var(--z) * 18px) calc(-50% + var(--my) * var(--z) * 18px);
  transition: translate .6s var(--ease);
  animation: lt-float var(--t, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.lt-fl { filter: drop-shadow(0 12px 14px rgba(15, 23, 42, .16)); }
.lt-fl.t1 { left: 28%; top: 28%; width: 11%;  --rot: -6deg; --t: 5.6s; }
.lt-fl.t2 { left: 56%; top: 14%; width: 11%;  --rot: 5deg;  --t: 6.4s; --dl: -1.2s; }
.lt-fl.t3 { left: 70%; top: 27%; width: 12%;   --rot: 4deg;  --t: 7s;   --dl: -2s; }
.lt-fl.t4 { left: 82%; top: 49%; width: 11.5%; --rot: -4deg; --t: 6s;   --dl: -.6s; }
.lt-fl.t5 { left: 73%; top: 74%; width: 11.5%; --rot: 6deg;  --t: 6.8s; --dl: -3s; }
.lt-fl.t6 { left: 14%; top: 50%; width: 12.5%;   --rot: -5deg; --t: 6.2s; --dl: -1.8s; }
.lt-fl.t7 { left: 27%; top: 51%; width: 8.5%;  --rot: 3deg;  --t: 5s;   --dl: -2.4s; }
.lt-word {
  padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--ink-2);
  font-weight: 700; font-size: clamp(.72rem, 1.1vw, .92rem); white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .45); --t: 5.4s; --rot: 0deg;
}
.lt-word.w1 { left: 41%; top: 12%; --dl: -.8s; }
.lt-word.w2 { left: 88%; top: 27%; --dl: -2.2s; }
.lt-word.w3 { left: 63%; top: 51%; --dl: -1.4s; z-index: 2; }
.lt-word.w4 { left: 90%; top: 70%; --dl: -3s; }
.lt-word.w5 { left: 12%; top: 79%; --dl: -.3s; }
.lt-spark { position: absolute; width: 12px; height: 12px; background: #FB7185; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: lt-twinkle 2.8s ease-in-out infinite; }
.lt-spark.s1 { left: 6%; top: 18%; }
.lt-spark.s2 { left: 48%; top: 6%; background: var(--gold); animation-delay: -1s; }
.lt-spark.s3 { left: 96%; top: 46%; animation-delay: -1.8s; }
.lt-spark.s4 { left: 40%; top: 92%; background: #60A5FA; animation-delay: -.4s; width: 9px; height: 9px; }
.lt-dash { position: absolute; width: 26px; height: 4px; border-radius: 4px; background: #F59E0B; animation: lt-bob 3.6s ease-in-out infinite; }
.lt-dash.d1 { left: 2%; top: 70%; rotate: 35deg; }
.lt-dash.d2 { left: 22%; top: 13%; rotate: -25deg; background: #EF4444; animation-delay: -1s; }
.lt-dash.d3 { left: 96%; top: 32%; rotate: 70deg; background: #3B82F6; animation-delay: -2s; }
.lt-dash.d4 { left: 84%; top: 88%; rotate: -40deg; animation-delay: -1.6s; }

/* ── search ───────────────────────────────────────────────────────────────── */
.lt-search {
  position: relative; z-index: 20; margin-top: -76px;
  display: grid; grid-template-columns: minmax(0, 1fr) 200px 200px 150px; gap: 12px;
  background: #fff; border-radius: var(--r-lg); padding: 16px;
  box-shadow: 0 30px 60px -30px rgba(220, 38, 38, .35), 0 2px 6px rgba(15, 23, 42, .05);
}
.lt-search-field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  border: 1.5px solid #E5E7EB; border-radius: 14px; min-height: 64px; padding: 8px 52px 8px 54px;
  transition: border-color .2s, box-shadow .2s;
}
.lt-search-field:focus-within { border-color: #FCA5A5; box-shadow: 0 0 0 4px rgba(252, 165, 165, .25); }
.lt-search-i { position: absolute; left: 18px; top: 50%; translate: 0 -50%; font-size: 1.45rem; color: var(--red); }
.lt-search-field input {
  border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); width: 100%; padding: 0;
}
.lt-search-field input::placeholder { color: var(--ink-2); font-weight: 600; }
.lt-search-field input::-webkit-search-cancel-button { cursor: pointer; }
.lt-search-hint { font-size: .78rem; color: var(--mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-search-hint button { color: var(--mute); text-decoration: underline dotted; text-underline-offset: 3px; padding: 0; }
.lt-search-hint button:hover { color: var(--red); }
.lt-search-field.has-q .lt-search-hint { display: none; }
.lt-kbd {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  border: 1px solid #E2E8F0; border-bottom-width: 2px; border-radius: 6px; padding: 1px 8px; font-size: .78rem; color: var(--mute); background: #F8FAFC;
}
.lt-search-field.has-q .lt-kbd { display: none; }
.lt-search-sel { position: relative; }
.lt-search-sel select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 100%; min-height: 56px;
  border: 1.5px solid #E5E7EB; border-radius: 14px; background: #fff; padding: 0 40px 0 16px;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.lt-search-sel select:focus { outline: 0; border-color: #FCA5A5; box-shadow: 0 0 0 4px rgba(252, 165, 165, .25); }
.lt-search-sel > i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-2); font-size: 1.2rem; }
.lt-search-sel.sm select { min-height: 44px; border-radius: 999px; font-size: .86rem; }
.lt-search-btn {
  border-radius: 14px; background: linear-gradient(135deg, #C81E1E, var(--maroon)); color: #fff !important;
  font-weight: 700; font-size: 1rem; box-shadow: 0 12px 22px -12px rgba(159, 18, 57, .8);
  transition: transform .2s var(--ease), filter .2s;
}
.lt-search-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* live suggestions */
.lt-suggest {
  position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 10px); z-index: 40;
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .35); padding: 8px; max-height: min(460px, 70vh); overflow: auto;
  animation: lt-drop .18s var(--ease);
}
.lt-sg-note { padding: 8px 12px 10px; font-size: .84rem; color: var(--mute); border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.lt-sg-note b { color: var(--red-d); }
.lt-sg-note button { color: var(--red); font-weight: 700; text-decoration: underline; }
.lt-sg {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; cursor: pointer; color: var(--ink);
}
.lt-sg.on, .lt-sg:hover { background: var(--pink); }
.lt-sg-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 1.25rem; }
.lt-sg-ico .lt-glyph { font-size: .85rem; }
.lt-sg-ico .lt-glyph.g1 { font-size: 1.25rem; }
.lt-sg-ico img { width: 34px; height: 34px; object-fit: contain; }
.lt-sg-t { min-width: 0; flex: 1; }
.lt-sg-t b { display: block; font-size: .94rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-sg-t small { display: block; font-size: .78rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-sg mark { background: #FEF08A; color: inherit; border-radius: 3px; padding: 0 1px; }
.lt-sg-cls { font-size: .74rem; color: var(--mute); white-space: nowrap; }
.lt-sg-all {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 6px; padding: 11px;
  border-radius: 12px; background: #F8FAFC; color: var(--red-d); font-weight: 700; font-size: .9rem;
}
.lt-sg-all:hover, .lt-sg-all.on { background: var(--pink-2); }
.lt-sg-empty { padding: 18px 14px; color: var(--mute); font-size: .92rem; }

.lt-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 6px; }
.lt-kind {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 11px; border-radius: 999px;
  border: 1px solid #F1D5D8; background: #fff; font-size: .82rem; font-weight: 600; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.lt-kind i { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; color: #fff; font-size: .82rem; background: var(--k, var(--red)); }
.lt-kind:hover { border-color: color-mix(in srgb, var(--k, var(--red)) 45%, #fff); background: color-mix(in srgb, var(--k, var(--red)) 7%, #fff); transform: translateY(-2px); }
.lt-kind[aria-pressed="true"] { background: var(--k, var(--red)); border-color: var(--k, var(--red)); color: #fff; box-shadow: 0 8px 18px -10px var(--k, var(--red)); }
.lt-kind[aria-pressed="true"] i { background: rgba(255, 255, 255, .25); }
.lt-kind[aria-pressed="true"] i { color: #fff; }

/* ── subject chips ────────────────────────────────────────────────────────── */
.lt-chips { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 10px; margin: 26px 0 30px; }
.lt-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 6px 14px; border-radius: 18px; color: var(--ink);
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 14%, #fff);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.lt-chip-i { display: grid; place-items: center; height: 44px; }
.lt-chip-i img { max-height: 42px; width: auto; transition: transform .4s var(--ease); }
.lt-chip-n { font-size: .76rem; font-weight: 700; line-height: 1.25; }
.lt-chip:hover, .lt-chip.on { transform: translateY(-5px); box-shadow: 0 16px 28px -18px color-mix(in srgb, var(--c) 80%, #000); background: color-mix(in srgb, var(--c) 16%, #fff); }
.lt-chip:hover .lt-chip-i img { animation: lt-wiggle .6s var(--ease); }

/* ── recently used ────────────────────────────────────────────────────────── */
.lt-recent { margin: -6px 0 26px; padding: 14px 18px; border-radius: 18px; background: #F8FAFC; border: 1px dashed #E2E8F0; animation: lt-pop-in .5s var(--ease); }
.lt-recent-head { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; }
.lt-recent-head i { color: var(--red); }
.lt-recent-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.lt-recent-list::-webkit-scrollbar { display: none; }
.lt-rc {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.lt-rc:hover { border-color: color-mix(in srgb, var(--g2) 45%, #fff); transform: translateY(-2px); }
.lt-rc span { width: 28px; height: 28px; border-radius: 50%; font-size: .85rem; font-weight: 800; }
.lt-rc img { width: 28px; height: 28px; object-fit: contain; }
.lt-rc { padding-left: 9px; }
.lt-rc-star { color: var(--gold); font-size: .8rem; }

/* ── popular ──────────────────────────────────────────────────────────────── */
.lt-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 24px; }
.lt-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lt-sec-title { display: flex; align-items: center; gap: 10px; }
.lt-sec-title h2, .lt-fam-head h2, .lt-all-head h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.lt-sec-title p, .lt-fam-head p, .lt-all-head p { color: var(--mute); font-size: .9rem; }
.lt-sec-act { display: flex; align-items: center; gap: 10px; }
.lt-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E2E8F0; background: #fff; font-size: 1.3rem;
  transition: all .2s;
}
.lt-arrow:hover { border-color: var(--red); color: var(--red); background: var(--pink); }
.lt-arrow:disabled { opacity: .35; pointer-events: none; }
.lt-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 10px; margin: -6px -2px -10px;
  scrollbar-width: none;
}
.lt-rail::-webkit-scrollbar { display: none; }
.lt-pcard {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 14px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.lt-pcard h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; flex: 1; }
.lt-pcard-ico { display: grid; place-items: center; width: 58px; height: 58px; }
.lt-pcard-ico img { width: 58px; height: 58px; object-fit: contain; transition: transform .4s var(--ease); filter: drop-shadow(0 8px 10px rgba(15, 23, 42, .14)); }
.lt-pcard-ico.tile { border-radius: 17px; font-size: 1.8rem; }
.lt-pcard-ico.tile i, .lt-pcard-ico.tile .lt-glyph { position: relative; z-index: 1; }
.lt-pcard-ico.tile .lt-glyph { font-weight: 800; font-size: 1.15rem; }
.lt-pcard-ico.tile .lt-glyph.g1 { font-size: 1.7rem; }
.lt-pcard-foot { display: flex; align-items: center; justify-content: space-between; }
.lt-pcard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--c) 30%, #fff); }
.lt-pcard:hover .lt-pcard-ico img, .lt-pcard:hover .lt-pcard-ico i { animation: lt-wiggle .6s var(--ease); }
.lt-pcard:hover .lt-go, .lt-scard:hover .lt-go, .lt-wcard:hover .lt-go { transform: translateX(4px); background: var(--c, var(--red)); color: #fff; }

/* ── featured subject ─────────────────────────────────────────────────────── */
.lt-feature {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr .95fr; gap: 20px; align-items: center;
  margin: 28px 0 22px; padding: 34px 34px 34px 40px; border-radius: 28px;
  background: radial-gradient(120% 120% at 0% 0%, #FFE4E6 0%, #FFF1F2 45%, #FFE4E6 100%);
  border: 1px solid #FFE0E4; overflow: hidden;
}
.lt-feature h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); font-weight: 800; color: var(--maroon); margin: 12px 0 8px; line-height: 1.05; }
.lt-feature p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 22px; max-width: 360px; }
.lt-feature-art { position: relative; text-align: center; }
.lt-feature-art img { width: 100%; max-width: 360px; margin: 0 auto; filter: drop-shadow(0 20px 22px rgba(159, 18, 57, .18)); animation: lt-bob 6s ease-in-out infinite; }
.lt-sym { position: absolute; font-weight: 800; font-size: 1.6rem; color: #FB7185; opacity: .75; animation: lt-float 5s ease-in-out infinite; }
.lt-sym.y1 { left: 4%; top: 8%; --rot: 10deg; }
.lt-sym.y2 { right: 2%; bottom: 10%; color: #60A5FA; animation-delay: -2s; }
.lt-sym.y3 { left: 10%; bottom: 4%; color: var(--gold); animation-delay: -3.4s; }
.lt-feature-groups { list-style: none; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--sh-sm); }
.lt-feature-groups a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s, padding .2s;
}
.lt-feature-groups a > i:first-child { color: var(--red); font-size: 1.1rem; }
.lt-feature-groups a span { flex: 1; }
.lt-feature-groups .lt-gg { color: #CBD5E1; transition: transform .2s; }
.lt-feature-groups a:hover { background: var(--pink); color: var(--red-d); padding-left: 16px; }
.lt-feature-groups a:hover .lt-gg { color: var(--red); transform: translateX(3px); }

/* ── subject cards ────────────────────────────────────────────────────────── */
.lt-subjects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.lt-scard {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px 18px 16px; border-radius: 20px;
  background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 13%, #fff); color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.lt-scard-top { display: flex; align-items: center; gap: 14px; }
.lt-scard-top img { width: 58px; height: 58px; object-fit: contain; flex: none; transition: transform .45s var(--ease); }
.lt-scard h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.lt-scard small { display: block; color: var(--mute); font-size: .76rem; line-height: 1.4; margin-top: 3px; }
.lt-scard-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: .84rem; font-weight: 700; color: color-mix(in srgb, var(--c) 70%, #0F172A); }
.lt-scard:hover { transform: translateY(-6px); box-shadow: 0 20px 34px -22px color-mix(in srgb, var(--c) 85%, #000); }
.lt-scard:hover .lt-scard-top img { transform: scale(1.1) rotate(-6deg); }

/* ── for students / teachers ──────────────────────────────────────────────── */
.lt-family { margin-bottom: 36px; }
.lt-fam-head { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lt-plane { position: absolute; right: 2%; top: -14px; width: 64px; animation: lt-fly 5s ease-in-out infinite; }
.lt-wide-row { display: grid; gap: 16px; }
.lt-wide-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lt-wide-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lt-wcard {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 132px;
  padding: 18px 20px; border-radius: 22px; color: var(--ink); overflow: hidden;
  background: linear-gradient(120deg, color-mix(in srgb, var(--c) 11%, #fff), color-mix(in srgb, var(--c) 4%, #fff));
  border: 1px solid color-mix(in srgb, var(--c) 12%, #fff);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.lt-wcard-i { width: 64px; max-height: 70px; object-fit: contain; }
.lt-wcard h3 { font-size: 1.12rem; font-weight: 800; }
.lt-wcard small { display: block; color: var(--mute); font-size: .78rem; margin: 2px 0 12px; }
.lt-wcard-go { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; }
.lt-wcard-art { width: 112px; max-height: 110px; object-fit: contain; transition: transform .5s var(--ease); filter: drop-shadow(0 12px 14px rgba(15, 23, 42, .14)); }
.lt-family-tch .lt-wcard-art { width: 150px; max-height: 120px; }
.lt-wcard:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -24px color-mix(in srgb, var(--c) 85%, #000); }
.lt-wcard:hover .lt-wcard-art { transform: scale(1.08) rotate(-4deg) translateY(-4px); }

/* ── every tool ───────────────────────────────────────────────────────────── */
.lt-all { padding-top: 22px; scroll-margin-top: 80px; }
.lt-all-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.lt-all-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lt-mini-search { position: relative; }
.lt-mini-search i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--mute); }
.lt-mini-search input {
  width: 250px; height: 44px; border-radius: 999px; border: 1.5px solid #E5E7EB; padding: 0 16px 0 38px; font: inherit; font-size: .9rem; font-weight: 500;
}
.lt-mini-search input:focus { outline: 0; border-color: #FCA5A5; box-shadow: 0 0 0 4px rgba(252, 165, 165, .25); }
.lt-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 10px; }
@media (max-width: 960px) { .lt-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .lt-tabs::-webkit-scrollbar { display: none; } }
.lt-tab {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 15px; border-radius: 999px;
  border: 1px solid #E5E7EB; background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: all .2s;
}
.lt-tab i { color: var(--c, var(--red)); }
.lt-tab:hover { border-color: color-mix(in srgb, var(--c, var(--red)) 45%, #fff); }
.lt-tab.on { background: var(--c, var(--red)); border-color: var(--c, var(--red)); color: #fff; box-shadow: 0 8px 18px -12px var(--c, var(--red)); }
.lt-tab.on i { color: #fff; }
.lt-active { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.lt-active button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; background: var(--pink); color: var(--red-d);
  font-size: .8rem; font-weight: 600; border: 1px solid #FECDD3;
}
.lt-active button:hover { background: var(--pink-2); }
.lt-active .lt-clear-all { background: transparent; border-color: transparent; color: var(--mute); text-decoration: underline; }

/* subject sections: picture banner, then topics */
.lt-sec { margin: 8px 0 34px; scroll-margin-top: 90px; }
.lt-banner {
  position: relative; display: flex; align-items: center; gap: 20px; min-height: 150px; padding: 24px 28px; margin-bottom: 6px;
  border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(140px 140px at 92% 20%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    linear-gradient(115deg, color-mix(in srgb, var(--c) 14%, #fff) 0%, color-mix(in srgb, var(--c) 5%, #fff) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 16%, #fff);
}
.lt-banner::before {
  content: ''; position: absolute; right: -40px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 10%, transparent);
}
.lt-banner-t { position: relative; flex: 1; min-width: 0; padding-right: 210px; }
.lt-banner h3 { display: flex; align-items: center; gap: 12px; font-size: 1.55rem; font-weight: 800; color: color-mix(in srgb, var(--c) 75%, #0F172A); }
.lt-banner h3 i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 1.3rem; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 10px 18px -10px var(--c);
}
.lt-banner p { color: var(--ink-2); font-size: .94rem; margin: 6px 0 14px; max-width: 620px; }
.lt-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-topic-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--c) 20%, #fff); font-size: .8rem; font-weight: 600; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.lt-topic-pill i { color: var(--c); }
.lt-topic-pill:hover, .lt-topic-pill.on { background: var(--c); border-color: var(--c); color: #fff; transform: translateY(-2px); }
.lt-topic-pill:hover i, .lt-topic-pill.on i { color: #fff; }
.lt-banner-only {
  position: absolute; top: 16px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .78rem; font-weight: 700;
  color: color-mix(in srgb, var(--c) 80%, #0F172A); border: 1px solid color-mix(in srgb, var(--c) 20%, #fff); transition: all .2s;
}
.lt-banner-only:hover { background: var(--c); color: #fff; }
.lt-banner-art {
  position: absolute; right: 26px; bottom: 12px; width: auto; max-width: 190px; max-height: 118px; object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(15, 23, 42, .18)); animation: lt-bob 6s ease-in-out infinite;
}
.lt-topic { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 800; color: var(--ink); margin: 22px 0 12px; scroll-margin-top: 96px; }
.lt-topic i { color: var(--c); font-size: 1.15rem; }
.lt-topic::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, #fff), transparent); }

/* 12 colour sets for tool icons; tools are spread across them so neighbours differ */
.lt-hue-0  { --g1: #FF8A80; --g2: #E5384F; }
.lt-hue-1  { --g1: #FFB86B; --g2: #F2711C; }
.lt-hue-2  { --g1: #FFD45E; --g2: #E8A40C; }
.lt-hue-3  { --g1: #8BE07F; --g2: #2EA44F; }
.lt-hue-4  { --g1: #5EE3C8; --g2: #0E9F8E; }
.lt-hue-5  { --g1: #6CD2FF; --g2: #0B8BD9; }
.lt-hue-6  { --g1: #7FAAFF; --g2: #2F5BEA; }
.lt-hue-7  { --g1: #A29BFF; --g2: #5B4BDB; }
.lt-hue-8  { --g1: #C99BFF; --g2: #8B3FE0; }
.lt-hue-9  { --g1: #F59BF0; --g2: #C2259F; }
.lt-hue-10 { --g1: #FF9BC4; --g2: #E0367A; }
.lt-hue-11 { --g1: #FFA48F; --g2: #EB5A2E; }

.lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.lt-card {
  position: relative; display: flex; flex-direction: column; padding: 18px 18px 14px; border-radius: 20px; color: var(--ink);
  background: radial-gradient(220px 130px at 0% 0%, color-mix(in srgb, var(--g2) 11%, transparent), transparent 72%), #fff;
  border: 1px solid var(--line); box-shadow: 0 2px 6px -3px rgba(15, 23, 42, .08);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.lt-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.lt-card-ico, .lt-sg-ico, .lt-pcard-ico.tile, .lt-rc span {
  position: relative; display: grid; place-items: center; flex: none; overflow: hidden; color: #fff;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  box-shadow: 0 10px 18px -10px var(--g2), inset 0 -3px 0 rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.lt-card-ico::after, .lt-sg-ico::after, .lt-pcard-ico.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 28% 18%, rgba(255, 255, 255, .5), transparent 62%);
}
.lt-card-ico { width: 58px; height: 58px; border-radius: 17px; font-size: 1.75rem; transition: transform .4s var(--ease); }
/* 3D pictures stand on their own: no box, just a soft shadow */
.lt-card-ico.art, .lt-sg-ico.art { background: none; box-shadow: none; overflow: visible; }
.lt-card-ico.art::after, .lt-sg-ico.art::after { display: none; }
.lt-card-ico img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(15, 23, 42, .16)); }
.lt-sg-ico img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(15, 23, 42, .15)); }
.lt-card:hover .lt-card-ico.art { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
.lt-glyph { position: relative; z-index: 1; font-weight: 800; font-size: 1.1rem; line-height: 1; letter-spacing: -.02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.lt-glyph.g1 { font-size: 1.65rem; }
.lt-card-ico i, .lt-sg-ico i { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.lt-kt {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  font-size: .7rem; font-weight: 700; color: var(--k); background: color-mix(in srgb, var(--k) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--k) 18%, #fff);
}
.lt-card-subj { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: var(--c); margin-bottom: 4px; }
.lt-card h3 { font-size: 1.04rem; font-weight: 800; line-height: 1.3; margin-bottom: 5px; }
.lt-card-desc { font-size: .84rem; color: var(--mute); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lt-card-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.lt-cls { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 600; color: var(--ink-2); background: #F1F5F9; padding: 3px 10px; border-radius: 999px; }
.lt-card-go {
  display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; font-size: 1rem;
  color: var(--g2); background: color-mix(in srgb, var(--g2) 12%, #fff); transition: transform .3s var(--ease), background .3s, color .3s;
}
.lt-card:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--g2) 35%, #fff);
  box-shadow: 0 24px 40px -26px color-mix(in srgb, var(--g2) 90%, #000);
}
.lt-card:hover .lt-card-ico { transform: rotate(-8deg) scale(1.08); }
.lt-card:hover .lt-card-go { background: var(--g2); color: #fff; transform: translateX(3px); }
.lt-card mark { background: #FEF08A; color: inherit; border-radius: 3px; }
.lt-card.enter { animation: lt-pop-in .45s var(--ease) both; animation-delay: calc(min(var(--n, 0), 18) * 28ms); }

.lt-empty { text-align: center; padding: 40px 16px 50px; }
.lt-empty img { margin: 0 auto 10px; animation: lt-bob 4s ease-in-out infinite; }
.lt-empty h3 { font-size: 1.25rem; font-weight: 800; }
.lt-empty p { color: var(--mute); margin: 6px 0 16px; }
.lt-empty-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.lt-empty-sugg a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.lt-empty-sugg a:hover { border-color: #FCA5A5; color: var(--red-d); }

/* ── call to action ───────────────────────────────────────────────────────── */
.lt-cta {
  position: relative; margin-top: 50px; padding: 54px 0; color: #fff; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #C81E3A 0%, #A3162E 45%, #7F1324 100%);
  border-radius: 34px 34px 0 0;
}
.lt-cta-path { position: absolute; right: 12%; top: 6px; width: 560px; color: rgba(255, 255, 255, .35); }
.lt-cta-in { position: relative; display: grid; grid-template-columns: 1.2fr 1.1fr .7fr; gap: 26px; align-items: center; }
.lt-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: 14px 0 8px; line-height: 1.15; }
.lt-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 22px; }
.lt-cta-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lt-cta-feat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 14px 10px;
  border-radius: 18px; background: #FFF5F5; color: #9F1239; font-weight: 600; font-size: .86rem; text-align: center; line-height: 1.3;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .55); transition: transform .3s var(--ease);
}
.lt-cta-feat i { font-size: 1.9rem; }
.lt-cta-feat.r i { color: #EF4444; }
.lt-cta-feat.g { background: #F0FDF4; color: #166534; } .lt-cta-feat.g i { color: #16A34A; }
.lt-cta-feat.v { background: #F5F3FF; color: #5B21B6; } .lt-cta-feat.v i { color: #7C3AED; }
.lt-cta-feat:hover { transform: translateY(-6px) rotate(-1deg); }
.lt-cta-art { position: relative; min-height: 170px; }
.lt-trophy { position: absolute; right: 0; bottom: -10px; width: 190px; animation: lt-bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .35)); }
.lt-star { position: absolute; width: 26px; animation: lt-twinkle 3s ease-in-out infinite; }
.lt-star.st1 { left: 0; top: 4px; }
.lt-star.st2 { right: 0; top: -14px; width: 20px; animation-delay: -1.2s; }
.lt-star.st3 { left: 18%; bottom: 0; width: 32px; animation-delay: -2.1s; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .lt-chips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .lt-chips::-webkit-scrollbar { display: none; }
  .lt-chip { flex: 0 0 112px; scroll-snap-align: start; }
  .lt-rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .lt-subjects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lt-feature { grid-template-columns: 1fr 1fr; }
  .lt-feature-groups { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .lt-cta-in { grid-template-columns: 1fr 1fr; }
  .lt-cta-art { display: none; }
}
@media (max-width: 960px) {
  .lt-banner-t { padding-right: 150px; }
  .lt-banner-art { max-width: 140px; max-height: 96px; }
  .lt-hero { padding: 30px 0 110px; }
  .lt-hero-in { grid-template-columns: 1fr; gap: 6px; }
  .lt-hero-copy { max-width: none; text-align: center; }
  .lt-h1-b { margin: 0 auto; }
  .lt-lead { margin: 0 auto; }
  .lt-perks { justify-content: center; }
  .lt-hero-art { max-width: 620px; margin: 0 auto; }
  .lt-search { grid-template-columns: 1fr 1fr; }
  .lt-search-field { grid-column: 1 / -1; }
  .lt-search-btn { grid-column: 1 / -1; min-height: 52px; }
  .lt-wide-row.n3, .lt-wide-row.n2 { grid-template-columns: 1fr; }
  .lt-cta-in { grid-template-columns: 1fr; text-align: center; }
  .lt-cta-copy { display: flex; flex-direction: column; align-items: center; }
  .lt-plane { display: none; }
}
@media (max-width: 640px) {
  .lt .container { padding-left: 16px; padding-right: 16px; }
  .lt-h1 { font-size: 2rem; }
  .lt-lead { font-size: .98rem; }
  .lt-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
  .lt-perks li { flex-direction: column; gap: 6px; }
  .lt-perks b { font-size: .8rem; }
  .lt-perks small { font-size: .7rem; }
  .lt-word { padding: 5px 11px; }
  .lt-hero { padding-bottom: 96px; }
  .lt-search { margin-top: -60px; padding: 12px; gap: 10px; border-radius: 20px; }
  .lt-search-field { padding-left: 46px; padding-right: 14px; }
  .lt-search-i { left: 15px; }
  .lt-kbd { display: none; }
  .lt-search-sel select { min-height: 50px; font-size: .86rem; }
  .lt-kinds { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .lt-kinds::-webkit-scrollbar { display: none; }
  .lt-kind { flex: none; }
  .lt-chip { flex-basis: 98px; }
  .lt-panel { padding: 18px 14px; border-radius: 20px; }
  .lt-sec-title h2, .lt-fam-head h2, .lt-all-head h2 { font-size: 1.3rem; }
  .lt-sec-act .lt-arrow { display: none; }
  .lt-sec-title p { font-size: .8rem; }
  .lt-sec-ico.star { font-size: 1.6rem; width: 34px; }
  .lt-rail { grid-auto-columns: 44%; }
  .lt-feature { grid-template-columns: 1fr; padding: 26px 18px; text-align: center; }
  .lt-feature p { margin-left: auto; margin-right: auto; }
  .lt-feature-art img { max-width: 260px; }
  .lt-feature-groups { grid-template-columns: 1fr; text-align: left; }
  .lt-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lt-scard { padding: 16px 14px 14px; }
  .lt-scard-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lt-scard-top img { width: 46px; height: 46px; }
  .lt-wcard { grid-template-columns: auto 1fr; min-height: 0; }
  .lt-wcard-art { display: none; }
  .lt-all-tools { width: 100%; }
  .lt-mini-search { flex: 1 1 100%; }
  .lt-mini-search input { width: 100%; }
  .lt-all-tools .lt-search-sel { flex: 1; }
  .lt-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lt-card { padding: 14px 12px 12px; border-radius: 18px; }
  .lt-card-top { flex-direction: column; gap: 8px; margin-bottom: 10px; }
  .lt-card-ico { width: 48px; height: 48px; border-radius: 14px; font-size: 1.45rem; }
  .lt-card-ico img { width: 50px; height: 50px; }
  .lt-card h3 { font-size: .92rem; }
  .lt-card-desc { font-size: .78rem; -webkit-line-clamp: 3; }
  .lt-card-foot { padding-top: 10px; gap: 6px; }
  .lt-card-go { display: none; }
  .lt-banner { flex-direction: column; align-items: flex-start; min-height: 0; padding: 20px 18px 18px; }
  .lt-banner-t { padding-right: 0; width: 100%; }
  .lt-banner h3 { font-size: 1.25rem; padding-right: 96px; }
  .lt-banner-art { position: absolute; top: 14px; right: 14px; bottom: auto; max-width: 84px; max-height: 64px; }
  .lt-banner-only { position: static; margin-top: 12px; }
  .lt-banner p { font-size: .86rem; }
  .lt-topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding: 2px 18px 4px 0; }
  .lt-topics::-webkit-scrollbar { display: none; }
  .lt-topic-pill { flex: none; }
  .lt-cta { border-radius: 26px 26px 0 0; padding: 40px 0; }
  .lt-cta-feats { gap: 8px; }
  .lt-cta-feat { min-height: 104px; font-size: .76rem; padding: 10px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .lt *, .lt *::before, .lt *::after { animation: none !important; transition: none !important; }
  .lt-in { opacity: 1; }
  .lt-js .lt-reveal { opacity: 1; transform: none; }
}

/* ── questions ────────────────────────────────────────────────────────────── */
.lt-faq { margin: 30px 0 10px; }
.lt-faq-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lt-faq-head h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.lt-faq-head p { color: var(--mute); font-size: .9rem; }
.lt-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lt-qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; transition: border-color .2s, box-shadow .2s; }
.lt-qa[open] { border-color: #FECDD3; box-shadow: var(--sh-sm); }
.lt-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; cursor: pointer;
  font-weight: 700; font-size: .98rem; list-style: none;
}
.lt-qa summary::-webkit-details-marker { display: none; }
.lt-qa summary i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: var(--red); transition: transform .3s var(--ease); }
.lt-qa[open] summary i { transform: rotate(45deg); background: var(--red); color: #fff; }
.lt-qa p { color: var(--ink-2); font-size: .92rem; line-height: 1.65; padding: 0 0 16px; }
@media (max-width: 760px) { .lt-faq-list { grid-template-columns: 1fr; } .lt-faq-head h2 { font-size: 1.3rem; } }
