:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --white: #fff;
  --ink: #20291f;
  --muted: #747b70;
  --green: #347640;
  --green-dark: #285e34;
  --green-light: #e7f1e4;
  --warm: #f4e8c9;
  --line: #e7e9e2;
  --shadow: 0 8px 26px rgba(42, 65, 42, 0.07);
  --serif: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: #dcebd7;
  color: var(--green-dark);
}
:focus-visible {
  outline: 3px solid #dfa65e;
  outline-offset: 3px;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.section-wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.section-space {
  padding-block: 74px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(42, 65, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1320px, calc(100% - 64px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--green);
}
.brand-mark .icon {
  width: 37px;
  height: 37px;
  stroke-width: 1.9;
}
.brand-copy {
  display: grid;
  line-height: 1.25;
}
.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.03em;
}
.brand-copy small {
  margin-top: 3px;
  color: #788173;
  font-size: 10px;
  letter-spacing: 0.09em;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 33px);
}
.nav-link {
  position: relative;
  padding-block: 8px;
  color: #444b42;
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--green);
}
.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}
.nav-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #438f44, #286b35);
  box-shadow: 0 5px 12px rgba(52, 118, 64, 0.18);
  color: white;
  font-size: 11px;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 15px rgba(52, 118, 64, 0.25);
}
.nav-cta .icon {
  width: 16px;
  height: 16px;
}
.menu-toggle {
  display: none;
}

