
/* Student Study Corner — load after Bootstrap 5.3.
   Bootstrap owns the grid, spacing utilities, collapse, dropdowns and buttons.
   This file contains the brand, editorial components and responsive artwork. */

:root {
  --ssc-paper: #fffaf9;
  --ssc-ink: #2e453b;
  --ssc-green: #38654f;
  --ssc-muted: #626e66;
  --ssc-line: #e4ddd9;
  --ssc-lime: #d7eadb;
  --ssc-rose: #f2cbd0;
  --ssc-rose-hover: #eab8c0;
  --ssc-red-ink: #783d46;
  --bs-body-font-family: "DM Sans", sans-serif;
  --bs-body-color: var(--ssc-ink);
  --bs-body-bg: var(--ssc-paper);
  --bs-link-color: var(--ssc-green);
  --bs-link-hover-color: #8e454e;
  --bs-border-color: var(--ssc-line);
}

body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand-name { font-family: "Manrope", sans-serif; font-weight: 750; letter-spacing: -.045em; }
a { text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a4545c; outline-offset: 5px; }
::selection { color: var(--ssc-green); background: #d7eadb; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .8rem 1.3rem; z-index: 1100; background: var(--ssc-green); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; color: white; }

/* Shared header and navigation */
.site-header { border-bottom: 1px solid var(--ssc-line); background: var(--ssc-paper); }
.navbar { --bs-navbar-color: #43594c; --bs-navbar-hover-color: var(--ssc-green); padding-block: 1.25rem; }
.navbar-brand { margin-right: 2rem; color: var(--ssc-green); }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px 14px 14px 3px; background: var(--ssc-green); color: #edf7ef; transform: rotate(-5deg); }
.brand-mark .icon { width: 27px; height: 27px; transform: rotate(5deg); }
.brand-name { font-size: 18px; line-height: 1.05; letter-spacing: -.7px; }
.brand-name > span { display: block; }
.brand-dot { color: #cc858b; }
.nav-link { font-size: .86rem; font-weight: 600; padding-block: .8rem; }
.dropdown-toggle::after { vertical-align: .17em; margin-left: .45em; border-width: .25em; }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--ssc-green); --bs-dropdown-link-hover-bg: #e5f1e8; --bs-dropdown-link-color: var(--ssc-ink); border: 1px solid var(--ssc-line); border-radius: .8rem; padding: .7rem; box-shadow: 0 15px 40px #263c3212; }
.topic-menu { width: 530px; max-height: min(70vh, 570px); overflow-y: auto; }
.topic-menu.show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dropdown-item { padding: .65rem .75rem; border-radius: .35rem; white-space: normal; font-size: .85rem; }
.navbar-toggler { border-color: var(--ssc-line); padding: .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px #9fbea355; }

/* Engine content stays in a responsive container on every page. */
.site-main { min-height: 50vh; padding-block: 3.5rem; }
.site-main img { max-width: 100%; height: auto; }
.site-main > h1, .site-main > article > h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.site-main > p, .site-main > article > p { line-height: 1.85; }
.site-main:has(> .home-page) { padding-block: 0; }
.home-page section { scroll-margin-top: 2rem; }
.eyebrow { font-size: .65rem; letter-spacing: .16em; font-weight: 700; color: #567560; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ce858c; margin-right: .5rem; vertical-align: 1px; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.15rem); line-height: 1.2; }
.section-description { color: var(--ssc-muted); font-size: .9rem; }
.btn { --bs-btn-border-radius: .45rem; --bs-btn-font-size: .85rem; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.35rem; --bs-btn-padding-y: .85rem; }
.btn-primary { --bs-btn-bg: var(--ssc-rose); --bs-btn-border-color: var(--ssc-rose); --bs-btn-color: var(--ssc-red-ink); --bs-btn-hover-bg: var(--ssc-rose-hover); --bs-btn-hover-border-color: var(--ssc-rose-hover); --bs-btn-hover-color: var(--ssc-red-ink); --bs-btn-active-bg: #e3a8b2; --bs-btn-active-border-color: #e3a8b2; --bs-btn-active-color: #63323b; --bs-btn-focus-shadow-rgb: 164, 84, 92; }
.btn-outline-primary { --bs-btn-color: var(--ssc-green); --bs-btn-border-color: #9fbea3; --bs-btn-hover-bg: var(--ssc-green); --bs-btn-hover-border-color: var(--ssc-green); --bs-btn-active-bg: var(--ssc-green); --bs-btn-active-border-color: var(--ssc-green); --bs-btn-focus-shadow-rgb: 56, 101, 79; }
.btn-lg { font-size: .87rem; padding: 1rem 1.35rem; }
.btn .icon { width: 19px; height: 19px; }
.text-link { font-size: .82rem; font-weight: 600; color: var(--ssc-green); text-decoration: none; }
.text-link span { margin-left: .35rem; font-size: 1.15rem; }
.text-link:hover { text-decoration: underline; }

/* Homepage hero and self-contained study illustration */
.hero { padding-block: 4.5rem 4rem; }
.hero h1 { font-size: clamp(3rem, 4.85vw, 4.55rem); line-height: 1.08; letter-spacing: -.06em; margin: 1.3rem 0 1.5rem; }
.hero h1 > span { color: #a4545c; }
.hero-description { max-width: 420px; color: var(--ssc-muted); font-size: 1.03rem; line-height: 1.75; }
.hero-note { margin-top: 2rem; color: #687269; font-size: .75rem; }
.hero-note .icon { width: 17px; height: 17px; color: #a4545c; }
.study-scene { position: relative; background: #deeee2; border-radius: 48% 48% 1rem 1rem; padding: 2.8rem 0 3.2rem; }
.scene-label { display: block; text-align: center; color: #567560; font-size: .58rem; letter-spacing: .2em; font-weight: 600; margin-bottom: -.5rem; }
.desk-art { display: block; width: 100%; height: auto; }
.scene-caption { position: absolute; bottom: 1.4rem; left: 8%; right: 8%; display: flex; gap: .85rem; align-items: center; padding: .85rem 1rem; border: 1px solid #fff7; border-radius: .6rem; background: #fff8f6; box-shadow: 0 6px 20px #243c3210; font-size: .82rem; font-weight: 600; }
.scene-caption small { display: block; margin-top: 2px; font-size: .68rem; color: var(--ssc-muted); font-weight: 400; }
.caption-icon { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 50%; background: #d7eadb; color: #38654f; }
.caption-icon .icon { width: 19px; }
.scene-caption > .icon { color: #b86972; }

/* Recolor the embedded desk and plant artwork with pastel rose and mint. */
.desk-art [fill="#dce4c8"] { fill: #d1e6d6; }
.desk-art [fill="#f5d887"], .desk-art [fill="#e5ba67"],
.desk-art [fill="#dfaf48"] { fill: #efbcc2; }
.desk-art [fill="#dfbd66"] { fill: #d99da6; }
.desk-art [fill="#d17e5d"], .desk-art [fill="#d78d6d"],
.desk-art [fill="#c37554"], .desk-art [fill="#c97d64"] { fill: #d58f99; }
.desk-art [fill="#60552e"], .desk-art [fill="#482e24"] { fill: #783d46; }
.desk-art [stroke="#a88a3e"], .desk-art [stroke="#b69143"],
.desk-art [stroke="#b7852f"], .desk-art [stroke="#b96d51"] { stroke: #b57680; }
.desk-art [stroke="#b7c7ad"] { stroke: #b8d2bf; }
.balance-art [fill="#7a8d56"] { fill: #94b99e; }
.balance-art [fill="#d6b37d"] { fill: #efbcc2; }
.balance-art [fill="#b77c45"] { fill: #c7838d; }

/* Topic directory */
.explore-section { padding-block: 2rem 3.5rem; }
.topic-directory { border-top: 1px solid var(--ssc-line); border-left: 1px solid var(--ssc-line); border-radius: .75rem; overflow: hidden; background: #fffcfb; }
.topic-link { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1.5rem 1.25rem; border-right: 1px solid var(--ssc-line); border-bottom: 1px solid var(--ssc-line); text-decoration: none; color: var(--ssc-ink); transition: background .2s; }
.topic-link:hover { background: #edf5ee; }
.topic-link:focus-visible { outline-offset: -4px; }
.topic-icon { width: 43px; height: 45px; border-radius: .65rem; display: grid; place-items: center; flex-shrink: 0; }
.topic-icon .icon { width: 23px; height: 23px; }
.tone-green { background: #dceee0; color: #38654f; }
.tone-peach { background: #f7dfe0; color: #934d57; }
.tone-lilac { background: #f3d6d9; color: #934d57; }
.tone-yellow { background: #e3f0e4; color: #476c50; }
.tone-blue { background: #f8e6e5; color: #934d57; }
.topic-link strong { display: block; font-size: .87rem; font-weight: 650; }
.topic-link small { display: block; margin-top: .25rem; font-size: .72rem; color: var(--ssc-muted); }
.topic-arrow { width: 17px; height: 17px; margin-left: auto; color: #748779; }

/* Editorial guide cards */
.guides-section { padding-block: 1.75rem 3.5rem; }
.feature-guide, .compact-guide { position: relative; border: 1px solid var(--ssc-line); border-radius: .85rem; background: #fffdfb; transition: border-color .2s, box-shadow .2s; }
.feature-guide:hover, .compact-guide:hover { border-color: #a4c5ae; box-shadow: 0 6px 22px #263c3208; }
.feature-guide h3 a, .compact-guide h3 a { color: inherit; text-decoration: none; }
.feature-art { height: 235px; position: relative; overflow: hidden; background: #d7eadb; border-radius: .8rem .8rem 0 0; display: flex; align-items: flex-end; justify-content: center; }
.art-orbit { position: absolute; width: 350px; height: 350px; border: 1px solid #a9cbb3; border-radius: 50%; }
.orbit-one { top: -185px; left: -85px; }
.orbit-two { bottom: -260px; right: -80px; }
.planner-sheet { width: 265px; padding: 1.4rem 1.75rem; background: #fffaf7; border: 1px solid #c9ddcd; box-shadow: 8px 10px 0 #b4d3be; transform: rotate(-7deg) translateY(15px); color: #435e4c; }
.planner-heading { font-size: .59rem; font-weight: 700; letter-spacing: .18em; }
.planner-date { font-family: Georgia, serif; font-size: 1.22rem; margin: .35rem 0 1rem; }
.planner-line { padding: .6rem 0; border-top: 1px solid #e0e8df; font-size: .7rem; }
.planner-check { display: inline-flex; width: 14px; height: 14px; justify-content: center; align-items: center; border: 1px solid #7b9d85; border-radius: 3px; margin-right: .45rem; }
.art-sticker { position: absolute; right: 13%; top: 30px; transform: rotate(10deg); background: #efbcc2; color: #783d46; width: 79px; height: 79px; padding: .65rem; font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; line-height: 1.1; box-shadow: 0 3px 7px #783d4620; }
.art-sticker span { position: absolute; right: 7px; bottom: 6px; }
.feature-guide-copy { padding: 1.7rem 2rem; }
.guide-category { font-size: .6rem; font-weight: 700; letter-spacing: .11em; color: #567560; margin-bottom: .8rem; }
.guide-category span { padding: 0 .45rem; color: #819785; }
.feature-guide h3 { font-size: 1.85rem; line-height: 1.23; }
.feature-guide-copy > p:not(.guide-category), .compact-guide-copy > p:not(.guide-category) { color: var(--ssc-muted); font-size: .86rem; line-height: 1.7; margin: .8rem 0 1rem; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; color: var(--ssc-green); font-size: .76rem; font-weight: 650; }
.guide-cta .icon { width: 19px; height: 19px; }
.compact-guide { display: flex; overflow: hidden; min-height: 230px; }
.compact-art { width: 34%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.notes-art { background: #f5dfe2; }
.compact-guide-copy { padding: 1.65rem 1.5rem; flex: 1; }
.compact-guide h3 { font-size: 1.45rem; line-height: 1.25; }
.compact-guide-copy > p:not(.guide-category) { font-size: .79rem; }
.mini-note { width: 130px; background: #fff9f7; padding: 1.2rem .85rem; transform: rotate(-9deg); box-shadow: 5px 6px 0 #e9bbc1; }
.mini-note > span { font-family: Georgia, serif; font-size: 1rem; border-bottom: 7px solid #efbcc2; line-height: .5; display: inline-block; margin-bottom: 1rem; }
.mini-note i { display: block; height: 1px; background: #d9c5c7; margin-bottom: .8rem; }
.mini-note i:nth-of-type(2) { width: 70%; }
.mini-note b { font-size: .48rem; color: #934d57; font-weight: 400; }
.exam-art { background: #dfede2; }
.focus-circle { width: 142px; height: 142px; border: 1px solid #abc7b1; outline: 1px solid #c2d9c6; outline-offset: 10px; border-radius: 50%; color: #476c50; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: Georgia, serif; }
.focus-circle .icon { width: 22px; height: 22px; margin-bottom: 8px; }
.focus-circle span { font-size: .95rem; line-height: 1.4; }
.focus-circle strong { font-weight: 400; font-style: italic; }

/* Subject shelf and closing reminder */
.subject-section { padding-block: 2rem 3.5rem; }
.subject-section .section-title { font-size: 1.7rem; }
.subject-links a { text-decoration: none; border: 1px solid var(--ssc-line); border-radius: 2rem; padding: .7rem 1.1rem; color: #4c6454; font-size: .78rem; transition: background .2s; }
.subject-links a:hover { background: #f8e3e5; border-color: #d8a5ac; }
.subject-links span { margin-left: .6rem; color: #a4545c; }
.subject-links .all-subjects { background: #e1eee2; border-color: #c3d9c8; color: var(--ssc-green); font-weight: 600; }
.balance-section { padding: 2.7rem 3rem; margin-block: .75rem 4.5rem; border-radius: .85rem; background: #e1eee2; }
.balance-section .section-title { font-size: 2rem; }
.balance-description { font-size: .9rem; line-height: 1.8; color: #536e5b; max-width: 480px; }
.balance-art { width: 125px; }

/* Shared footer */
.site-footer { padding-top: 3.25rem; border-top: 1px solid var(--ssc-line); background: #f8eeed; }
.footer-brand { font-family: "Manrope", sans-serif; color: var(--ssc-green); font-size: 1rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.footer-brand .brand-dot { margin-left: -.5rem; }
.footer-description { color: var(--ssc-muted); font-size: .8rem; line-height: 1.8; }
.footer-heading { font-family: "DM Sans", sans-serif; font-size: .8rem; letter-spacing: 0; font-weight: 650; margin: .15rem 0 1rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { font-size: .76rem; color: var(--ssc-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ssc-green); text-decoration: underline; }
.footer-bottom { padding-block: 1.4rem; border-top: 1px solid var(--ssc-line); color: #687269; font-size: .68rem; }

@media (min-width: 1400px) {
  .container { max-width: 1200px; }
}
@media (max-width: 1199.98px) {
  .navbar-collapse { padding-top: 1rem; }
  .nav-link { width: 100%; text-align: left; }
  .topic-menu { width: 100%; max-height: 50vh; box-shadow: none; }
  .hero h1 { font-size: 3.6rem; }
  .hero .text-link { font-size: .78rem; }
  .hero-note { margin-top: 1.5rem; }
  .topic-link { padding: 1.2rem .8rem; gap: .65rem; }
  .topic-link strong { font-size: .8rem; }
  .topic-link small { font-size: .65rem; }
  .compact-guide-copy { padding: 1.4rem 1.1rem; }
  .compact-guide h3 { font-size: 1.2rem; }
  .focus-circle { width: 115px; height: 115px; }
  .balance-section { padding: 2rem; }
}
@media (max-width: 991.98px) {
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(3.25rem, 7.5vw, 4.5rem); }
  .hero-description { max-width: 500px; }
  .study-scene { max-width: 540px; margin-inline: auto; }
  .hero-note { margin-top: 1.75rem; }
  .topic-link { padding: 1.5rem 1rem; }
  .topic-link strong { font-size: .87rem; }
  .topic-link small { font-size: .72rem; }
  .feature-art { height: 260px; }
  .compact-guide { min-height: 250px; }
  .compact-guide-copy { padding: 1.7rem 2rem; }
  .compact-guide h3 { font-size: 1.65rem; }
  .focus-circle { width: 150px; height: 150px; }
  .mini-note { width: 150px; padding-block: 1.5rem; }
  .subject-section { padding-top: 1rem; }
}
@media (max-width: 575.98px) {
  .container { padding-inline: 1.25rem; }
  .navbar { padding-block: 1rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px 11px 11px 3px; }
  .brand-name { font-size: 16px; }
  .topic-menu.show { grid-template-columns: 1fr; }
  .hero { padding-block: 2.5rem 2rem; }
  .hero h1 { font-size: clamp(2.9rem, 11.8vw, 4rem); }
  .hero-description { font-size: .97rem; }
  .eyebrow { font-size: .58rem; letter-spacing: .12em; }
  .hero-note { font-size: .68rem; }
  .study-scene { padding-top: 2.4rem; padding-bottom: 3rem; }
  .scene-label { font-size: .5rem; }
  .scene-caption { left: 6%; right: 6%; bottom: 1rem; font-size: .73rem; gap: .6rem; }
  .scene-caption small { font-size: .63rem; }
  .explore-section { padding-bottom: 2rem; }
  .topic-link { padding: 1.2rem; }
  .topic-link small { font-size: .75rem; }
  .guides-section { padding-bottom: 2.5rem; }
  .feature-guide-copy { padding: 1.5rem; }
  .feature-guide h3 { font-size: 1.65rem; }
  .compact-guide { min-height: 0; }
  .compact-art { width: 29%; }
  .compact-guide-copy { padding: 1.3rem 1rem; }
  .compact-guide h3 { font-size: 1.25rem; }
  .compact-guide-copy > p:not(.guide-category) { font-size: .76rem; }
  .compact-guide .guide-category { font-size: .52rem; }
  .compact-guide .guide-cta { font-size: .68rem; }
  .mini-note { min-width: 92px; padding: 1rem .55rem; }
  .mini-note > span { font-size: .7rem; }
  .mini-note b { font-size: .35rem; }
  .focus-circle { width: 85px; height: 85px; }
  .focus-circle span { font-size: .63rem; }
  .focus-circle .icon { width: 16px; height: 16px; margin-bottom: 4px; }
  .subject-section { padding-bottom: 2rem; }
  .subject-links a { padding: .6rem .85rem; font-size: .74rem; }
  .balance-section { padding: 2rem 1.5rem; margin-bottom: 3rem; }
  .balance-section .section-title { font-size: 1.8rem; }
  .site-footer { padding-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
