/* Pinoy Reviewer. White and blue, modern product-site look.
   One blue for actions, a blue-to-sky gradient for accents, navy for headings.
   Green and red appear only to mark right and wrong answers. */
:root {
  --bg: #ffffff;
  --tint: #f4f8ff;
  --tint-2: #e4eeff;
  --line: #e3e9f4;
  --line-2: #cfdaf0;
  --navy: #0b1a3d;
  --text: #1c2740;
  --soft: #5b6884;
  --blue: #2158e8;
  --blue-dark: #1746c4;
  --sky: #2aa8f5;
  --grad: linear-gradient(120deg, #1d4fe0 0%, #2f7df4 55%, #2ab0f5 100%);
  --right: #11804a;
  --right-bg: #e8f7ee;
  --wrong: #c2332a;
  --wrong-bg: #fdecea;
  --amber: #8a5a00;
  --amber-bg: #fff4d9;
  --shadow-sm: 0 1px 2px rgba(11, 26, 61, .06);
  --shadow: 0 1px 2px rgba(11, 26, 61, .05), 0 10px 28px -14px rgba(11, 26, 61, .22);
  --shadow-lg: 0 2px 4px rgba(11, 26, 61, .04), 0 24px 60px -24px rgba(23, 70, 196, .35);
  --radius: 16px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { position: relative; margin: 0; background: var(--bg); color: var(--text); font-size: 16.5px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
/* soft blue glow and a faint grid behind the top of every page */
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0), #fff 94%),
    radial-gradient(60% 55% at 88% 0%, rgba(42, 168, 245, .18), transparent 70%),
    radial-gradient(55% 60% at 6% 0%, rgba(33, 88, 232, .14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(33, 88, 232, .05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(33, 88, 232, .05) 0 1px, transparent 1px 44px); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #86adff; outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(207, 218, 240, .7); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 18.5px; letter-spacing: -0.02em; }
.brand svg { flex: none; filter: drop-shadow(0 4px 8px rgba(33, 88, 232, .3)); }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head-links { display: flex; align-items: center; gap: 6px; }
.head-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; }
.head-links a:hover { background: var(--tint); color: var(--blue); }
.pill, .head-links a.pill { font-size: 14px; font-weight: 700; color: #fff; background: var(--grad); border-radius: 999px; padding: 8px 16px; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(33, 88, 232, .8); max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.head-links a.pill:hover { color: #fff; filter: brightness(1.06); }
span.pill { background: var(--tint); color: var(--blue); box-shadow: none; border: 1px solid var(--line); }

main { flex: 1; padding-top: 34px; padding-bottom: 72px; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #b9c6e4; font-size: 14.5px; padding: 44px 0 30px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.7fr 1fr 1fr; } }
.site-foot .brand { color: #fff; margin-bottom: 10px; }
.site-foot .brand em { background: none; color: #8fc4ff; }
.site-foot p { margin: 0 0 8px; max-width: 48ch; }
.site-foot h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-foot a { color: #d6e0f7; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: 13px; color: #94a3c8; }
.foot-note p { max-width: none; margin: 0; }

/* ---------- type ---------- */
h1 { color: var(--navy); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; text-wrap: balance; }
h2 { color: var(--navy); font-size: clamp(21px, 2.6vw, 26px); letter-spacing: -0.02em; font-weight: 800; margin: 40px 0 8px; }
h3 { letter-spacing: -0.01em; }
.sub { color: var(--soft); margin: 0 0 18px; max-width: 68ch; }
.lead { color: var(--text); font-size: clamp(17px, 2vw, 19px); max-width: 54ch; margin: 0 0 22px; }
.small { font-size: 13.5px; color: var(--soft); margin: 12px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px; box-shadow: var(--shadow-sm); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: block; width: 100%; margin-top: 16px; background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 14px 18px; font-size: 16.5px; font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(33, 88, 232, .9); transition: transform .12s, background .12s, box-shadow .12s; }
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--tint); border-color: var(--blue); }
.btn.small { display: inline-block; width: auto; margin: 0; padding: 8px 15px; font-size: 14.5px; border-radius: 10px; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.danger, .link.danger { color: var(--wrong); }
.btn.ghost.danger { border-color: #efb7b2; }
.btn.auto { width: auto; display: inline-block; padding-left: 28px; padding-right: 28px; }
.link { background: none; border: 0; padding: 4px 0; color: var(--blue); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link.center { display: block; margin: 14px auto 0; }
.back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.back:hover { text-decoration: underline; }

/* ---------- books (the reviewers) ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 22px; margin-top: 20px; padding: 6px 0 26px; border-bottom: 10px solid var(--tint-2); border-radius: 0 0 6px 6px; }
@media (min-width: 720px) { .shelf { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; } }
.book { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; width: 100%; text-align: left; color: #fff; border: 0; border-radius: 5px 16px 16px 5px; padding: 20px 16px 16px 30px; background: linear-gradient(150deg, #1746c4, #2f7df4 60%, #2ab0f5); box-shadow: 0 2px 2px rgba(11, 26, 61, .1), 14px 18px 30px -16px rgba(11, 26, 61, .55), inset -3px 0 0 rgba(255, 255, 255, .22); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08) 70%, rgba(255, 255, 255, .25)); }
.book::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.book > * { position: relative; z-index: 1; }
.book .b-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.book .b-title { display: block; font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-top: 10px; }
.book .b-sub { display: block; font-size: 13.5px; opacity: .92; margin-top: 8px; line-height: 1.4; }
.book .b-foot { display: inline-block; align-self: flex-start; background: #fff; color: var(--blue); font-weight: 800; font-size: 13.5px; border-radius: 999px; padding: 6px 13px; }
button.book:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 2px 2px rgba(11, 26, 61, .1), 20px 28px 40px -18px rgba(11, 26, 61, .6), inset -3px 0 0 rgba(255, 255, 255, .22); }
.book.navy { background: linear-gradient(150deg, #0b1a3d, #1b3f8f 65%, #2158e8); }
.book.soon { background: linear-gradient(150deg, #8d9ab6, #b3bfd6); box-shadow: 0 2px 2px rgba(11, 26, 61, .08), 10px 14px 24px -16px rgba(11, 26, 61, .4); }
.book.soon .b-foot { color: var(--soft); }

/* ---------- welcome (landing) page ---------- */
.hero-grid { display: grid; gap: 30px; align-items: center; padding: 18px 0 8px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 34px 0 20px; } }
.hero-copy h1 { font-size: clamp(34px, 5.4vw, 56px); }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero-points li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tint-2); color: var(--blue); font-size: 13px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.trust { color: var(--soft); font-size: 13.5px; margin: 18px 0 0; }
.signin { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow-lg); }
.signin h2 { margin: 0 0 6px; font-size: 22px; }
.signin .sub { margin-bottom: 8px; font-size: 15px; }
.signin .btn { margin-top: 10px; }
.mailbox { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

.statband { display: grid; grid-template-columns: repeat(2, 1fr); margin: 34px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 760px) { .statband { grid-template-columns: repeat(4, 1fr); } }
.statband div { padding: 22px 18px; text-align: center; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.statband b { display: block; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.statband span { color: var(--soft); font-size: 14px; font-weight: 500; }

.section { padding-top: 64px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(25px, 3.4vw, 34px); }
.section-head p { margin: 0; color: var(--soft); }
.kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .icon { width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 10px 18px -10px rgba(33, 88, 232, .9); }
.feature b { display: block; color: var(--navy); font-size: 17.5px; font-weight: 700; margin-bottom: 4px; }
.feature span { color: var(--soft); font-size: 15px; }

.showcase { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; gap: 48px; } }
.showcase h2 { margin-top: 0; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.demo-card .q { font-size: 18px; margin-bottom: 14px; }
.demo-card .choice { min-height: 46px; padding: 9px 12px; font-size: 16px; cursor: default; }
.demo-card .why { margin-top: 12px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--soft); }

.cta-band { margin-top: 64px; background: var(--grad); color: #fff; border-radius: 26px; padding: 44px 26px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(255, 255, 255, .28), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(25px, 3.6vw, 36px); }
.cta-band p { margin: 0 auto 4px; max-width: 46ch; opacity: .95; }
.cta-band .btn { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.cta-band .btn:hover { background: #f1f6ff; }

/* ---------- an exam's home ---------- */
.hero { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px 22px; box-shadow: var(--shadow); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 168, 245, .22), transparent 68%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
@media (min-width: 720px) { .hero { padding: 40px 40px 30px; } }
.seg { display: inline-flex; background: var(--tint); border: 1px solid var(--line); border-radius: 13px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 10px; padding: 9px 18px; font-size: 15px; font-weight: 700; color: var(--soft); transition: background .12s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.stats.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats.four { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; color: var(--navy); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { color: var(--soft); font-size: 13.5px; font-weight: 500; }
.stat.accent { background: var(--grad); border-color: transparent; }
.stat.accent b, .stat.accent span { color: #fff; }

.quick { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quick { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.mock-banner { display: grid; grid-template-columns: 50px 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.mock-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.mock-banner .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--tint-2); color: var(--blue); display: grid; place-items: center; }
.mock-banner b { display: block; font-size: 17.5px; font-weight: 700; }
.mock-banner small { font-size: 14.5px; color: var(--soft); }
.mock-banner .go { background: var(--tint); color: var(--blue); font-weight: 700; font-size: 14.5px; border-radius: 10px; padding: 8px 16px; white-space: nowrap; }
.mock-banner.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.mock-banner.primary .icon { background: rgba(255, 255, 255, .2); color: #fff; }
.mock-banner.primary small { color: #fff; opacity: .92; }
.mock-banner.primary .go { background: #fff; color: var(--blue); }
@media (max-width: 520px) { .mock-banner { grid-template-columns: 44px 1fr; } .mock-banner .icon { width: 44px; height: 44px; } .mock-banner .go { grid-column: 1 / -1; justify-self: start; } }

.areas { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { display: grid; grid-template-columns: 50px 1fr; gap: 14px; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.area .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 18px -10px rgba(33, 88, 232, .9); }
.area h3 { margin: 0; color: var(--navy); font-size: 18.5px; font-weight: 700; }
.area .lang { color: var(--soft); font-size: 13.5px; margin: 1px 0 8px; }
.area ul { margin: 0; padding: 0; list-style: none; color: var(--soft); font-size: 14.5px; display: grid; gap: 2px; }
.area li { padding-left: 14px; position: relative; }
.area li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #9fb9ef; }
.area .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.area .bar { grid-column: 1 / -1; margin: 12px 0 -8px; height: 6px; }
.area .count { font-size: 14px; font-weight: 700; color: var(--navy); }
.area .count small { font-weight: 500; color: var(--soft); }
.area .cta { font-size: 15px; font-weight: 700; color: var(--blue); white-space: nowrap; }
button.area:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.area.soon { box-shadow: none; background: #fafcff; }
.area.soon .icon { background: #eef1f6; color: #8793ab; box-shadow: none; }
.area.soon h3 { color: var(--soft); }
.badge { font-size: 12.5px; font-weight: 700; color: var(--soft); background: #eef1f6; border-radius: 999px; padding: 3px 10px; }

.steps { display: grid; gap: 14px; margin-top: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: step; box-shadow: var(--shadow-sm); }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.step b { display: block; color: var(--navy); font-weight: 700; }
.step span { color: var(--soft); font-size: 15px; }

.support { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; margin-top: 40px; background: var(--tint); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.support h2 { margin: 0 0 8px; }
.support p { margin: 0 0 6px; max-width: 52ch; }
.support img { border-radius: 14px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 620px) { .support { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- lists, notes ---------- */
.sets { display: grid; gap: 10px; margin-top: 16px; max-width: 760px; }
.set { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); transition: border-color .12s, transform .12s; }
.set:hover { border-color: var(--blue); transform: translateY(-1px); }
.set b { display: block; color: var(--navy); font-size: 16.5px; font-weight: 700; }
.set small { color: var(--soft); font-size: 14.5px; }
.set .go { background: var(--tint); color: var(--blue); font-weight: 700; font-size: 14.5px; border-radius: 10px; padding: 8px 16px; white-space: nowrap; }
.set.main { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-lg); }
.set.main b, .set.main small { color: #fff; }
.set.main .go { background: #fff; }
.note { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; color: var(--text); font-size: 15px; max-width: 760px; margin-top: 16px; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; color: var(--text); font-size: 15.5px; max-width: 760px; }
.facts li { padding-left: 24px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.error { background: var(--wrong-bg); color: var(--wrong); border-radius: 14px; padding: 14px 16px; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 12px; }
.prose .btn { max-width: 360px; }

/* ---------- quiz ---------- */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--soft); font-size: 14.5px; font-weight: 500; }
.quiz-top .back { margin: 0; }
.bar { height: 8px; background: var(--tint-2); border-radius: 4px; overflow: hidden; margin: 8px 0 18px; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; transition: width .3s; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 18px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .card { padding: 34px; } }
.topic-tag { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 4px 11px; margin-bottom: 12px; }
.q { color: var(--navy); font-size: 21px; line-height: 1.42; font-weight: 700; white-space: pre-line; margin: 0 0 18px; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font-size: 17px; min-height: 58px; transition: border-color .1s, background .1s, transform .1s; }
.choice .letter { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--blue); }
.choice:not(:disabled):hover { border-color: var(--blue); background: var(--tint); transform: translateY(-1px); }
.choice:disabled { cursor: default; color: var(--text); }
.choice.picked { border-color: var(--blue); background: var(--tint); }
.choice.picked .letter { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice.right { border-color: var(--right); background: var(--right-bg); }
.choice.right .letter { background: var(--right); border-color: var(--right); color: #fff; }
.choice.wrong { border-color: var(--wrong); background: var(--wrong-bg); }
.choice.wrong .letter { background: var(--wrong); border-color: var(--wrong); color: #fff; }
.choice .mark { grid-column: 2; font-size: 13.5px; font-weight: 700; margin-top: -4px; }
.choice.right .mark { color: var(--right); }
.choice.wrong .mark { color: var(--wrong); }
.verdict { font-weight: 800; font-size: 18px; margin: 22px 0 0; }
.verdict.right { color: var(--right); }
.verdict.wrong { color: var(--wrong); }
.why { margin-top: 12px; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 15px 17px; }
.why h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); font-weight: 800; }
.why p { margin: 0; white-space: pre-line; font-size: 16px; overflow-wrap: anywhere; }
.why .src { margin-top: 8px; font-size: 13.5px; color: var(--soft); white-space: normal; }

.passage { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; margin: 0 0 16px; font-size: 16px; }
.passage .p-title { display: block; color: var(--navy); margin-bottom: 6px; }
.passage p { margin: 0; white-space: pre-line; }
.passage p + .table-scroll, .passage .p-title + .table-scroll { margin-top: 8px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; font-variant-numeric: tabular-nums; background: #fff; }
caption { text-align: left; color: var(--soft); font-size: 14px; padding-bottom: 6px; }
th, td { border: 1px solid var(--line-2); padding: 8px 11px; text-align: right; white-space: nowrap; }
thead th { background: var(--tint-2); color: var(--navy); }
tbody th, thead th:first-child { text-align: left; }
tbody th { font-weight: 600; color: var(--navy); }

/* ---------- results ---------- */
.score { background: var(--grad); color: #fff; border-radius: 22px; padding: 30px 18px; text-align: center; box-shadow: var(--shadow-lg); }
.score .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score .pct { margin-top: 8px; font-weight: 700; opacity: .95; }
.score .say { margin: 12px auto 0; max-width: 44ch; opacity: .97; }
.topics { display: grid; gap: 8px; }
.topic-row { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; }
.topic-row .head { display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; font-weight: 500; }
.topic-row .head b { color: var(--navy); font-variant-numeric: tabular-nums; }
.topic-row .bar { margin: 8px 0 2px; }
details.missed { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
details.missed summary { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-size: 15.5px; }
details.missed summary::-webkit-details-marker { display: none; }
details.missed .m-n { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
details.missed .m-q { color: var(--navy); font-weight: 500; }
details.missed[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
details.missed[open] { padding-bottom: 14px; }
details.missed > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.missed .mq { color: var(--navy); font-weight: 700; white-space: pre-line; margin-top: 0; margin-bottom: 8px; }
details.missed .ans { margin-top: 0; margin-bottom: 4px; font-size: 15.5px; }
details.missed .ans b.right { color: var(--right); }
details.missed .ans b.wrong { color: var(--wrong); }
details.missed .why { margin-top: 10px; }

/* ---------- mock exam ---------- */
.exam-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--soft); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; position: sticky; top: 76px; z-index: 4; box-shadow: var(--shadow-sm); }
.timer-wrap { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.timer-wrap .icon { display: inline-grid; }
.timer { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); }
.timer.low { color: var(--wrong); }
.navgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.navgrid[hidden] { display: none; }
.navgrid .n { height: 38px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--soft); font-variant-numeric: tabular-nums; }
.navgrid .n.done { background: var(--blue); border-color: var(--blue); color: #fff; }
.navgrid .n.flag { box-shadow: inset 0 -4px 0 #f0a020; }
.navgrid .n.here { outline: 3px solid #86adff; outline-offset: 1px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-top .topic-tag { margin: 0; }
.flag-btn { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; font-weight: 700; color: var(--soft); white-space: nowrap; }
.flag-btn.on { border-color: #f0a020; color: var(--amber); background: var(--amber-bg); }
.exam-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

/* ---------- forms ---------- */
.field { display: block; margin: 14px 0 0; }
.field > span { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 6px; }
.field small { display: block; color: var(--soft); font-size: 13px; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="search"], select, textarea { width: 100%; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 13px; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 88, 232, .16); }
textarea { resize: vertical; line-height: 1.5; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 14px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }

/* ---------- community ---------- */
.tabs { display: inline-flex; gap: 4px; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin: 4px 0 22px; max-width: 100%; overflow-x: auto; }
.tabs a { padding: 9px 16px; color: var(--soft); text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 10px; white-space: nowrap; }
.tabs a.on { color: var(--blue); background: #fff; box-shadow: var(--shadow-sm); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; background: #fff; max-width: 760px; box-shadow: var(--shadow-sm); }
.post.pending { background: #fffbf0; border-color: #f1dcae; }
.post header { display: flex; gap: 11px; align-items: center; }
.post header b a { color: var(--navy); text-decoration: none; }
.post header small { display: block; color: var(--soft); font-size: 13.5px; }
.post .body { margin: 12px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.post .body.quote { border-left: 3px solid var(--line-2); padding-left: 10px; color: var(--soft); }
.post footer { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.tag.wait { color: var(--amber); background: var(--amber-bg); }
p.tag { margin: 10px 0 0; white-space: normal; border-radius: 9px; }
.rows { display: grid; gap: 8px; max-width: 760px; }
.grow { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; color: var(--text); text-decoration: none; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .12s, transform .12s; }
a.grow:hover { border-color: var(--blue); transform: translateY(-1px); }
.grow b { display: block; color: var(--navy); font-weight: 700; }
.grow b a { color: var(--navy); text-decoration: none; }
.grow small { display: block; color: var(--soft); font-size: 13.5px; overflow-wrap: anywhere; }
.grow .who { display: flex; gap: 11px; align-items: center; min-width: 0; }
.maker { max-width: 760px; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.maker summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.composer { max-width: 760px; margin-top: 16px; }
.composer .btn { margin-top: 10px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; max-width: 760px; }
.actions .btn { width: auto; flex: 1 1 200px; }
.profile { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.profile .avatar { width: 66px; height: 66px; font-size: 23px; }
.profile h1, .profile h2 { margin: 0; }
.profile .sub { margin: 2px 0 0; }
.searchbar { display: flex; gap: 8px; max-width: 760px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 15px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .2s; z-index: 30; max-width: min(92vw, 520px); text-align: center; box-shadow: var(--shadow-lg); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--wrong); }

/* ---------- small screens ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .head-row { height: 60px; }
  .head-links { gap: 0; }
  .head-links a { font-size: 14px; padding: 7px 8px; }
  .pill, .head-links a.pill { padding: 7px 12px; max-width: 108px; margin-left: 4px; }
  .site-head .brand span { display: none; }
  main { padding-top: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats:not(.four) .stat:last-child { grid-column: 1 / -1; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 9px 8px; }
  .demo-card { transform: none; }
  .section { padding-top: 48px; }
  .shelf { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .book { padding: 16px 12px 14px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 520px) {
  .head-links.full a[href="#/about"] { display: none; } /* About us stays in the footer on phones */
  .book .b-title { font-size: 19px; margin-top: 8px; }
  .book .b-sub { font-size: 12.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .book .b-foot { font-size: 12.5px; padding: 5px 11px; }
}
.back { display: flex; width: fit-content; } /* keeps the back link on its own line above a page label */

/* ---------- half and half welcome: what Pinoy Reviewer is | sign in ---------- */
.split { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; min-height: min(660px, calc(100vh - 150px)); } }
.split-about { position: relative; overflow: hidden; background: linear-gradient(150deg, #1543c9 0%, #2a73f0 55%, #2ab0f5 100%); color: #fff; padding: 34px 26px; display: flex; flex-direction: column; justify-content: center; }
.split-about::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.split-about::after { content: ""; position: absolute; left: -90px; bottom: -130px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.split-about > * { position: relative; z-index: 1; }
.split-about h1 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); }
.split-about .lead { color: #fff; opacity: .96; }
.split-about .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .32); color: #fff; box-shadow: none; align-self: flex-start; }
.split-about .hero-points li::before { background: rgba(255, 255, 255, .22); color: #fff; }
.split-about .trust { color: #fff; opacity: .82; }
.split-form { padding: 34px 26px; display: flex; flex-direction: column; justify-content: center; }
.split-form h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); }
.split-form .btn { margin-top: 10px; }
@media (min-width: 900px) { .split-about, .split-form { padding: 52px 48px; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1) !important; }
.reveal.in { opacity: 1; transform: none; }
.choice.right { animation: pop .38s cubic-bezier(.2, 1.4, .4, 1); }
.choice.wrong { animation: shake .36s ease; }
@keyframes pop { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.why { animation: rise .35s ease both; }
.verdict { animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.book { transform-origin: left center; }
.book.opening { transform: perspective(900px) rotateY(-62deg) translateX(-6px); box-shadow: 30px 20px 50px -20px rgba(11, 26, 61, .5); transition: transform .33s ease-in, box-shadow .33s; }
.ring-fill { transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { top: 105%; transform: rotate(720deg) translateX(40px); } }
.demo-card .actions { margin-top: 12px; }
.demo-card .actions .btn { margin-top: 0; }
.demo-card .choice { cursor: pointer; }
.demo-card .choice:disabled { cursor: default; }

/* ---------- today's goal and streak ---------- */
.today { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.today .ring { display: grid; place-items: center; }
.today b { display: block; color: var(--navy); font-weight: 700; font-size: 17px; }
.today small { color: var(--soft); font-size: 14.5px; }
.streak { text-align: center; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px; }
.streak b { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--soft); }
.streak small { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.streak.on { background: var(--amber-bg); border-color: #f3d58c; }
.streak.on b { color: #b56a00; }
@media (prefers-reduced-motion: reduce) { .choice.right, .choice.wrong, .why, .verdict { animation: none; } .reveal { opacity: 1; transform: none; } }

/* ---------- profile setup ---------- */
.rulesbox { margin-top: 16px; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rulesbox summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 14.5px; }
.rulesbox .facts { margin-top: 10px; font-size: 14.5px; }
.link.light { color: #fff; text-decoration: underline; font-size: inherit; }

/* ---------- reading lessons ---------- */
.lesson .para { white-space: pre-line; margin: 0 0 12px; }
.lesson h2 { margin-top: 30px; }
.lesson .table-scroll { margin: 12px 0; }
.lesson td, .lesson th { white-space: normal; text-align: left; vertical-align: top; }
.example { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 14px; padding: 14px 16px; margin: 12px 0; box-shadow: var(--shadow-sm); }
.example h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); font-weight: 800; }
.example .ex-q { margin: 0 0 8px; font-weight: 700; color: var(--navy); white-space: pre-line; }
.example .ex-a { margin: 0; white-space: pre-line; }
.keybox { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 22px; }
.keybox h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.keybox .facts { margin-top: 10px; }
.keybox.warn { background: var(--amber-bg); border-color: #f3d58c; }
.keybox.warn .facts li::before { background: #d99a1c; }
.set .go.done { background: var(--right-bg); color: var(--right); }
.set.did { background: #fbfdff; }
button.today { width: 100%; text-align: left; transition: transform .15s, box-shadow .15s, border-color .15s; }
button.today:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }

/* ---------- daily program ---------- */
.daylist { display: grid; gap: 8px; max-width: 760px; margin-top: 12px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.day summary { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day .d-n { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.day .d-t { font-weight: 700; color: var(--navy); }
.day .d-k { font-size: 12.5px; font-weight: 700; color: var(--soft); background: var(--tint); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.day.did .d-n { background: var(--right-bg); color: var(--right); }
.day.now { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 88, 232, .12); }
.day.now .d-n { background: var(--grad); color: #fff; }
.day .sets { margin: 0; padding: 0 16px 14px; max-width: none; }
@media (max-width: 520px) { .day .d-k { display: none; } .day summary { grid-template-columns: 34px 1fr; } }
@media (max-width: 640px) {
  .head-links.full a[href="#/"]:not(.pill), .head-links.full a[href="#/about"] { display: none; } /* the logo goes home; About is in the footer */
  .head-links a[href="#/program"] { font-size: 0; }
  .head-links a[href="#/program"]::after { content: "Program"; font-size: 14px; }
}
/* home shortcuts: two per row so the text has room */
@media (min-width: 760px) { .quick { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); } }
/* phone header: the links share the row and can never push the page wider than the screen */
@media (max-width: 640px) {
  .site-head .brand span { display: none; }
  .head-row { gap: 8px; }
  .head-links { flex: 1; min-width: 0; justify-content: flex-end; gap: 0; }
  .head-links a { font-size: 13.5px; padding: 7px 7px; }
  .head-links a[href="#/program"]::after { font-size: 13.5px; }
  .head-links a.pill { flex: 0 1 auto; min-width: 0; max-width: 84px; padding: 7px 11px; margin-left: 4px; }
}

/* ---------- daily program, lapses, profile ---------- */
.setup { max-width: 620px; margin-top: 8px; }
.setup h2 { margin-top: 0; }
.datepick { display: flex; gap: 8px; flex-wrap: wrap; }
input[type="date"] { width: 100%; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 13px; min-height: 50px; }
.bar.wide { max-width: 760px; }
.note.good { background: var(--right-bg); border-color: #bfe6cd; }
.set.flat { cursor: default; box-shadow: none; background: #fbfdff; }
.set.flat:hover { transform: none; border-color: var(--line); }
.muted { color: var(--soft); font-weight: 400; }
.lapsebar { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: center; width: 100%; max-width: 760px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.lapsebar:hover { border-color: var(--blue); }
.lapsebar b { display: block; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.lapsebar small { color: var(--soft); font-size: 13.5px; }
.lapsebar .go { background: var(--tint); color: var(--blue); font-weight: 700; font-size: 14.5px; border-radius: 10px; padding: 8px 16px; }
.focus-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 12px 0; }
.focus { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.focus header { display: flex; justify-content: space-between; align-items: center; }
.focus .f-n { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.focus h3 { margin: 12px 0 2px; color: var(--navy); font-size: 17.5px; font-weight: 700; }
.focus .f-area { margin: 0; font-size: 13.5px; color: var(--soft); font-weight: 600; }
.focus .f-why { margin: 8px 0 14px; font-size: 14.5px; flex: 1; }
.focus .f-btns { display: flex; gap: 8px; }
.chip-state { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: #eef1f6; color: var(--soft); }
.chip-state.low { background: var(--wrong-bg); color: var(--wrong); }
.chip-state.near { background: var(--amber-bg); color: var(--amber); }
.chip-state.good { background: var(--right-bg); color: var(--right); }
.bar.target { position: relative; overflow: visible; }
.bar.target::after { content: ""; position: absolute; left: var(--t); top: -4px; bottom: -4px; width: 2px; background: var(--navy); }
.topic-row .head { flex-wrap: wrap; }
.topic-row > small { font-size: 13.5px; }
.cal { max-width: 760px; }
.cal-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--soft); margin-bottom: 10px; }
.cal-key span { display: inline-flex; align-items: center; gap: 6px; }
.cal-key i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); background: #fff; }
.cal-month { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.cal-month summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0 12px 14px; }
.cal-grid .dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--soft); }
.cell { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 6px 2px; min-height: 52px; display: grid; place-items: center; align-content: center; min-width: 0; }
.cell b { font-size: 15px; line-height: 1.1; color: var(--navy); }
.cell small { font-size: 11px; color: var(--soft); }
.cell.done, .cal-key i.done { background: var(--right-bg); border-color: #a9dcbd; }
.cell.part, .cal-key i.part { background: var(--amber-bg); border-color: #f3d58c; }
.cell.missed, .cal-key i.missed { background: var(--wrong-bg); border-color: #efb7b2; }
.cell.now, .cal-key i.now { border: 2px solid var(--blue); background: var(--tint); }
.cell.exam { background: var(--grad); border-color: transparent; }
.cell.exam b, .cell.exam small { color: #fff; }
.cell.sel { outline: 3px solid #86adff; outline-offset: 1px; }
.dayguide { max-width: 760px; margin: 14px 0 20px; background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.dayguide h3 { margin: 0 0 6px; color: var(--navy); }
.dayguide .sets { margin-top: 8px; }
.trend { margin: 10px 0 0; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.trend figcaption { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.trend-plot { position: relative; }
.trend svg { display: block; width: 100%; height: auto; overflow: visible; }
.trend .ax { font-size: 13px; fill: var(--soft); }
.trend .ax.strong { fill: var(--navy); font-weight: 700; }
.trend .hit { position: absolute; width: 32px; height: 32px; border-radius: 50%; transform: translate(-50%, -50%); background: transparent; border: 0; }
.trend .tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--navy); color: #fff; font-size: 13px; border-radius: 8px; padding: 6px 10px; white-space: nowrap; pointer-events: none; z-index: 2; }
.maker .table-scroll { margin-top: 10px; }
@media (max-width: 520px) {
  .lapsebar { grid-template-columns: repeat(3, 1fr); }
  .lapsebar .go { grid-column: 1 / -1; text-align: center; }
  .cal-grid { gap: 4px; padding: 0 8px 12px; }
  .cell small { font-size: 9.5px; }
  .trend .ax { font-size: 22px; }
  .trend .tip { white-space: normal; width: 170px; text-align: center; }
}

/* donate */
.head-links a.pill.donate { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 6px 16px -8px rgba(225, 29, 72, .8); }
.btn.donate-btn { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 10px 22px -12px rgba(225, 29, 72, .9); font-size: 18px; padding: 16px 22px; max-width: 320px; }
.btn.donate-btn:hover { background: linear-gradient(135deg, #e11d48, #be123c); }
.support .btn.donate-btn { margin-top: 14px; }
.donate-card { display: grid; justify-items: center; gap: 6px; background: var(--tint); border: 1px solid var(--line); border-radius: 22px; padding: 26px 18px; margin: 22px 0; text-align: center; }
.donate-card img { width: min(280px, 100%); height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.donate-card .btn.donate-btn { width: 100%; }
.head-links a.pill.donate { max-width: none; overflow: visible; }
@media (max-width: 420px) { .head-links a.pill.donate { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 640px) {
  .head-links.full a.pill.donate { font-size: 0; padding: 7px 11px; margin-left: 2px; }
  .head-links.full a.pill.donate::after { content: "♥"; font-size: 15px; }
}

/* ads */
.adbox { margin: 28px 0; padding: 10px 0 0; border-top: 1px solid var(--line); min-height: 120px; }
.adbox .ad-label { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.adbox ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
@media (max-width: 420px) { .head-links:not(.full) a[href="#/about"] { display: none; } } /* About is in the footer */