/* Generated campus photos are stored locally as separately cropped assets. */
.photo-tile {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #e4eadf;
}
.photo-a.photo-1 {
  background-image: url("../img/hero-study.webp");
}
.photo-a.photo-2 {
  background-image: url("../img/cafeteria.webp");
}
.photo-a.photo-3 {
  background-image: url("../img/library.webp");
}
.photo-a.photo-4 {
  background-image: url("../img/club-fair.webp");
}
.photo-a.photo-5 {
  background-image: url("../img/sports-track.webp");
}
.photo-a.photo-6 {
  background-image: url("../img/campus-walk.webp");
}
.photo-b.photo-1 {
  background-image: url("../img/study-notes.webp");
}
.photo-b.photo-2 {
  background-image: url("../img/exam-review.webp");
}
.photo-b.photo-3 {
  background-image: url("../img/weekly-planner.webp");
}
.photo-b.photo-4 {
  background-image: url("../img/laptop-study.webp");
}
.photo-b.photo-5 {
  background-image: url("../img/group-study.webp");
}
.photo-b.photo-6 {
  background-image: url("../img/campus-friends.webp");
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  width: min(1440px, 100%);
  min-height: 390px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  margin: 0 auto;
  padding-left: clamp(24px, calc((100vw - 1240px) / 2), 100px);
  background: linear-gradient(100deg, #fafaf3 0%, #f6f7ef 39%, #e5eddd 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 510px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 26px 48px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83a94f;
  box-shadow: 0 0 0 4px rgba(131, 169, 79, 0.14);
}
.hero h1 {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.32;
}
.hero h1 em {
  position: relative;
  color: var(--green-dark);
  font-style: normal;
  white-space: nowrap;
}
.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 3px;
  height: 3px;
  border-radius: 50%;
  background: #90ad62;
  content: "";
  transform: rotate(-2deg);
}
.hero-description {
  max-width: 410px;
  margin: 0 0 21px;
  color: #586257;
  font-size: 15px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 22px;
  font-size: 12px;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button-primary {
  background: linear-gradient(135deg, #438f44, #286b35);
  box-shadow: 0 5px 14px rgba(52, 118, 64, 0.18);
  color: #fff;
}
.button-primary:hover {
  background: var(--green-dark);
}
.button-outline {
  border-color: #8ca281;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green-dark);
}
.button-outline:hover {
  background: #fff;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: #788174;
  font-size: 10px;
  line-height: 1.55;
}
.hero-footnote-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #e7eddf;
  color: var(--green);
}
.hero-footnote-mark .icon {
  width: 16px;
  height: 16px;
}
.hero-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-floating {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(34, 54, 34, 0.12);
  backdrop-filter: blur(8px);
}
.hero-progress-card { top: 24%; left: 10%; }
.hero-focus-card { top: 31%; right: 9%; }
.hero-floating > span:last-child { display: grid; gap: 3px; white-space: nowrap; }
.hero-floating small { color: #778073; font-size: 10px; }
.hero-floating strong { color: #263426; font-size: 12px; }
.progress-ring {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#45894b 78%, #dce7d8 0);
}
.progress-ring::before {
  position: absolute;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.progress-ring strong { position: relative; z-index: 1; color: var(--green-dark); font-size: 11px; }
.focus-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #edf4e9;
  color: var(--green);
}
.focus-icon .icon { width: 18px; height: 18px; }
.focus-open {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
}
.focus-open:hover { text-decoration: underline; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 244, 230, 0.08), transparent 28%),
    linear-gradient(0deg, rgba(25, 45, 27, 0.22), transparent 25%);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  right: 26px;
  bottom: 17px;
  left: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* Quick entry */
.quick-links {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  padding: 12px 8px;
  border: 1px solid rgba(40, 72, 41, 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.quick-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 13px;
  padding: 7px 20px;
  border-right: 1px solid #eceee8;
  transition: background 0.2s;
}
.quick-link:last-child {
  border-right: 0;
}
.quick-link:hover {
  border-radius: 9px;
  background: #f7faf5;
}
.quick-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
}
.quick-icon .icon {
  width: 31px;
  height: 31px;
  stroke-width: 2;
}
.quick-green {
  color: #328449;
}
.quick-yellow {
  color: #448f4f;
}
.quick-coral {
  color: #e45e50;
}
.quick-blue {
  color: #328ccd;
}
.quick-link > span:nth-child(2) {
  display: grid;
  min-width: 0;
  line-height: 1.4;
}
.quick-link strong {
  font-size: 15px;
}
.quick-link small {
  margin-top: 3px;
  color: #858b80;
  font-size: 12px;
  white-space: nowrap;
}
.quick-arrow {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #9ba397;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.quick-link:hover .quick-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* Shared section titles */
.section-heading {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.section-heading > div:first-child {
  flex: 0 0 auto;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.eyebrow-line {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: #a7b59d;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.heading-bar {
  width: 6px;
  height: 24px;
  border-radius: 5px;
  background: var(--green);
}
.section-intro {
  flex: 1;
  margin: 0 0 2px;
  color: #788075;
  font-size: 12px;
}
/* Study cards and plan */
.study-section {
  padding-top: 52px;
  padding-bottom: 56px;
}
.study-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -8px 0 14px;
}
.study-filters > span {
  margin-right: 3px;
  color: #828a7f;
  font-size: 10px;
}
.study-filter {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #687165;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}
.study-filter:hover {
  border-color: #c3d4bb;
  color: var(--green);
}
.study-filter.is-selected {
  border-color: #dce9d6;
  background: #e8f2e4;
  color: var(--green-dark);
}
.study-filter b {
  color: #72916b;
  font-size: 9px;
}
.study-card[hidden] {
  display: none;
}
.study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}
.study-card-grid {
  display: grid;
  gap: 12px;
  align-content: start;
}
.study-card {
  display: grid;
  min-height: 116px;
  grid-template-columns: 155px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e9ece5;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(36, 57, 37, 0.035);
}
.study-image {
  position: relative;
  min-height: 116px;
  overflow: hidden;
}
.study-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 45, 29, 0.14), transparent 42%);
  content: "";
}
.image-corner {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 10px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--green-dark);
  font-size: 9px;
}
.study-card-content {
  min-width: 0;
  padding: 10px 14px 9px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8a9087;
  font-size: 10px;
}
.tag {
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 10px;
}
.tag-green {
  background: #e5f1e2;
  color: #398145;
}
.tag-orange {
  background: #fbefe2;
  color: #ad7141;
}
.tag-blue {
  background: #e8f0f8;
  color: #4778a8;
}
.study-card h3 {
  overflow: hidden;
  margin: 6px 0 3px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.study-card-content > p {
  overflow: hidden;
  margin: 0;
  color: #737a70;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 7px;
  color: #8a9087;
  font-size: 10px;
}
.card-foot span { display: inline-flex; align-items: center; gap: 4px; }
.card-foot .icon { width: 13px; height: 13px; }
.study-card-content { display: flex; flex-direction: column; }
.article-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-end;
  margin-top: auto;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}
