/* Colours from the Android app's Theme.kt */
:root {
  --ink: #1A1A1A;
  --pencil: #E8B33C;
  --on-pencil: #1A1A1A;
  --bg: #FDFCF9;
  --fg: #1A1A1A;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-variant: #F2F0EB;
  --muted: #4A4A4A;
  --kannada: #1E7A5A;
  --primary: #1A1A1A;
  --on-primary: #FFFFFF;
  --good: #1E7A5A;
  --bad: #C0392B;
  --error: #B3261E;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --fg: #F0F0F0;
    --surface: #1E1E1E;
    --surface-raised: #252525;
    --surface-variant: #2A2A2A;
    --muted: #B8B8B8;
    --kannada: #4FBF95;
    --primary: #F5F5F5;
    --on-primary: #1A1A1A;
    --error: #F2B8B5;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Kannada", "Nirmala UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; }
.app { max-width: 1120px; margin: 0 auto; min-height: 100vh; position: relative; }
.app.solo { max-width: 520px; }
.main { min-width: 0; max-width: 720px; position: relative; }
.side { display: none; }
@media (min-width: 900px) {
  .app:not(.solo) { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .side {
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
    border-right: 1px solid var(--surface-variant);
  }
  .narrow-only { display: none !important; }
  .main .topbar { padding-top: 12px; }
}
.side .head, .drawer .head { padding: 40px 24px 20px; }
.side .name, .drawer .name { font-size: 26px; font-weight: 700; letter-spacing: -.3px; }
.side .name::before, .drawer .name::before {
  content: "O"; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px;
  border-radius: 9px; background: var(--pencil); color: var(--on-pencil); font-size: 19px; vertical-align: 3px;
}
.side .tagline, .drawer .tagline { font-size: 13px; color: var(--muted); margin-top: 6px; }
.nav { padding: 0 12px; }
.entry { display: flex; align-items: center; width: 100%; text-align: left; padding: 12px; border-radius: 12px; margin-bottom: 2px; }
.entry:hover { background: var(--surface-variant); }
.entry.active { background: color-mix(in srgb, var(--pencil) 16%, transparent); }
.entry .n { width: 26px; font-size: 12px; font-weight: 700; color: var(--pencil); flex: none; }
.entry .t { font-size: 15px; font-weight: 500; }
.entry.active .t { font-weight: 700; }
.entry .s { font-size: 12px; color: var(--muted); }
.side-foot { margin-top: auto; padding: 16px 12px 20px; border-top: 1px solid var(--surface-variant); }
.side-foot .side-lang { color: var(--kannada); margin: 0 0 8px; }
.side-foot .acct { display: flex; align-items: center; padding: 4px 0 0 12px; }
.side-foot .acct .who { flex: 1; min-width: 0; }
.side-foot .acct .who .l { font-size: 12px; color: var(--muted); }
.side-foot .acct .who .e { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .signin { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; }
.side-foot .signin:hover { background: var(--surface-variant); }
.side-foot .signin .t { font-size: 15px; font-weight: 600; color: var(--kannada); }
.side-foot .signin .s { font-size: 12px; color: var(--muted); }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  display: flex; align-items: center; gap: 4px; min-height: 64px; padding: 0 4px;
}
.topbar .title { flex: 1; font-size: 18px; font-weight: 600; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .title.sm { font-size: 15px; font-weight: 400; }
.topbar .sub { font-size: 11px; color: var(--muted); font-weight: 400; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: var(--surface-variant); }
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.star svg { width: 20px; height: 20px; }
.star { color: var(--muted); width: 36px; height: 36px; }
.star.on { color: var(--pencil); }
.text-btn { padding: 8px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.text-btn:hover:not(:disabled) { background: var(--surface-variant); }

/* ---- feed header ---- */
.feed-header { padding: 28px 8px 16px 20px; }
.feed-header .row { display: flex; align-items: center; }
.feed-header h1 { font-size: 34px; font-weight: 700; margin: 0; flex: 1; }
.feed-header p { margin: 0; font-size: 15px; color: var(--muted); }
.progress { height: 6px; border-radius: 3px; background: var(--surface-variant); overflow: hidden; margin: 14px 12px 0 0; }
.progress > div { height: 100%; background: var(--pencil); border-radius: 3px; transition: width .25s; }
.progress.flat { margin: 0; height: 4px; }

/* ---- cards ---- */
.card {
  display: block; width: calc(100% - 32px); margin: 6px 16px; text-align: left;
  background: var(--surface); border-radius: 16px; padding: 14px 6px 16px 16px;
  box-shadow: var(--shadow); cursor: pointer;
}
.card.raised { background: var(--surface-raised); }
.card.read { box-shadow: none; }
.card:hover { outline: 1px solid var(--surface-variant); }
.card .top { display: flex; align-items: center; gap: 6px; }
.card .top .spacer { flex: 1; }
.chip-k { background: var(--kannada); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; flex: none; }
.topic { font-size: 10px; font-weight: 700; letter-spacing: .6px; color: var(--muted); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .headline { margin: 6px 10px 0 0; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card.read .headline { font-weight: 400; color: var(--muted); }
.concept { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--pencil); }
.card .foot { margin-top: 12px; display: flex; align-items: center; gap: 4px; padding-right: 10px; }
.publisher { font-size: 12px; color: var(--muted); flex: 1; }
.tag { border: 1px solid var(--surface-variant); border-radius: 4px; padding: 1px 5px; font-size: 10px; color: var(--muted); }
.more { font-size: 11px; color: var(--muted); }
.card.dated { border-radius: 14px; padding: 14px; margin: 5px 16px; }
.card.dated .headline { font-size: 16px; line-height: 22px; font-weight: 500; margin-top: 4px; -webkit-line-clamp: unset; }
.card.dated .concept { font-size: 12px; margin-top: 6px; }
.card.dated .foot { margin-top: 8px; }
.card.dated .star { width: 32px; height: 32px; }
.card.dated .star svg { width: 18px; height: 18px; }

/* ---- pinned quiz bar ---- */
.list-pad { padding-bottom: 8px; }
.quiz-bar-wrap { position: sticky; bottom: 0; pointer-events: none; z-index: 6; }
.quiz-bar {
  pointer-events: auto; margin: 12px 16px; width: calc(100% - 32px);
  display: flex; align-items: center; text-align: left;
  background: var(--pencil); color: var(--on-pencil); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.quiz-bar .t { font-size: 17px; font-weight: 700; }
.quiz-bar .s { font-size: 13px; opacity: .75; }
.quiz-bar .arrow { font-size: 22px; font-weight: 700; margin-left: auto; }

/* ---- detail ---- */
.page { padding: 0 20px 48px; }
.detail h1 { font-size: 24px; line-height: 32px; font-weight: 700; margin: 0; }
.detail .pub { margin-top: 10px; font-size: 13px; color: var(--muted); }
.label { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.section { margin-top: 20px; }
.section-card { border-radius: 12px; padding: 14px; background: var(--surface-variant); }
.section-card.accent { background: color-mix(in srgb, var(--pencil) 12%, transparent); }
.section-card .body { margin-top: 6px; font-size: 16px; font-weight: 500; }
.facts { list-style: none; padding: 0; margin: 8px 0 0; }
.facts li { display: flex; padding: 5px 0; font-size: 15px; line-height: 22px; }
.facts li::before { content: "•"; color: var(--pencil); margin-right: 10px; }
.summary { margin-top: 8px; font-size: 15px; line-height: 24px; }
.entity { padding: 3px 0; font-size: 14px; font-weight: 500; }
.entity span { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.source-link { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---- dated news ---- */
.day-nav { display: flex; align-items: center; padding: 4px 12px; }
.day-nav .mid { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.day-nav button { font-size: 13px; padding: 8px 10px; border-radius: 20px; color: var(--fg); font-weight: 500; }
.day-nav button:hover:not(:disabled) { background: var(--surface-variant); }

/* ---- generic list rows ---- */
.big-btn {
  display: block; width: 100%; text-align: left; background: var(--surface); border-radius: 14px;
  padding: 18px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.big-btn:hover { outline: 1px solid var(--surface-variant); }
.big-btn .t { font-size: 17px; font-weight: 600; }
.big-btn .s { margin-top: 3px; font-size: 13px; color: var(--muted); }
.big-btn.accent { background: color-mix(in srgb, var(--pencil) 14%, transparent); box-shadow: none; }
.primary {
  display: block; width: 100%; height: 52px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: var(--primary); color: var(--on-primary);
}
.primary.pencil { background: var(--pencil); color: var(--on-pencil); }
.check-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; cursor: pointer; font-size: 15px; }
.check-row input { width: 20px; height: 20px; accent-color: var(--primary); }

/* ---- quiz ---- */
.q-topic { margin-top: 20px; font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.q-prompt { margin-top: 10px; font-size: 19px; line-height: 27px; font-weight: 600; }
.options { margin-top: 20px; }
.option {
  display: block; width: 100%; text-align: left; margin-bottom: 10px; padding: 16px;
  background: var(--surface); border-radius: 12px; font-size: 15px; line-height: 22px; border: 1.5px solid transparent;
  box-shadow: var(--shadow);
}
.option:disabled { opacity: 1; }
.option.picked { background: color-mix(in srgb, var(--pencil) 18%, transparent); border-color: var(--pencil); }
.option.right { background: color-mix(in srgb, var(--good) 20%, transparent); }
.option.wrong { background: color-mix(in srgb, var(--bad) 18%, transparent); }
.explain { margin-top: 16px; border-radius: 12px; padding: 14px; background: var(--surface-variant); }
.explain .v { font-size: 15px; font-weight: 700; }
.explain .v.good { color: var(--good); } .explain .v.bad { color: var(--bad); }
.explain p { margin: 6px 0 0; font-size: 14px; line-height: 21px; }
.pct { font-size: 56px; font-weight: 700; margin-top: 8px; }
.score-row { display: flex; padding: 6px 0; font-size: 15px; }
.score-row span:first-child { flex: 1; }
.score-row .good { color: var(--good); font-weight: 600; }
.wrong-q { padding: 8px 0; }
.wrong-q .p { font-size: 14px; font-weight: 500; }
.wrong-q .a { margin-top: 4px; font-size: 13px; color: var(--good); }

/* ---- performance ---- */
.sentence { font-size: 20px; line-height: 29px; font-weight: 500; margin: 8px 0 18px; }
.sentence.weak { color: var(--bad); }
.sentence.mid { color: var(--muted); }
.verdict { padding: 10px 0; }
.verdict .t { font-size: 16px; font-weight: 500; }
.verdict .s { font-size: 13px; color: var(--muted); }
.plan-row { display: flex; gap: 12px; padding: 8px 0; }
.plan-row .n { font-weight: 700; color: var(--pencil); }
.plan-row .t { font-size: 16px; font-weight: 600; }
.plan-row .s { font-size: 13px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); }

/* ---- empty / loading ---- */
.empty { text-align: center; padding: 40px 32px; }
.empty .t { font-size: 18px; font-weight: 600; }
.empty .b { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 21px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--surface-variant); border-top-color: var(--pencil);
  border-radius: 50%; margin: 40px auto; animation: spin .8s linear infinite; }
.spinner.sm { width: 20px; height: 20px; border-width: 2px; margin: 0 auto; border-top-color: var(--on-primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- marked notes ---- */
.filters { display: flex; gap: 8px; padding: 4px 16px 8px; }
.select-chip { position: relative; }
.select-chip select {
  appearance: none; border: 1px solid var(--surface-variant); background: var(--bg); color: var(--fg);
  border-radius: 8px; font: inherit; font-size: 13px; padding: 7px 30px 7px 12px; max-width: 220px; cursor: pointer;
}
.select-chip::after { content: "▾"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 12px; }
.card .meta { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* ---- login ---- */
.login { padding: 56px 24px 32px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.login .lang { position: absolute; top: 8px; right: 8px; color: var(--kannada); }
.login .brand { font-size: 30px; font-weight: 700; }
.login .tagline { font-size: 15px; color: var(--muted); }
.login h2 { margin: 32px 0 6px; font-size: 20px; font-weight: 600; }
.login .sub { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.field { position: relative; }
.field input {
  width: 100%; height: 56px; border-radius: 6px; border: 1px solid var(--muted); background: transparent; color: var(--fg);
  font: inherit; font-size: 16px; padding: 18px 14px 6px;
}
.field input:focus { outline: none; border: 2px solid var(--primary); }
.field label { position: absolute; left: 14px; top: 6px; font-size: 12px; color: var(--muted); }
.err { margin-top: 8px; font-size: 13px; color: var(--error); }
.err-detail { font-size: 12px; color: var(--muted); }
.login .primary { margin-top: 16px; }
.login .row { display: flex; justify-content: space-between; margin-top: 4px; }
.login .row .text-btn { color: var(--primary); font-weight: 500; }
.login .skip { margin: 24px auto 0; display: block; font-weight: 500; }
.login .privacy { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---- drawer ---- */
#overlay:empty { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 20; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: 320px; max-width: 86vw; background: var(--bg); z-index: 21;
  overflow-y: auto; animation: slide .2s ease-out; box-shadow: 4px 0 20px rgba(0,0,0,.2); display: flex; flex-direction: column;
}
@keyframes slide { from { transform: translateX(-100%); } }

/* ---- dialog + sheet ---- */
.dialog {
  position: fixed; z-index: 21; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 48px)); background: var(--surface); border-radius: 28px; padding: 24px;
}
.dialog h3 { margin: 0 0 16px; font-size: 19px; font-weight: 500; }
.dialog p { margin: 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.dialog .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.dialog .actions .go { color: var(--pencil); }
.sheet {
  position: fixed; z-index: 21; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 100vw); background: var(--bg); border-radius: 28px 28px 0 0; padding: 24px 0 24px;
  animation: up .2s ease-out;
}
@keyframes up { from { transform: translate(-50%, 100%); } }
.sheet .grab { width: 32px; height: 4px; border-radius: 2px; background: var(--muted); opacity: .4; margin: -10px auto 16px; }
.sheet h3 { margin: 0 24px 8px; font-size: 18px; font-weight: 700; }
.sheet .hint { margin: 0 24px 12px; font-size: 12px; color: var(--muted); }
.sheet .list { max-height: 420px; overflow-y: auto; }
.sheet .date-row { display: flex; align-items: center; width: 100%; text-align: left; padding: 14px 24px; }
.sheet .date-row:hover { background: var(--surface-variant); }
.sheet .date-row.cur { background: color-mix(in srgb, var(--pencil) 15%, transparent); }
.sheet .date-row .l { font-size: 15px; font-weight: 500; }
.sheet .date-row.cur .l { font-weight: 700; }
.sheet .date-row .ll { font-size: 11px; color: var(--muted); }
.sheet .date-row .c { margin-left: auto; font-size: 13px; color: var(--muted); }

/* ---- wide desktop layout ---- */
.cards { display: block; }
@media (min-width: 900px) {
  .app { max-width: 1680px; }
  .app:not(.solo) { gap: 24px; padding-right: 24px; }
  .main { max-width: none; }
  .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; padding: 0 16px; }
  .cards .card { width: auto; margin: 0; display: flex; flex-direction: column; }
  .cards .card .foot { margin-top: auto; padding-top: 12px; }
  .feed-header { padding: 32px 16px 20px; }
  .feed-header .progress { max-width: 520px; margin-right: 0; }
  .page { max-width: 860px; }
  .page.detail h1 { font-size: 30px; line-height: 38px; }
  .day-nav, .filters { padding-left: 16px; padding-right: 16px; }
  .quiz-bar { max-width: 640px; margin: 16px auto; }
  .big-btn { max-width: 640px; }
  #app .main > div[style*="padding:0 16px"] { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 12px; }
  #app .main > div[style*="padding:0 16px"] .big-btn { margin: 0; }
}

/* ---- landing (first visit, before sign-in) ---- */
#app.landing { max-width: 1120px; display: block; } /* no sidebar grid before sign-in */
.lp { padding: 0 16px 32px; }
.lp-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; font-size: 20px; font-weight: 700; }
.lp-brand::before {
  content: "O"; display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px;
  border-radius: 8px; background: var(--pencil); color: var(--on-pencil); font-weight: 800;
}
.lp-bar .lang { color: var(--kannada); font-weight: 500; }
.lp-hero { display: grid; gap: 28px; padding: 24px 0 8px; }
.lp-hero h1 { font-size: 34px; line-height: 1.15; margin: 0; letter-spacing: -.5px; }
.lp-lead { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
.lp-cta { margin-top: 24px; max-width: 360px; font-size: 16px; }
.lp-cta-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.lp-exams { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lp-exams span { border: 1px solid var(--surface-variant); border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.lp-card { background: var(--surface); border-radius: 18px; padding: 8px 20px 20px; box-shadow: var(--shadow); border: 1px solid var(--surface-variant); }
.login-card h2 { margin: 14px 0 6px; font-size: 20px; font-weight: 600; }
.login-card .sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.login-card .primary { margin-top: 14px; }
.login-card .row { display: flex; justify-content: space-between; margin-top: 4px; }
.login-card .row .text-btn { color: var(--primary); font-weight: 500; }
.login-card .privacy { font-size: 12px; color: var(--muted); margin-top: 10px; }
.lp-why { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--surface-variant); font-size: 12px; color: var(--muted); line-height: 1.5; }
.lp-sec { margin-top: 48px; }
.lp-sec h3 { font-size: 22px; margin: 0; }
.lp-stories { display: grid; gap: 12px; margin-top: 16px; }
.lp-story {
  display: block; width: 100%; text-align: left; background: var(--surface); border-radius: 16px; padding: 16px;
  box-shadow: var(--shadow); border: 1px solid var(--surface-variant); transition: border-color .15s;
}
.lp-story:hover, .lp-story.open { border-color: var(--pencil); }
.lp-story .top { display: flex; align-items: center; gap: 6px; }
.lp-story .headline { margin-top: 8px; font-size: 16px; line-height: 23px; font-weight: 600; }
.lp-story .facts li { font-size: 14px; line-height: 20px; }
.lp-story .publisher { display: block; margin-top: 10px; }
.lp-hint { margin-top: 8px; font-size: 12px; color: var(--pencil); font-weight: 600; }
.lp-more { margin-top: 14px; font-weight: 600; color: var(--primary); }
.lp-quiz { max-width: 640px; margin-top: 16px; }
.lp-quiz .q-prompt { margin-top: 0; }
.lp-next { margin-top: 12px; font-weight: 600; color: var(--primary); }
.lp-steps { display: grid; gap: 18px; margin-top: 16px; }
.lp-step { display: flex; gap: 14px; }
.lp-step .n {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pencil); color: var(--on-pencil); font-weight: 700;
}
.lp-step .t, .lp-feat .t { font-size: 16px; font-weight: 600; }
.lp-step .s, .lp-feat .s { margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.lp-feats { display: grid; gap: 12px; }
.lp-feat { background: var(--surface-variant); border-radius: 14px; padding: 16px; }
.lp-app {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--pencil) 14%, transparent); border-radius: 18px; padding: 24px;
}
.lp-app .lp-lead { margin-top: 6px; }
.lp-play {
  display: inline-block; padding: 12px 20px; border-radius: 12px; background: var(--primary); color: var(--on-primary);
  font-weight: 600; text-decoration: none;
}
.lp-play.soon { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }
.lp-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--surface-variant); font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .lp { padding: 0 32px 40px; }
  .lp-hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center; padding-top: 48px; }
  .lp-hero h1 { font-size: 46px; }
  .lp-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- landing: green accents (pairs with the pencil yellow) ---- */
.lp-hero h1 .g { color: var(--kannada); }
.lp-exams span { border-color: color-mix(in srgb, var(--kannada) 45%, transparent);
  background: color-mix(in srgb, var(--kannada) 14%, transparent); color: var(--kannada); }
.lp-card.login-card { border-top: 4px solid var(--kannada); }
.lp-story:hover, .lp-story.open { border-color: var(--kannada); }
.lp-hint, .lp-more, .lp-next { color: var(--kannada); }
.lp-step .n { background: var(--kannada); color: #fff; }
.lp-feat { border-top: 3px solid var(--kannada); }
.lp-feat .t { color: var(--kannada); }
.lp-sec h3::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; margin-top: 8px; background: var(--kannada); }
.lp-foot a:hover { color: var(--kannada); }
