/* ============================================================
   wd2 — shared page framework
   Used by: basic-marketing, advanced-seo, website-design,
            training-consulting, about, contact
   Do NOT put page-specific rules here.
   ============================================================ */

:root {
  --wd2-ink: #173c73; --wd2-ink-deep: #1f4879; --wd2-blue: #2a6fbd;
  --wd2-gold: #f2b23d; --wd2-line-green: #06c755; --wd2-line-green-dark: #05a846;
  --wd2-paper: #f7f4ec; --wd2-white: #ffffff; --wd2-text: #20354f;
  --wd2-muted: #66778b; --wd2-line: rgba(23,60,115,.14);
  --wd2-shadow: 0 24px 70px rgba(23,60,115,.18); --wd2-soft: 0 16px 42px rgba(23,60,115,.1);
  --wd2-max: 1180px;
  --wd2-heading: "Noto Sans TC", sans-serif; --wd2-brand: "Noto Serif TC", serif;
  --wd2-sans: "Noto Sans TC", sans-serif; --wd2-brush: "Bakudai","Ma Shan Zheng","Noto Serif TC",serif;
  --wd2-code: "Manrope", sans-serif;
}
body.wd2-page { margin:0; color:var(--wd2-text); background:var(--wd2-paper); font-family:var(--wd2-sans); overflow-x:hidden; }
.wd2-page a { color:inherit; text-decoration:none; }
.wd2-page img { display:block; max-width:100%; }
.wd2-container { width:min(100% - 44px, var(--wd2-max)); margin:0 auto; }
.wd2-section { position:relative; padding:clamp(72px,8vw,112px) 0; }
.wd2-section-dark { color:#fff; background: linear-gradient(90deg, rgba(42,111,189,.1) 1px, transparent 1px), linear-gradient(0deg, rgba(42,111,189,.07) 1px, transparent 1px), linear-gradient(135deg, #1a3f6e 0%, #173c73 60%, #1f4879 100%); background-size: 44px 44px, 44px 44px, auto; }
.wd2-section-light { background: linear-gradient(90deg,rgba(23,60,115,.035) 1px,transparent 1px),linear-gradient(0deg,rgba(23,60,115,.026) 1px,transparent 1px),#fff; background-size:54px 54px; }
.wd2-section-paper { background: linear-gradient(90deg,rgba(23,60,115,.028) 1px,transparent 1px),linear-gradient(0deg,rgba(23,60,115,.022) 1px,transparent 1px),var(--wd2-paper); background-size:58px 58px; }
.wd2-section-head { max-width:820px; margin-bottom:42px; }
.wd2-section-head.center { margin-inline:auto; text-align:center; }
.wd2-section-head h2 { margin:0 0 16px; color:var(--wd2-ink); font-family:var(--wd2-heading); font-size:clamp(30px,4.4vw,54px); font-weight:900; line-height:1.18; }
.wd2-section-dark .wd2-section-head h2 { color:#fff; }
.wd2-section-head p:not(.wd2-kicker):not(.wd2-eyebrow) { margin:0; color:var(--wd2-muted); font-family:var(--wd2-brand); font-size:18px; line-height:1.85; }
.wd2-section-dark .wd2-section-head p:not(.wd2-kicker):not(.wd2-eyebrow) { color:rgba(255,255,255,.62); }
.wd2-kicker { margin:0 0 14px; color:var(--wd2-gold); font-family:var(--wd2-brush); font-size:clamp(30px,3.6vw,50px); font-weight:400; line-height:1.18; }
.wd2-eyebrow { margin:0 0 16px; color:var(--wd2-blue); font-family:var(--wd2-brand); font-size:16px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.wd2-hero .wd2-eyebrow, .wd2-section-dark .wd2-eyebrow, .wd2-final .wd2-eyebrow { color:rgba(255,255,255,.78); }
.wd2-actions { display:flex; flex-wrap:wrap; gap:12px; }
.wd2-btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 24px; border:1px solid transparent; border-radius:999px; font-weight:900; line-height:1; transition:transform .2s,box-shadow .2s,background .2s; text-decoration:none; }
.wd2-btn-primary { color:var(--wd2-ink-deep); background:#fff; border-color:rgba(255,255,255,.28); box-shadow:0 16px 36px rgba(10,24,52,.2); }
.wd2-btn-primary:hover { color:#fff; background:var(--wd2-blue); transform:translateY(-2px); }
.wd2-btn-secondary { color:var(--wd2-white); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22); }
.wd2-btn-ghost { color:var(--wd2-white); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22); }
.wd2-btn-ghost:hover { background:rgba(255,255,255,.14); transform:translateY(-2px); }
.wd2-line-btn { color:#fff !important; background:linear-gradient(135deg,var(--wd2-line-green),var(--wd2-line-green-dark)) !important; border-color:rgba(255,255,255,.22); font-family:var(--wd2-brand); letter-spacing:.06em; box-shadow:0 14px 30px rgba(6,199,85,.26); }
.wd2-line-btn:hover { box-shadow:0 18px 40px rgba(6,199,85,.32); transform:translateY(-2px); }
.wd2-list { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.wd2-list li { position:relative; padding-left:22px; color:var(--wd2-muted); font-family:var(--wd2-brand); font-size:16px; line-height:1.75; }
.wd2-list li::before { content:""; position:absolute; left:0; top:.78em; width:10px; height:2px; background:var(--wd2-gold); }
.wd2-reveal { opacity:0; transform:translateY(20px); transition:opacity .6s,transform .6s; }
.wd2-reveal.visible { opacity:1; transform:none; }
.wd2-final { position:relative; color:#fff; text-align:center; padding:clamp(72px,8vw,112px) 0; background: linear-gradient(90deg, rgba(42,111,189,.1) 1px, transparent 1px), linear-gradient(0deg, rgba(42,111,189,.07) 1px, transparent 1px), linear-gradient(135deg, #1a3f6e 0%, #173c73 60%, #1f4879 100%); background-size: 44px 44px, 44px 44px, auto; }
.wd2-final .wd2-section-head { max-width:860px; margin:0 auto 28px; }
.wd2-final .wd2-section-head h2 { color:#fff; font-size:clamp(28px,3.8vw,50px); }
.wd2-final .wd2-section-head p:not(.wd2-kicker):not(.wd2-eyebrow) { color:rgba(255,255,255,.7); }
.wd2-final-note { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; max-width:780px; margin:32px auto 0; }
.wd2-final-note span { padding:14px; border:1px solid rgba(255,255,255,.14); border-radius:6px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.76); font-family:var(--wd2-brand); font-size:16px; font-weight:800; }
.wd2-mobile-nav { display:none; position:fixed; inset:0; z-index:60; padding:24px; overflow:hidden; color:#fff; counter-reset:wd2-mobile-menu;
  background: radial-gradient(circle at 82% 18%,rgba(111,169,238,.18),transparent 34%), linear-gradient(90deg,rgba(111,169,238,.08) 1px,transparent 1px), linear-gradient(0deg,rgba(111,169,238,.055) 1px,transparent 1px), linear-gradient(180deg,#0b2444 0%,#071b34 68%,#051326 100%);
  background-size: auto,56px 56px,56px 56px,auto; }
.wd2-mobile-nav.open { display:block; }
.wd2-mobile-head { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid rgba(111,169,238,.24); }
.wd2-mobile-brand { display:inline-flex; align-items:center; gap:12px; }
.wd2-mobile-avatar { width:42px; height:42px; flex:0 0 auto; }
.wd2-mobile-head strong { color:rgba(255,255,255,.92); font-family:var(--wd2-brand); font-size:20px; }
.wd2-mobile-close { width:38px; height:38px; border:1px solid rgba(111,169,238,.28); border-radius:999px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.9); font-size:22px; cursor:pointer; display:grid; place-items:center; }
.wd2-mobile-nav a { position:relative; z-index:1; display:flex; align-items:center; gap:16px; padding:15px 4px; width:min(72vw,350px); border-bottom:1px solid rgba(111,169,238,.18); color:rgba(255,255,255,.92); font-family:var(--wd2-brand); font-size:21px; font-weight:800; }
.wd2-mobile-nav a:not([href*="line.me"])::before { counter-increment:wd2-mobile-menu; content:counter(wd2-mobile-menu,cjk-ideographic); display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border:1px solid rgba(242,178,61,.5); border-radius:999px; color:var(--wd2-gold); background:rgba(242,178,61,.08); font-family:var(--wd2-brand); font-size:16px; font-weight:800; line-height:1; }
.wd2-mobile-nav a:hover { background:rgba(42,111,189,.2); }
.wd2-mobile-nav a[href*="line.me"] { display:inline-flex; align-items:center; justify-content:center; gap:10px; width:min(72vw,320px); margin-top:18px; padding:12px 18px; border:1px solid rgba(255,255,255,.24); border-radius:999px; background:linear-gradient(135deg,var(--wd2-line-green),var(--wd2-line-green-dark)); box-shadow:0 14px 30px rgba(6,199,85,.3); color:#fff; font-size:21px; }
.wd2-mobile-nav a[href*="line.me"]::before { content:""; display:block; width:24px; height:24px; flex:0 0 24px; background:url("./assets/feather-fan-line-icon.svg") center/contain no-repeat; }

/* Header */

/* Hero */
.wd2-hero { position:relative; min-height:calc(100vh - 78px); display:flex; align-items:center; color:#fff;
  background: linear-gradient(90deg,rgba(31,72,121,.98) 0%,rgba(31,72,121,.9) 50%,rgba(31,72,121,.6) 100%), url("./assets/brand-wall-desktop.png") right center / min(56vw,720px) auto no-repeat, #1f4879;
  overflow:hidden; }
.wd2-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size:92px 92px; opacity:.28; pointer-events:none; }
.wd2-hero::after { content:"策士"; position:absolute; right:3vw; bottom:-2vw; color:rgba(255,255,255,.04); font-family:var(--wd2-brush); font-size:clamp(160px,26vw,360px); line-height:.8; pointer-events:none; }
.wd2-hero-inner { position:relative; z-index:2; width:min(100% - 44px,var(--wd2-max)); margin:0 auto; padding:clamp(70px,9vw,120px) 0 clamp(44px,6vw,74px); display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,68px); align-items:center; }
.wd2-hero h1 { max-width:680px; margin:0 0 22px; color:#fff; font-family:var(--wd2-heading); font-size:clamp(36px,5.4vw,66px); font-weight:900; line-height:1.12; }
.wd2-hero h1 span { text-decoration:underline; text-decoration-color:rgba(242,178,61,.8); text-decoration-thickness:.08em; text-underline-offset:.12em; }
.wd2-mobile-break { display:none; }
.wd2-lead { max-width:640px; margin:0 0 28px; color:rgba(255,255,255,.78); font-family:var(--wd2-brand); font-size:clamp(16px,1.4vw,19px); line-height:1.9; }
.wd2-proofline { display:flex; flex-wrap:wrap; gap:9px; }
.wd2-proofline span { padding:7px 12px; border:1px solid rgba(242,178,61,.3); border-radius:999px; color:rgba(255,255,255,.78); background:rgba(255,255,255,.07); font-family:var(--wd2-brand); font-size:16px; font-weight:800; }