.article-open .icon { width: 13px; height: 13px; transition: transform 0.2s; }
.article-open:hover .icon { transform: translateX(3px); }
.daily-plan-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 18px 14px;
  border: 1px solid #e7ede3;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff 0%, #f8fbf6 72%, #edf5e8 100%);
  box-shadow: 0 5px 18px rgba(42, 65, 42, 0.07);
}
.plan-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-card-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.plan-card-heading > div > .icon {
  color: var(--green);
}
.plan-card-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
}
.plan-card-heading time {
  color: #697266;
  font-size: 12px;
}
.plan-progress-box {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f1f5ee;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #4d564b;
  font-size: 12px;
}
.progress-label strong {
  color: var(--green-dark);
}
.progress-track,
.summary-track {
  height: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: #dce1d8;
}
.progress-track span,
.summary-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #68a449, #2d7138);
  transition: width 0.25s ease;
}
.task-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}
.task-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(222, 228, 218, 0.8);
}
.task-toggle {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid #aab4a6;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  cursor: pointer;
}
.task-toggle .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.task-row.is-done .task-toggle {
  border-color: var(--green);
  background: var(--green);
}
.task-row.is-done .task-toggle .icon {
  opacity: 1;
}
.task-name {
  overflow: hidden;
  color: #4a5348;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-row.is-done .task-name {
  color: #8c9388;
  text-decoration: line-through;
}
.task-delete {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a2a89e;
  cursor: pointer;
  opacity: 0.6;
}
.task-delete:hover {
  background: #f9eae6;
  color: #b34d42;
  opacity: 1;
}
.task-delete .icon {
  width: 14px;
  height: 14px;
}
.task-empty,
.task-more {
  padding: 11px 0;
  color: #858d80;
  font-size: 12px;
}
.task-more {
  border-top: 1px solid #edf0e9;
}
.add-task-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  margin-top: auto;
  padding-top: 13px;
}
.add-task-form input {
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #e2e8de;
  border-radius: 7px;
  outline: none;
  background: #fff;
  font-size: 13px;
}
.add-task-form input:focus {
  border-color: #82a779;
  box-shadow: 0 0 0 3px rgba(79, 139, 73, 0.1);
}
.add-task-button {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.add-task-button:hover {
  background: var(--green-dark);
}
.add-task-button .icon {
  width: 15px;
  height: 15px;
}
.plan-feedback {
  position: absolute;
  right: 18px;
  bottom: 51px;
  z-index: 2;
  margin: 0;
  color: #a24d3d;
  font-size: 9px;
}
.plan-illustration {
  position: absolute;
  right: 19px;
  bottom: 68px;
  display: grid;
  width: 82px;
  height: 75px;
  place-items: center;
  border: 1px solid rgba(102, 150, 92, 0.16);
  border-radius: 9px;
  color: rgba(69, 132, 67, 0.38);
  transform: rotate(5deg);
  pointer-events: none;
}
.plan-illustration .icon {
  width: 44px;
  height: 44px;
}
.plan-illustration span {
  position: absolute;
  bottom: 6px;
  color: rgba(56, 110, 53, 0.58);
  font-size: 6px;
}

/* Campus life cards */
.campus-section {
  padding-top: 22px;
  padding-bottom: 28px;
}
.campus-section .section-heading {
  margin-bottom: 16px;
}
.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.campus-card {
  overflow: hidden;
  border: 1px solid #e3e8df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(37, 58, 37, 0.04);
}
.campus-photo {
  aspect-ratio: 1.72;
}
.campus-card-copy {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
}
.campus-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green);
}
.campus-icon .icon {
  width: 25px;
  height: 25px;
}
.campus-card-copy > span:nth-child(2) {
  display: grid;
  min-width: 0;
  line-height: 1.4;
}
.campus-card-copy strong {
  font-size: 13px;
}
.campus-card-copy small {
  overflow: hidden;
  margin-top: 3px;
  color: #7e857a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Full width lifestyle banner */
.life-banner {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  background: #375d38;
  color: #fff;
}
.life-banner-photo {
  position: absolute;
  inset: 0;
}
.life-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(23, 48, 29, 0.83) 0%,
    rgba(30, 57, 34, 0.68) 34%,
    rgba(38, 66, 36, 0.06) 78%
  );
}
.life-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 36px;
}
.eyebrow-light {
  color: #e0e8d6;
}
.eyebrow-light .icon {
  width: 17px;
  height: 17px;
}
.life-banner h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 43px);
  line-height: 1.4;
}
.life-banner-content > p:not(.eyebrow) {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 10px;
  line-height: 1.8;
}
.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #eef4e8;
  font-size: 10px;
}
.banner-link .icon {
  width: 15px;
  height: 15px;
}
.banner-link:hover {
  color: #f4d391;
}

