/* ==========================================================================
   Theme: 「极地冰霜 / Arctic Frost」— theme-factory preset #6
   Ice Blue #d4e4f7 · Steel Blue #4a6fa5 · Silver #c0c0c0 · Crisp White #fafafa
   Applied to the overview page only (scoped under body.ov).
   Methodology: cohesive palette + font pairing + layout spec.
   ========================================================================== */

.ov {
  --ov-steel-deep: #3d5a86;
  --ov-steel: #4a6fa5;
  --ov-steel-soft: #6f92c4;
  --ov-steel-mist: #9ab4d6;
  --ov-ice: #d4e4f7;
  --ov-ice-soft: #eaf2fc;
  --ov-silver: #c0c0c0;
  --ov-silver-soft: #d9dde3;
  --ov-crisp: #fafafa;
  --ov-ink: #1e2836;
  --ov-slate: #5f6d80;
  --ov-mist: #f4f8fd;
  --ov-line: #d4e4f7;
  --ov-card: #ffffff;
  --ov-font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ov-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  background:
    radial-gradient(1100px 460px at 8% -8%, rgba(74, 111, 165, .10), transparent 62%),
    radial-gradient(900px 420px at 100% 0%, rgba(212, 228, 247, .55), transparent 58%),
    var(--ov-mist);
  color: var(--ov-ink);
  font-family: var(--ov-font);
}

/* ---- shell: frosted top bar + roomier container ---- */
.ov .container { max-width: 1140px; }
.ov .topbar {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(90deg, rgba(61, 90, 134, .96), rgba(74, 111, 165, .94));
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(192, 192, 192, .45);
  box-shadow: 0 6px 22px rgba(74, 111, 165, .20);
}
.ov .brand a { letter-spacing: .2px; }
.ov .navlink { border-radius: 999px; }
.ov .navlink.active { background: rgba(212, 228, 247, .30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.ov .foot { font-family: var(--ov-mono); font-size: 12px; }

/* ---- hero: crisp white / ice frost panel with steel accents ---- */
.ov .ov-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 34px; align-items: center;
  margin: 22px 0 22px; padding: 40px 38px;
  border-radius: 20px;
  background:
    radial-gradient(760px 320px at 90% 6%, rgba(212, 228, 247, .95), transparent 62%),
    radial-gradient(560px 300px at -4% 104%, rgba(192, 192, 192, .26), transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #eaf2fc 58%, #dceafb 100%);
  border: 1px solid var(--ov-line);
  color: var(--ov-ink);
  box-shadow: 0 20px 46px rgba(74, 111, 165, .16);
  overflow: hidden;
}
.ov .ov-eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ov-steel);
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(74, 111, 165, .22);
}
.ov .ov-hero h1 {
  margin: 16px 0 14px; font-size: 40px; line-height: 1.1; font-weight: 800;
  letter-spacing: -.02em; color: #22304a;
}
.ov .ov-hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--ov-steel-deep), var(--ov-steel-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ov .ov-lead { margin: 0 0 22px; max-width: 560px; font-size: 15px; line-height: 1.68; color: #4b5b6e; }
.ov .ov-lanes { display: flex; gap: 10px; flex-wrap: wrap; }
.ov .ov-btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ov-steel-deep);
  border: 1px solid rgba(74, 111, 165, .28); background: rgba(255, 255, 255, .9);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.ov .ov-btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--ov-ice-soft); }
.ov .ov-btn.primary {
  background: linear-gradient(96deg, var(--ov-steel), var(--ov-steel-deep));
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 24px rgba(74, 111, 165, .40);
}
.ov .ov-btn.primary:hover { background: linear-gradient(96deg, var(--ov-steel-soft), var(--ov-steel)); }

