:root {
  color: #1f2d27;
  background: #e8f0e8;
  font-family: Avenir Next, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 95, 76, 0.16), transparent 28%),
    linear-gradient(180deg, #eef5ec, #ddeadd);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
p {
  margin: 0;
}

.mini-shell {
  position: relative;
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 92px;
  background: #f8f8f1;
  box-shadow: 0 20px 70px rgba(30, 50, 40, 0.16);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.topbar p,
.eyebrow,
.section-title span,
.recruit-card span,
.project-strip span {
  color: #668b77;
  font-size: 12px;
  font-weight: 800;
}

.topbar h1 {
  margin-top: 2px;
  color: #1f2d27;
  font-family: Iowan Old Style, Source Han Serif SC, STSong, serif;
  font-size: 32px;
  line-height: 1;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(49, 95, 76, 0.18);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: #315f4c;
  font-size: 23px;
  box-shadow: 0 10px 24px rgba(44, 72, 59, 0.08);
}

.home-hero {
  min-height: 286px;
  display: grid;
  align-content: end;
  gap: 12px;
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 8px;
  color: #fffdf8;
  background:
    linear-gradient(180deg, rgba(18, 36, 29, 0.12), rgba(20, 42, 33, 0.94)),
    url("/healer-alliance/assets/ip-alliance-model.png") center / cover;
  overflow: hidden;
}

.home-hero h2 {
  max-width: 300px;
  color: #fffdf8;
  font-family: Iowan Old Style, Source Han Serif SC, STSong, serif;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-hero p:not(.eyebrow) {
  max-width: 330px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.home-hero .eyebrow {
  color: rgba(255, 253, 248, 0.74);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 900;
}

.button.primary {
  color: #fffdf8;
  background: #315f4c;
}

.button.ghost {
  color: #315f4c;
  background: #fffdf8;
}

.home-section {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section-title h2 {
  color: #1f2d27;
  font-family: Iowan Old Style, Source Han Serif SC, STSong, serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-title a {
  color: #315f4c;
  font-size: 13px;
  font-weight: 900;
}

.recruit-card,
.entry-card,
.project-strip {
  border: 1px solid rgba(55, 94, 76, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(44, 72, 59, 0.08);
}

.recruit-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.recruit-card img {
  width: 98px;
  height: 116px;
  border-radius: 8px;
  object-fit: cover;
  background: #e6eee6;
}

.recruit-card div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recruit-card strong {
  overflow: hidden;
  color: #1f2d27;
  font-size: 16px;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruit-card p,
.entry-card p {
  color: #6d7c70;
  font-size: 13px;
}

.recruit-card em {
  color: #315f4c;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.entry-card {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.entry-card strong,
.project-strip strong {
  color: #315f4c;
  font-size: 16px;
}

.project-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.project-strip div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.project-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-strip b {
  color: #315f4c;
  font-size: 13px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(430px, 100%);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-top: 1px solid rgba(55, 94, 76, 0.12);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #6d7c70;
  font-size: 12px;
  font-weight: 900;
}

.bottom-nav a.active {
  color: #fffdf8;
  background: #315f4c;
}

@media (min-width: 860px) {
  .mini-shell {
    margin-top: 28px;
    margin-bottom: 28px;
    min-height: calc(100vh - 56px);
    border-radius: 28px;
    overflow: hidden;
  }

  .bottom-nav {
    position: sticky;
    margin: 18px -18px -92px;
    transform: none;
    width: auto;
  }
}