/* Resource cards and weekly schedule */
.resources-section {
  padding-top: 60px;
  padding-bottom: 57px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.resource-card {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 67, 38, 0.09);
}
.resource-green {
  border-color: #e2ebdc;
  background: #f0f6eb;
}
.resource-blue {
  border-color: #e0e9f0;
  background: #edf4f9;
}
.resource-yellow {
  border-color: #eee7d7;
  background: #faf6eb;
}
.resource-lilac {
  border-color: #e9e3ed;
  background: #f5f1f8;
}
.resource-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green);
}
.resource-icon .icon {
  width: 28px;
  height: 28px;
}
.resource-blue .resource-icon {
  color: #3979bd;
}
.resource-yellow .resource-icon {
  color: #b77328;
}
.resource-lilac .resource-icon {
  color: #8667ac;
}
.resource-copy {
  display: grid;
  min-width: 0;
  line-height: 1.45;
}
.resource-copy strong {
  font-size: 13px;
}
.resource-copy small {
  overflow: hidden;
  margin-top: 4px;
  color: #727a70;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #799172;
}
.week-section {
  padding-top: 15px;
  padding-bottom: 58px;
}
.week-section .section-heading {
  margin-bottom: 17px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.week-day {
  appearance: none;
  position: relative;
  display: grid;
  min-height: 122px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 11px 7px;
  border: 1px solid #e5e9e1;
  border-radius: 10px;
  background: linear-gradient(160deg, #fff, #f7f8f3);
  text-align: center;
  width: 100%;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.week-day:hover {
  transform: translateY(-2px);
  border-color: #b7cdaa;
}
.week-day:focus-visible,
.resource-card:focus-visible,
.article-open:focus-visible,
.focus-open:focus-visible {
  outline: 3px solid rgba(60, 132, 61, 0.32);
  outline-offset: 3px;
}
button.section-more {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.week-edit-label {
  position: absolute;
  right: 7px;
  bottom: 6px;
  color: #82907c;
  font-size: 9px;
  opacity: 0;
  transition: opacity 0.18s;
}
.week-day:hover .week-edit-label,
.week-day:focus-visible .week-edit-label { opacity: 1; }
.week-day.is-today {
  border-color: #70a267;
  background: #eaf4e6;
  box-shadow: inset 0 0 0 1px rgba(82, 140, 71, 0.12);
}
.day-name {
  position: absolute;
  top: 8px;
  color: #636c60;
  font-size: 11px;
  font-weight: 600;
}
.is-today .day-name {
  color: var(--green-dark);
}
.day-today-badge {
  position: absolute;
  top: 7px;
  right: 6px;
  padding: 1px 5px;
  border-radius: 9px;
  background: #d6e9d0;
  color: var(--green-dark);
  font-size: 9px;
}
.day-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  margin-top: 11px;
  border-radius: 50%;
  background: #eef3e8;
  color: var(--green);
}
.day-icon .icon {
  width: 20px;
  height: 20px;
}
.week-day strong {
  font-size: 12px;
}
.week-day small {
  color: #7a8376;
  font-size: 10px;
}

/* Campus gallery */
.moments-section {
  padding-top: 8px;
  padding-bottom: 40px;
}
.moments-section .section-heading {
  margin-bottom: 17px;
}
.moments-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  grid-template-rows: 132px 132px;
  gap: 11px;
}
.moment-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 9px;
  background: #e5eadf;
}
.moment-large {
  grid-row: span 2;
}
.moment-photo {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.moment-card:hover .moment-photo {
  transform: scale(1.045);
}
.moment-card::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(0deg, rgba(22, 39, 23, 0.65), transparent);
  content: "";
  pointer-events: none;
}
.moment-card figcaption {
  position: absolute;
  right: 11px;
  bottom: 9px;
  left: 11px;
  z-index: 1;
  color: white;
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.moment-card figcaption span {
  margin-right: 7px;
  color: #d9e8cf;
  font-size: 10px;
}

/* Checklist and journal */
.bottom-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding-top: 24px;
  padding-bottom: 68px;
}
.checklist-panel,
.journal-panel {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e4e8df;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(42, 65, 42, 0.045);
}
.bottom-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bottom-panel-heading .icon {
  color: var(--green);
}
.bottom-panel-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
}
.bottom-panel-heading > p {
  margin: 4px 0 11px 29px;
  color: #7b8378;
  font-size: 11px;
}
.checklist-summary {
  display: grid;
  grid-template-columns: auto auto minmax(50px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 8px 0 6px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #f4f7f0;
  color: #5b6559;
  font-size: 10px;
}
.checklist-summary strong {
  color: var(--green-dark);
}
.summary-track {
  height: 5px;
}
.checklist-summary > span:last-child {
  color: #626b5e;
}
.mini-task-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-task-list .task-row {
  min-height: 27px;
}
.mini-task-list .task-toggle {
  width: 15px;
  height: 15px;
  border-radius: 4px;
}
.mini-task-list .task-name {
  font-size: 11px;
}
.mini-task-list .task-delete {
  display: none;
}
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--green);
  font-size: 11px;
}
.panel-link .icon {
  width: 13px;
  height: 13px;
}
.journal-panel {
  background: linear-gradient(130deg, #fff 0%, #fffdf7 100%);
}
.journal-prompt {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 8px;
  color: #555f52;
  font-size: 11px;
}
.journal-prompt .icon {
  width: 15px;
  height: 15px;
  color: #ba8952;
}
.journal-panel textarea {
  display: block;
  width: 100%;
  min-height: 91px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #ebe7db;
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}
.journal-panel textarea:focus {
  border-color: #9daf8e;
  box-shadow: 0 0 0 3px rgba(79, 139, 73, 0.09);
}
.journal-panel textarea::placeholder {
  color: #a2a69b;
}
.journal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #92978b;
  font-size: 10px;
}
.journal-footer > span:nth-child(2) {
  margin-left: auto;
}
.journal-footer button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: #edf4e9;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 10px;
}
.journal-footer button:hover {
  background: #dfeeda;
}
.journal-footer button .icon {
  width: 12px;
  height: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e7e9e2;
  background: #f0f2eb;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.8fr;
  gap: 30px;
  padding-block: 34px 25px;
}
.footer-about > p {
  margin: 11px 0 0;
  color: #71796f;
  font-size: 11px;
  line-height: 1.8;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 6px;
}
.footer-column h3 {
  margin: 4px 0 3px;
  font-size: 11px;
}
.footer-column a {
  color: #747d71;
  font-size: 11px;
}
.footer-column a:hover {
  color: var(--green);
}
.footer-column span {
  color: #747d71;
  font-size: 11px;
}
.footer-social {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-social h3 {
  margin: 4px 0 3px;
  font-size: 11px;
}
.social-links { display: flex; gap: 8px; }
.social-links span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #cad8c3;
  border-radius: 50%;
  color: var(--green);
}
.social-links .icon { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid #dfe4db;
  color: #8b9287;
  font-size: 10px;
}