/* three user-type entries (volunteer / help seeker / training) */
.ov .ov-btn.ov-lane {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 9px 15px; text-align: left;
}
.ov .ov-lane-ttl { font-size: 14px; font-weight: 600; }
.ov .ov-lane-hint { font-size: 11.5px; font-weight: 500; letter-spacing: .01em; opacity: .82; }
.ov .ov-lanefoot { margin: 12px 0 0; font-size: 12.5px; color: #4b5b6e; }
.ov .ov-lanefoot a { color: var(--ov-steel-deep); font-weight: 600; text-decoration: underline; }
.ov .ov-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.ov .ov-pill {
  font-family: var(--ov-mono); font-size: 11.5px; padding: 5px 11px; border-radius: 999px;
  color: var(--ov-slate); background: rgba(255, 255, 255, .85); border: 1px solid rgba(74, 111, 165, .20);
}
.ov .ov-pill.ok { color: #256b53; border-color: rgba(47, 125, 99, .34); background: rgba(47, 125, 99, .08); }
.ov .ov-pill.warn { color: #96691a; border-color: rgba(168, 118, 27, .34); background: rgba(168, 118, 27, .09); }

/* ---- hero side panel: metrics + orbit ---- */
.ov .ov-panel { position: relative; min-height: 268px; display: grid; place-items: center; }
.ov .ov-metrics {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  width: 100%; max-width: 340px;
}
.ov .ov-metric {
  padding: 15px 16px; border-radius: 13px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(74, 111, 165, .18);
  box-shadow: 0 6px 16px rgba(74, 111, 165, .10);
}
.ov .ov-metric b {
  display: block; font-size: 27px; line-height: 1.1; font-weight: 800; color: var(--ov-steel-deep);
  font-family: var(--ov-mono); letter-spacing: -.02em;
}
.ov .ov-metric span { display: block; margin-top: 4px; font-size: 12px; color: var(--ov-slate); }

.ov .ov-orbit {
  position: absolute; right: -46px; bottom: -58px; width: 300px; height: 300px;
  opacity: .55; pointer-events: none;
}
.ov .ov-orbit .ring { fill: none; stroke: rgba(74, 111, 165, .30); stroke-width: 1; }
.ov .ov-orbit .r2 { stroke: rgba(192, 192, 192, .95); stroke-dasharray: 4 7; }
.ov .ov-orbit .r3 { stroke: rgba(74, 111, 165, .16); }
.ov .ov-orbit .core { fill: var(--ov-steel); }
.ov .ov-orbit .dot { fill: var(--ov-steel-soft); }
.ov .ov-orbit .d2 { fill: var(--ov-silver); }
.ov .ov-orbit .link { stroke: rgba(74, 111, 165, .22); stroke-width: 1; }
.ov .ov-orbit { animation: ov-spin 46s linear infinite; transform-origin: 50% 50%; }
@keyframes ov-spin { to { transform: rotate(360deg); } }

/* ---- workflow strip ---- */
.ov .ov-h2 {
  margin: 0 0 16px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ov-ink);
}
.ov .ov-h2::after {
  content: ""; display: block; width: 42px; height: 3px; margin-top: 8px; border-radius: 3px;
  background: linear-gradient(90deg, var(--ov-steel), var(--ov-ice));
}
.ov .ov-flow {
  background: var(--ov-card); border: 1px solid var(--ov-line); border-radius: 18px;
  padding: 26px 28px; margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(74, 111, 165, .08);
}
.ov .ov-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ov .ov-step { position: relative; padding-left: 54px; }
.ov .ov-stepn {
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--ov-mono); font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, var(--ov-steel), var(--ov-steel-deep));
  box-shadow: 0 8px 18px rgba(74, 111, 165, .30);
}
.ov .ov-step:nth-child(2) .ov-stepn { background: linear-gradient(140deg, var(--ov-steel-soft), var(--ov-steel)); box-shadow: 0 8px 18px rgba(74,111,165,.24); }
.ov .ov-step:nth-child(3) .ov-stepn { background: linear-gradient(140deg, var(--ov-silver), #a9b1bb); color: #33405a; box-shadow: 0 8px 18px rgba(150,157,168,.30); }
.ov .ov-step h4 { margin: 5px 0 6px; font-size: 14.5px; font-weight: 700; }
.ov .ov-step p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ov-slate); }
.ov .ov-step:nth-child(4) .ov-stepn { background: linear-gradient(140deg, var(--ov-ice), var(--ov-silver-soft)); color: #3a4457; box-shadow: 0 8px 18px rgba(150,157,168,.30); }
/* step connectors - pure CSS, drawn from the badge towards the next step */
.ov .ov-step::before {
  content: ""; position: absolute; top: 18px; left: 46px;
  width: calc(100% - 32px); height: 2px;
  background: linear-gradient(90deg, rgba(74, 111, 165, .38), rgba(74, 111, 165, .10));
}
.ov .ov-step::after {
  content: ""; position: absolute; top: 11px; right: -14px; width: 8px; height: 8px;
  border-top: 2px solid rgba(74, 111, 165, .30); border-right: 2px solid rgba(74, 111, 165, .30);
  transform: rotate(45deg);
}
.ov .ov-step:last-child::before, .ov .ov-step:last-child::after { display: none; }
.ov .ov-steplinks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ov .ov-steplinks a {
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  color: var(--ov-steel-deep); background: rgba(212, 228, 247, .55);
  border: 1px solid rgba(74, 111, 165, .20);
}
.ov .ov-steplinks a:hover { text-decoration: none; background: var(--ov-ice); border-color: rgba(74, 111, 165, .38); }
.ov .ov-btn.small { padding: 7px 14px; font-size: 13px; }
.ov .ov-btn.ghost { background: transparent; }

/* ---- service commitment: ice cards with a silver rule ---- */
.ov .ov-promise { margin-bottom: 24px; }
.ov .ov-promisegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ov .ov-promise-item {
  background: linear-gradient(160deg, var(--ov-ice-soft), #ffffff 88%);
  border: 1px solid var(--ov-line); border-top: 3px solid var(--ov-silver);
  border-radius: 14px; padding: 18px 18px 16px;
}
.ov .ov-promise-item h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.ov .ov-promise-item p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ov-slate); }
.ov .ov-promise-item .ov-ico { width: 38px; height: 38px; margin-bottom: 12px; }

