:root { --indigo: #241951; --accent: #4635ac; --ink: #1c1731; --quiet: #655f75; --line: #e1ddeb; --paper: #fcfbf8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0px; color: var(--ink); background: var(--paper); font: 16px / 1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: rgb(128, 95, 237) solid 3px; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -100px; background: white; padding: 12px; }
.skip:focus { top: 4px; }
.wrap { max-width: 1200px; margin: auto; padding-inline: clamp(20px, 5vw, 64px); }
.brand { font-size: 22px; font-weight: 850; letter-spacing: -0.065em; white-space: nowrap; }
.tag { font: 650 11px / 1.3 ui-monospace, monospace; letter-spacing: 0.14em; }
.tag { color: var(--accent); margin: 0px 0px 4px; }
h2 { font-size: clamp(31px, 4vw, 47px); line-height: 1.1; letter-spacing: -0.065em; margin: 0px; }
footer { border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; padding-block: 20px 27px; color: var(--quiet); font-size: 13px; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
footer { display: block; }
footer b { display: block; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}
.brand img { display: block; width: clamp(148px, 21vw, 222px); height: auto; }
.sample-test { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.sample-test h2 { font-size: 27px; letter-spacing: -0.035em; line-height: 1.2; margin: 10px 0px; }
.sample-test p:not(.tag) { max-width: 620px; color: var(--quiet); font-size: 14px; margin: 8px 0px; }
.sample-test .sample-note { font-size: 12px !important; }
.sample-start { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; background: var(--accent); color: white; padding: 14px 20px; border-radius: 5px; font-size: 14px; font-weight: 700; }
.sample-start:hover { background: var(--indigo); }
@media (max-width: 680px) {
.sample-test { align-items: stretch; flex-direction: column; gap: 16px; }
.sample-start { justify-content: space-between; }
.sample-test h2 { font-size: 24px; }
}
.skip { z-index: 100; }
main[tabindex="-1"]:focus { outline: rgb(128, 95, 237) solid 3px; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}
.home-exam-picker { padding-block: 36px 30px; }
.home-exam-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.home-exam-heading .tag { color: var(--accent); margin: 0px 0px 10px; }
.home-exam-heading h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.045em; margin: 0px; }
.home-exam-heading p:not(.tag) { color: var(--quiet); font-size: 15px; line-height: 1.6; margin: 12px 0px 0px; }
.home-chapter-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--pyq-surface,#fff); color: var(--accent); font-size: 14px; font-weight: 650; flex-shrink: 0; }
.home-chapter-link:focus-visible { outline: 3px solid var(--pyq-focus,#805fed); outline-offset: 3px; }
.home-chapter-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-exam-grid { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 14px; list-style: none; margin: 0px; padding: 0px; }
.home-exam-grid li { min-width: 0px; }
.home-exam-card { height: 100%; display: flex; align-items: flex-start; gap: 13px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--pyq-surface,#fff); color: var(--ink); text-decoration: none; min-height: 154px; }
.home-exam-card:hover { border-color: var(--accent); background: var(--pyq-raised,#f6f3ff); }
.home-exam-card:focus-visible { outline: 3px solid var(--pyq-focus,#805fed); outline-offset: 3px; }
.home-exam-copy { display: flex; min-width: 0px; flex-direction: column; gap: 8px; }
.home-exam-category { font-size: 11px; color: var(--quiet); line-height: 1.4; }
.home-exam-copy strong { font-size: 17px; line-height: 1.25; letter-spacing: -0.02em; }
.home-exam-action { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 7px; line-height: 1.4; }
.home-exam-action span { font-size: 17px; }
@media (max-width: 1000px) {
.home-exam-grid { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
.home-exam-card { padding: 18px 14px; }
}
@media (max-width: 720px) {
.home-exam-picker { padding-block: 26px; }
.home-exam-heading { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.home-exam-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px; }
.home-exam-card { flex-direction: column; gap: 12px; min-height: 132px; }
.home-exam-copy { gap: 5px; }
.home-exam-copy strong { font-size: 16px; }
.home-exam-heading h1 { font-size: 36px; }
.home-exam-action { margin-top: 4px; }
}
@media (max-width: 350px) {
.home-exam-grid { grid-template-columns: 1fr; }
.home-exam-card { flex-direction: row; min-height: 112px; padding: 14px; }
.home-exam-heading h1 { font-size: 30px; }
}
.home-path-grid a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 650; }
.home-path-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-paths { padding-block: 20px 40px; }
.home-paths h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.03em; margin: 10px 0px 20px; }
.home-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 16px; }
.home-path-grid section { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--pyq-surface,#fff); min-width: 0px; }
.home-path-grid .tag { color: var(--accent); margin: 0px; }
.home-path-grid h3 { font-size: 23px; margin: 10px 0px; }
.home-path-grid p:not(.tag) { font-size: 14px; line-height: 1.65; color: var(--quiet); margin: 0px 0px 12px; }
.home-path-grid a:focus-visible { outline: 3px solid var(--pyq-focus,#805fed); outline-offset: 3px; }
@media (max-width: 650px) {
.home-path-grid { grid-template-columns: 1fr; }
.home-path-grid section { padding: 20px; }
}
.home-page .home-exam-heading { margin-bottom: 16px; }
.home-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0px 0px 22px; }
.home-quick-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); background: var(--pyq-surface,#fff); font-size: 13px; font-weight: 650; line-height: 1.3; text-decoration: none; }
.home-quick-links a:hover { border-color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.home-quick-links a:focus-visible { outline: 3px solid var(--pyq-focus,#805fed); outline-offset: 3px; }
.home-quick-links a span { font-size: 16px; flex: 0 0 auto; }
.home-exam-grid { scroll-margin-top: 16px; }
@media (max-width: 720px) {
.home-page .home-exam-heading .tag { margin-bottom: 6px; }
.home-page .home-exam-heading p:not(.tag) { margin-top: 8px; }
.home-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); margin-bottom: 16px; }
.home-quick-links .home-resume-link { grid-column: 1 / -1; justify-self: start; }
.home-page .home-exam-card { min-height: 112px; gap: 8px; padding: 12px; }
}
@media (max-width: 350px) {
.home-quick-links { grid-template-columns: 1fr; }
.home-quick-links .home-resume-link { justify-self: stretch; }
.home-page .home-exam-card { min-height: 86px; }
}
.exam-logo-tile { display: inline-grid; place-items: center; flex: 0 0 auto; width: 48px; height: 40px; padding: 4px; border: 1px solid rgb(222, 219, 231); border-radius: 8px; background: rgb(255, 255, 255); box-sizing: border-box; vertical-align: middle; }
.exam-logo-tile > img { display: block; width: 100%; height: 100%; min-width: 0px; min-height: 0px; object-fit: contain; }
.home-exam-card > .exam-logo-tile { width: 56px; height: 48px; }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile { width: 46px; height: 40px; }
}
.home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 68px; }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 58px; }
}
@supports (object-view-box: inset(0 1% 0 0)) {
.exam-logo-tile img[src$="-nta.png"] { object-view-box: inset(3% 83% 18% 0px); }
.home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 56px; }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 46px; }
}
}
.home-exam-card > .exam-logo-tile, .home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 62px; height: 54px; padding: 0px; border: 0px; border-radius: 0px; background: transparent; }
.home-exam-card > .exam-logo-tile img[src$="-nta.png"] { clip-path: circle(46%); }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile, .home-exam-card > .exam-logo-tile:has(img[src$="-nta.png"]) { width: 51px; height: 46px; }
}
.exam-logo-tile:has(img[src$="-apsche.png"]) { background: transparent; border: 0px; padding: 0px; }
.exam-logo-tile:has(img:is([src$="-comedk.png"], [src$="-jntuh.png"], [src$="-vit.png"], [src$="-cbse.png"], [src="/exam-badge-mht-cet.svg"])) { border: 0px; border-radius: 0px; padding: 0px; background: transparent; }
:root[data-pyq-theme="dark"] .exam-logo-tile img[src$="-comedk.png"] { filter: invert(1); }
.exam-logo-tile:has(img[src$="-jee-advanced.png"]) { border: 0px; padding: 0px; border-radius: 0px; background: transparent; }
.home-exam-card > .exam-logo-tile:has(img[src$="-jee-advanced.png"]) { width: 74px; height: 68px; }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile:has(img[src$="-jee-advanced.png"]) { width: 58px; height: 54px; }
}
:root[data-pyq-theme="dark"] .exam-logo-tile img[src$="-jee-advanced.png"] { filter: drop-shadow(rgb(234, 223, 255) 0px 0px 0.65px); }
.exam-logo-tile:has(img[src$="-wbjee.png"]) { background: transparent; border: 0px; padding: 0px; }
.exam-logo-tile:has(img[src$="-iiser-iat.png"]) { width: 68px; background: rgb(255, 255, 255); }
.home-exam-card > .exam-logo-tile:has(img[src$="-iiser-iat.png"]) { width: 78px; border-radius: 8px; }
@media (max-width: 600px) {
.home-exam-card > .exam-logo-tile:has(img[src$="-iiser-iat.png"]) { width: 66px; }
}
@supports (object-view-box:inset(0%)) {
.exam-logo-tile img[src$="-iiser-iat.png"] { object-view-box: inset(10% 28% 14%); }
}
.practice-guide { max-width: 52rem; padding-block: clamp(2rem, 5vw, 4rem); font-size: 1rem; line-height: 1.65; }
.practice-guide h1 { margin: 0px 0px 1rem; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; }
.practice-guide section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.practice-guide h2 { margin: 0px 0px 0.75rem; font-size: 1.4rem; line-height: 1.3; }
.practice-guide dt { margin-top: 1rem; font-weight: 650; }
.practice-guide dd { margin: 0.2rem 0px 0px; }
.practice-guide a, footer a.practice-guide-link { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
footer a.practice-guide-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
html { overflow-y: scroll; scrollbar-gutter: stable; }
body header.site-header { box-sizing: border-box; display: grid; grid-template-columns: 190px 124px minmax(0px, 1fr); grid-template-areas: "brand theme nav"; align-items: center; gap: 0px 20px; width: 100%; max-width: 1200px; height: 80px; min-height: 80px; margin: 0px auto; padding: 0px clamp(20px, 5vw, 64px); border: 0px; background: transparent; font: 600 13px / 1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: normal; }
body header.site-header .site-brand { grid-area: brand; display: flex; align-items: center; width: 190px; height: 44px; min-width: 0px; padding: 0px; margin: 0px; }
body header.site-header .site-brand img { display: block; width: 190px; max-width: 100%; height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
body header.site-header .site-nav { grid-area: nav; display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-width: 0px; margin: 0px; padding: 0px; order: initial; font: inherit; color: var(--quiet,#655f75); }
body header.site-header .site-nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 14px; min-width: 0px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
body header.site-header .site-nav > a { box-sizing: border-box; min-width: 64px; padding-inline: 5px; }
body header.site-header .site-nav a { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 44px; margin: 0px; padding: 9px 0px 7px; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; color: inherit; font: inherit; letter-spacing: normal; text-decoration: none; white-space: nowrap; }
body header.site-header .site-nav a:hover { color: var(--accent,#4635ac); }
body header.site-header .site-theme-slot { grid-area: theme; display: flex; align-items: center; justify-content: flex-end; width: 124px; height: 44px; min-width: 124px; }
body header.site-header .site-theme-slot button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 124px; min-width: 124px; height: 44px; min-height: 44px; padding: 6px 9px; margin: 0px; border: 1px solid var(--line,#e1ddeb); border-radius: 7px; background: transparent; color: var(--ink,#1c1731); font: inherit; letter-spacing: normal; white-space: nowrap; cursor: pointer; }
body header.site-header .site-theme-slot button[hidden] { display: none; }
body header.site-header :is(a, button):focus-visible { outline: 3px solid var(--pyq-focus,#805fed); outline-offset: 2px; }
@media (max-width: 1100px) {
body header.site-header { grid-template-columns: 190px minmax(0px, 1fr) 124px; grid-template-areas: "brand . theme" "nav nav nav"; height: 120px; min-height: 120px; padding-block: 10px; row-gap: 6px; }
body header.site-header .site-nav { gap: 12px; min-height: 44px; }
body header.site-header .site-nav-links { justify-content: flex-start; gap: 24px; }
}
@media (max-width: 600px) {
body header.site-header { grid-template-columns: minmax(0px, 1fr) 124px; grid-template-areas: "brand theme" "nav nav"; column-gap: 12px; }
body header.site-header .site-brand { max-width: 100%; }
}
@media (max-width: 380px) {
body header.site-header { grid-template-columns: minmax(0px, 1fr) 112px; grid-template-areas: "brand theme" "nav nav"; column-gap: 12px; padding-inline: 16px; }
body header.site-header .site-brand { width: 160px; max-width: 100%; }
body header.site-header .site-theme-slot, body header.site-header .site-theme-slot button { width: 112px; min-width: 112px; }
body header.site-header .site-theme-slot button { gap: 5px; padding-inline: 5px; }
}
body header.site-header .site-brand picture { display: block; width: 100%; min-width: 0px; }
:root[data-pyq-theme="light"] .student-browse .site-brand picture img { content: url("/gyanola-wordmark.svg"); }
.pyq-appearance { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 44px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 650; white-space: nowrap; }
.pyq-appearance[hidden] { display: none; }
.pyq-appearance [data-theme-icon] { font-size: 17px; color: var(--pyq-orange); line-height: 1; }
.pyq-appearance:hover { background: var(--pyq-orange-soft); }
@media (max-width: 345px) {
.pyq-appearance { padding-inline: 7px; gap: 4px; }
.pyq-appearance [data-theme-icon] { display: none; }
}
:root[data-pyq-theme="dark"] { color-scheme: dark; --paper: #000; --ink: #f5f5f5; --quiet: #c2c2c2; --line: #404040; --accent: #d5c6ff; --indigo: #090909; --pyq-surface: #0e0e0e; --pyq-raised: #171717; --pyq-control: #111; --pyq-action: #202020; --pyq-action-hover: #2a2a2a; }
:root[data-pyq-theme="light"] { color-scheme: light; }
:root[data-pyq-theme="dark"] :is(.question-search button, .chapter-results button, .paper-start, .sample-start, .exam-switch button[aria-pressed="true"]) { background: var(--pyq-action); color: var(--accent); border: 1px solid rgb(105, 105, 105); }
:root[data-pyq-theme="dark"] :is(.question-search button, .chapter-results button, .paper-start, .sample-start):hover { background: var(--pyq-action-hover); }
.student-browse { --pyq-orange: #9b4017; --pyq-orange-soft: #fff0e3; --pyq-focus: #805fed; }
.student-browse :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--pyq-focus); outline-offset: 3px; }
:root[data-pyq-theme="dark"] .student-browse { --pyq-orange: #d5c6ff; --pyq-orange-soft: #202020; --pyq-focus: #d5c6ff; background: rgb(0, 0, 0); color: rgb(245, 245, 245); }
:root[data-pyq-theme="dark"] .student-browse header { background: rgb(14, 14, 14); border-color: rgb(64, 64, 64); }
:root[data-pyq-theme="dark"] .student-browse .brand img { content: url("/gyanola-wordmark-dark.svg?v=2"); filter: none; mix-blend-mode: normal; }
:root[data-pyq-theme="dark"] .student-browse .skip { background: rgb(23, 23, 23); color: rgb(245, 245, 245); z-index: 100; }
:root[data-pyq-theme="dark"] .student-browse :is(.button, .primary, .reset, .sample-start, .paper-start, .home-actions a, .hero .button, .question-search button, .chapter-results button, .mock-history button, .activity button, .review-toolbar button, .review-filters button) { background: rgb(32, 32, 32); color: rgb(213, 198, 255); border: 1px solid rgb(105, 105, 105); }
:root[data-pyq-theme="dark"] .student-browse :is(.button, .primary, .reset, .sample-start, .paper-start, .home-actions a, .hero .button, .question-search button, .chapter-results button, .mock-history button, .activity button, .review-toolbar button, .review-filters button):hover { background: rgb(42, 42, 42); }
:root[data-pyq-theme="dark"] .student-browse :is(.primary:disabled, button:disabled) { background: rgb(23, 23, 23); color: rgb(170, 170, 170); border-color: rgb(64, 64, 64); }
:root[data-pyq-theme="dark"] .student-browse .pyq-appearance { background: rgb(14, 14, 14); color: rgb(245, 245, 245); border-color: rgb(105, 105, 105); }
:root[data-pyq-theme="dark"] .student-browse .pyq-appearance:hover { background: rgb(32, 32, 32); }
:root[data-pyq-theme="dark"] body.student-browse header.site-header { background: rgb(14, 14, 14); color: rgb(245, 245, 245); border-color: rgb(64, 64, 64); }