/* Interactive dialogs */
.site-dialog {
  width: min(620px, calc(100vw - 32px));
  max-width: none;
  max-height: min(82vh, 760px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.site-dialog::backdrop { background: rgba(24, 38, 25, 0.48); backdrop-filter: blur(3px); }
.dialog-panel {
  position: relative;
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 30px;
  border: 1px solid #e6ebdf;
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 22px 70px rgba(20, 35, 20, 0.24);
}
.dialog-panel h2 {
  margin: 0 36px 8px 0;
  color: #263426;
  font-family: var(--serif);
  font-size: 27px;
}
.dialog-panel .eyebrow { margin-bottom: 9px; }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e5e9e1;
  border-radius: 50%;
  background: #fff;
  color: #63705f;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.dialog-close:hover { background: #f0f6eb; color: var(--green-dark); }
.dialog-lead { margin: 0 0 18px; color: #788075; font-size: 13px; line-height: 1.7; }
.week-editor { display: grid; gap: 9px; }
.week-editor label { margin-top: 5px; color: #495546; font-size: 13px; font-weight: 700; }
.week-editor input,
.week-editor select {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dfe6da;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.week-editor input:focus,
.week-editor select:focus { border-color: #80a376; box-shadow: 0 0 0 3px rgba(79, 139, 73, 0.1); }
.form-feedback { min-height: 18px; margin: 0; color: #a34c3d; font-size: 12px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.detail-content { color: #566052; font-size: 14px; line-height: 1.85; }
.detail-content section { margin-top: 17px; }
.detail-content h3 { margin: 0 0 5px; color: #314632; font-size: 16px; }
.detail-content p { margin: 0; }
.detail-actions .button { text-decoration: none; }
.focus-dialog { width: min(470px, calc(100vw - 32px)); }
.focus-panel { text-align: center; }
.focus-panel .eyebrow { justify-content: center; }
.focus-panel h2 { margin-right: 0; }
.focus-clock {
  display: block;
  margin: 12px 0 4px;
  color: var(--green-dark);
  font-size: clamp(56px, 12vw, 76px);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: normal;
}
.focus-status { min-height: 22px; margin: 0; color: #788075; font-size: 13px; }
.focus-actions { justify-content: center; }
.focus-actions button:disabled { cursor: not-allowed; opacity: 0.55; }

/* Keep desktop supporting text readable at the full page width. */
@media (min-width: 1100px) {
  .brand-copy small,
  .nav-cta,
  .hero-footnote,
  .hero-caption,
  .study-filters > span,
  .study-filter,
  .card-meta,
  .card-foot,
  .tag,
  .plan-card-heading time,
  .progress-label,
  .task-name,
  .task-empty,
  .task-more,
  .add-task-form input,
  .add-task-button,
  .campus-card-copy small,
  .life-banner-content > p:not(.eyebrow),
  .banner-link,
  .resource-copy small,
  .day-name,
  .day-today-badge,
  .week-day small,
  .moment-card figcaption span,
  .checklist-summary,
  .mini-task-list .task-name,
  .panel-link,
  .journal-prompt,
  .journal-panel textarea,
  .journal-footer,
  .journal-footer button,
  .footer-about > p,
  .footer-column a,
  .footer-column span,
  .footer-column h3,
  .footer-social h3,
  .footer-bottom {
    font-size: 13px;
  }

  .nav-link,
  .hero-description,
  .section-intro,
  .quick-link small,
  .study-card-content > p,
  .campus-card-copy strong,
  .resource-copy strong,
  .week-day strong,
  .moment-card figcaption,
  .bottom-panel-heading > p,
  .bottom-panel-heading h2 {
    font-size: 15px;
  }

  .eyebrow,
  .section-heading .eyebrow {
    font-size: 12px;
  }

  .button {
    font-size: 14px;
  }

  .quick-link strong,
  .plan-card-heading h3 {
    font-size: 17px;
  }

  .study-card h3 {
    font-size: 20px;
  }

  .daily-plan-card {
    min-height: 410px;
    padding: 21px 21px 17px;
    border-color: #dce8d7;
    box-shadow: 0 9px 28px rgba(42, 65, 42, 0.09);
  }

  .plan-card-heading h3 {
    font-size: 21px;
  }

  .plan-card-heading time {
    font-size: 13px;
  }

  .plan-progress-box {
    margin-top: 15px;
    padding: 11px 13px;
  }

  .progress-label {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .progress-track {
    height: 8px;
  }

  .daily-plan-card .task-list {
    gap: 4px;
    margin-top: 11px;
  }

  .daily-plan-card .task-row {
    min-height: 42px;
    gap: 11px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-bottom-color: #e8ede4;
    border-radius: 8px;
    transition:
      background 0.18s,
      border-color 0.18s;
  }

  .daily-plan-card .task-row:hover {
    border-color: #e0ebda;
    background: #f3f8f0;
  }

  .daily-plan-card .task-toggle {
    width: 21px;
    height: 21px;
    border-radius: 6px;
  }

  .daily-plan-card .task-toggle .icon {
    width: 14px;
    height: 14px;
  }

  .daily-plan-card .task-name {
    font-size: 15px;
  }

  .daily-plan-card .task-delete {
    width: 30px;
    height: 30px;
  }

  .daily-plan-card .task-delete .icon {
    width: 16px;
    height: 16px;
  }

  .daily-plan-card .add-task-form {
    gap: 9px;
    padding-top: 15px;
  }

  .daily-plan-card .add-task-form input,
  .daily-plan-card .add-task-button {
    height: 44px;
    font-size: 14px;
  }

  .daily-plan-card .add-task-form input {
    padding-inline: 13px;
  }

  .daily-plan-card .add-task-button {
    padding-inline: 16px;
    border-radius: 9px;
    box-shadow: 0 5px 12px rgba(52, 118, 64, 0.16);
  }

  .daily-plan-card .plan-illustration {
    right: 24px;
    bottom: 79px;
    width: 96px;
    height: 89px;
  }
}

@media (max-width: 1060px) {
  .header-inner {
    width: calc(100% - 40px);
  }
  .main-nav {
    gap: 14px;
  }
  .nav-link {
    font-size: 12px;
  }
  .nav-cta {
    padding-inline: 12px;
  }
  .section-wrap {
    width: calc(100% - 48px);
  }
  .hero {
    grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.2fr);
    padding-left: 24px;
  }
  .hero h1 {
    font-size: clamp(36px, 4.6vw, 48px);
  }
  .quick-link {
    gap: 8px;
    padding-inline: 13px;
  }
  .study-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(285px, 0.9fr);
    gap: 16px;
  }
  .study-card {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .card-foot {
    gap: 7px;
  }
  .resource-card {
    padding-inline: 10px;
  }
  .resource-icon {
    width: 31px;
  }
  .resource-copy small {
    font-size: 10px;
  }
  .moments-grid {
    grid-template-rows: 118px 118px;
  }
}
@media (max-width: 780px) {
  html {
    scroll-padding-top: 72px;
  }
  .section-wrap {
    width: calc(100% - 36px);
  }
  .section-space {
    padding-block: 54px;
  }
  .header-inner {
    width: calc(100% - 36px);
    min-height: 66px;
  }
  .brand-mark,
  .brand-mark .icon {
    width: 33px;
    height: 33px;
  }
  .brand-copy strong {
    font-size: 15px;
  }
  .brand-copy small {
    font-size: 9px;
  }
  .menu-toggle {
    display: flex;
    width: 39px;
    height: 39px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dfe5da;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: var(--green-dark);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 17px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 13px 18px rgba(36, 57, 37, 0.08);
  }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }
  .nav-link {
    padding: 10px 3px;
    border-bottom: 1px solid #edf0e9;
    font-size: 12px;
  }
  .nav-link.is-active::after {
    display: none;
  }
  .nav-cta {
    justify-content: center;
    margin-top: 12px;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0;
  }
  .hero-copy {
    max-width: none;
    padding: 36px 22px 25px;
  }
  .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 8vw, 45px);
  }
  .hero-description {
    max-width: 540px;
    margin-bottom: 15px;
    font-size: 13px;
  }
  .hero-footnote {
    margin-top: 13px;
  }
  .hero-visual {
    min-height: 260px;
  }
  .hero-floating {
    transform: scale(0.92);
  }
  .hero-progress-card {
    left: 5%;
  }
  .hero-focus-card {
    right: 5%;
  }
  .hero-caption {
    right: 14px;
    bottom: 12px;
    left: 14px;
    font-size: 9px;
  }
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 13px;
    padding: 7px;
  }
  .quick-link {
    min-height: 58px;
    padding: 7px 10px;
  }
  .quick-link:nth-child(2) {
    border-right: 0;
  }
  .quick-link:nth-child(-n + 2) {
    border-bottom: 1px solid #eceee8;
  }
  .quick-icon {
    width: 32px;
    height: 32px;
  }
  .quick-icon .icon {
    width: 26px;
    height: 26px;
  }
  .quick-link strong {
    font-size: 13px;
  }
  .quick-link small {
    font-size: 10px;
  }
  .section-heading {
    flex-wrap: wrap;
    align-items: end;
    gap: 8px 12px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-intro {
    flex-basis: 100%;
    order: 3;
  }
  .study-section {
    padding-top: 46px;
    padding-bottom: 42px;
  }
  .study-filters {
    overflow-x: auto;
    margin: -5px 0 13px;
    padding-right: 0;
    scrollbar-width: none;
  }
  .study-filters::-webkit-scrollbar {
    display: none;
  }
  .study-filters > span {
    display: none;
  }
  .study-filter {
    flex: 0 0 auto;
  }
  .study-layout {
    grid-template-columns: 1fr;
  }
  .study-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .daily-plan-card {
    min-height: 350px;
  }
  .campus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .campus-photo {
    aspect-ratio: 1.65;
  }
  .campus-card-copy {
    min-height: 54px;
    gap: 6px;
    padding: 7px;
  }
  .campus-icon {
    width: 25px;
  }
  .campus-card-copy strong {
    font-size: 12px;
  }
  .campus-card-copy small {
    font-size: 9px;
  }
  .life-banner,
  .life-banner-content {
    min-height: 260px;
  }
  .life-banner-content {
    padding-block: 27px;
  }
  .life-banner h2 {
    font-size: 32px;
  }
  .resources-section {
    padding-top: 47px;
    padding-bottom: 42px;
  }
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource-card {
    min-height: 76px;
    padding-inline: 12px;
  }
  .resource-copy small {
    white-space: normal;
  }
  .week-section {
    padding-top: 10px;
    padding-bottom: 43px;
  }
  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .week-day {
    min-height: 107px;
  }
  .moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 190px 130px 130px;
  }
  .moment-large {
    grid-row: auto;
    grid-column: span 2;
  }
  .bottom-tools {
    grid-template-columns: 1fr;
    padding-top: 19px;
    padding-bottom: 48px;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .section-wrap {
    width: calc(100% - 28px);
  }
  .header-inner {
    width: calc(100% - 28px);
  }
  .hero-copy {
    padding-inline: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(32px, 8.7vw, 39px);
  }
  .hero-description {
    font-size: 12px;
  }
  .button {
    min-height: 39px;
    padding-inline: 12px;
    font-size: 11px;
  }
  .hero-visual {
    min-height: 215px;
  }
  .hero-floating {
    transform: scale(0.82);
  }
  .hero-progress-card {
    top: 12%;
    left: 2%;
    transform-origin: top left;
  }
  .hero-focus-card {
    top: 52%;
    right: 2%;
    transform-origin: top right;
  }
  .week-edit-label {
    opacity: 1;
  }
  .hero-caption span:last-child {
    max-width: 52%;
    text-align: right;
  }
  .quick-link {
    gap: 5px;
    padding-inline: 6px;
  }
  .quick-link small {
    font-size: 10px;
  }
  .quick-arrow {
    display: none;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .heading-bar {
    width: 5px;
    height: 20px;
  }
  .study-card {
    grid-template-columns: 105px minmax(0, 1fr);
    min-height: 111px;
  }
  .study-image {
    min-height: 111px;
  }
  .study-card-content {
    padding: 8px 9px;
  }
  .card-meta {
    gap: 5px;
    font-size: 9px;
  }
  .tag {
    padding-inline: 6px;
    font-size: 9px;
  }
  .study-card h3 {
    margin-block: 5px 2px;
    font-size: 14px;
  }
  .study-card-content > p {
    font-size: 10px;
  }
  .card-foot {
    gap: 6px;
    font-size: 9px;
  }
  .card-foot .icon {
    width: 11px;
    height: 11px;
  }
  .daily-plan-card {
    padding-inline: 13px;
  }
  .plan-card-heading h3 {
    font-size: 16px;
  }
  .task-name {
    font-size: 12px;
  }
  .plan-illustration {
    right: 14px;
    width: 62px;
    height: 59px;
    opacity: 0.75;
  }
  .add-task-form {
    gap: 5px;
  }
  .add-task-button {
    padding-inline: 9px;
  }
  .campus-card-copy {
    min-height: 52px;
  }
  .life-banner,
  .life-banner-content {
    min-height: 235px;
  }
  .life-banner-overlay {
    background: linear-gradient(
      90deg,
      rgba(23, 48, 29, 0.86),
      rgba(23, 48, 29, 0.58) 62%,
      rgba(23, 48, 29, 0.12)
    );
  }
  .life-banner h2 {
    font-size: 29px;
  }
  .life-banner-content > p:not(.eyebrow) {
    font-size: 12px;
  }
  .resource-card {
    gap: 7px;
    min-height: 70px;
    padding: 9px 8px;
  }
  .resource-icon {
    width: 27px;
  }
  .resource-icon .icon {
    width: 23px;
    height: 23px;
  }
  .resource-copy strong {
    font-size: 12px;
  }
  .resource-copy small {
    font-size: 10px;
  }
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .week-day {
    min-height: 95px;
  }
  .week-day:last-child {
    grid-column: span 2;
  }
  .moments-grid {
    grid-template-rows: 155px 110px 110px;
    gap: 8px;
  }
  .moment-card figcaption {
    right: 7px;
    bottom: 6px;
    left: 7px;
    font-size: 10px;
  }
  .moment-card figcaption span {
    margin-right: 4px;
  }
  .checklist-panel,
  .journal-panel {
    padding: 13px 12px;
  }
  .bottom-panel-heading h2 {
    font-size: 15px;
  }
  .bottom-panel-heading > p {
    font-size: 10px;
  }
  .journal-footer {
    flex-wrap: wrap;
    gap: 6px;
  }
  .journal-footer > span:first-child {
    flex: 1 0 100%;
  }
  .footer-main {
    grid-template-columns: 1fr auto;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .footer-column {
    gap: 5px;
  }
  .footer-column h3 {
    font-size: 10px;
  }
  .footer-column a {
    font-size: 10px;
  }
  .footer-column span,
  .footer-social h3 {
    font-size: 10px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
