@font-face {
  font-family: Sora;
  src: url("./sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("./work-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fbfaf6;
  --surface: #fff;
  --surface-2: #f1f2f6;
  --ink: #172447;
  --ink-soft: #606878;
  --line: #e1e4e9;
  --primary: #172447;
  --primary-ink: #fff;
  --accent: #b95c22;
  --accent-ink: #172447;
  --radius: 20px;
  color-scheme: light;
  font-family: "Work Sans", system-ui, sans-serif;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
.wordmark,
.footer-brand {
  font-family: Sora, system-ui, sans-serif;
  line-height: 1.25;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 570;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h3 {
  font-size: 1.16rem;
  font-weight: 570;
  letter-spacing: -0.025em;
}
h4 {
  font-size: 1rem;
}
p + p {
  margin-top: 12px;
}
a {
  color: var(--primary);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100% - 80px, 1240px);
  margin-inline: auto;
}
section {
  padding-block: 38px;
}
main {
  min-height: 65vh;
  outline: none;
}
main > section:last-child {
  padding-bottom: 70px;
}
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fbfaf6f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.55rem;
  letter-spacing: -0.065em;
  font-weight: 650;
  flex-shrink: 0;
}
.wordmark small {
  display: block;
  font-family: "Work Sans", sans-serif;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 5px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
  font-weight: 500;
}
.desktop-nav a {
  text-decoration: none;
  color: #526159;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}
.desktop-nav .nav-saved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: white;
  padding: 10px 17px;
  border-radius: 100px;
}
.nav-saved .icon {
  width: 15px;
  height: 17px;
}
.nav-search {
  padding: 7px;
  line-height: 1;
}
.nav-search .icon {
  width: 19px;
  height: 19px;
}
.mobile-menu {
  display: none;
}
.eyebrow,
.kicker,
.kicker-sm {
  display: block;
  margin-bottom: 13px;
  color: #8d4b21;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 650;
}
.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 550;
  text-align: center;
  line-height: 1.45;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #273963;
}
.btn.is-disabled {
  opacity: 0.5;
}
.btn[aria-disabled="true"] {
  opacity: 0.7;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #ced3df;
}
.btn-ghost:hover {
  background: #edf2e9;
  border-color: #a6aec2;
}
.btn-light,
.btn-accent {
  background: #e7efda;
  color: #172447;
}
.btn-light:hover {
  background: #f7faef;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.home-hero {
  padding-block: 64px 54px;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: 52px;
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #566174;
  margin-bottom: 24px;
}
.hero-badge > span {
  font-size: 1.2rem;
}
.home-hero h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.15rem);
  line-height: 1.14;
  letter-spacing: -0.065em;
  font-weight: 560;
}
.home-hero h1 > span {
  color: #b95c22;
}
.home-hero .lede {
  max-width: 43ch;
  font-size: 1.08rem;
  margin-top: 24px;
}
.home-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  background: white;
  border: 1px solid #d5dae3;
  border-radius: 16px;
  padding: 7px 7px 7px 19px;
  margin-top: 30px;
  box-shadow: 0 6px 18px #1c303805;
}
.home-search > .icon {
  width: 20px;
  height: 20px;
  color: #65728a;
}
.home-search input {
  border: none;
  background: transparent;
  padding: 10px 0;
  min-height: 44px;
  outline-offset: 1px;
  font-size: 0.9rem;
}
.home-search .btn {
  border-radius: 11px;
  padding-inline: 18px;
}
.popular-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.73rem;
}
.popular-links > span {
  color: #657084;
}
.popular-links a {
  text-decoration: none;
  color: #30456b;
  border-bottom: 1px solid #bcc6d4;
}
.hero-note {
  color: #657084;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  font-size: 0.73rem;
}
.hero-note .icon {
  width: 16px;
  height: 16px;
}
.tone-mint {
  background: #e2eddc;
  color: #4f734b;
}
.tone-lavender {
  background: #ece6f5;
  color: #7a6298;
}
.tone-peach {
  background: #fae7d9;
  color: #a16f47;
}
.tone-butter {
  background: #f5eed4;
  color: #907935;
}
.tone-blue {
  background: #e2ebf5;
  color: #557a9a;
}
.tone-rose {
  background: #f4e5e6;
  color: #a76c75;
}
.home-resources {
  padding-top: 48px;
  background: #fff;
  border-top: 1px solid #e9ede4;
  padding-bottom: 66px;
  scroll-margin-top: 25px;
}
.section-head {
  max-width: 72ch;
  margin-bottom: 28px;
}
.section-head > p {
  margin-top: 12px;
  color: var(--ink-soft);
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: none;
  margin-bottom: 32px;
}
.section-head-row > p {
  font-size: 0.85rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.category-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #aebeaa;
  box-shadow: 0 10px 20px #233a2b08;
}
.category-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
}
.category-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}
.category-icon .icon {
  width: 23px;
  height: 23px;
}
.category-arrow {
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 1.05rem;
  color: #66765d;
}
.category-card h3 {
  font-size: 1.13rem;
}
.category-card > p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 9px;
}
.category-foot {
  border-top: 1px solid #edf0e9;
  padding-top: 17px;
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #5b6f52;
}
.category-foot .icon {
  width: 15px;
  height: 15px;
}
.home-support {
  padding-block: 58px;
}
.support-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 47px 52px;
  background: #18294b;
  color: #fcfbf7;
  border-radius: 28px;
}
.support-panel h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  max-width: 19ch;
  line-height: 1.3;
}
.support-panel .eyebrow {
  color: #e8c8a5;
  font-size: 0.59rem;
}
.support-panel > div > p:not(.eyebrow) {
  color: #c9d1df;
  margin-top: 17px;
  font-size: 0.87rem;
}
.support-panel .btn {
  margin-top: 26px;
  font-size: 0.8rem;
}
.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.support-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border: 1px solid #ffffff20;
  background: #ffffff05;
  border-radius: 12px;
  font-size: 0.78rem;
  text-decoration: none;
  color: #f3f5fa;
}
.support-links a:hover {
  background: #ffffff12;
  border-color: #ffffff40;
}
.support-links a .icon {
  width: 20px;
  height: 20px;
  color: #e8c8a5;
}
.support-links a > span:last-child {
  margin-left: auto;
  color: #c9d1df;
}
.submission-section {
  padding-top: 0;
}
.submission-drawer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.submission-drawer > summary {
  padding: 25px 29px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.submission-drawer > summary::-webkit-details-marker {
  display: none;
}
.submission-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}
.submission-heading strong,
.submission-heading small {
  display: block;
}
.submission-heading strong {
  font-size: 1rem;
  font-weight: 550;
}
.submission-heading small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  margin-top: 5px;
}
.submission-action {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.submission-action .icon {
  width: 17px;
  height: 17px;
}
.submission-drawer[open] > summary .submission-action .icon {
  transform: rotate(45deg);
}
.submission-content {
  border-top: 1px solid var(--line);
  padding: 35px;
}
.submission-content h2 {
  margin-bottom: 18px;
}
.submission-content p {
  color: var(--ink-soft);
}
.submission-content .fineprint {
  margin: 22px 0;
}
.submission-checks {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  gap: 15px;
  font-size: 0.88rem;
}
.submission-checks li {
  display: flex;
  gap: 9px;
  align-items: start;
}
.submission-checks .icon {
  color: #678565;
  width: 17px;
  height: 22px;
}
.page-hero {
  padding-block: 35px 40px;
  background: #f0f2f7;
  border-bottom: 1px solid #e0e4ec;
}
.page-hero h1 {
  max-width: 30ch;
}
.page-hero .lede {
  max-width: 65ch;
  font-size: 1rem;
}
.page-hero .eyebrow {
  margin-bottom: 12px;
}
.back-link {
  display: inline-block;
  font-size: 0.72rem;
  color: #5a6680;
  text-decoration: none;
  margin-bottom: 26px;
}
body[data-page="internships"] .page-hero {
  background: #efedf5;
  border-color: #e8e3f0;
}
body[data-page^="housing"] .page-hero {
  background: #f5eee6;
  border-color: #ede6dc;
}
body[data-page="discounts"] .page-hero {
  background: #f4f1e1;
}
body[data-page="mentorship"] .page-hero {
  background: #f1edf5;
}
.stats-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}
.count-pill {
  background: #fff9;
  border: 1px solid #cbd8c4;
  padding: 7px 13px;
  border-radius: 100px;
  color: #52694c;
}
.directory {
  padding-top: 13px;
}
.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 13px;
  padding-block: 20px;
}
.directory-controls > * {
  min-width: 0;
}
label {
  display: block;
  font-size: 0.79rem;
  font-weight: 550;
  margin-bottom: 7px;
}
input,
select,
textarea {
  max-width: 100%;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d8e0d4;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 0.9rem;
}
input::placeholder,
textarea::placeholder {
  color: #677360;
  opacity: 1;
}
textarea {
  resize: vertical;
}
.input-wrap {
  position: relative;
}
.input-wrap > .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: #7a8876;
  pointer-events: none;
}
.input-wrap > input {
  padding-left: 43px;
}
.more-filters {
  position: relative;
}
.more-filters > summary {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 10px 17px;
  background: white;
  border: 1px solid #d8e0d4;
  border-radius: 10px;
  list-style: none;
  font-size: 0.8rem;
}
.more-filters > summary::-webkit-details-marker {
  display: none;
}
.more-filters > summary .icon {
  width: 17px;
  height: 17px;
}
.filter-popover {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 10px);
  width: 290px;
  padding: 22px;
  display: grid;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 12px 40px #1c303818;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 19px;
}
.result-count {
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.results-heading .result-count {
  margin: 0;
}
.text-button {
  background: none;
  border: 0;
  padding: 7px 0 7px 12px;
  font-size: 0.75rem;
  color: #577053;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.listing-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.resource-card,
.tool-card,
.disc-card,
.path-card,
.template-card,
.guide-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  overflow-wrap: anywhere;
}
.listing-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.listing-card h2 {
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 570;
  letter-spacing: -0.03em;
  margin: 0;
}
.listing-card p {
  margin: 0;
}
.card-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.tag,
.price,
.cat-tag {
  color: #4d6a43;
  font-size: 0.66rem;
  font-weight: 600;
}
.tag {
  padding: 4px 9px;
  background: #eef4e8;
  border-radius: 6px;
  max-width: 70%;
}
.card-heading .tag {
  margin: 0;
}
body[data-page="internships"] .tag {
  color: #725b90;
  background: #f0ebf7;
}
body[data-page="discounts"] .tag {
  color: #8b7732;
  background: #f7f0d7;
}
.save-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 35px;
  padding: 5px 7px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.76rem;
  color: #586d50;
  white-space: nowrap;
  flex-shrink: 0;
}
.save-button > span {
  font-size: 1rem;
}
.save-button:hover {
  background: #edf3e7;
  border-color: #d5e0cd;
}
.save-button[aria-pressed="true"] {
  color: #3d6742;
  background: #e8f0e2;
}
.award {
  font-family: Sora, sans-serif;
  font-size: 1.02rem;
  font-weight: 550;
  color: #446342;
  letter-spacing: -0.02em;
  line-height: 1.55;
}
.description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5d7055;
}
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.7rem;
}
.listing-meta p {
  color: var(--ink-soft);
  font-size: 0.76rem;
}
.status {
  display: inline-block;
  background: #eef0e9;
  color: #63705c;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 5px;
}
.status.closed {
  color: #9b4b3f;
  background: #fbede6;
}
.status.open {
  color: #3d704b;
  background: #e6f2e3;
}
.status.upcoming {
  color: #866e29;
  background: #f8f0cf;
}
.listing-details {
  font-size: 0.76rem;
  border-top: 1px solid #edf0e8;
  padding-top: 12px;
}
.listing-details > summary {
  color: #556b4d;
  list-style: none;
}
.listing-details > summary::-webkit-details-marker {
  display: none;
}
.listing-details > summary::after {
  content: "+";
  float: right;
  font-size: 1rem;
  line-height: 1.2;
}
.listing-details[open] > summary::after {
  content: "−";
}
.listing-details > div {
  margin-top: 12px;
  color: var(--ink-soft);
}
.listing-details > div > p {
  font-size: 0.81rem;
  line-height: 1.7;
}
.card-bottom {
  border-top: 1px solid #edf0e8;
  padding-top: 14px;
  margin-top: auto;
}
.card-bottom .link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.79rem;
}
.card-bottom .link > span[aria-hidden] {
  display: grid;
  place-content: center;
  border: 1px solid #d8e2d1;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.link,
.dl {
  font-size: 0.85rem;
  font-weight: 550;
  text-decoration: none;
}
.link:hover,
.dl:hover {
  text-decoration: underline;
}
.review-date,
.source-note {
  color: #5e7154;
  font-size: 0.75rem !important;
  line-height: 1.7;
  margin-top: 14px !important;
}
.source-note {
  margin-block: 18px;
}
.load-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.load-more:has(> [hidden]) {
  display: none;
}
.load-more .btn {
  min-width: 200px;
}
.notice,
.note {
  padding: 17px 21px;
  background: #edf2e9;
  border: 1px solid #dae4d2;
  border-radius: 12px;
  color: #5e7257;
  font-size: 0.83rem;
  line-height: 1.7;
  margin-block: 18px;
}
.notice strong,
.note strong {
  color: var(--ink);
}
.callout,
.cta-panel {
  border: 1px solid var(--line);
  background: #edf2e9;
  border-radius: 20px;
  padding: 32px;
  margin-block: 15px;
}
.callout h2,
.cta-panel h2 {
  font-size: 1.4rem;
}
.callout p,
.cta-panel p {
  color: var(--ink-soft);
  margin-block: 12px;
  font-size: 0.88rem;
  max-width: 60ch;
}
.callout > .btn {
  margin-top: 8px;
}
.compact-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.compact-callout p {
  margin-bottom: 0;
}
.compact-callout .btn {
  flex-shrink: 0;
}
.empty-state {
  text-align: center;
  padding: 60px 25px;
  background: white;
  border: 1px dashed #d1deca;
  border-radius: 20px;
  margin-block: 20px;
}
.empty-state h2 {
  font-size: 1.4rem;
}
.empty-state p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 16px auto 24px;
  max-width: 48ch;
}
.empty-icon {
  display: grid;
  place-content: center;
  width: 54px;
  height: 54px;
  background: #edf3e7;
  border-radius: 15px;
  margin: 0 auto 24px;
  color: #6c8561;
}
.form-layout,
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
}
.form-panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 21px;
  padding: 30px;
}
.form-fields {
  display: grid;
  gap: 18px;
}
.field-hint {
  color: #596e50;
  font-size: 0.78rem;
  margin-top: 7px;
}
.field > label > span {
  color: var(--ink-soft);
  font-weight: 400;
}
.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.65;
}
.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--primary);
}
.checkbox-label {
  display: flex;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.5;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--primary);
}
.fineprint {
  color: #5c6f52;
  font-size: 0.78rem;
  line-height: 1.7;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status:not(:empty) {
  padding: 20px;
  background: #edf4e8;
  border-radius: 12px;
  margin-top: 16px;
}
.form-status[data-error="true"] {
  border: 1px solid #b5493f;
}
.form-status p {
  margin-block: 10px;
  overflow-wrap: anywhere;
}
.receipt {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
.path-card h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.path-card .desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.market-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 25px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.market-card h2 {
  font-size: 1.25rem;
  margin-block: 12px;
}
.market-card p {
  color: var(--ink-soft);
  font-size: 0.83rem;
}
.market-card .school {
  font-size: 0.67rem;
  color: #876643;
  font-weight: 550;
}
.market-card .link {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eceee6;
  font-size: 0.75rem;
}
.market-card:hover {
  transform: translateY(-3px);
  border-color: #bba786;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.property-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  min-width: 0;
}
.property-card h2 {
  font-size: 1.25rem;
  margin-block: 18px 12px;
}
.property-card p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.property-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-block: 12px 16px;
}
.property-card .cta-row {
  margin-top: 22px;
}
.property-card .cta-row a {
  font-size: 0.77rem;
}
.breadcrumb {
  padding-top: 24px;
  font-size: 0.75rem;
}
body[data-page^="housing-"] .page-hero {
  margin-top: 18px;
}
.faq-list,
.guide-grid {
  display: grid;
  gap: 14px;
}
.faq-list details,
.accordion,
.guide-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
}
.faq-list summary,
.accordion > summary,
.guide-note > summary {
  padding: 21px 24px;
  font-weight: 550;
  font-size: 0.9rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker,
.accordion > summary::-webkit-details-marker,
.guide-note > summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after,
.accordion > summary::after,
.guide-note > summary::after {
  content: "+";
  float: right;
  margin-left: 15px;
  color: #7b9170;
}
.faq-list details[open] > summary::after,
.accordion[open] > summary::after,
.guide-note[open] > summary::after {
  content: "−";
}
.faq-list p,
.accordion > .body,
.guide-note > div {
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}
.guide-note {
  background: #ffffff80;
  margin-top: 22px;
  font-size: 0.8rem;
  max-width: 800px;
}
.guide-note summary {
  padding: 14px 18px;
  font-size: 0.78rem;
}
.guide-note > div {
  padding: 0 18px 18px;
  font-size: 0.8rem;
}
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.guide-nav a {
  font-size: 0.72rem;
  padding: 7px 12px;
  border: 1px solid #cedbc5;
  border-radius: 100px;
  background: #fff7;
  color: #4c6742;
  text-decoration: none;
}
.guide-nav a:hover {
  background: #fff;
}
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 1.45rem;
  margin-top: 30px;
  margin-bottom: 15px;
}
.prose h3 {
  margin-top: 25px;
  margin-bottom: 12px;
}
.prose p,
.prose li {
  color: var(--ink-soft);
  line-height: 1.85;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 10px;
}
.tool-grid,
.tool-grid-pair,
.template-grid,
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.tool-grid-quad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.tool-card h3,
.guide-card h3 {
  font-size: 1.1rem;
}
.tool-card > p,
.guide-card p,
.template-card p {
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.8;
  margin-top: 13px;
}
.tool-card .price {
  display: block;
  margin-bottom: 14px;
}
.tool-card .link {
  display: inline-block;
  margin-top: 18px;
}
.tool-card.paid {
  background: #fbf6ed;
}
.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-card {
  padding: 25px;
}
.template-card h3 {
  margin-block: 12px;
}
.template-card .links {
  margin-top: 16px;
}
.doc-card {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 20px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.doc-icon {
  width: 45px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-content: center;
  background: #e7eedf;
  color: #637e54;
  font-size: 0.65rem;
  font-weight: 600;
}
.doc-body p {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 12px;
  margin-bottom: 18px;
}
.doc-body h3 {
  font-size: 1.05rem;
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #78936a;
}
.action-note {
  font-size: 0.83rem;
  font-weight: 550;
}
.step-list,
.steps-list {
  display: grid;
  gap: 17px;
  list-style: none;
  padding: 0;
  counter-reset: steps;
}
.step-list > li,
.steps-list > li,
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
  background: white;
}
.step-list h3,
.step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.step-list p,
.step p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.num,
.n {
  display: inline-grid;
  place-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #607a50;
  background: #e9f0e2;
  margin-bottom: 12px;
  font-size: 0.8rem;
}
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.split-panel > div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.split-panel p,
.split-panel li {
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.split-panel h3 {
  margin-bottom: 15px;
}
.deadline-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.deadline-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}
.deadline-card p {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 10px;
}
.deadline-card .lbl {
  display: block;
  color: #708764;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.crisis-panel {
  background: #faeee6;
  border: 1px solid #e9cdbd;
  padding: 32px;
  border-radius: 21px;
}
.crisis-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.crisis-panel p {
  color: #776254;
}
.crisis-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 25px;
}
.crisis-item {
  padding: 23px;
  background: #fff9;
  border-radius: 12px;
}
.crisis-item h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.crisis-item p {
  font-size: 0.85rem;
  margin-top: 12px;
}
.check {
  color: #5b7d4e;
}
.mono {
  font-family: ui-monospace, monospace;
}
.school-search {
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.school-search > .btn {
  justify-self: start;
}
.school-results {
  margin-top: 24px;
}
.school-results a {
  display: inline-flex;
  margin: 0 14px 14px 0;
}
.school-results + .fineprint {
  max-width: 740px;
  margin-top: 20px;
}
.admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.admin-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-record {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-block: 16px;
  overflow-wrap: anywhere;
  background: white;
}
.admin-record pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.83rem;
}
.storage-warning {
  color: #9b4139;
  font-size: 0.88rem;
}
.search-page .home-search {
  max-width: 800px;
  margin-top: 0;
}
.search-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 21px 32px;
}
.search-categories a {
  padding: 7px 14px;
  border: 1px solid #d2deca;
  border-radius: 100px;
  color: #516b45;
  text-decoration: none;
  font-size: 0.77rem;
}
.search-categories a:hover {
  background: #e9f0e2;
}
.site-footer {
  background: #f1eee7;
  border-top: 1px solid #e0dcd4;
  padding-block: 48px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 60px;
  padding-bottom: 43px;
}
.footer-brand {
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.06em;
}
.footer-brand span {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 6px;
  color: #58677b;
}
.footer-top > div > p {
  font-size: 0.78rem;
  color: #58677b;
  margin-top: 20px;
  max-width: 25ch;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links p {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #52627d;
  margin-bottom: 9px;
  font-weight: 600;
}
.footer-links a {
  font-size: 0.8rem;
  color: #52627d;
  text-decoration: none;
}
.footer-links a:hover {
  color: #172447;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dbdfe5;
  padding-block: 23px;
  font-size: 0.75rem;
  color: #52627d;
}
.footer-bottom nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: #52627d;
  text-decoration: none;
}
.toast {
  position: fixed;
  z-index: 50;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 13px 19px;
  font-size: 0.83rem;
  box-shadow: 0 7px 30px #1c303820;
  pointer-events: none;
}
.toast:empty {
  display: none;
}
@media (min-width: 1500px) {
  .hero-grid {
    gap: 70px;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 19px;
    font-size: 0.79rem;
  }
  .hero-grid {
    gap: 25px;
  }
  .home-hero h1 {
    font-size: 3.1rem;
  }
  .support-panel {
    gap: 35px;
    padding: 40px;
  }
  .support-links a {
    padding: 17px 12px;
    gap: 8px;
  }
}
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
    border: 1px solid #d7dfd2;
    border-radius: 100px;
    font-size: 0.79rem;
  }
  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 18px 35px #23382a12;
  }
  .mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px;
    border-radius: 9px;
    font-size: 0.88rem;
    color: var(--ink);
  }
  .mobile-menu nav a:hover {
    background: #edf3e7;
  }
  .mobile-menu nav .nav-search {
    display: none;
  }
  .home-hero h1 {
    font-size: 2.85rem;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .home-search {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 13px;
    gap: 6px;
  }
  .home-search > .icon {
    display: none;
  }
  .home-search .btn {
    padding-inline: 13px;
  }
  .category-grid,
  .listing-grid,
  .market-grid,
  .resource-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .support-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .support-panel h2 {
    max-width: 25ch;
  }
  .support-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .form-layout {
    gap: 27px;
  }
  .submission-content {
    padding: 25px;
  }
  .footer-top {
    grid-template-columns: 1fr 1.8fr;
    gap: 32px;
  }
  .directory-controls {
    grid-template-columns: minmax(0, 1fr) 190px auto;
    gap: 12px;
  }
  .tool-grid-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-row {
    min-height: 76px;
  }
  .wordmark {
    font-size: 1.35rem;
  }
  .wordmark small {
    font-size: 0.61rem;
  }
  section {
    padding-block: 29px;
  }
  main > section:last-child {
    padding-bottom: 48px;
  }
  .home-hero {
    padding-block: 43px 25px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .home-hero h1 {
    font-size: clamp(2.7rem, 7.6vw, 3.6rem);
    line-height: 1.15;
  }
  .hero-badge {
    font-size: 0.68rem;
    margin-bottom: 19px;
  }
  .home-hero .lede {
    font-size: 0.98rem;
    max-width: 40ch;
    margin-top: 19px;
  }
  .home-search {
    margin-top: 24px;
  }
  .home-search input {
    font-size: 16px;
  }
  .home-search .btn {
    font-size: 0.76rem;
  }
  .home-search .btn .icon {
    width: 16px;
  }
  .popular-links {
    font-size: 0.68rem;
    gap: 13px;
  }
  .hero-note {
    margin-top: 20px;
    font-size: 0.69rem;
  }
  .home-resources {
    padding-top: 42px;
    padding-bottom: 40px;
  }
  .section-head-row {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }
  .section-head-row > p {
    font-size: 0.8rem;
  }
  .category-grid {
    gap: 14px;
  }
  .category-card {
    padding: 20px;
    border-radius: 17px;
  }
  .category-card h3 {
    font-size: 1rem;
  }
  .category-card > p {
    font-size: 0.79rem;
  }
  .category-top {
    margin-bottom: 20px;
  }
  .category-foot {
    font-size: 0.63rem;
    margin-top: 20px;
  }
  .category-icon {
    width: 39px;
    height: 39px;
  }
  .category-arrow {
    width: 25px;
    height: 25px;
  }
  .home-support {
    padding-block: 30px;
  }
  .support-panel {
    padding: 29px;
    border-radius: 22px;
    gap: 28px;
  }
  .support-panel h2 {
    font-size: 1.8rem;
    max-width: 23ch;
  }
  .support-panel > div > p:not(.eyebrow) {
    font-size: 0.8rem;
  }
  .support-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .support-links a {
    font-size: 0.7rem;
    padding: 16px 11px;
  }
  .support-links a .icon {
    width: 17px;
    height: 17px;
  }
  .submission-drawer > summary {
    padding: 20px;
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .submission-heading {
    align-items: start;
    gap: 12px;
  }
  .submission-heading strong {
    font-size: 0.9rem;
  }
  .submission-heading small {
    font-size: 0.7rem;
  }
  .submission-action {
    padding-left: 51px;
    font-size: 0.72rem;
  }
  .submission-content {
    padding: 22px;
  }
  .form-layout,
  .two-col,
  .property-grid,
  .tool-grid,
  .template-grid,
  .doc-grid,
  .split-panel,
  .crisis-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-hero {
    padding-top: 27px;
    padding-bottom: 30px;
  }
  .page-hero h1 {
    font-size: 2.3rem;
  }
  .page-hero .lede {
    font-size: 0.91rem;
  }
  .page-hero .eyebrow {
    font-size: 0.61rem;
  }
  .back-link {
    margin-bottom: 20px;
  }
  .directory-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }
  .directory-controls > .search-field {
    grid-column: 1 / -1;
  }
  .more-filters {
    align-self: end;
  }
  .more-filters > summary {
    font-size: 0.74rem;
    padding-inline: 13px;
  }
  .directory-controls label {
    font-size: 0.74rem;
  }
  .filter-popover {
    width: min(290px, calc(100vw - 40px));
  }
  .listing-grid,
  .resource-grid,
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing-card {
    padding: 23px;
  }
  .listing-card h2 {
    font-size: 1.15rem;
  }
  .description {
    font-size: 0.88rem;
  }
  .tag {
    font-size: 0.68rem;
  }
  .listing-meta {
    font-size: 0.72rem;
  }
  .card-bottom .link {
    font-size: 0.83rem;
  }
  .compact-callout {
    flex-direction: column;
    align-items: start;
    padding: 26px;
  }
  .compact-callout h2 {
    font-size: 1.3rem;
  }
  .form-panel {
    padding: 22px;
  }
  .form-fields input,
  .form-fields select,
  .form-fields textarea,
  .directory-controls input,
  .directory-controls select {
    font-size: 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 30px;
  }
  .footer-top > div > p {
    max-width: none;
    margin-top: 16px;
  }
  .footer-links {
    gap: 18px;
  }
  .footer-links a {
    font-size: 0.76rem;
  }
  .footer-links p {
    font-size: 0.59rem;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 13px;
    font-size: 0.75rem;
  }
  .footer-bottom nav {
    gap: 18px;
  }
  .school-search {
    padding: 23px;
  }
  .school-search input,
  .school-search select {
    font-size: 16px;
  }
  .deadline-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-nav {
    gap: 7px;
  }
  .guide-nav a {
    font-size: 0.67rem;
    padding: 6px 10px;
  }
  .faq-list summary,
  .accordion > summary {
    font-size: 0.85rem;
    padding: 18px 20px;
  }
}
@media (max-width: 400px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-row {
    gap: 15px;
  }
  .wordmark {
    font-size: 1.2rem;
    gap: 9px;
  }
  .wordmark small {
    font-size: 0.56rem;
  }
  .mobile-menu > summary {
    font-size: 0.73rem;
    padding: 8px 12px;
  }
  .home-hero h1 {
    font-size: 2.5rem;
  }
  .hero-badge {
    font-size: 0.62rem;
  }
  .home-search .btn {
    padding-inline: 12px;
  }
  .home-search .btn .icon {
    display: none;
  }
  .popular-links {
    gap: 11px;
    font-size: 0.63rem;
  }
  .category-grid,
  .market-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-card {
    padding: 22px;
  }
  .category-top {
    margin-bottom: 16px;
  }
  .category-card h3 {
    font-size: 1.1rem;
  }
  .category-foot {
    margin-top: 18px;
  }
  .support-panel {
    padding: 25px;
  }
  .support-links {
    gap: 9px;
  }
  .support-links a {
    padding: 14px 10px;
    font-size: 0.65rem;
    gap: 8px;
  }
  .support-links a > span:last-child {
    display: none;
  }
  .tool-grid-quad {
    grid-template-columns: minmax(0, 1fr);
  }
  .property-card {
    padding: 23px;
  }
  .property-card .cta-row .btn {
    flex-grow: 1;
  }
  .footer-links {
    gap: 12px;
  }
  .footer-links a {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.listing-card h2 a {
  color: inherit;
  text-decoration: none;
}
.listing-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body:is(
    [data-page="scholarships"],
    [data-page="internships"],
    [data-page="discounts"],
    [data-page="housing"]
  )
  .page-hero
  .back-link {
  display: none;
}
body:is(
    [data-page="scholarships"],
    [data-page="internships"],
    [data-page="discounts"],
    [data-page="housing"]
  )
  .page-hero {
  padding-block: 35px;
}

@media (max-width: 700px) {
  .hero-badge,
  .hero-note,
  .popular-links,
  .category-foot,
  .support-links a,
  .submission-heading small,
  .submission-action,
  .guide-nav a {
    font-size: 0.75rem;
  }
}

.home-aid {
  padding-block: 48px 0;
}
.aid-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 48px;
  background: #f3eee6;
  border: 1px solid #e1d7ca;
  border-radius: 26px;
}
.aid-panel .eyebrow {
  color: #815026;
}
.aid-panel h2 {
  max-width: 23ch;
}
.aid-intro > p:not(.eyebrow) {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 47ch;
  margin-top: 17px;
}
.aid-intro > .btn {
  margin-top: 24px;
}
.aid-links {
  display: grid;
  gap: 12px;
}
.aid-links > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: #fffc;
  border: 1px solid #e1d7ca;
  border-radius: 13px;
  color: var(--ink);
  text-decoration: none;
}
.aid-links > a:hover {
  background: #fff;
  border-color: #b4aa87;
}
.aid-links strong,
.aid-links small {
  display: block;
}
.aid-links strong {
  font-size: 0.93rem;
  font-weight: 550;
}
.aid-links small {
  font-size: 0.76rem;
  color: #58677b;
  margin-top: 4px;
}
.aid-links > a > span:last-child {
  margin-left: auto;
  color: #815026;
}
@media (max-width: 960px) {
  .aid-panel {
    padding: 34px;
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .home-aid {
    padding-top: 30px;
  }
  .aid-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px;
    gap: 28px;
    border-radius: 22px;
  }
  .aid-panel h2 {
    font-size: 1.7rem;
  }
  .aid-links > a {
    gap: 11px;
    padding: 15px 13px;
  }
  .aid-links strong {
    font-size: 0.86rem;
  }
  .aid-links small {
    font-size: 0.75rem;
  }
}

/* AstroPro Student Resource Center: a welcoming student edition. */
.wordmark {
  display: block;
  width: 244px;
  flex: 0 0 auto;
  line-height: 0;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.header-row {
  min-height: 100px;
}
.desktop-nav {
  gap: 25px;
  font-size: 0.86rem;
}
.desktop-nav a {
  color: #526079;
}
.desktop-nav .nav-saved {
  color: white;
}
.home-hero {
  padding-block: 50px 67px;
}
.hero-grid {
  grid-template-columns: 1.04fr 1fr;
  gap: 66px;
}
.hero-badge {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 24px;
  border: 1px solid #eadbc9;
  border-radius: 100px;
  background: #f7f0e6;
  color: #80532f;
  font-size: 0.75rem;
}
.home-hero h1 {
  font-size: clamp(2.8rem, 4.25vw, 3.65rem);
  line-height: 1.18;
  font-weight: 570;
  letter-spacing: -0.055em;
}
.home-hero h1 > span {
  color: #b35a28;
}
.home-hero .lede {
  max-width: 43ch;
  font-size: 1.06rem;
  margin-top: 24px;
}
.home-search {
  margin-top: 28px;
  border-radius: 15px;
  box-shadow: 0 8px 28px #17244706;
}
.home-search .btn {
  border-radius: 10px;
}
.popular-links {
  font-size: 0.75rem;
  gap: 15px;
}
.hero-note {
  font-size: 0.75rem;
  margin-top: 24px;
}
.campus-visual {
  position: relative;
  margin: 0;
  padding: 0 0 24px 15px;
}
.campus-photo {
  border-radius: 28px 28px 94px 28px;
  overflow: hidden;
  background: #e6eadf;
  aspect-ratio: 1.08;
}
.campus-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 43%;
}
.campus-visual figcaption {
  position: absolute;
  left: -13px;
  bottom: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px 25px 17px 18px;
  background: #fff;
  border: 1px solid #e8e4dc;
  box-shadow: 0 12px 40px #2934560c;
  border-radius: 16px;
}
.campus-caption-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #f7ead9;
  color: #9f602e;
  border-radius: 12px;
}
.campus-caption-icon .icon {
  width: 23px;
  height: 23px;
}
.campus-visual figcaption strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
}
.campus-visual figcaption small {
  display: block;
  font-size: 0.78rem;
  color: #657084;
  margin-top: 2px;
}
.campus-spark {
  position: absolute;
  right: -14px;
  top: -27px;
  font-size: 3.6rem;
  line-height: 1;
  color: #b86e38;
  text-shadow: 0 0 18px #fbfaf6;
}
.home-resources {
  padding-block: 50px 60px;
}
.category-card {
  border-radius: 19px;
  padding: 26px;
}
.category-card:hover {
  border-color: #adb8cf;
  box-shadow: 0 12px 24px #17244708;
}
.category-card h3 {
  font-weight: 570;
}
.category-icon {
  border-radius: 13px;
}
.category-top {
  margin-bottom: 23px;
}
.category-foot {
  color: #5f6c7c;
}
.aid-panel {
  border-radius: 24px;
}
.support-panel {
  border-radius: 24px;
  background: #18294b;
}
.support-panel .btn-light {
  background: #f5e7d5;
  color: #172447;
}
.support-links a {
  color: #f5f6fa;
}
.footer-brand {
  display: block;
  max-width: 258px;
  line-height: 0;
}
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-endorsement {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #52627d;
  text-decoration: none;
}
.brand-endorsement:hover {
  color: #172447;
  text-decoration: underline;
}
.footer-top > div > p {
  max-width: 30ch;
  margin-top: 15px;
}
.eyebrow,
.kicker,
.kicker-sm,
.page-hero .eyebrow,
.hero-note,
.popular-links,
.footer-links p,
.footer-bottom {
  font-size: 0.75rem;
}
@media (max-width: 1100px) {
  .wordmark {
    width: 225px;
  }
  .desktop-nav {
    gap: 18px;
    font-size: 0.8rem;
  }
  .hero-grid {
    gap: 35px;
  }
  .home-hero h1 {
    font-size: 3rem;
  }
  .campus-visual figcaption {
    padding-inline: 15px;
  }
}
@media (max-width: 960px) {
  .header-row {
    min-height: 92px;
  }
  .home-hero h1 {
    font-size: 2.75rem;
  }
  .hero-grid {
    gap: 30px;
    grid-template-columns: 1.05fr 1fr;
  }
  .campus-photo {
    aspect-ratio: 0.84;
    border-bottom-right-radius: 65px;
  }
  .campus-visual figcaption {
    left: 0;
    padding: 13px 16px;
    gap: 10px;
  }
  .campus-visual figcaption strong {
    font-size: 0.84rem;
  }
}
@media (max-width: 700px) {
  .header-row {
    min-height: 88px;
    gap: 18px;
  }
  .wordmark {
    width: 219px;
  }
  .home-hero {
    padding-block: 31px 38px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  .hero-badge {
    margin-bottom: 20px;
    font-size: 0.75rem;
  }
  .home-hero h1 {
    font-size: clamp(2.35rem, 7.9vw, 3.2rem);
    line-height: 1.2;
  }
  .home-hero .lede {
    font-size: 1rem;
    margin-top: 20px;
  }
  .campus-visual {
    padding-left: 0;
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }
  .campus-photo {
    aspect-ratio: 1.17;
    border-radius: 23px 23px 65px 23px;
  }
  .campus-visual figcaption {
    left: 13px;
    bottom: 0;
    padding: 13px 18px;
  }
  .campus-visual figcaption strong {
    font-size: 0.88rem;
  }
  .campus-visual figcaption small {
    font-size: 0.75rem;
  }
  .campus-spark {
    font-size: 2.5rem;
    right: -8px;
    top: -17px;
  }
  .home-resources {
    padding-block: 35px 40px;
  }
  .category-top {
    margin-bottom: 20px;
  }
  .category-card {
    padding: 23px;
  }
  .footer-brand {
    max-width: 235px;
  }
}
@media (max-width: 360px) {
  .wordmark {
    width: 190px;
  }
  .header-row {
    gap: 10px;
  }
  .mobile-menu > summary {
    padding-inline: 11px;
  }
  .home-hero h1 {
    font-size: 2.18rem;
  }
  .hero-badge {
    padding-inline: 10px;
    font-size: 0.7rem;
  }
  .popular-links {
    gap: 11px;
  }
}

/* Market pages: top picks + Available Rentals */
.market-section { padding-top: 44px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head-row h2 { margin: 6px 0 0; }
.feed-note { max-width: 46rem; margin: 10px 0 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.rental-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 22px; }
.rental-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.rental-visual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--primary), #2c4079); color: #fff; }
.rental-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rental-art { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rental-mark { font-size: 2.4rem; font-weight: 700; letter-spacing: 0.04em; }
.rental-art small { font-size: 0.78rem; opacity: 0.9; }
.rental-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #9a4a18; color: #fff; font-size: 0.72rem; font-weight: 700; }
.rental-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px; }
.rental-body h3 { margin: 0; font-size: 1.15rem; }
.rental-body p { margin: 0; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.55; }
.rental-body .rental-meta { font-size: 0.78rem; }
.rental-body .cta-row { margin-top: auto; padding-top: 8px; }
.rental-body .cta-row a { font-size: 0.77rem; }
.empty-feed { padding: 28px; border: 1px dashed #bba786; border-radius: 20px; background: #fff; }
.empty-feed p { color: var(--ink-soft); max-width: 40rem; }

/* Market pages: keep the section headings left-aligned and the cards compact on phones. */
@media (max-width: 700px) {
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .market-section { padding-top: 32px; }
  .rental-grid { gap: 16px; }
  .rental-visual { aspect-ratio: 16 / 10; }
  .rental-body { padding: 18px; }
  .rental-body .cta-row { flex-wrap: wrap; }
  .rental-body .cta-row a { flex: 1 1 8.5rem; justify-content: center; }
}

/* Housing index: every market card is the same size and shape. */
.market-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 24px 26px; box-shadow: 0 1px 2px rgba(20, 30, 60, 0.04); }
.market-card h2 { margin: 0 0 6px; font-size: 1.4rem; letter-spacing: -0.01em; }
.market-card .school { order: 2; font-size: 0.8rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.market-card .link { order: 3; margin-top: 18px; }
.market-card:hover { box-shadow: 0 10px 28px rgba(20, 30, 60, 0.1); }

/* Phones: premium, compact market pages. The three top picks stack as tidy rows so all three are visible together. */
@media (max-width: 700px) {
  .market-section { padding-top: 24px; }
  #top-picks .section-head-row { margin-bottom: 14px; }
  #top-picks h2, #available-rentals h2 { font-size: 1.55rem; }
  #top-picks .rental-grid { grid-template-columns: 1fr; gap: 12px; }
  #top-picks .rental-card { flex-direction: row; align-items: stretch; border-radius: 18px; box-shadow: 0 6px 20px rgba(20, 30, 60, 0.08); border-color: #e6e2d8; }
  #top-picks .rental-visual { flex: 0 0 38%; width: 38%; aspect-ratio: auto; min-height: 148px; border-radius: 0; }
  #top-picks .rental-badge { top: 8px; left: 8px; padding: 3px 8px; font-size: 0.62rem; }
  #top-picks .rental-body { padding: 14px 14px 14px 16px; gap: 5px; justify-content: center; }
  #top-picks .rental-body h3 { font-size: 1.02rem; line-height: 1.25; }
  #top-picks .rental-body > p:not(.rental-meta), #top-picks .review-date { display: none; }
  #top-picks .rental-body .rental-meta { font-size: 0.74rem; line-height: 1.35; }
  #top-picks .card-heading { align-items: flex-start; gap: 6px; }
  #top-picks .rental-body .cta-row { padding-top: 6px; gap: 8px; flex-wrap: nowrap; }
  #top-picks .rental-body .cta-row a { flex: 1 1 0; min-width: 0; padding: 8px 6px; font-size: 0.72rem; justify-content: center; white-space: nowrap; }
  #top-picks .rental-body .cta-row a.btn-ghost { display: none; }
  .market-card { min-height: 0; padding: 20px 22px; }
  .market-card h2 { font-size: 1.3rem; }
}
@media (max-width: 700px) {
  .directory-controls { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .directory-controls input, .directory-controls select { width: 100%; box-sizing: border-box; }
}

/* ---- Scholarship list: scannable rows with a clear deadline ---- */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
}
.chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  padding: 8px 15px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover {
  border-color: #c9ced8;
  background: #f6f7fa;
}
.chip.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.due-summary {
  margin: 0 0 14px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #fbefe5;
  color: #8a4519;
  font-size: 0.88rem;
  font-weight: 560;
}
[data-directory="scholarships"] .listing-grid,
[data-directory="internships"] .listing-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sch-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #e4e6ec;
  box-shadow: 0 1px 2px rgba(23, 36, 71, 0.04), 0 8px 24px rgba(23, 36, 71, 0.05);
  transition: box-shadow 0.18s, transform 0.18s;
}
.sch-card:hover {
  box-shadow: 0 2px 4px rgba(23, 36, 71, 0.06), 0 14px 34px rgba(23, 36, 71, 0.1);
  transform: translateY(-1px);
}
.sch-card[hidden] {
  display: none;
}
.sch-due {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 16px 8px;
  text-align: center;
  background: #eef1f8;
  color: var(--ink);
  border-right: 1px solid #e4e6ec;
}
.due-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.62;
  margin-bottom: 3px;
}
.due-mon {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.due-day {
  font-family: Sora, sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.due-year {
  font-size: 0.72rem;
  opacity: 0.7;
}
.due-left {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 36, 71, 0.09);
  white-space: nowrap;
}
.due-left:empty {
  display: none;
}
.due-text {
  font-family: Sora, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0 4px;
}
.sch-due.no-date {
  background: #f3f3f0;
  color: #5d6455;
}
.sch-due.tone-soon {
  background: #fbe6d8;
  color: #8f3f12;
}
.sch-due.tone-soon .due-left {
  background: #b95c22;
  color: #fff;
}
.sch-due.tone-near {
  background: #fbf1d4;
  color: #7a5c0c;
}
.sch-due.tone-near .due-left {
  background: rgba(122, 92, 12, 0.14);
}
.sch-due.tone-open {
  background: #e7f1e6;
  color: #2f5c3a;
}
.sch-due.tone-open .due-left {
  background: rgba(47, 92, 58, 0.13);
}
.sch-due.tone-closed {
  background: #f1eceb;
  color: #8a5148;
}
.sch-main {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 24px 18px;
  min-width: 0;
}
.sch-main .card-heading {
  align-items: flex-start;
  margin: 0;
}
.sch-main h2 {
  font-size: 1.14rem;
  line-height: 1.35;
}
.sch-main .award {
  font-size: 1.12rem;
  color: #2f5c3a;
  line-height: 1.35;
}
.sch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.sch-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f2f6;
  color: #4a5368;
}
.sch-tag.primary {
  background: #e8efe3;
  color: #3f6040;
}
.sch-main .status {
  margin-left: 2px;
}
.sch-main .description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #566052;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sch-deadline-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.sch-main .listing-details {
  border-top: 0;
  padding-top: 0;
}
.sch-main .card-bottom {
  margin-top: 4px;
}
.sch-cta {
  display: inline-flex;
  padding: 10px 18px;
  font-size: 0.86rem;
}
@media (max-width: 700px) {
  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 2px 20px 6px;
    scrollbar-width: none;
  }
  .chip-row::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex: 0 0 auto;
  }
  .sch-card {
    grid-template-columns: 1fr;
  }
  .sch-due {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 11px 18px;
    border-right: 0;
    border-bottom: 1px solid #e4e6ec;
    text-align: left;
    flex-wrap: wrap;
  }
  .due-label {
    margin: 0 4px 0 0;
  }
  .due-day {
    font-size: 1.25rem;
  }
  .due-mon,
  .due-year {
    font-size: 0.85rem;
    opacity: 1;
  }
  .due-left {
    margin: 0 0 0 auto;
  }
  .due-text {
    font-size: 0.92rem;
    padding: 0;
  }
  .sch-main {
    padding: 16px 18px 16px;
  }
  .sch-cta {
    width: 100%;
    justify-content: center;
  }
}
.sch-main .status.open,
.sch-main .status.check-sponsor {
  display: none;
}
@media (min-width: 701px) {
  .sch-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 28px;
    row-gap: 9px;
    align-content: center;
  }
  .sch-main > * {
    grid-column: 1;
  }
  .sch-main > .card-bottom {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    margin: 0;
  }
}

