:root{
  /* 参考图：整体略加深的薄荷绿背景 */
  --bg: #e0f5ee;
  --surface: rgba(255,255,255,.92);
  --surface-2: rgba(255,255,255,.98);
  --text: rgba(12, 24, 22, .92);
  --muted: rgba(12, 24, 22, .62);
  --border: rgba(11, 179, 138, .14);
  --link: #0aa77f;
  --accent: #3ad1a7;

  /* 两个“卡片色块”基调（参考图绿色/黄色卡） */
  --mint-50: #eafaf3;
  --mint-100: #d8f6ea;
  --mint-200: #c7f0e1;
  --lemon-100: #fff4cf;
  --lemon-200: #ffe8a6;

  --max: 1120px;
  --radius: 16px;
  --shadow: 0 14px 28px rgba(10, 46, 36, .08);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC","Hiragino Sans GB","Microsoft YaHei", sans-serif;
  background: var(--bg); /* 纯色背景，不要渐变 */
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 10px;
  border-radius: 8px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(246,255,251,.78);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  /* background: linear-gradient(135deg, rgba(58, 209, 167, .95), rgba(10, 167, 127, .95)); */
  box-shadow: var(--shadow);
}
.brand-text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-title{
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-subtitle{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav{
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px; /* 调小高度 */
  margin: 2px 0;     /* 与顶部/底部留一点间距 */
  border-radius: 10px;
  color: var(--text);
  border: 1px solid transparent;
}
.nav a[aria-current="page"]{
  background: rgba(58, 209, 167, .10);
  border-color: var(--border);
  text-decoration: none;
}
.nav a:hover{
  background: rgba(58, 209, 167, .08);
  border-color: var(--border);
  text-decoration: none;
}

.menu-btn{
  display: none;
  background: rgba(58, 209, 167, .10);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 5px 10px; /* 高度稍微调小一点 */
  font-size: 13px;
}

/* Mobile nav */
@media (max-width: 880px){
  .menu-btn{ display: inline-flex; }
  .nav{
    display: none;
    position: absolute;
    right: 16px;
    top: 58px;
    flex-direction: column;
    align-items: stretch;
    min-width: min(320px, calc(100vw - 32px));
    background: rgba(246,255,251,.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .nav.is-open{ display: flex; }
  .nav a{ justify-content: flex-start; }
}

/* Main */
main{
  padding: 26px 0 40px;
  flex: 1 0 auto; /* 让 main 撑满剩余高度，保证页脚贴底 */
}
.hero{
  padding: 22px 0 10px;
}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.86));
  border: 1px solid rgba(11, 179, 138, .18);
  border-radius: calc(var(--radius) + 6px);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero h1{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}
.hero p{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

/* App 截图区域 */
.screenshots{
  margin-top: 18px;
}
.screenshots-header h2{
  margin: 0 0 4px;
  font-size: 18px;
}
.screenshots-header p{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 14px;
}
.screenshots-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.screenshot-card{
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.screenshot-frame{
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(58,209,167,.22), rgba(255,255,255,.9));
  box-shadow: 0 14px 28px rgba(10, 46, 36, .10);
}
.screenshot-frame img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.screenshots-tip{
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.actions.screenshots-actions{
  margin-top: 40px; /* 覆盖 .actions 的 margin-top */
  justify-content: center;
}
@media (max-width: 960px){
  .screenshots-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .screenshots-grid{
    grid-template-columns: minmax(0, 1fr);
  }
}
.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  color: var(--text);
  text-decoration: none;
}
.btn.primary{
  border-color: rgba(11, 179, 138, .30);
  background: linear-gradient(135deg, rgba(58, 209, 167, .30), rgba(58, 209, 167, .12));
}
.btn:hover{
  text-decoration: none;
  background: rgba(58, 209, 167, .08);
}

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.card{
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
  border: 1px solid rgba(11, 179, 138, .16);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 22px rgba(10, 46, 36, .06);
}
.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); }
.card .meta{ margin-top: 10px; font-size: 13px; color: var(--muted); }

@media (max-width: 960px){
  .card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .card{ grid-column: span 12; }
}

.page-title{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 14px;
}
.page-title h1{ margin: 0; font-size: clamp(20px, 2.2vw, 28px); }
.page-title p{ margin: 0; color: var(--muted); }

.content{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
  border: 1px solid rgba(11, 179, 138, .16);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(10, 46, 36, .06);
}
.content h2{ margin: 18px 0 8px; font-size: 16px; }
.content h2:first-child{ margin-top: 0; }
.content p, .content li{ color: var(--muted); }
.content ul{ padding-left: 18px; }
.content .placeholder{
  border: 1px dashed rgba(11, 179, 138, .26);
  border-radius: 12px;
  padding: 12px;
  color: rgba(12, 24, 22, .68);
  background: rgba(58, 209, 167, .06);
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(246,255,251,.72);
  padding: 18px 0 26px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1fr auto; /* 左边信息列 + 右侧紧凑链接列 */
  gap: 14px;
  align-items: start;
}
.footer-grid .small{ color: var(--muted); font-size: 13px; }
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links-right{
  align-items: flex-end;
  text-align: right;
  justify-self: end; /* 整列贴近右侧 */
}
@media (max-width: 820px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.badge{
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pill{
  font-size: 12px;
  color: rgba(12, 24, 22, .78);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(58, 209, 167, .08);
}


.container{
  padding: 0 12px;
}


