@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root { --navy: #12214e; --soft: #1d2d5c; --muted: #535c73; --amber: #f5a422; --amber-ink: #955405; --accent: #955405; --cta: radial-gradient(130% 110% at 100% 100%, #f5a422 0%, #c97c1c 20%, #5a4232 42%, #1a2347 66%, #131d40 100%); --cta-ink: #fff; --bar: linear-gradient(90deg, #f5a422, #f7c35c); --line: rgba(70,55,30,.1); --paper: #fbfaf8;
  --display: "Bricolage", system-ui, sans-serif; --font: "Figtree", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); font: 400 16px/1.55 var(--font); background: var(--paper); overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, 100%); margin-inline: auto; padding-inline: 20px; }

/* ---------- sky hero ---------- */
.sky { position: relative; isolation: isolate; overflow-x: clip; padding-bottom: 70px;
  background: linear-gradient(180deg, #5c92d1 0%, #4aa5ee 34%, #8cc8f4 62%, #e6f0f6 86%, var(--paper) 100%); }
.sky .c { position: absolute; z-index: -1; pointer-events: none; }
.top { display: flex; align-items: center; gap: 18px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.tw { font: 500 25px/1 var(--display); letter-spacing: -.035em; white-space: nowrap; color: var(--navy); }
.tw b { font-weight: 800; color: var(--accent); }
.menu { display: flex; gap: 2px; }
.menu a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #10224d; }
.menu a::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-2px, -1px); opacity: .6; }
.tools { margin-left: auto; display: flex; gap: 8px; }
.find { display: flex; align-items: center; gap: 8px; width: 230px; height: 42px; padding: 0 8px 0 12px; border-radius: 12px; background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95); color: var(--muted); font-size: 14px; box-shadow: 0 6px 16px -12px rgba(10,22,50,.5); }
.find kbd { margin-left: auto; font: 600 11px/1 var(--font); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; background: #fff; }
.sq { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95); }
.burger { display: none; }