/* ---- Scholarship-help email signup ---- */
.interest-band {
  padding-top: 8px;
  padding-bottom: 8px;
}
.interest-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fdf1e6 0%, #f6efe6 60%, #eef1f8 100%);
  border: 1px solid #efdcc9;
}
.interest-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  max-width: 20ch;
}
.interest-copy > p:not(.eyebrow) {
  margin-top: 12px;
  color: #5b5f6c;
  font-size: 0.93rem;
}
.interest-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  color: #3f4a5e;
}
.interest-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.interest-points .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #3d6742;
  flex-shrink: 0;
}
.interest-form.form-panel {
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 36, 71, 0.08);
}
.interest-drawer {
  background: #fff;
  border: 1px solid #efdcc9;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8f1, #fff);
  overflow: hidden;
}
.interest-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
}
.interest-drawer > summary::-webkit-details-marker {
  display: none;
}
.interest-sum {
  display: flex;
  gap: 14px;
  align-items: center;
}
.interest-sum strong {
  display: block;
  font-size: 1rem;
}
.interest-sum small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.interest-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.interest-action .icon {
  width: 15px;
  height: 15px;
}
.interest-drawer[open] .interest-action .icon {
  transform: rotate(45deg);
}
.interest-drawer .interest-card {
  border: 0;
  border-top: 1px solid #efdcc9;
  border-radius: 0;
}
.interest-drawer-wrap {
  padding-top: 22px;
  padding-bottom: 0;
}
/* Home page: "I need…" starter links and support cards */
.need-links a {
  font-weight: 560;
  padding: 6px 12px;
  border: 1px solid #d6dbe6;
  border-radius: 999px;
  background: #fff;
}
.need-links a:hover {
  border-color: var(--primary);
}
.support-cards .support-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.support-cards .support-text strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.support-cards .support-text small {
  font-size: 0.74rem;
  color: #aeb8cb;
  line-height: 1.45;
}
.support-cards a {
  align-items: flex-start;
  padding: 16px;
}
.support-cards a .icon {
  margin-top: 2px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .interest-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 20px;
    border-radius: 22px;
  }
  .interest-drawer > summary {
    padding: 14px 16px;
  }
  .interest-action {
    padding: 8px 13px;
  }
  .interest-sum small {
    display: none;
  }
}
@media (max-width: 700px) {
  /* compact home cards: icon on the left, text on the right */
  .category-grid {
    gap: 12px;
  }
  .category-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
  }
  .category-card .category-top {
    grid-row: 1 / span 3;
    margin: 0;
  }
  .category-card .category-arrow {
    display: none;
  }
  .category-card h3 {
    font-size: 1.05rem;
    margin: 0;
  }
  .category-card > p {
    margin: 0;
    font-size: 0.82rem;
  }
  .category-card .category-foot {
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    font-size: 0.74rem;
  }
  .support-cards {
    grid-template-columns: 1fr;
  }
}
.sch-main .card-bottom {
  border-top: 0;
  padding-top: 0;
}
.home-resources + .home-aid + .interest-band,
.home-aid + .interest-band {
  margin-top: 28px;
  margin-bottom: 28px;
}
.home-hero + .interest-drawer-wrap {
  padding-top: 0;
  padding-bottom: 34px;
}
@media (max-width: 700px) {
  .interest-drawer > summary {
    flex-wrap: wrap;
    gap: 12px;
  }
  .interest-sum {
    flex: 1 1 100%;
  }
  .interest-sum strong {
    font-size: 0.98rem;
    line-height: 1.35;
  }
  .interest-action {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ---- Housing index: grouped by state ---- */
.state-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 26px;
}
.state-jump[hidden],
.state-group[hidden] {
  display: none;
}
.state-jump a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.state-jump a:hover {
  border-color: var(--primary);
}
.state-jump a[hidden] {
  display: none;
}
.state-jump a span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.state-group {
  margin-bottom: 38px;
  scroll-margin-top: 110px;
}
.state-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.state-heading span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #eef1f6;
  border-radius: 999px;
  padding: 2px 10px;
}
@media (max-width: 700px) {
  .state-jump {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 2px 20px 8px;
    scrollbar-width: none;
  }
  .state-jump::-webkit-scrollbar {
    display: none;
  }
  .state-jump a {
    flex: 0 0 auto;
  }
  .state-group {
    margin-bottom: 28px;
  }
}
.state-group .market-grid {
  margin: 0;
  padding: 0;
}
.state-group {
  margin-bottom: 26px;
}
.more-groups {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
/* Photos always render in the same fixed frame, whatever the source image's shape. */
.rental-visual { overflow: hidden; }
.rental-visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.rental-visual { height: auto; }
@media (max-width: 700px) {
  #top-picks .rental-visual { contain: none; }
  #top-picks .rental-visual img { position: absolute; inset: 0; }
}
/* Home resource tiles: six equal, centered, title-only tiles in a 3x2 grid (2x3 on phones). */
.resource-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.resource-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 168px; padding: 28px 16px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 6px 20px rgba(20, 30, 60, 0.05); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.resource-tile:hover, .resource-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 30, 60, 0.12); border-color: var(--primary); }
.resource-tile .category-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; margin: 0; }
.resource-tile .category-icon .icon { width: 26px; height: 26px; }
.resource-tile h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 700px) {
  .resource-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .resource-tile { min-height: 132px; padding: 20px 10px; gap: 12px; border-radius: 18px; }
  .resource-tile .category-icon { width: 48px; height: 48px; border-radius: 15px; }
  .resource-tile h3 { font-size: 1rem; }
}
.resource-tile { justify-content: flex-start; }
@media (min-width: 701px) { .resource-tile { padding-top: 36px; } }
@media (max-width: 700px) { .resource-tile { padding-top: 24px; } }
/* Keep the longer menu labels on one line; tighten spacing on mid-size screens. */
.desktop-nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 0.8rem; }
}
/* Eight home tiles: 4x2 on wide screens, 2x4 on tablets and phones. */
@media (min-width: 701px) and (max-width: 1000px) {
  .resource-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.resource-tile h3 { text-wrap: balance; }

.book-finder{display:grid;gap:.6rem;max-width:44rem;margin-bottom:1.5rem}
.book-finder label{font-weight:700}
.book-finder-row{display:flex;gap:.6rem;flex-wrap:wrap}
.book-finder-row input{flex:1 1 16rem;min-height:3rem;padding:.6rem .9rem;border:1px solid #9aa3b8;border-radius:.6rem;font:inherit}
[data-book-results] h3{margin:1.5rem 0 .75rem}
a.tool-card{display:block;text-decoration:none;color:inherit}
.book-match-grid{display:grid;gap:.6rem;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr))}
.book-match{display:flex;gap:.8rem;align-items:center;text-align:left;padding:.6rem;border:1px solid #c5cbdb;border-radius:.6rem;background:#fff;font:inherit;cursor:pointer}
.book-match:hover,.book-match:focus-visible{border-color:#172447;outline:2px solid #172447}
.book-match img{width:60px;height:90px;object-fit:cover;border-radius:.25rem;flex:none}
.book-match small{display:block;color:#4a5370}

.book-featured{display:grid;gap:.5rem;justify-items:start;padding:1.2rem 1.4rem;margin:.8rem 0 1rem;border:2px solid #172447;border-radius:.8rem;background:#fff8e6;text-decoration:none;color:inherit}
.book-featured strong{font-size:1.2rem}
.book-featured:hover,.book-featured:focus-visible{outline:3px solid #172447}

.btn-amazon{background:#ffb400;color:#111;border:1px solid #c88a00;font-weight:700}
.book-featured small{color:#4a5370}