/* ---- enter by role ---- */
.ov .ov-roles { margin-bottom: 10px; }
.ov .ov-rolegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ov .ov-role {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, #ffffff, var(--ov-ice-soft));
  border: 1px solid var(--ov-silver-soft); border-radius: 16px;
  padding: 22px 22px 18px;
}
.ov .ov-role h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ov .ov-role p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.62; color: var(--ov-slate); flex: 1; }
.ov .ov-roleacts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---- capability cards ---- */
.ov .ov-features { margin-bottom: 10px; }
.ov .ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 16px; }
.ov .ov-card {
  position: relative; display: block; overflow: hidden;
  background: var(--ov-card); border: 1px solid var(--ov-line); border-radius: 16px;
  padding: 22px 22px 18px; color: var(--ov-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ov .ov-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--ov-steel-soft), var(--ov-steel));
}
.ov .ov-card.acc-teal::before { background: linear-gradient(90deg, var(--ov-ice), var(--ov-steel-mist)); }
.ov .ov-card.acc-amber::before { background: linear-gradient(90deg, var(--ov-silver-soft), var(--ov-silver)); }
.ov .ov-card:hover {
  text-decoration: none; transform: translateY(-3px);
  border-color: rgba(74, 111, 165, .5);
  box-shadow: 0 16px 34px rgba(74, 111, 165, .18);
}
.ov .ov-ico {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; color: var(--ov-steel);
  background: linear-gradient(140deg, rgba(74,111,165,.14), rgba(74,111,165,.05));
  border: 1px solid rgba(74, 111, 165, .18);
}
.ov .ov-card.acc-teal .ov-ico { color: var(--ov-steel-deep); background: linear-gradient(140deg, rgba(212,228,247,.9), rgba(212,228,247,.35)); border-color: rgba(74,111,165,.22); }
.ov .ov-card.acc-amber .ov-ico { color: #5f6d80; background: linear-gradient(140deg, rgba(192,192,192,.35), rgba(192,192,192,.12)); border-color: rgba(150,157,168,.32); }
.ov .ov-ico svg { width: 22px; height: 22px; }
.ov .ov-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.ov .ov-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.62; color: var(--ov-slate); }
.ov .ov-cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ov .ov-tag {
  font-family: var(--ov-mono); font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  color: var(--ov-steel); background: rgba(74, 111, 165, .10); border: 1px solid rgba(74, 111, 165, .18);
}
.ov .ov-card.acc-teal .ov-tag { color: var(--ov-steel-deep); background: rgba(212,228,247,.55); border-color: rgba(74,111,165,.22); }
.ov .ov-card.acc-amber .ov-tag { color: #5f6d80; background: rgba(192,192,192,.22); border-color: rgba(150,157,168,.32); }
.ov .ov-go { font-size: 13px; font-weight: 600; color: var(--ov-steel); }
.ov .ov-card:hover .ov-go { color: var(--ov-steel-deep); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .ov .ov-hero { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; }
  .ov .ov-hero h1 { font-size: 32px; }
  .ov .ov-panel { min-height: 0; }
  .ov .ov-metrics { max-width: none; }
  .ov .ov-orbit { right: -70px; bottom: -70px; width: 240px; height: 240px; opacity: .42; }
  .ov .ov-steps { grid-template-columns: 1fr; gap: 16px; }
  .ov .ov-step::before {
    top: 44px; left: 18px; width: 2px; height: calc(100% - 44px + 12px);
    background: linear-gradient(180deg, rgba(74, 111, 165, .38), rgba(74, 111, 165, .10));
  }
  .ov .ov-step::after {
    top: auto; bottom: -7px; left: 14px; right: auto;
    border-top: 0; border-bottom: 2px solid rgba(74, 111, 165, .30);
  }
  .ov .ov-promisegrid, .ov .ov-rolegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ov .topbar { padding: 10px 14px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .ov .nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .ov .navlink { white-space: nowrap; padding: 6px 11px; font-size: 13px; }
  .ov .ov-hero { padding: 26px 18px; border-radius: 16px; }
  .ov .ov-hero h1 { font-size: 26px; }
  .ov .ov-lead { font-size: 14px; }
  .ov .ov-btn { text-align: center; }
  .ov .ov-flow { padding: 20px 18px; }
  .ov .ov-step { padding-left: 46px; }
  .ov .ov-grid { grid-template-columns: 1fr; }
  .ov .ov-metric { padding: 12px 13px; }
  .ov .ov-metric b { font-size: 23px; }
  .ov .ov-promisegrid, .ov .ov-rolegrid { grid-template-columns: 1fr; }
  .ov .ov-role { padding: 18px 18px 16px; }
  .ov .ov-roles { margin-bottom: 0; }
}
@media (min-width: 1024px) {
  .ov .ov-lanes { flex-wrap: nowrap; }
}
@media (max-width: 480px) {
  .ov .ov-lanes { flex-direction: column; align-items: stretch; }
  .ov .ov-btn.ov-lane { align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ov .ov-orbit { animation: none; }
  .ov .ov-card { transition: none; }
}
