/* UPSC home v2 (2026-11-19). Paper / ink / yellow, display face from pricing.css. Six sections,
   phone clips only, generous space; the brush mark appears once (the hero). */

.hm-sec{padding:64px 0}
@media(min-width:900px){.hm-sec{padding:96px 0}}
.hm-sec--tint{background:var(--paper-deep)}
.hm-h2{font-family:var(--display);font-size:clamp(28px,4.2vw,42px);font-weight:800;line-height:1.05;letter-spacing:-.025em;max-width:22ch}

/* hero */
.hm-hero{background:var(--ink);color:var(--paper);border-radius:0 0 var(--r-lg) var(--r-lg);padding:44px 0 52px;overflow:hidden}
@media(min-width:900px){.hm-hero{padding:76px 0 84px}}
.hm-hero-grid{display:grid;gap:40px;align-items:center}
@media(min-width:900px){.hm-hero-grid{grid-template-columns:1fr 1.2fr;gap:56px}}
.hm-h1{font-family:var(--display);font-size:clamp(38px,5.6vw,66px);font-weight:800;line-height:1.06;letter-spacing:-.03em;max-width:none}
.hm-h1 .hm-l1{display:block;white-space:nowrap}
.hm-h1-soft{color:#cbbf9f}
/* "Always up to date" tag above the hero title (2026-11-20): glass pill, live dot with a slow pulse */
.hm-live{display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;padding:8px 16px 8px 13px;border-radius:999px;
  font-size:14.5px;font-weight:700;letter-spacing:.01em;color:var(--paper);background:#262e4a;box-shadow:inset 0 0 0 1px #343d60}
.hm-live-dot{width:9px;height:9px;border-radius:2px;background:#3fd18f;animation:hm-live 2.4s steps(1) infinite}
@keyframes hm-live{0%,70%{opacity:1}71%,100%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.hm-live-dot{animation:none}}
.hm-h1 .mark{white-space:nowrap;color:var(--ink);isolation:isolate}
.hm-h1 .mark::after{mix-blend-mode:normal;z-index:-1;top:.1em;bottom:-.04em}
.hm-sub{font-size:17.5px;line-height:1.6;color:rgba(249,246,238,.76);font-weight:500;margin-top:20px;max-width:44ch}
.hm-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hm-ctas .btn{padding:14px 24px;font-size:15.5px}
@media(max-width:899px){.hm-hero-media .dev-phone{width:min(220px,58vw)}}

/* live numbers */
/* stats: a raised white panel that overlaps the hero's bottom edge; hairline dividers; numbers count up */
.hm-hero{padding-bottom:96px}
.hm-proof{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,1fr);margin-top:-52px;padding:8px;
  background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-lg)}
.hm-proof div{display:flex;flex-direction:column;padding:20px 20px 22px}
.hm-proof div:nth-child(2n){box-shadow:inset 1px 0 0 var(--line)}
.hm-proof div:nth-child(n+3){border-top:1px solid var(--line)}
@media(min-width:900px){
  .hm-proof{grid-template-columns:repeat(4,1fr);padding:10px}
  .hm-proof div{padding:26px 30px 28px}
  .hm-proof div:nth-child(n+3){border-top:0}
  .hm-proof div+div{box-shadow:inset 1px 0 0 var(--line)}
}
.hm-proof dd::after{content:"";display:block;width:22px;height:3px;border-radius:2px;background:var(--hl);margin-top:12px}
.hm-proof dd{font-family:var(--display);font-size:clamp(32px,4vw,44px);font-weight:800;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hm-proof dt{font-size:14px;font-weight:600;color:var(--ink-soft);margin-top:10px}

/* books / classes / us */
.hm-vs{display:grid;gap:14px;margin-top:32px}
@media(min-width:900px){.hm-vs{grid-template-columns:1fr 1fr 1.2fr;gap:18px}}
.hm-vs-c{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:24px}
.hm-vs-c h3{display:flex;align-items:center;gap:10px;font-family:var(--display);font-size:20px;font-weight:800;letter-spacing:-.01em}
.hm-vs-c h3 .ic{width:20px;height:20px;color:var(--ink-soft)}
.hm-vs-c p{font-size:15px;line-height:1.6;color:var(--ink-soft);margin-top:10px}
.hm-vs-us{background:var(--ink);color:var(--paper);box-shadow:var(--sh-lg)}
.hm-vs-us h3 .ic{color:var(--hl)}
.hm-vs-us p{color:rgba(249,246,238,.82)}
.hm-vs-us a{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:var(--hl);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,212,53,.4)}

/* tabbed walkthrough */
.hm-tabs{margin-top:28px}
.hm-tablist{display:flex;gap:4px;background:var(--surface);border-radius:var(--r-pill);padding:5px;box-shadow:var(--sh-sm);width:max-content;max-width:100%;overflow-x:auto}
.hm-tablist button{font:inherit;font-size:14.5px;font-weight:700;color:var(--ink-soft);background:none;border:0;border-radius:var(--r-pill);padding:10px 18px;cursor:pointer;white-space:nowrap;transition:background .2s var(--ease),color .2s var(--ease)}
.hm-tablist button[aria-selected="true"]{background:var(--ink);color:var(--paper)}
.hm-tablist button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.hm-panel{display:grid;gap:32px;align-items:center;margin-top:36px}
@media(min-width:900px){.hm-panel{grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:56px;align-items:center}}
.hm-panel[hidden]{display:none}
.hm-panel-text h3{font-family:var(--display);font-size:clamp(24px,3vw,32px);font-weight:800;line-height:1.1;letter-spacing:-.02em}
.hm-panel-text p{font-size:16.5px;line-height:1.6;color:var(--ink-soft);margin-top:12px;max-width:42ch}
.hm-more{display:inline-block;margin-top:18px;font-size:14.5px;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;text-decoration-color:rgba(25,31,51,.3)}
.hm-panel-media>.dev-phone{width:min(250px,64vw)}
.hm-panel-media .po-mock{margin:0 auto}

/* this morning's brief */
/* centred section heading + one subline (page-design skill), used by the GS pass and the brief */
.hm-h2c{margin:0 auto;max-width:none;text-align:center;text-wrap:balance}
@media(min-width:760px){.hm-h2c>span{display:block}}
.hm-subc{margin:18px auto 0;text-align:center;font-size:clamp(18px,2vw,22px);font-weight:700;color:var(--ink-soft)}
.hm-sec--pass .pp{margin-top:34px}

/* brief v2 (2026-11-21): masthead line, value heading, three story cards ending in a "Behind it" concept tag */
.hm-sec--news{padding-top:16px}
.hb-mast{margin:0 0 16px;text-align:center;font-size:15px;font-weight:800;color:var(--red)}
.hb-mast .hm-live-dot{display:inline-block;margin-right:9px;vertical-align:1px}
.hb-day{color:var(--ink-soft);font-weight:700}
.hb-cards{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:18px}
@media(min-width:900px){.hb-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
.hb-card{position:relative;height:100%;display:flex;flex-direction:column;gap:12px;padding:24px 24px 22px;background:#fff;border-radius:20px;color:var(--ink);
  box-shadow:8px 8px 0 var(--paper-deep),0 1px 2px rgba(25,31,51,.06),0 18px 40px -18px rgba(25,31,51,.22);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.hb-card:hover{transform:translate(-2px,-2px);box-shadow:10px 10px 0 var(--hl),0 1px 2px rgba(25,31,51,.06),0 18px 40px -18px rgba(25,31,51,.22)}
.hb-chip{align-self:flex-start;font-size:12.5px;font-weight:800;padding:6px 11px;border-radius:12px;background:var(--paper-deep);color:var(--ink-soft)}
.hb-t{font-size:17.5px;font-weight:800;line-height:1.35;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.35em * 3)}
.hb-arrow{width:34px;height:28px;margin:-2px 0 -6px 6px;overflow:visible}
.hb-arrow path{fill:none;stroke:var(--red);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hb-behind{margin-top:auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;padding:12px 14px;border-radius:12px;background:var(--hl);box-shadow:4px 4px 0 var(--ink)}
.hb-behind small{flex-basis:100%;font-size:12px;font-weight:800;color:rgba(25,31,51,.62)}
.hb-behind b{font-size:15.5px;font-weight:900;line-height:1.3}
.hb-behind em{font-style:normal;font-size:12.5px;font-weight:800;color:rgba(25,31,51,.62)}
.hb-acts{display:flex;align-items:center;justify-content:center;gap:12px 20px;flex-wrap:wrap;margin-top:34px}
.hb-acts .btn{padding:13px 24px;font-size:15px}
.hb-note{font-size:14.5px;font-weight:600;color:var(--ink-soft);text-align:center}
.hb-day i{font-style:normal}
@media(max-width:640px){.hb-day{display:block;margin-top:4px}.hb-day i{display:none}}
/* play once: cards rise, the pen arrow draws, the tag pops */
.hb-js li{opacity:0;transform:translateY(16px)}
.hb-js .hb-arrow path{stroke-dasharray:60;stroke-dashoffset:60}
.hb-js .hb-behind{opacity:0;transform:scale(.9)}
.hb-js.on li{opacity:1;transform:none;transition:opacity .4s,transform .55s cubic-bezier(.2,.8,.2,1)}
.hb-js.on li:nth-child(2){transition-delay:.15s} .hb-js.on li:nth-child(3){transition-delay:.3s}
.hb-js.on .hb-arrow path{stroke-dashoffset:0;transition:stroke-dashoffset .5s .8s ease-out}
.hb-js.on .hb-behind{opacity:1;transform:none;transition:opacity .3s 1.15s,transform .4s 1.15s cubic-bezier(.3,1.6,.5,1)}
.hb-js.on li:nth-child(2) .hb-behind{transition-delay:1.3s} .hb-js.on li:nth-child(3) .hb-behind{transition-delay:1.45s}
@media (prefers-reduced-motion:reduce){.hb-card,.hb-cards *{transition:none!important}}

@media (prefers-reduced-motion:reduce){.hm-tablist button{transition:none}}
@media(max-width:599px){.hm-tablist{width:100%;display:grid;grid-template-columns:repeat(4,1fr);overflow:visible}.hm-tablist button{padding:10px 4px;font-size:14px}}

/* Current Affairs course page bits (course_ca.html, 2026-11-19) */
.ca-note{font-size:13.5px;font-weight:600;color:rgba(249,246,238,.6);margin-top:16px}
.ca-note a{color:var(--paper);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(249,246,238,.35)}
.ca-shot{max-width:340px;width:100%;justify-self:center;border-radius:var(--r-lg);overflow:hidden;box-shadow:10px 10px 0 var(--hl),var(--sh-lg)}
.ca-shot img{width:100%;height:auto}
@media(min-width:700px){.ca-cmp{min-width:480px}}
@media(min-width:700px){.ca-cmp tbody th{width:40%}}
.ca-link{color:var(--hl);text-decoration:underline;text-underline-offset:3px}

/* General Studies pass page (course_gs.html, 2026-11-19): the 13-subject map */
.gs-map{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:32px}
@media(min-width:700px){.gs-map{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.gs-map{grid-template-columns:repeat(4,1fr);gap:14px}}
.gs-map li{background:var(--surface-2);border-radius:var(--r);padding:16px 16px 18px;min-height:96px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.gs-map li>b,.gs-map a>b{font-size:15px;font-weight:800;line-height:1.3;color:var(--ink-soft)}
.gs-map li>span,.gs-map a>span{font-size:13px;font-weight:600;color:var(--ink-soft);opacity:.8}
.gs-map li.next{background:var(--surface);box-shadow:var(--sh-sm)}
.gs-map li.next>b{color:var(--ink)}
.gs-map li.next>span{color:var(--red);opacity:1;font-weight:700}
.gs-map li.live{grid-column:span 2;background:var(--ink);box-shadow:var(--sh-lg);padding:0}
.gs-map li.live a{display:flex;flex-direction:column;justify-content:space-between;gap:10px;height:100%;padding:18px 20px 20px}
.gs-map li.live b{font-family:var(--display);font-size:24px;color:var(--paper)}
.gs-map li.live span{color:var(--hl);opacity:1;font-weight:700;font-size:14px}
.gs-map li.live a:hover b{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.gs-today{grid-template-columns:1fr!important;max-width:760px}
@media(min-width:900px){.gs-today{grid-template-columns:1fr 1fr!important;max-width:none}}
@media(max-width:599px){.hm-h1{font-size:clamp(30px,8.6vw,38px)}.hm-h1 .mark{white-space:normal}}

/* 2026-11-21: "Access on desktop and mobile" line under the try-it title */
.hm-devices{display:inline-flex;align-items:center;gap:12px;margin:18px 0 0;padding:10px 18px 10px 12px;border-radius:12px;
  background:var(--ink);color:var(--paper);box-shadow:5px 5px 0 var(--hl);font-size:clamp(16px,1.8vw,19px);font-weight:700;transform:rotate(-1deg)}
.hm-devices b{color:var(--hl);font-weight:900}
.hm-devices-ic{display:inline-flex;gap:4px;padding:6px 8px;border-radius:9px;background:rgba(249,246,238,.1)}
.hm-devices-ic svg{width:22px;height:22px;fill:none;stroke:var(--hl);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:480px){.hm-devices{gap:9px;padding:8px 14px 8px 9px;font-size:15px;white-space:nowrap}.hm-devices-ic svg{width:19px;height:19px}}

/* follow band (2026-11-23): YouTube + Instagram */
.hm-sec--follow{padding-top:0;padding-bottom:0}
.fo-stage{position:relative;overflow:hidden;background:#151a2e;color:var(--paper);border-radius:22px;padding:40px 22px 34px;box-shadow:0 24px 50px -24px rgba(25,31,51,.5);display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.fo-copy,.fo-cards{position:relative;z-index:1}
.fo-copy .hm-h2{color:var(--paper)}
.fo-copy .hm-h2>span{display:block}
.fo-stage .amb-c1{left:42%}
.fo-copy p{text-wrap:balance;margin:20px 0 0;font-size:17px;font-weight:600;color:#c9cbd6}
.fo-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.fo-stage .amb-c2,.fo-stage .amb-c3,.fo-stage .amb-c4,.fo-stage .amb-c5{display:none}
@media(max-width:899px){.fo-stage .amb-cl{display:none}}
.fo-card{display:flex;align-items:center;gap:16px;padding:18px 18px;background:#fff;color:var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--hl);text-decoration:none;transition:transform .15s,box-shadow .15s}
.fo-card:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 var(--hl)}
.fo-card .so-ic{flex:none;width:38px;height:38px}
.fo-card--yt .so-ic{color:#f03}
.fo-card--ig .so-ic{color:#c32aa3}
.fo-t{flex:1;min-width:0}
.fo-t b{display:block;font-size:18px;font-weight:900;line-height:1.2}
.fo-t small{display:block;font-size:13.5px;font-weight:700;color:var(--ink-soft);margin-top:3px}
.fo-go{flex:none;background:var(--ink);color:var(--paper);font-size:14px;font-weight:800;padding:10px 14px;border-radius:12px;min-width:96px;text-align:center}
@media(min-width:900px){.fo-stage{grid-template-columns:1fr 430px;align-items:center;gap:48px;padding:56px}}
@media(max-width:480px){.fo-stage{padding:36px 18px 32px}.fo-card{gap:11px;padding:16px 12px;box-shadow:5px 5px 0 var(--hl)}.fo-card .so-ic{width:30px;height:30px}.fo-t b{font-size:16.5px}.fo-t small{font-size:12.5px}.fo-go{min-width:86px;padding:10px 8px;font-size:13px}.fo-copy p{font-size:16px}}
@media(max-width:350px){.fo-copy .hm-h2{font-size:25px}.fo-go{min-width:0}.fo-card{gap:9px}.fo-card .so-ic{width:26px;height:26px}.fo-t small{display:none}}
/* hero: "New: Indian Economy" link under the buttons (2026-12-01), on the ink hero */
.hm-new{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:7px 14px 7px 7px;border-radius:999px;background:rgba(249,246,238,.08);
  color:var(--paper);font-size:14.5px;font-weight:700;text-decoration:none;transition:background .2s}
.hm-new:hover{background:rgba(249,246,238,.14);text-decoration:none}
.hm-new b{background:var(--red);color:#fff;font-size:12.5px;font-weight:800;padding:3px 9px;border-radius:999px}
.hm-new svg{width:17px;height:17px;fill:none;stroke:var(--hl);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media(max-width:420px){.hm-new{font-size:13.5px}}
