/* Why ClaraLearn intro: glass cards, floating colour blobs and a gold call to action, as on claralearn.com. One screen, no scrolling. */
body.on-why { overflow: hidden; }
body.on-why #clara, body.on-why #fab { display: none !important; }
#view.view-why { padding: var(--top) 0 0; max-width: none; margin: 0; height: 100vh; overflow: hidden; }

.wy { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(900px 500px at 12% 0%, rgba(61,140,132,.10), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(244,196,48,.10), transparent 60%), var(--canvas); }
.wy .hexfield { opacity: .4; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 78%); }
.wy-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: wyfloat 9s ease-in-out infinite; }
.wy-blob.b1 { width: 380px; height: 380px; left: 6%; top: -4%; background: rgba(61,140,132,.28); }
.wy-blob.b2 { width: 340px; height: 340px; right: 4%; top: 14%; background: rgba(244,196,48,.24); animation-delay: -3s; }
.wy-blob.b3 { width: 300px; height: 300px; left: 38%; bottom: -8%; background: rgba(143,208,200,.30); animation-delay: -6s; }
@keyframes wyfloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -22px); } }

/* frosted glass, as .glass and .card on claralearn.com */
.gl { background: rgba(255,255,255,.66); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 32px rgba(20,50,50,.08), inset 0 1px 0 rgba(255,255,255,.95); border-radius: 22px; }

.wy-in { position: relative; z-index: 2; width: min(1120px, 93%); display: flex; flex-direction: column; gap: clamp(12px, 2.4vh, 24px); }
.wy-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.wy-copy { display: flex; flex-direction: column; gap: clamp(10px, 1.9vh, 18px); align-items: flex-start; }
.wy-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 2px 10px rgba(20,50,50,.06); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); font-weight: 600; backdrop-filter: blur(12px); }
.wy-pill i { width: 7px; height: 7px; border-radius: 50%; background: #F4C430; box-shadow: 0 0 0 4px rgba(244,196,48,.25); }
.wy h1 { margin: 0; font-size: clamp(38px, 7.4vh, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; }
.wy h1 em { font-style: italic; background: linear-gradient(120deg, var(--teal), #5BB5AA 55%, #C9A24A); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
.wy-sub { margin: 0; max-width: 520px; font-size: clamp(13px, 1.95vh, 15.5px); color: var(--t2); line-height: 1.6; }
.wy-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wy-go { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 14px 26px; border-radius: 16px; font-size: 14px; font-weight: 600; color: #0F172A; background: linear-gradient(135deg, #F4C430, #FFD700); box-shadow: 0 10px 28px rgba(244,196,48,.38); transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s; }
.wy-go svg { width: 18px; height: 18px; transition: transform .3s; }
.wy-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.wy-go:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(244,196,48,.48); } .wy-go:hover svg { transform: translateX(4px); } .wy-go:hover::after { transform: translateX(120%); }
.wy-skip { border: 0; background: none; color: var(--t2); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; } .wy-skip:hover { color: var(--teal-d); }
.wy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wy-chips span { font-size: 11.5px; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); color: var(--t2); backdrop-filter: blur(10px); }

/* mini product preview */
.wy-stage { position: relative; height: clamp(250px, 40vh, 350px); }
.wy-stage .gl { position: absolute; padding: 14px 16px; animation: wyfloatc 7s ease-in-out infinite; }
.wy-m1 { left: 0; top: 0; width: 60%; } .wy-m2 { right: 0; top: 20%; width: 48%; animation-delay: -2s !important; } .wy-m3 { left: 12%; bottom: 0; width: 60%; animation-delay: -4s !important; }
@keyframes wyfloatc { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wy-mh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--t3); }
.wy-mh em { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 11px; padding: 2px 9px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-d); font-weight: 600; } .wy-mh em.amber { background: rgba(196,137,10,.14); color: var(--amber); }
.wy-bar { display: grid; grid-template-columns: 78px 1fr 24px; gap: 8px; align-items: center; font-size: 11.5px; padding: 3px 0; color: var(--t2); } .wy-bar b { font-size: 11px; text-align: right; color: var(--t1); }
.wy-bar > div { position: relative; height: 7px; border-radius: 99px; background: rgba(0,0,0,.06); } .wy-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--teal), #5BB5AA); width: 0; animation: wygrow 1.1s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--d) + .5s); }
.wy-bar u { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: #C9A24A; }
@keyframes wygrow { to { width: var(--w); } }
.wy-mk { display: flex; align-items: center; gap: 8px; font-size: 11.5px; } .wy-mk .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.wy-m2 p { margin: 6px 0 8px; font-size: 13px; line-height: 1.4; font-weight: 500; }
.wy-ok { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--t2); } .wy-ok em { font-style: normal; font-weight: 600; color: var(--green); background: rgba(61,140,106,.12); padding: 2px 9px; border-radius: 99px; }
.wy-load { display: flex; align-items: flex-end; gap: 4px; height: 42px; } .wy-load i { flex: 1; border-radius: 3px; background: #9FD0CA; height: 0; animation: wyrise .8s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--d) + .6s); } .wy-load i.hot { background: #E2B65A; }
@keyframes wyrise { to { height: var(--h); } }

/* offerings */
.wy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wy-card { padding: 18px 20px 16px; border-radius: 24px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; opacity: 0; transform: translateY(14px); animation: wyin .7s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(.12s * var(--i) + .25s); transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s; }
.wy-card::before { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(61,140,132,.16), transparent 70%); }
.wy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(61,140,132,.18), inset 0 1px 0 rgba(255,255,255,.95); }
@keyframes wyin { to { opacity: 1; transform: none; } }
.wy-top { display: flex; align-items: center; justify-content: space-between; }
.wy-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal), #5BB5AA); box-shadow: 0 6px 14px rgba(61,140,132,.30); } .wy-ic svg { width: 18px; height: 18px; }
.wy-num { font: 600 13px 'Cormorant Garamond', Georgia, serif; letter-spacing: .1em; color: #C9A24A; }
.wy-card h2 { margin: 8px 0 0; font: 600 26px 'Cormorant Garamond', Georgia, serif; line-height: 1; color: var(--t1); }
.wy-card h3 { margin: 2px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--teal-d); }
.wy-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.wy-card li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--t2); line-height: 1.4; }
.wy-card li::before { content: ''; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: rgba(244,196,48,.9); }
.wy-demo { margin-top: auto; padding-top: 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); } .wy-demo b { display: block; margin-top: 2px; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; color: var(--t1); }
.wy-card ul + .wy-demo { border-top: 1px dashed rgba(0,0,0,.1); margin-top: 12px; }

@media (max-width: 980px) { .wy-hero { grid-template-columns: 1fr; } .wy-stage { display: none; } .wy-cards { grid-template-columns: 1fr; } body.on-why, #view.view-why { overflow: auto; } .wy { height: auto; padding: 24px 0; } }
@media (max-height: 720px) { .wy-card li:nth-child(2) { display: none; } .wy-stage { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .wy-blob, .wy-stage .gl { animation: none; } }
@media (max-width: 640px) {
  .wy { min-height: inherit; padding: 20px 0 32px; }
  .wy-in { width: calc(100% - 32px); }
  .wy-go { padding: 12px 16px; font-size: 13px; }
  .wy-go svg { flex: none; }
  .wy-card { padding: 16px; }
  .wy-card li:nth-child(2) { display: list-item; }
  .wy-skip { min-height: 44px; }
}