.hero { text-align: center; padding-top: 58px; }
.hero h1 { font: 800 clamp(38px, 6.4vw, 72px)/1 var(--display); letter-spacing: -.045em; color: #061640; }
.hero h1 b { color: var(--accent); font-weight: 800; }
.top .tw b { color: var(--accent); }
.hero > p { max-width: 50ch; margin: 18px auto 58px; font-size: clamp(16px, 1.9vw, 19px); color: #0b1d4a; }

.card { position: relative; max-width: 640px; margin: 0 auto; border-radius: 26px; background: #fff; padding: 10px;
  box-shadow: 0 30px 60px -34px rgba(15,40,90,.7), 0 0 0 1px rgba(255,255,255,.7); }
.host { position: absolute; z-index: 2; right: -64px; top: -97px; width: 150px; height: 108px; overflow: visible; filter: drop-shadow(0 8px 10px rgba(20,60,120,.2)); }
.card-in { border-radius: 18px; background: #fff; border: 1.5px dashed rgba(70,55,30,.16); padding: 26px 24px 22px; }
.card-in h2 { font: 700 21px/1.2 var(--display); }
.card-in > p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.ask { display: flex; align-items: center; gap: 10px; margin: 18px auto 0; min-height: 58px; padding: 8px 8px 8px 16px; border-radius: 16px; background: #f7f6f3;
  border: 1.5px solid #e6e2da; text-align: left; }
.ask span { flex: 1; color: #5d6b88; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.picks { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.pick { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pick i { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-style: normal; }
.note { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 0 4px; font-size: 13px; color: var(--muted); }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin: 34px auto 0; }
.trust div { padding: 0 14px; text-align: center; }
.trust div + div { border-left: 1px solid rgba(18,33,78,.16); }
.trust svg { color: var(--navy); }
.trust b { display: block; font: 700 16px/1.2 var(--display); margin: 6px 0 3px; }
.trust span { font-size: 14px; color: var(--navy); }

/* ---------- sections ---------- */
section.blk { padding-top: 70px; }
.sh h2 { font: 800 clamp(28px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -.03em; }
.sh p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.pop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.tool { border-radius: 22px; background: #efeeeb; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tool-in { flex: 1; background: #fff; border-radius: 21px; padding: 20px; box-shadow: 0 1px 0 var(--line); }
.ti { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--navy); }
.tool h3 { font: 700 18px/1.25 var(--display); margin: 16px 0 4px; }
.tool p { font-size: 14.5px; color: var(--muted); }
.tool-f { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; font-size: 14px; color: var(--soft); font-weight: 600; }
.ready { font: 700 11px/1 var(--font); color: #1f6b45; background: #e3f4ea; padding: 4px 8px; border-radius: 99px; float: right; }
.tool.later .tool-f { color: var(--muted); font-weight: 500; }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.cat { border-radius: 22px; background: #fff; border: 1px solid var(--line); padding: 0 18px; overflow: hidden; display: flex; flex-direction: column; }
.cat-h { display: flex; gap: 12px; align-items: center; margin-inline: -18px; padding: 18px; }
.cat-h .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.cat-h h3 { font: 700 18px/1.2 var(--display); }
.cat-h small { display: block; color: var(--muted); font-size: 13px; }
.cat ul { list-style: none; margin: 4px 0 8px; padding: 0; flex: 1; }
.cat li:first-child a { border-top: 0; }
.cat li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; font-size: 15px; border-top: 1px solid var(--line); }
.cat li a.dim { color: var(--muted); }
.cat li a.live { font-weight: 700; }
.cat li a.live span { color: var(--accent); }
.soon { font: 700 11px/1 var(--font); color: var(--muted); background: #efeeeb; padding: 4px 7px; border-radius: 99px; }
.cat-f { margin-inline: -18px; padding: 11px 18px; background: #efeeeb; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); font-weight: 600; }
.cat.cta { background: var(--cta); color: var(--cta-ink); border: 0; justify-content: center; text-align: center; padding: 26px 22px; }
.cat.cta .s { box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.cat.cta h3 { font: 800 22px/1.15 var(--display); margin: 10px 0 6px; }
.cat.cta p { opacity: .92; font-size: 15px; }
.cat.cta .s { display: flex; align-items: center; gap: 8px; margin-top: 16px; height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.step { border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.art { height: 150px; display: grid; place-items: center; background: linear-gradient(180deg, #f4f9fe, #e2f0fb); position: relative; }
.mini { width: 72%; border-radius: 14px; background: #fff; box-shadow: 0 16px 28px -18px rgba(15,40,90,.7); padding: 12px; font-size: 12px; }
.mini .r { display: flex; justify-content: space-between; padding: 5px 2px; border-bottom: 1px solid var(--line); }
.mini .big { font: 800 28px/1 var(--display); color: var(--navy); text-align: center; padding: 6px 0 2px; }
.mini .bar { height: 8px; border-radius: 9px; background: #efeeeb; margin-top: 6px; }
.mini .bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--bar); }
.step-b { padding: 18px 20px 20px; }
.step-b b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff1d6; color: var(--amber-ink); font: 800 13px/1 var(--display); margin-right: 8px; }
.step-b h3 { display: inline; font: 700 18px/1.2 var(--display); }
.step-b p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

.foot { margin-top: 80px; padding-block: 30px 44px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.foot .tw { font-size: 20px; }
.foot nav { display: flex; gap: 16px; margin-left: auto; }

@media (max-width: 980px) { .menu { display: none; } }
@media (max-width: 760px) {
  .find { display: none; }
  .burger { display: grid; }
  .hero { padding-top: 30px; }
  .host { right: -4px; top: -70px; width: 108px; height: 78px; }
  .hero > p { margin-bottom: 76px; }
  .card-in { padding: 22px 14px 18px; }
  .go span { display: none; }
  .go { padding: 0 12px; }
  .pick:nth-child(n+4) { display: none; }
  .trust div { padding: 0 6px; }
  .trust span { font-size: 13px; }
  .cats, .steps { grid-template-columns: 1fr; }
  .pop { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-in { padding: 14px; }
  .tool h3 { font-size: 16px; margin: 12px 0 0; }
  .tool p { display: none; }
  .tool-f { padding: 9px 14px; font-size: 13px; }
  .step .art { height: 120px; }
  section.blk { padding-top: 54px; }
  .foot nav { margin-left: 0; }
}

.hero h1 b { color: #fff; text-shadow: 0 2px 14px rgba(10,40,100,.25); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em .14em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23f5a422' stroke-width='14' stroke-linecap='round' d='M6 28C110 10 260 6 394 14'/%3E%3C/svg%3E") no-repeat 0 100%/100% .26em; }
.top .tw b, .foot .tw b { color: var(--amber); }
.blk.how { margin-top: 70px; padding: 44px 34px 38px; border-radius: 28px; background: linear-gradient(180deg, #eaf4fd, #f4f9fe); border: 1px solid #dcebf8; }
.foot-sky { margin-top: 80px; padding-top: 70px; background: linear-gradient(180deg, var(--paper) 0%, #cfe3f5 40%, #8cc0ec 100%); }
.foot-sky .foot { margin-top: 0; background: #fff; border: 0; border-radius: 26px 26px 0 0; padding-inline: 28px; }
@media (max-width: 760px) { .sky .c.sm { display: none; } .blk.how { padding: 30px 16px 20px; } }
.cl { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- sun, moon and night ---------- */
button.sq { font: inherit; color: var(--navy); cursor: pointer; padding: 0; position: relative; overflow: hidden; }
button.sq:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.mode svg { position: absolute; inset: 0; margin: auto; }
.mode .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.night .mode .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.night .mode .i-sun { opacity: 1; transform: none; }
.night-sky { position: absolute; inset: 0; z-index: -3; opacity: 0; pointer-events: none;
  background: radial-gradient(1.5px 1.5px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 42%, #fff 60%, transparent), radial-gradient(1.5px 1.5px at 34% 9%, #fff 60%, transparent),
    radial-gradient(1px 1px at 46% 30%, #fff 60%, transparent), radial-gradient(1.5px 1.5px at 58% 14%, #fff 60%, transparent), radial-gradient(1px 1px at 66% 38%, #fff 60%, transparent),
    radial-gradient(1px 1px at 78% 22%, #fff 60%, transparent), radial-gradient(1.5px 1.5px at 90% 44%, #fff 60%, transparent), radial-gradient(1px 1px at 6% 56%, #fff 60%, transparent),
    radial-gradient(1px 1px at 95% 8%, #fff 60%, transparent), radial-gradient(1px 1px at 40% 52%, #fff 60%, transparent),
    linear-gradient(180deg, #0a1433 0%, #132257 45%, #1c2f6b 75%, #0b1330 100%); }
.night .night-sky { opacity: 1; }
.orb { position: absolute; z-index: -2; top: 78px; right: 7%; width: 104px; height: 104px; pointer-events: none; }
.sun, .moon { position: absolute; inset: 0; border-radius: 50%; }
.sun { background: radial-gradient(circle at 40% 38%, #ffe7a3 0%, #ffc94a 45%, #f5a422 100%); box-shadow: 0 0 24px 4px rgba(255,200,90,.45); }
.moon { width: 100%; height: 100%; filter: drop-shadow(0 0 22px rgba(255,248,214,.35)); opacity: 0; transform: translateY(150px) rotate(-25deg); }
.night .sun { opacity: 0; transform: translateY(150px) scale(.9); }
.night .moon { opacity: 1; transform: none; }
/* going to night: sun sinks first, then the moon rises */
.anim.night .sun { transition: transform .9s cubic-bezier(.55,0,.75,.35), opacity .6s ease .3s; }
.anim.night .moon { transition: transform 1s cubic-bezier(.2,.75,.3,1) .55s, opacity .6s ease .55s; }
/* going to day: moon sinks first, then the sun rises */
.anim:not(.night) .moon { transition: transform .8s cubic-bezier(.55,0,.75,.35), opacity .5s ease .25s; }
.anim:not(.night) .sun { transition: transform 1s cubic-bezier(.2,.75,.3,1) .5s, opacity .6s ease .5s; }
.anim .night-sky { transition: opacity 1.1s ease .1s; }
.anim .cl .c { transition: opacity .9s ease; }
.night .cl .c { opacity: .16 !important; }
.anim .mode svg { transition: opacity .35s ease, transform .5s cubic-bezier(.2,.75,.3,1); }
.anim body, .anim .card, .anim .card-in, .anim .ask, .anim .pick, .anim .find, .anim .sq, .anim .tool, .anim .tool-in, .anim .cat, .anim .cat-h, .anim .cat-f,
.anim .step, .anim .art, .anim .mini, .anim .blk.how, .anim .foot, .anim .soon, .anim .hero h1, .anim .hero > p, .anim .menu a, .anim .tw, .anim .go, .anim .trust span {
  transition: background-color .7s ease, color .7s ease, border-color .7s ease; }
.art { background: #eaf4fd; }
.blk.how { background: #eef6fd; }

/* night colours */
.night { color-scheme: dark; --paper: #0b1330; --muted: #a3aecb; --soft: #cdd5ea; --line: rgba(170,190,240,.14); --accent: #f7b955; --amber-ink: #f7b955; }
.night body { color: #e8edf8; }
.night .tw, .night .menu a, .night .hero h1 { color: #f1f4fb; }
.night .hero > p, .night .trust span { color: #c3cde6; }
.night .trust svg, .night button.sq { color: #e8edf8; }
.night .trust div + div { border-color: rgba(255,255,255,.14); }
.night .find, .night .sq { background: rgba(20,30,64,.85); border-color: rgba(255,255,255,.08); color: #c3cde6; }
.night .find kbd { background: #1a2550; }
.night .card { background: #141d3d; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.night .card-in { background: #141d3d; border-color: rgba(255,255,255,.14); }
.night .ask { background: #0f1734; border-color: rgba(255,255,255,.1); }
.night .ask span { color: #a3aecb; }
.night .go { background: #f5a422; color: #12214e; }
.night .pick { background: #1a2448; }
.night .tool { background: #10183a; }
.night .tool-in, .night .cat, .night .step { background: #18224a; }
.night .cat-h { background: rgba(255,255,255,.045) !important; }
.night .cat-f, .night .soon { background: #10183a; color: #b3bdd8; }
.night .ready { background: rgba(70,190,120,.16); color: #86e0ad; }
.night .blk.how { background: #111a3b; border-color: rgba(255,255,255,.06); }
.night .art { background: #1c2856; }
.night .mini { background: #24305e; color: #e8edf8; box-shadow: 0 16px 28px -18px rgba(0,0,0,.9); }
.night .mini .big { color: #fff; }
.night .mini .bar { background: rgba(255,255,255,.1); }
.night .step-b b { background: rgba(245,164,34,.16); }
.night .foot-sky { background: linear-gradient(180deg, var(--paper) 0%, #142050 60%, #1c2f6b 100%); }
.night .foot { background: #141d3d; color: #a3aecb; }
@media (min-width: 761px) and (max-width: 1180px) { .orb { top: 74px; right: 2.5%; width: 76px; height: 76px; } }
@media (max-width: 760px) {
  .orb { top: 62px; right: 12px; width: 36px; height: 36px; }
  .sun { box-shadow: 0 0 14px 2px rgba(255,200,90,.45); }
  .night .sun { transform: translateY(90px) scale(.9); }
  .moon { transform: translateY(90px) rotate(-25deg); } }
@media (prefers-reduced-motion: reduce) { .anim *, .anim .sun, .anim .moon, .anim .night-sky { transition-duration: .01ms !important; transition-delay: 0s !important; } }
.ask .go span { flex: none; color: inherit; }
.night .cat.cta { background: var(--cta); }
.night [style*="background:#12214e"] { background: #4a5f9e !important; }
html { background: var(--paper); }
.night .hero h1 b { color: #ffd66b; text-shadow: none; }
.anim .hero h1 b { transition: color .7s ease; }

/* ---------- real-site additions ---------- */
.mini .lbl { text-align: center; color: var(--muted); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.find { cursor: pointer; font: inherit; font-size: 14px; color: var(--muted); }
.find:hover, .sq:hover { background: #fff; }
.menu a:hover { background: rgba(255,255,255,.45); }
.night .menu a:hover { background: rgba(255,255,255,.08); }
.ask { position: relative; }
.ask:focus-within { border-color: #12214e; box-shadow: 0 0 0 4px rgba(245,164,34,.25); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: 500 16px/1.2 var(--font); color: inherit; padding: 8px 0; }
.ask input::placeholder { color: #5d6b88; opacity: 1; }
.night .ask input::placeholder { color: #a3aecb; }
.go { border: 0; cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.go:hover { background: #1d3170; }
.night .go:hover { background: #ffb43d; }
.go:active { transform: scale(.97); }
.msg { min-height: 0; margin: 10px 0 0; font-size: 14px; color: var(--soft); text-align: left; }
.msg:empty { display: none; }
.msg a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pick { transition: transform .15s ease, border-color .2s ease; }
a.pick:hover { border-color: rgba(18,33,78,.35); transform: translateY(-1px); }
.pick.off { color: var(--muted); }
.pick.off small { font: 700 10px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tool { transition: transform .2s cubic-bezier(.2,.75,.3,1), box-shadow .2s ease; }
a.tool:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(15,40,90,.6); }
.tool.later { cursor: default; }
.tool.later h3 { color: var(--soft); }
.cat li > span.dim { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; font-size: 15px; border-top: 1px solid var(--line); color: var(--muted); }
.cat li:first-child > span { border-top: 0; }
.cat li a.live:hover { color: var(--accent); }
.cat-f { display: block; }
.cat { scroll-margin-top: 20px; }
.cat.cta .s { border: 0; cursor: pointer; width: 100%; text-align: left; }
.burger { cursor: pointer; }
.drawer { position: absolute; z-index: 20; top: 66px; right: 20px; width: min(280px, calc(100vw - 40px)); padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -20px rgba(10,22,50,.55); }
.drawer a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-weight: 600; }
.drawer a:hover { background: #f2f1ee; }
.drawer i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.night .drawer { background: #18224a; }
.night .drawer a:hover { background: rgba(255,255,255,.06); }
.foot { flex-direction: column; align-items: flex-start; gap: 8px; }
.foot p { margin: 0; }
.foot .links { display: flex; gap: 14px; flex-wrap: wrap; }
.foot .links a { color: var(--soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18,33,78,.25); }
@media (prefers-reduced-motion: reduce) { .tool, .pick, .go { transition: none; } a.tool:hover, a.pick:hover { transform: none; } }

/* ---------- motion (matches the CGPA page) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cl .c { left: 0 !important; right: auto !important; animation: cloudDrift var(--d) linear infinite; animation-delay: var(--dl); will-change: transform; }
  .cl .c:nth-child(1) { --d: 150s; --dl: -30s; }
  .cl .c:nth-child(2) { --d: 190s; --dl: -120s; }
  .cl .c:nth-child(3) { --d: 210s; --dl: -175s; }
  .cl .c:nth-child(4) { --d: 170s; --dl: -60s; }
  @keyframes cloudDrift { from { transform: translate3d(-40vw, 0, 0); } to { transform: translate3d(110vw, 0, 0); } }
  .hero h1 .w { display: inline-block; animation: wordIn .75s cubic-bezier(.22,1,.36,1) backwards; animation-delay: calc(var(--i) * 55ms); }
  @keyframes wordIn { from { opacity: .01; transform: translateY(.42em) rotate(2deg); } }
  .hero h1 b { animation: swashIn .9s cubic-bezier(.22,1,.36,1) .55s backwards; }
  @keyframes swashIn { from { background-size: 0% .26em; } }
  .card { animation: cardIn .8s cubic-bezier(.22,1,.36,1) .15s backwards; }
  @keyframes cardIn { from { opacity: .01; transform: translateY(20px) scale(.985); } }
  .host { animation: bob 5s ease-in-out infinite; }
  .host .wave { transform-box: view-box; transform-origin: 18px 62px; animation: wave 3.2s ease-in-out infinite; }
  .host .sign { transform-box: view-box; transform-origin: 104px 66px; animation: sway 4s ease-in-out infinite; }
  @keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(-22deg); } 20% { transform: rotate(8deg); } 30% { transform: rotate(-18deg); } 42% { transform: rotate(4deg); } }
  @keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
  @keyframes bob { 50% { transform: translateY(-5px); } }
}
@media (max-width: 760px) { .cl .c.sm { display: none; } }

/* soft coloured glow behind the sun (warm) and the moon (cool) */
.orb::before, .orb::after { content: ""; position: absolute; inset: -95%; border-radius: 50%; pointer-events: none; transition: opacity 1.1s ease; }
.orb::before { background: radial-gradient(circle, rgba(255,203,92,.42) 0%, rgba(255,190,70,.16) 38%, rgba(255,190,70,0) 68%); }
.orb::after { background: radial-gradient(circle, rgba(200,220,255,.3) 0%, rgba(170,195,255,.11) 40%, rgba(170,195,255,0) 68%); opacity: 0; }
.night .orb::before { opacity: 0; }
.night .orb::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .cl .c:nth-child(5) { --d: 230s; --dl: -95s; }
  .cl .c:nth-child(6) { --d: 260s; --dl: -210s; }
}

/* One heading scale, shared with every calculator page (cgpa.css uses the same numbers).
   Sizes still grow with the screen, but every page grows the same way. */
:root { --t-h1: clamp(36px, 6.4vw, 72px); --t-h2: clamp(28px, 3.4vw, 36px); --t-card: 22px; }
.hero h1 { font-size: var(--t-h1); }
.sh h2 { font-size: var(--t-h2); }
.card-in h2, .cat.cta h3 { font-size: var(--t-card); }

/* ---------- Three skies: Sunny (Moonlit at night), Clear, Cloudy ----------
   Shared effects (beams, wisps, stars, cloud deck) come from /sky.css. */
.sky > .fx { z-index: -2; }
.orb .rays { z-index: -1; }
.anim .cl .c { transition: opacity .9s ease, filter .9s ease; }

/* Sky colours crossfade: one layer per sky, faded in over the default gradient.
   Each sits at half strength, so every sky stays close to the original look. */
.fx > .tint { inset: 0; }
.t-dclear { background: linear-gradient(180deg, #2a78d2 0%, #3c97ec 34%, #84c6f5 62%, #e6f0f6 86%, var(--paper) 100%); }
.t-dcloudy { background: linear-gradient(180deg, #8095ab 0%, #9fb2c4 34%, #c3cfda 62%, #e7ebee 86%, var(--paper) 100%); }
.t-nclear { background: linear-gradient(180deg, #050b20 0%, #0c1738 45%, #172a58 75%, #0b1330 100%); }
.t-ncloudy { background: linear-gradient(180deg, #161f30 0%, #232f45 45%, #33405a 75%, #0b1330 100%); }
:not(.night)[data-sky="clear"] .t-dclear, :not(.night)[data-sky="cloudy"] .t-dcloudy,
.night[data-sky="clear"] .t-nclear, .night[data-sky="cloudy"] .t-ncloudy { opacity: .5; }

/* Clear: a truly clear sky, no clouds at all (they fade out smoothly) */
[data-sky="clear"] .cl .c { filter: opacity(0); }

/* Cloudy: clouds a little greyer, sun or moon dimmed behind the haze */
[data-sky="cloudy"] .cl .c { filter: saturate(.6) brightness(.97); }
.night[data-sky="cloudy"] .cl .c { filter: saturate(.6) brightness(.75); }
.orb::before, .orb::after { transition: opacity 1.1s ease; }
[data-sky="cloudy"]:not(.night) .orb > .sun { opacity: .55; }
.night[data-sky="cloudy"] .orb > .moon { opacity: .55; }
[data-sky="cloudy"]:not(.night) .orb::before { opacity: .5; }
.night[data-sky="cloudy"] .orb::after { opacity: .5; }

/* The sky button sits beside the day/night button */
.skypick .sq { color: var(--navy); cursor: pointer; padding: 0; font: inherit; }
.skypick .sq:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.night .skypick .sq { color: #e8edf8; }

/* Footer links: comfortable tap targets on phones */
.foot .links { gap: 2px 18px; }
.foot .links a { display: inline-flex; align-items: center; min-height: 36px; }
