*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1a1a1a;line-height:1.78;font-size:16px}
a{color:#5e35b1;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.site-header{background:#fff;border-bottom:1px solid #ede7f6;position:sticky;top:0;z-index:300}
.header-inner{max-width:1120px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.brand{display:flex;align-items:center;gap:10px;color:#111;font-weight:600;font-size:.95rem}
.brand:hover{text-decoration:none}
.brand img{border-radius:8px}
.brand em{font-style:normal;color:#5e35b1;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
.site-nav a{color:#555;font-size:.9rem;padding:4px 0}
.site-nav a.active,.site-nav a:hover{color:#ff8f00;font-weight:600;border-bottom:2px solid #ff8f00;text-decoration:none}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;transition:.2s}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ads-top-bar{background:#fafafa;border-bottom:1px solid #eee;padding:10px 0}
.applist-title{font-size:.78rem;color:#888;text-align:center;margin-bottom:6px}
#ads{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
#ads .caption{font-size:.7rem;color:#666;margin-top:4px;text-align:center;max-width:70px;line-height:1.3}

.hero-hex{background:linear-gradient(145deg,#ede7f6 0%,#fff8e1 50%,#fff 100%);padding:42px 20px 36px;border-bottom:1px solid #d1c4e9}
.hero-inner{max-width:1120px;margin:0 auto}
.hero-hex .tag{display:inline-block;background:linear-gradient(90deg,#5e35b1,#ff8f00);color:#fff;font-size:.76rem;font-weight:600;padding:5px 14px;border-radius:999px;margin-bottom:14px;letter-spacing:.04em}
.hero-hex h1{font-size:1.75rem;line-height:1.35;margin-bottom:16px;color:#111;max-width:820px}
.hero-hex .lead{color:#333;margin-bottom:12px;font-size:1.02rem;max-width:820px;text-align:justify}
.hero-hex .lead:last-of-type{margin-bottom:0}

.spine-nav{position:sticky;top:57px;z-index:250;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #e1bee7;padding:10px 20px}
.spine-nav-inner{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.spine-nav a{font-size:.82rem;padding:6px 14px;border:1px solid #e0e0e0;border-radius:999px;color:#555;background:#fafafa;transition:.15s;white-space:nowrap}
.spine-nav a:hover,.spine-nav a.is-active{background:linear-gradient(90deg,#ede7f6,#fff8e1);border-color:#b39ddb;color:#4527a0;text-decoration:none;font-weight:600}

.hex-spine-wrap{max-width:1120px;margin:0 auto;padding:32px 20px 52px;position:relative}
.hex-spine-wrap::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#5e35b1,#9575cd,#ff8f00,#ffb74d,#5e35b1);transform:translateX(-50%);border-radius:2px;z-index:0}

.hex-node{position:relative;display:grid;grid-template-columns:1fr 56px 1fr;gap:0 20px;margin-bottom:36px;align-items:start;z-index:1}
.hex-node:last-child{margin-bottom:0}

.hex-badge{grid-column:2;justify-self:center;width:56px;height:64px;background:linear-gradient(135deg,#5e35b1,#7e57c2);clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.95rem;box-shadow:0 4px 14px rgba(94,53,177,.35);margin-top:8px}

.hex-panel{background:#fff;border:1px solid #e8e8e8;border-radius:14px;padding:26px 24px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.hex-node:nth-child(odd) .hex-panel{grid-column:1}
.hex-node:nth-child(even) .hex-panel{grid-column:3}
.hex-node:nth-child(odd) .hex-badge::after,
.hex-node:nth-child(even) .hex-badge::after{content:"";position:absolute;top:50%;width:20px;height:2px;background:#b39ddb}
.hex-node:nth-child(odd) .hex-badge::after{right:calc(50% + 28px);transform:translateY(-50%)}
.hex-node:nth-child(even) .hex-badge::after{left:calc(50% + 28px);transform:translateY(-50%)}

.hex-panel h2{font-size:1.18rem;color:#111;margin-bottom:14px;line-height:1.4}
.hex-panel p{margin-bottom:12px;color:#333;font-size:.97rem;text-align:justify}
.hex-panel p:last-child{margin-bottom:0}
.hex-panel figure{margin:16px 0;border:1px solid #eee;border-radius:10px;overflow:hidden}
.hex-panel figcaption{font-size:.8rem;color:#666;padding:8px 12px;background:#fafafa}

.amber-box{margin:14px 0;padding:14px 18px;background:#fff8e1;border-left:4px solid #ff8f00;border-radius:0 8px 8px 0;font-size:.93rem;color:#e65100}
.violet-box{margin:14px 0;padding:14px 18px;background:#ede7f6;border-left:4px solid #5e35b1;border-radius:0 8px 8px 0;font-size:.93rem;color:#4527a0}
.dual-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.dual-cols div{background:#fafafa;border:1px solid #eee;border-radius:10px;padding:14px 16px;font-size:.9rem;color:#444}
.dual-cols h3{font-size:.92rem;color:#5e35b1;margin-bottom:6px}

.faq-zone{margin-top:40px;padding:28px;background:linear-gradient(135deg,#ede7f6,#fff8e1);border-radius:16px;border:1px solid #e0e0e0}
.faq-zone h2{font-size:1.2rem;margin-bottom:16px;color:#111}
.faq-zone details{border:1px solid #ddd;border-radius:8px;margin-bottom:8px;background:#fff}
.faq-zone summary{padding:12px 16px;cursor:pointer;font-weight:500;color:#222;list-style:none}
.faq-zone summary::-webkit-details-marker{display:none}
.faq-zone details[open] summary{border-bottom:1px solid #eee;background:#fafafa}
.faq-zone details p{padding:12px 16px;color:#444;font-size:.94rem}

.end-cap{margin-top:32px;padding:24px 28px;background:linear-gradient(135deg,#ede7f6,#fff8e1);border:1px solid #d1c4e9;border-radius:16px}
.end-cap h2{font-size:1.1rem;margin-bottom:12px;color:#111}
.end-cap p{margin-bottom:10px;color:#333;font-size:.95rem}

.site-footer{background:#fafafa;border-top:1px solid #eee;padding:28px 20px;text-align:center;font-size:.88rem;color:#666}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:10px}
.footer-links a{color:#555}
.prose-page{max-width:760px;margin:40px auto;padding:0 20px 48px}
.prose-page h1{font-size:1.5rem;margin-bottom:16px}
.prose-page h2{font-size:1.1rem;margin:20px 0 10px;color:#333}
.prose-page p{margin-bottom:12px;color:#444;line-height:1.75}
.error-page{text-align:center;padding:80px 20px}
.error-page h1{font-size:3rem;color:#5e35b1;margin-bottom:12px}

@media(max-width:860px){
  .hex-spine-wrap::before{left:28px;transform:none}
  .hex-node{grid-template-columns:56px 1fr;gap:0 16px}
  .hex-badge{grid-column:1;grid-row:1;width:48px;height:56px;font-size:.85rem}
  .hex-panel{grid-column:2!important;grid-row:1}
  .hex-node:nth-child(odd) .hex-badge::after,
  .hex-node:nth-child(even) .hex-badge::after{left:48px;right:auto;width:12px}
  .dual-cols{grid-template-columns:1fr}
}
@media(max-width:720px){
  .nav-toggle{display:flex}
  .site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #eee;padding:12px 20px;display:none;box-shadow:0 8px 20px rgba(0,0,0,.08)}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;gap:10px}
  .hero-hex h1{font-size:1.35rem}
  .spine-nav{top:53px}
}
