/* 集善阳光鹿童基金公益站 · 全站样式（A「暖阳」）
 * 和官网同一家人：标题、引语用楷体（霞鹜文楷），正文系统无衬线；深墨绿正文、胶囊按钮、:focus-visible 等无障碍做法照官网。
 * 和官网不一样：官网白底、绿色分区、橙色只作强调；这里以鹿童橙为主色——浅杏色底上的一轮太阳（同心圆），
 * 按钮和重点用 --sun-ink，装饰用 --sun，分隔线用 --line；绿色只用在对勾上。
 * 太阳是唯一的「大动作」：首页首屏、内页标题区右下角的半轮太阳、标志、四步的圆点都是它；其余地方保持安静。
 */

:root {
  --sun: #e8650a;          /* 鹿童橙：装饰（太阳、步骤圆点、细强调线） */
  --sun-ink: #b04e00;      /* 按钮底色、链接、重点小字（白底对比度 5.3） */
  --sun-deep: #8a3d00;     /* 按钮悬停 */
  --gold: #ffc46b;         /* 太阳芯 */
  --apricot: #fff3e9;      /* 浅杏底：首屏、标题区、卡片 */
  --apricot-2: #ffe9d6;    /* 稍深的杏色：页脚底栏、选中 */
  --line: #f3d8c2;         /* 分隔线 */
  --field: #d3a07c;        /* 输入框边框（比分隔线深，手机强光下也看得清） */
  --ink: #1e3328;          /* 深墨绿：标题、正文 */
  --ink-2: #4a5e52;        /* 次要文字 */
  --leaf: #2f6f45;         /* 对勾 */
  --leaf-tint: #e6f2e9;
  --err: #b3261e;
  --kai: "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  /* 同心圆太阳：圆心是首屏照片；三圈由内到外逐渐变淡（硬边，像剪纸） */
  --sun-rings: radial-gradient(circle closest-side, #ffd29b 0 47%, #ffe0bd 47.4% 64%, #ffead6 64.4% 82%, rgba(255, 234, 214, 0) 82.4%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 92px; } /* 锚点跳转时不被吸顶的页头挡住 */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- 按钮、链接 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sun-ink); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--sun-deep); }
.btn-line { background: #fff; color: var(--sun-ink); box-shadow: inset 0 0 0 1.5px var(--sun-ink); }
.btn-line:hover { background: var(--apricot-2); color: var(--sun-deep); }
.btn-big { height: 54px; padding: 0 30px; font-size: 17px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.more { color: var(--sun-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.more:hover { color: var(--sun-deep); }

/* ---------- 页头 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--kai); font-size: 22px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.brand .sun-mark { width: 36px; height: 36px; flex: none; }
.nav ul { display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 0 12px; line-height: 72px; font-size: 16px; white-space: nowrap; }
.nav a:hover { color: var(--sun-ink); }
.nav .nav-apply { color: var(--sun-ink); font-weight: 700; } /* 家长主要为它而来，始终显眼 */
.nav a[aria-current="page"] { color: var(--sun-ink); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--sun);
}
.top-tel { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--sun-ink); font-size: 19px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top-tel:hover { color: var(--sun-deep); }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn .i { width: 24px; height: 24px; }
.menu-panel { display: none; }

/* ---------- 区块标题 ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sec-head h2 { font-family: var(--kai); font-size: 34px; line-height: 1.3; font-weight: 700; }
.sec-head p { flex-basis: 100%; color: var(--ink-2); }

/* ---------- 首页首屏：一轮太阳 ---------- */
.hero { position: relative; overflow: hidden; background: var(--apricot); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.hero-text { position: relative; z-index: 1; }
.hero-org { color: var(--sun-ink); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { margin-top: 14px; font-family: var(--kai); font-size: 46px; line-height: 1.34; font-weight: 700; letter-spacing: .01em; }
.hero h1 span { display: inline-block; } /* 按词组换行，不在词中间断开 */
.hero-lede { margin-top: 20px; max-width: 30em; color: var(--ink-2); font-size: 17px; line-height: 1.9; }
.hero .acts { margin-top: 32px; }
.hero-sun { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; }
.hero-sun::before {
  content: ""; position: absolute; left: 50%; top: 178px; z-index: 0;
  width: 780px; height: 780px; margin: -390px 0 0 -390px; border-radius: 50%;
  background: var(--sun-rings);
  animation: sunrise 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-sun img {
  position: relative; width: 356px; height: 356px; border-radius: 50%; object-fit: cover; object-position: 62% 50%;
  border: 8px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(176, 78, 0, .55);
  background: #ffd29b;
}
.hero-sun figcaption { position: relative; margin-top: 18px; color: var(--ink-2); font-family: var(--kai); font-size: 17px; line-height: 1.5; text-align: center; }
.hero-sun figcaption span { display: inline-block; }
@keyframes sunrise { from { opacity: 0; transform: translateY(36px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- 怎么申请：四步（首页、救助申请页） ---------- */
.how { padding: 80px 0 88px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; counter-reset: step; }
.steps li { position: relative; padding-top: 68px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--sun); color: #fff; font-family: var(--kai); font-size: 27px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 7px var(--apricot);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 70px; right: -14px; border-top: 2px dotted #e9b289; }
.steps strong { display: block; font-family: var(--kai); font-size: 22px; line-height: 1.45; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* ---------- 首页：救助成果、公益活动 ---------- */
.news { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.news-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.news-in.one { grid-template-columns: minmax(0, 720px); }
.news .sec-head h2 { font-size: 30px; }
.ticks { margin-top: 20px; border-top: 1px solid var(--line); }
.ticks a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.yr {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--apricot); color: var(--sun-ink); font-family: var(--kai); font-size: 17px; font-weight: 700;
  transition: background-color .15s ease;
}
.tick-title { display: block; font-family: var(--kai); font-size: 20px; line-height: 1.5; }
.ticks time { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; }
.ticks a:hover .tick-title { color: var(--sun-ink); }
.ticks a:hover .yr { background: var(--apricot-2); }

/* ---------- 内页标题区：右下角升起半轮太阳 ---------- */
.page-head { position: relative; overflow: hidden; background: var(--apricot); }
.page-head::after {
  content: ""; position: absolute; right: -150px; bottom: -330px; width: 600px; height: 600px; border-radius: 50%;
  background: var(--sun-rings); pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 48px; }
.page-head h1 { margin-top: 12px; font-family: var(--kai); font-size: 46px; line-height: 1.3; font-weight: 700; letter-spacing: .02em; }
.page-head .lead { margin-top: 12px; max-width: 34em; color: var(--ink-2); font-size: 17px; line-height: 1.85; }
.page-head .acts { margin-top: 26px; }
.page-head.lost { background: #fff; } /* 下面紧接杏色页脚，标题区用白底分开 */
.page-head.lost .wrap { padding-top: 72px; padding-bottom: 112px; }

.crumbs ol { display: flex; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #d9a984; }
.crumbs a:hover { color: var(--sun-ink); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 内页：主栏 + 右侧申请卡片 ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 72px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.main-col { min-width: 0; }
.ask { position: sticky; top: 100px; overflow: hidden; padding: 28px 26px 24px; border-radius: 22px; background: var(--apricot); }
.ask .sun-mark { position: absolute; right: -14px; top: -14px; width: 92px; height: 92px; opacity: .9; }
.ask h2 { font-family: var(--kai); font-size: 26px; line-height: 1.35; }
.ask p { margin-top: 8px; padding-right: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.ask .btn { width: 100%; margin-top: 18px; }
.ask-tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--sun-ink); font-size: 20px; font-weight: 700; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.ask-tel:hover { color: var(--sun-deep); }
.ask-more { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; text-align: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #d9a984; }
.ask-more:hover { color: var(--sun-ink); }

/* ---------- 文章列表 ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row.has-pic { grid-template-columns: minmax(0, 1fr) 176px; }
.row-title { font-family: var(--kai); font-size: 24px; line-height: 1.45; font-weight: 700; }
.row-title a:hover { color: var(--sun-ink); }
.row time { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.row p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-pic img { width: 176px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--apricot); }
.empty { padding: 40px 0; color: var(--ink-2); }

/* ---------- 善款捐助：捐款方式 ---------- */
.donate { padding: 34px 38px 32px; border-radius: 24px; background: var(--apricot); }
.donate h2 { font-family: var(--kai); font-size: 32px; line-height: 1.3; }
.donate-lead { margin-top: 6px; color: var(--ink-2); }
.donate-lead a { color: var(--sun-ink); font-weight: 700; }
.donate-meta { margin-top: 18px; }
.donate-meta div, .accounts tr { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.donate-meta dt, .accounts th { color: var(--sun-ink); font-family: var(--kai); font-size: 18px; font-weight: 700; text-align: left; }
.donate-meta dd { font-size: 17px; font-weight: 600; }
.accounts { display: block; width: 100%; margin-top: 18px; border-collapse: collapse; }
.accounts caption { display: block; padding-bottom: 6px; color: var(--ink-2); font-size: 14px; text-align: left; }
.accounts tbody { display: block; }
.accounts tr:last-child { border-bottom: 1px solid var(--line); }
.accounts th, .accounts td { padding: 0; }
.accounts td { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.acct-no { font-size: 23px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; line-height: 1.4; }
.acct-no span { display: inline-block; }
.acct-no span + span { margin-left: .5em; }
.copy {
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--sun-ink); box-shadow: inset 0 0 0 1.5px var(--sun-ink); font-size: 14px; font-weight: 600;
}
.copy:hover { background: var(--apricot-2); }
.copy.ok { background: var(--leaf-tint); color: var(--leaf); box-shadow: inset 0 0 0 1.5px var(--leaf); }
.donate-remark { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--sun); border-radius: 4px 12px 12px 4px; background: #fff; font-size: 17px; font-weight: 700; }
.reports { margin-top: 56px; }
.reports-h { margin-bottom: 8px; font-family: var(--kai); font-size: 28px; line-height: 1.35; }
.reports .row-title { font-size: 22px; }

/* ---------- 文章页 ---------- */
.article { min-width: 0; }
.article-meta, .article .prose, .see-apply, .prev-next { max-width: 646px; } /* 和正文同宽（17px × 38em） */
.article h1 { margin-top: 14px; font-family: var(--kai); font-size: 38px; line-height: 1.4; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.article-meta a { color: var(--sun-ink); font-weight: 600; }
.article-meta a:hover { color: var(--sun-deep); }
.article .prose { margin-top: 32px; }
.see-apply { margin-top: 44px; padding: 16px 20px 16px 22px; border-radius: 14px; background: var(--apricot); font-size: 16px; }
.see-apply a { color: var(--sun-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.see-apply a:hover { color: var(--sun-deep); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.prev-next a { display: block; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: 14px; }
.prev-next a:hover { border-color: #e9b289; background: var(--apricot); }
.prev-next .next { grid-column: 2; text-align: right; }
.prev-next small { display: block; color: var(--ink-2); font-size: 13px; }
.prev-next span { display: block; margin-top: 4px; font-family: var(--kai); font-size: 18px; line-height: 1.5; }

/* 正文排版 */
.prose { max-width: 38em; font-size: 17px; line-height: 1.95; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; font-family: var(--kai); font-size: 28px; line-height: 1.4; }
.prose h3 { margin-top: 1.6em; font-family: var(--kai); font-size: 22px; line-height: 1.45; }
.prose h4 { margin-top: 1.4em; font-size: 17px; }
.prose a { color: var(--sun-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--sun-deep); }
.prose strong { font-weight: 700; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.5em; list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sun); }
.prose figure { margin-top: 1.8em; margin-bottom: 1.8em; }
.prose figure img { margin: 0 auto; border-radius: 14px; background: var(--apricot); } /* 老站照片多为 500px 宽，按原图宽度显示，不放大 */
.prose figure + figure { margin-top: 0; }
.prose figcaption { margin-top: 10px; color: var(--ink-2); font-family: var(--kai); font-size: 16px; line-height: 1.6; text-align: center; }
.prose blockquote { padding: 2px 0 2px 20px; border-left: 3px solid var(--sun); font-family: var(--kai); font-size: 20px; line-height: 1.85; }
.prose hr { height: 0; margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.prose code { padding: 1px 5px; border-radius: 4px; background: var(--apricot); font-size: .9em; }
/* 宽表格（救助汇总）：外层横向滚动，不撑破页面；左右两边有内容没露出来时显示一道淡阴影，提示可以左右滑 */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(176, 78, 0, .2), rgba(176, 78, 0, 0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(176, 78, 0, .2), rgba(176, 78, 0, 0)) right center / 14px 100% no-repeat scroll;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.prose th.wrap, .prose td.wrap { min-width: 12em; white-space: normal; }
.prose thead th { background: var(--apricot); font-weight: 600; }

/* ---------- 救助申请页 ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 64px; }
.intro h2 { font-family: var(--kai); font-size: 32px; line-height: 1.3; }
.checks { margin-top: 18px; }
.checks li { position: relative; padding: 13px 0 13px 42px; border-bottom: 1px dashed var(--line); font-size: 17px; line-height: 1.75; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--leaf-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.aside-note { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.terms { padding: 30px 32px 28px; border: 1.5px solid var(--line); border-radius: 24px; }
.terms dl { margin-top: 12px; }
.terms dl > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dt { color: var(--sun-ink); font-family: var(--kai); font-size: 18px; font-weight: 700; line-height: 1.6; }
.terms dd { font-size: 16px; line-height: 1.75; }

.how-apply { padding-top: 88px; }

.apply-band { padding: 80px 0 96px; background: var(--apricot); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.apply-band .sec-head { margin-bottom: 24px; }
.form-card { padding: 40px 44px 44px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 28px 50px -36px rgba(176, 78, 0, .45); }
.apply-side { position: sticky; top: 100px; display: grid; gap: 16px; padding-top: 84px; }
.side-card { padding: 24px 24px 22px; border-radius: 20px; background: #fff; }
.side-card h3 { font-family: var(--kai); font-size: 21px; line-height: 1.4; }
.side-card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.side-card .more { display: inline-block; margin-top: 10px; font-size: 15px; }
.big-tel { display: block; margin-top: 4px; color: var(--sun-ink); font-size: 28px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.big-tel:hover { color: var(--sun-deep); }

/* 登记表 */
.form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form fieldset + fieldset { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.form legend { float: left; width: 100%; padding: 0; font-family: var(--kai); font-size: 26px; line-height: 1.3; font-weight: 700; } /* 浮动后不压在边框上 */
.form legend + * { clear: both; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; padding-top: 20px; }
.form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form .field.full { grid-column: 1 / -1; }
.form .field label, .form .field .label { font-size: 15px; font-weight: 600; }
.req { margin-left: 2px; color: var(--sun-ink); font-weight: 700; }
.opt { margin-left: 2px; color: var(--ink-2); font-weight: 400; }
.form .field input[type="text"], .form .field input[type="tel"], .form .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 12px;
  background: #fff; font-size: 16px; /* 不小于 16px，iOS 聚焦时不放大页面 */
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form .field textarea { height: auto; min-height: 132px; padding: 12px 16px; line-height: 1.75; resize: vertical; }
.form .field textarea[name="family"] { min-height: 92px; }
.form .field input:focus, .form .field textarea:focus { outline: none; border-color: var(--sun-ink); box-shadow: 0 0 0 3px rgba(232, 101, 10, .2); }
.form .field ::placeholder { color: #a08877; }
.form .help { color: var(--ink-2); font-size: 13px; }
.form .field input[aria-invalid="true"], .form .field textarea[aria-invalid="true"] { border-color: var(--err); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
/* 单选「男孩 / 女孩」：真正的 radio 透明叠在下面，外观画在紧跟的 span 上（用 + 选择器，不用 :has，老手机也能看到选中态） */
.form .field .pill { position: relative; display: inline-flex; cursor: pointer; font-family: var(--kai); font-size: 20px; font-weight: 400; }
.pill input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill span {
  display: inline-flex; align-items: center; height: 50px; padding: 0 30px;
  border: 1.5px solid var(--field); border-radius: 999px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pill:hover span { background: var(--apricot); }
.pill input:checked + span { background: var(--sun-ink); border-color: var(--sun-ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.form-errors { margin-bottom: 28px; padding: 16px 20px; border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: 15px; }
.form-errors ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }
.form-errors ul:empty { display: none; }
#apply-errors:focus, #apply-done:focus { outline: none; } /* JS 把焦点移过来让读屏读出，不是可操作元素 */
.err { display: block; margin-top: 2px; color: var(--err); font-size: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 32px; color: var(--ink-2); font-size: 15px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sun-ink); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.submit-row .btn { min-width: 200px; }
.submit-row .btn:disabled { opacity: .7; cursor: progress; }
.submit-row p, .noscript { color: var(--ink-2); font-size: 15px; }
.submit-row p a, .done p a { color: var(--sun-ink); font-weight: 700; white-space: nowrap; }
.noscript { margin-top: 14px; }

.done h3 { font-family: var(--kai); font-size: 30px; line-height: 1.35; }
.done h3::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%;
  background: var(--leaf-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat; }
.done p { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.85; }
.done .more { display: inline-block; margin-top: 16px; }

/* 要准备的材料 */
.docs { padding: 88px 0 104px; }
.docs-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.docs-lead { margin-top: 10px; color: var(--ink-2); }
.docs-list { margin-top: 18px; max-width: 44em; }
.docs-list li { position: relative; padding: 13px 0 13px 38px; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.docs-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 20px; height: 20px; border: 2px solid #e9b289; border-radius: 5px; } /* 像清单上的方框，寄之前逐项打勾 */
.docs-list strong { color: var(--ink); font-weight: 700; }
.docs-note { max-width: 44em; margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.pdf-card {
  position: sticky; top: 100px; display: grid; gap: 4px; margin-top: 64px; padding: 26px 24px 22px;
  border: 1.5px solid var(--line); border-radius: 22px; background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.pdf-card:hover { border-color: #e9b289; background: var(--apricot); }
.pdf-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 14px; background: var(--apricot-2); color: var(--sun-ink); }
.pdf-icon .i { width: 28px; height: 28px; }
.pdf-name { font-family: var(--kai); font-size: 21px; line-height: 1.45; font-weight: 700; }
.pdf-meta { color: var(--ink-2); font-size: 14px; }
.pdf-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--sun-ink); font-weight: 700; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); background: var(--apricot); color: var(--ink-2); font-size: 15px; }
.foot-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 52px; }
.foot-motto { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--kai); font-size: 28px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; }
.foot-motto .sun-mark { width: 44px; height: 44px; flex: none; }
.foot-name { margin-top: 14px; }
.foot-call p { font-size: 14px; }
.foot-tel { display: block; margin-top: 2px; color: var(--sun-ink); font-size: 28px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.foot-tel:hover { color: var(--sun-deep); }
.foot-pdf { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #d9a984; }
.foot-pdf:hover { color: var(--sun-ink); }
.foot-nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 36px; }
.foot-nav a { color: var(--ink); }
.foot-nav a:hover { color: var(--sun-ink); }
.foot-main-site { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.foot-main-site a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #d9a984; }
.foot-bottom { background: var(--apricot-2); }
.foot-bottom .wrap { padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
.foot-bottom a:hover { color: var(--sun-ink); }

.dock { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .top-in { gap: 20px; }
  .nav a { padding: 0 9px; }
  .nav a[aria-current="page"]::after { left: 9px; right: 9px; }
  .with-aside { gap: 48px; grid-template-columns: minmax(0, 1fr) 272px; }
  .hero h1 { font-size: 40px; }
  .hero-sun img { width: 300px; height: 300px; }
  .hero-sun::before { top: 150px; width: 680px; height: 680px; margin: -340px 0 0 -340px; }
}

@media (max-width: 960px) {
  .nav, .top-tel { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .top-in { height: 64px; }
  .brand { font-size: 20px; }
  .brand .sun-mark { width: 32px; height: 32px; }
  .menu-panel.open {
    display: block; position: absolute; left: 0; right: 0; top: 64px;
    padding: 4px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(176, 78, 0, .45);
  }
  .menu-panel li a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-panel li a.nav-apply, .menu-panel li a[aria-current="page"] { color: var(--sun-ink); font-weight: 700; }
  .menu-tel { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--sun-ink); font-size: 18px; font-weight: 700; }
  [id] { scroll-margin-top: 80px; }

  .hero-in { grid-template-columns: 1fr; gap: 8px; padding-top: 44px; padding-bottom: 56px; }
  .hero-sun { order: -1; justify-self: start; flex-direction: row; gap: 18px; }
  .hero-sun img { width: 132px; height: 132px; border-width: 5px; }
  .hero-sun::before { left: 66px; top: 66px; width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .hero-sun figcaption { max-width: 14em; margin-top: 0; font-size: 15px; text-align: left; }
  .hero-text { margin-top: 28px; }

  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .steps li { padding: 0 0 26px 70px; min-height: 76px; }
  .steps li:not(:last-child)::after { top: 64px; bottom: 6px; left: 24px; right: auto; border-top: 0; border-left: 2px dotted #e9b289; }
  .steps strong { padding-top: 8px; }

  .news-in { grid-template-columns: 1fr; gap: 56px; }
  .with-aside { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 64px; }
  .ask { display: none; } /* 手机底部有固定底栏「打电话 / 网上登记」 */

  .intro { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .apply-grid, .docs-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .apply-side { position: static; padding-top: 0; }
  .pdf-card { position: static; margin-top: 0; max-width: 420px; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-id { grid-column: 1 / -1; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-size: 17px; font-weight: 700; }
  .dock-call { color: var(--sun-ink); box-shadow: inset 0 0 0 1.5px var(--sun-ink); background: #fff; }
  .dock-reg { background: var(--sun-ink); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .sec-head h2 { font-size: 28px; }
  .hero h1 { font-size: 31px; line-height: 1.42; }
  .hero-sun { gap: 16px; }
  .hero-sun img { width: 120px; height: 120px; }
  .hero-sun::before { left: 60px; top: 60px; }
  .hero-sun figcaption { font-size: 14px; }
  .hero-lede { font-size: 16px; }
  .hero .acts { flex-direction: column; align-items: stretch; }
  .hero .acts .btn { width: 100%; }
  .how { padding: 56px 0 60px; }
  .news { padding: 56px 0 64px; }
  .news .sec-head h2 { font-size: 26px; }
  .tick-title { font-size: 18px; }

  .page-head .wrap { padding-top: 24px; padding-bottom: 36px; }
  .page-head h1 { font-size: 34px; }
  .page-head .lead { font-size: 16px; }
  .page-head::after { right: -220px; bottom: -380px; }
  .page-head .acts .btn { flex: 1 1 auto; }

  .row, .row.has-pic { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding: 22px 0; }
  .row:not(.has-pic) { grid-template-columns: minmax(0, 1fr); }
  .row-pic img { width: 96px; aspect-ratio: 1; border-radius: 12px; }
  .row-title, .reports .row-title { font-size: 20px; }
  .row p { display: none; }

  .donate { padding: 26px 20px 22px; border-radius: 20px; }
  .donate h2 { font-size: 28px; }
  .donate-meta div, .accounts tr { grid-template-columns: 1fr; gap: 2px; }
  .acct-no { font-size: 21px; }

  .article .crumbs [aria-current="page"] { display: none; } /* 手机上面包屑不再重复长标题 */
  .article h1 { font-size: 29px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 24px; }
  .prose .table-wrap { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); } /* 表格贴满屏宽，多露出一点 */
  .prose table { font-size: 14px; }
  .prose th:first-child, .prose td:first-child { padding-left: var(--gutter); }
  .prose th:last-child, .prose td:last-child { padding-right: var(--gutter); }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { grid-column: auto; text-align: left; }

  .intro h2 { font-size: 28px; }
  .terms { padding: 24px 20px 22px; border-radius: 20px; }
  .terms dl > div { grid-template-columns: 1fr; gap: 0; }
  .apply-band { padding: 56px 0 64px; }
  .form-card { margin: 0 calc(var(--gutter) * -1); padding: 28px var(--gutter) 32px; border-radius: 0; box-shadow: none; }
  .fields { grid-template-columns: 1fr; }
  .form legend { font-size: 24px; }
  .submit-row .btn { width: 100%; }
  .docs { padding: 56px 0 64px; }
  .pdf-card { max-width: none; }

  .foot-main { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 40px; }
  .foot-motto { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
