/* 原型目录页 · 演示门户 v2 */
body { background: #f4f6fa; }
.directory { width: min(1160px, 100% - 48px); margin-inline: auto; }
.directory-top { min-height: 76px; }
.directory-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.directory-brand > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-grad); color: white; }
.directory-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(18px,4vw,56px); padding: clamp(28px,5vw,64px); border-radius: 24px; color: #fff; background: radial-gradient(circle at 85% 20%, #2f6bff 0, transparent 45%), linear-gradient(120deg,#0a1f4a,#0b3a9e 70%); box-shadow: var(--shadow); }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #ffffff1a; color: #dbe7ff; font-size: 13px; font-weight: 600; }
.hero-tag i { height: 8px; width: 8px; border-radius: 50%; background: #ffb066; }
.hero-copy h1 { font-size: clamp(34px,5vw,60px); line-height: 1.15; letter-spacing: -.03em; margin: 18px 0 16px; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg,#ffc58a,#ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { max-width: 40ch; margin: 0 0 26px; color: #d3e1fb; font-size: clamp(14px,1.4vw,17px); }
.hero-button { width: max-content; max-width: 100%; min-height: 46px; padding-inline: 22px; background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px #e8590c55; }
.hero-button:hover { color: #fff; filter: brightness(1.05); }
.hero-button:focus-visible { outline-color: #e6f1ff; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art text { font: 11px var(--font); letter-spacing: .07em; }
.hero-phones { display: flex; justify-content: center; gap: 14px; }
.hero-phone { width: 128px; border-radius: 20px; border: 4px solid #0a1633; background: #f4f6fa; overflow: hidden; box-shadow: 0 18px 40px #00000055; }
.hero-phone:nth-child(2) { margin-top: 28px; }
.hero-phone img { display: block; width: 100%; aspect-ratio: 1/1.1; object-fit: cover; }
.hero-phone span { display: block; padding: 7px 8px; color: var(--text); font-size: 11px; font-weight: 700; }
.hero-phone b { color: var(--price); }
.directory-section { margin-top: clamp(28px,4vw,48px); }
.directory-section h2 { margin: 0 0 14px; font-size: clamp(20px,2vw,24px); }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-4); }
.role-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid transparent; border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.role-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cddcff; }
.role-card strong, .role-card small { display: block; }
.role-card strong { font-size: 16px; }
.role-card small { margin-top: 3px; color: var(--muted); }
.role-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.role-icon-warm { color: var(--accent); background: var(--accent-soft); }
.directory-link { color: var(--primary); display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; }
.directory-link:hover { text-decoration: underline; }
.directory-section-heading { margin-bottom: 14px; }
.directory-section-heading h2 { margin: 0; }
.directory-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; list-style: none; }
.directory-step { min-height: 62px; padding: 10px 14px; display: grid; grid-template-columns: 2.5rem 1fr auto 16px; align-items: center; gap: 8px; background: var(--surface); border: 1px solid transparent; border-radius: 12px; box-shadow: var(--shadow-sm); }
.directory-step:hover { border-color: #cddcff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font: 700 12px var(--font-mono); }
.directory-footer { padding: 22px 0; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.directory-footer .directory-link { margin: 0; }
#reset-status:not(:empty) { margin: 14px 0 0; }
@media (max-width: 850px) { .role-grid { grid-template-columns: 1fr; } }
@media (max-width: 630px) {
  .directory { width: calc(100% - 28px); }
  .directory-hero, .directory-steps { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .directory-step { grid-template-columns: 1.6rem 1fr auto 16px; gap: 6px; }
}
