/* ===== 01-base.css ===== */
/* TOP-IT 聯邦電通 官網 v3 — 基礎樣式（沿用 v2 設計系統） */

:root {
  --navy-950: #030b1a;
  --navy-900: #06142e;
  --navy-850: #0a1c3d;
  --navy-800: #0e2550;
  --brand-navy: #063a8c;
  --brand: #0b6fe8;
  --brand-strong: #0959c4;
  --brand-soft: #eaf3ff;
  --sky: #6cb6ff;
  --sky-soft: rgb(108 182 255 / 0.14);

  --ink: #0b1324;
  --ink-2: #26344a;
  --muted: #5a6a80;
  --line: #e3e9f2;
  --line-strong: #cdd8e6;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --ok: #13a150;
  --ok-bright: #34d399;
  --ok-soft: #e6f7ee;
  --warn: #c77a05;
  --warn-bright: #fbbf24;
  --warn-soft: #fff4dc;
  --risk: #d93636;
  --risk-soft: #fdecec;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 19 36 / 0.05), 0 2px 8px rgb(11 19 36 / 0.04);
  --shadow: 0 2px 6px rgb(11 19 36 / 0.04), 0 16px 36px -12px rgb(11 19 36 / 0.16);
  --shadow-lg: 0 4px 12px rgb(11 19 36 / 0.05), 0 32px 64px -20px rgb(11 19 36 / 0.28);

  --header-h: 72px;
  --util-h: 36px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Manrope", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Manrope", "Noto Sans TC", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.ph { display: inline-block; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }

.i {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-flip { transform: scaleX(-1); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

::selection { background: rgb(11 111 232 / 0.18); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.7em 1.25em;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.25s, border-color 0.2s, color 0.2s;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn .i-arrow { transition: transform 0.25s var(--ease); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  box-shadow: 0 8px 22px -8px rgb(11 111 232 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.btn-ghost {
  --btn-fg: #fff;
  border-color: rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-outline {
  --btn-fg: var(--ink);
  --btn-bg: #fff;
  border-color: var(--line-strong);
}
.btn-text {
  --btn-fg: var(--muted);
  padding-inline: 0.6em;
  min-height: 40px;
}

@media (hover: hover) {
  .btn-primary:hover { --btn-bg: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgb(11 111 232 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.2); }
  .btn:hover .i-arrow { transform: translateX(3px); }
  .btn-ghost:hover { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.38); }
  .btn-outline:hover { border-color: var(--brand); color: var(--brand); }
  .btn-text:hover { --btn-fg: var(--ink); }
}

.btn-lg { min-height: 54px; padding: 0.85em 1.5em; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0.55em 1.05em; font-size: 0.93rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: transform 0.45s var(--ease-out), color 0.35s;
}
.site-header.is-scrolled { transform: translateY(calc(var(--util-h) * -1)); }
.site-header.is-scrolled,
.header-light .site-header { color: var(--ink); }
.site-header.menu-open { transform: none; color: #fff; }

.utility-bar {
  height: var(--util-h);
  overflow: hidden;
  background: var(--navy-950);
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  color: rgb(255 255 255 / 0.62);
  font-size: 0.83rem;
}
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-links, .utility-contact { display: flex; align-items: center; gap: 20px; }
.utility-links span { font-weight: 700; letter-spacing: 0.08em; color: rgb(255 255 255 / 0.45); }
.utility-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(255 255 255 / 0.84);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.utility-bar a:hover { color: #fff; }
.utility-bar .i { width: 14px; height: 14px; opacity: 0.8; }
.utility-contact a { font-family: var(--font-num); }

.header-main { position: relative; isolation: isolate; height: var(--header-h); }
.header-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgb(11 19 36 / 0.3);
  opacity: 0;
  transition: opacity 0.35s;
}
.site-header.is-scrolled .header-main::before { opacity: 1; }
.site-header.menu-open .header-main::before { opacity: 0; }

.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { position: relative; display: inline-flex; flex-shrink: 0; border-radius: 8px; }
.brand-logo { height: 40px; width: auto; transition: opacity 0.35s; }
.brand-logo--color { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.site-header.is-scrolled .brand-logo--reverse,
.header-light .brand-logo--reverse { opacity: 0; }
.site-header.is-scrolled .brand-logo--color,
.header-light .brand-logo--color { opacity: 1; }
.site-header.menu-open .brand-logo--reverse { opacity: 1; }
.site-header.menu-open .brand-logo--color { opacity: 0; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.84;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.is-active, .nav-link[aria-expanded="true"] { opacity: 1; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgb(255 255 255 / 0.1); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link[aria-expanded="true"],
.header-light .nav-link:hover,
.header-light .nav-link[aria-expanded="true"] { background: var(--bg-soft); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-trigger.is-active::after { right: 33px; }
.site-header.is-scrolled .nav-link.is-active,
.header-light .nav-link.is-active { color: var(--brand); }
.nav-trigger .chev { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(920px, calc(100vw - 32px));
  padding-top: 8px;
  transform: translateX(-50%);
  color: var(--ink);
}
.mega[hidden] { display: none; }
.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.62fr);
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -24px rgb(11 19 36 / 0.38);
  animation: mega-in 0.28s var(--ease-out);
}
.mega-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(360px 240px at 100% 0%, rgb(11 111 232 / 0.45), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.mega-feature-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid rgb(52 211 153 / 0.3);
  background: rgb(52 211 153 / 0.14);
  color: var(--ok-bright);
  font-size: 0.78rem;
  font-weight: 700;
}
.mega-feature b { font-size: 1.28rem; }
.mega-feature > span:not([class]) { font-size: 0.9rem; line-height: 1.75; color: rgb(255 255 255 / 0.72); }
.mega-feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 0.9rem; font-weight: 700; color: var(--sky); }
.mega-feature-link .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.mega-feature:hover .mega-feature-link .i { transform: translateX(3px); }
.mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; align-content: start; padding: 4px; }
.mega-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}
.mega-list a:hover { background: var(--bg-soft); }
.mega-ico {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background-color 0.2s, color 0.2s;
}
.mega-ico .i { width: 19px; height: 19px; }
.mega-list a:hover .mega-ico { background: var(--brand); color: #fff; }
.mega-list b { display: block; font-size: 0.95rem; line-height: 1.4; }
.mega-list small { display: block; margin-top: 2px; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 14px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; text-decoration: none; }
.mega-foot .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.mega-foot a:hover .i { transform: translateX(3px); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.site-header.menu-open .scroll-progress { opacity: 0; }
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: calc(var(--header-h) + 12px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgb(11 111 232 / 0.35), transparent 70%),
    var(--navy-950);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-links > li { border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.mobile-menu-links a,
.mobile-sub summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.mobile-sub summary::-webkit-details-marker { display: none; }
.mobile-sub summary .i { width: 20px; height: 20px; opacity: 0.7; transition: transform 0.3s var(--ease-out); }
.mobile-sub[open] summary .i { transform: rotate(180deg); }
.mobile-sub ul { padding: 0 0 12px 14px; border-left: 2px solid rgb(108 182 255 / 0.3); margin-left: 2px; }
.mobile-sub ul a { padding: 9px 2px 9px 12px; font-size: 1rem; font-weight: 600; color: rgb(255 255 255 / 0.8); }
.mobile-menu-clients > p { margin-bottom: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: rgb(255 255 255 / 0.5); }
.mobile-menu-clients > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-menu-clients a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-menu-clients .i { width: 22px; height: 22px; color: var(--sky); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: auto; }

@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 1000px);
  padding: calc(var(--util-h) + var(--header-h) + clamp(36px, 6vh, 80px)) 0 clamp(120px, 16vh, 168px);
  color: #fff;
  background: var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 38%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 38%, #000 25%, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; }
.hero-glow--a {
  width: 1000px; height: 1000px;
  top: -420px; right: -300px;
  background: radial-gradient(closest-side, rgb(11 111 232 / 0.42), rgb(11 111 232 / 0.08) 60%, transparent);
  animation: glow-drift 22s ease-in-out infinite alternate;
}
.hero-glow--b {
  width: 900px; height: 900px;
  bottom: -520px; left: -320px;
  background: radial-gradient(closest-side, rgb(6 58 140 / 0.75), transparent);
  animation: glow-drift 26s ease-in-out infinite alternate-reverse;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgb(3 11 26 / 0.9));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.14s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.34s; }
.hero-copy > :nth-child(5) { animation-delay: 0.42s; }
.hero-copy > :nth-child(6) { animation-delay: 0.5s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px 6px 12px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.86);
}
.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok-bright);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ok-bright);
  opacity: 0;
  animation: ping 2.6s var(--ease-out) infinite;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.7rem, 1.35rem + 4.8vw, 5rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero h1 em {
  position: relative;
  font-style: normal;
  background: linear-gradient(100deg, #9ad5ff 0%, #57a8ff 45%, #2f7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 em.underline::after {
  content: "";
  position: absolute;
  left: 0.04em; right: 0.04em;
  bottom: -0.02em;
  height: 0.09em;
  border-radius: 99px;
  background: linear-gradient(90deg, #57a8ff, #2f7bff);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: underline 1s var(--ease-out) 1.1s forwards;
}

.hero-lead {
  max-width: 33em;
  margin-top: 26px;
  font-size: clamp(1.03rem, 0.96rem + 0.35vw, 1.2rem);
  line-height: 1.9;
  color: rgb(255 255 255 / 0.76);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-actions .btn-ghost { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.hero-quiz-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px dashed rgb(108 182 255 / 0.45);
  transition: color 0.2s, border-color 0.2s;
}
.hero-quiz-link .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.hero-quiz-link:hover { color: #fff; border-color: #fff; }
.hero-quiz-link:hover .i { transform: translateY(2px); }

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.93rem;
  color: rgb(255 255 255 / 0.72);
}
.hero-assurances li { display: inline-flex; align-items: center; gap: 8px; }
.hero-assurances .i { width: 17px; height: 17px; color: var(--ok-bright); stroke-width: 2.4; }

/* Hero visual: report card */
.hero-visual {
  position: relative;
  max-width: 500px;
  margin-inline: auto;
  width: 100%;
  perspective: 1400px;
  animation: rise 1.1s var(--ease-out) 0.25s both;
}
.report-card {
  --rx: 3deg;
  --ry: -7deg;
  position: relative;
  padding: 20px 20px 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.6),
    0 50px 100px -30px rgb(0 0 0 / 0.75),
    0 30px 60px -30px rgb(11 111 232 / 0.45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out);
}
.rc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.rc-dots { display: inline-flex; gap: 5px; }
.rc-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.rc-dots i:nth-child(1) { background: #fca5a5; }
.rc-dots i:nth-child(2) { background: #fcd34d; }
.rc-dots i:nth-child(3) { background: #86efac; }
.rc-app { font-weight: 700; color: var(--ink-2); }
.rc-tag {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.rc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rc-month { font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.rc-client { font-size: 0.82rem; color: var(--muted); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--ok { background: var(--ok-soft); color: var(--ok); }

.rc-rows { display: grid; gap: 2px; }
.rc-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-radius: 12px;
  animation: row-in 0.6s var(--ease-out) both;
}
.rc-row:nth-child(1) { animation-delay: 0.75s; }
.rc-row:nth-child(2) { animation-delay: 0.9s; }
.rc-row:nth-child(3) { animation-delay: 1.05s; }
.rc-row:nth-child(4) { animation-delay: 1.2s; }
.rc-row:nth-child(5) { animation-delay: 1.35s; }
.rc-row:nth-child(6) { animation-delay: 1.5s; }
.rc-ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.rc-ico .i { width: 18px; height: 18px; }
.rc-text { display: grid; line-height: 1.35; min-width: 0; }
.rc-text b { font-size: 0.93rem; }
.rc-text small { font-size: 0.8rem; color: var(--muted); }
.rc-status {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}
.rc-status .i {
  width: 14px; height: 14px;
  stroke-width: 3;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s ease forwards;
}
.rc-row:nth-child(1) .rc-status .i { animation-delay: 1s; }
.rc-row:nth-child(2) .rc-status .i { animation-delay: 1.15s; }
.rc-row:nth-child(3) .rc-status .i { animation-delay: 1.3s; }
.rc-row:nth-child(4) .rc-status .i { animation-delay: 1.45s; }
.rc-row:nth-child(5) .rc-status .i { animation-delay: 1.6s; }

.rc-row--warn { background: var(--warn-soft); }
.rc-row--warn .rc-ico { background: #fff; color: var(--warn); }
.rc-percent { font-family: var(--font-num); font-weight: 800; font-size: 0.95rem; color: var(--warn); padding-right: 4px; }
.meter {
  position: relative;
  display: block;
  height: 6px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgb(199 122 5 / 0.18);
  overflow: hidden;
}
.meter span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: meter 1.4s var(--ease-out) 1.75s forwards;
}
.rc-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.8rem;
  color: var(--muted);
}
.rc-foot-warn { color: var(--warn); font-weight: 700; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 16px;
  color: #fff;
  background: rgb(10 28 61 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.6);
  line-height: 1.35;
  animation: chip-in 0.8s var(--ease-out) both, float 7s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 0.86rem; }
.float-chip small { display: block; font-size: 0.76rem; color: rgb(255 255 255 / 0.66); }
.fc-ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; flex-shrink: 0; }
.fc-ico .i { width: 17px; height: 17px; }
.float-chip--alert { top: -48px; right: -40px; animation-delay: 2.1s, 2.9s; }
.float-chip--alert .fc-ico { background: rgb(251 191 36 / 0.16); color: var(--warn-bright); }
.float-chip--ok { bottom: -44px; left: -40px; animation-delay: 2.4s, 3.2s; animation-direction: normal, alternate-reverse; }
.float-chip--ok .fc-ico { background: rgb(52 211 153 / 0.16); color: var(--ok-bright); }
.float-chip--ok .fc-ico .i { stroke-width: 2.6; }

/* ---------- Trust band ---------- */
.trust { position: relative; z-index: 3; margin-top: clamp(-84px, -9vh, -64px); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.trust-grid li { position: relative; display: grid; align-content: start; gap: 6px; padding: 26px 28px; }
.trust-grid li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 24%; bottom: 24%;
  width: 1px;
  background: var(--line);
}
.trust-grid strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  font-family: var(--font-num);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.trust-grid strong small { font-size: 0.95rem; font-weight: 700; color: var(--brand); letter-spacing: 0.04em; }
.trust-grid li > span { font-size: 0.93rem; line-height: 1.6; color: var(--muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #fff; overflow: hidden; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.kicker span {
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--brand-soft);
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3rem); line-height: 1.25; }
.section-head p:not(.kicker) { margin-top: 18px; font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem); color: var(--muted); }

.section--dark .kicker, .section--contact .kicker { color: var(--sky); }
.section--dark .kicker span, .section--contact .kicker span { background: var(--sky-soft); }
.section--dark .section-head p:not(.kicker), .section--contact .section-head p:not(.kicker) { color: rgb(255 255 255 / 0.7); }

/* ---------- Reveal ---------- */
.reveal-ready [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(26px); }
.reveal-ready [data-reveal].is-revealed:not(.reveal-done) {
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 80ms);
}

/* ---------- 01 Challenges ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pain-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--bg-soft);
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s;
}
.pain-ico .i { width: 22px; height: 22px; }
.pain-quote { font-size: 1.14rem; line-height: 1.6; font-weight: 700; letter-spacing: 0.01em; }
.pain-fix {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}
.pain-fix span {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: 0.08em;
}
@media (hover: hover) {
  .pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
  .pain-card:hover .pain-ico { background: var(--brand); color: #fff; }
}

.section-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 48px;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
}
.section-bridge a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  text-decoration: none;
  font-size: 1rem;
}
.section-bridge a .i { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.section-bridge a:hover .i { transform: translateY(3px); }

/* ---------- 02 Services (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bento-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgb(11 111 232 / 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
@media (hover: hover) {
  .bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(11 111 232 / 0.25); }
  .bento-card:hover::before { opacity: 1; }
}
.bento-card:not(.bento-feature):not(.bento-wide) { display: flex; flex-direction: column; }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.mini-tags li {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}
.bento-card p { font-size: 0.97rem; line-height: 1.75; color: var(--muted); }

.icon-badge {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-badge .i { width: 23px; height: 23px; }

.bento-feature {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  gap: 28px;
  align-content: space-between;
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgb(11 111 232 / 0.35), transparent 70%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
}
.bento-feature::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgb(108 182 255 / 0.14), transparent 65%); }
.bento-feature h3 { font-size: 1.55rem; }
.bento-feature p { color: rgb(255 255 255 / 0.74); font-size: 1rem; }
.icon-badge--dark { background: rgb(108 182 255 / 0.14); color: var(--sky); }

.chip {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.chip--glow { background: rgb(52 211 153 / 0.14); color: var(--ok-bright); border: 1px solid rgb(52 211 153 / 0.3); }
.bento-feature-copy .icon-badge { display: none; }

.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 28px; font-size: 0.97rem; line-height: 1.6; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.42em;
  width: 11px; height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  color: var(--brand);
}
.ticks--dark li { color: rgb(255 255 255 / 0.86); }
.ticks--dark li::before { color: var(--ok-bright); }

.backup-viz {
  padding: 20px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
}
.viz-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: rgb(255 255 255 / 0.66); }
.viz-head b { color: var(--ok-bright); font-family: var(--font-num); }
.day-grid {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 5px;
  margin: 14px 0 12px;
}
.day-grid li {
  aspect-ratio: 1;
  border-radius: 5px;
  background: linear-gradient(145deg, #3ddc97, #16a34a);
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
  transition-delay: calc(var(--i, 0) * 22ms + 200ms);
}
.day-grid li.retry { background: linear-gradient(145deg, #fcd34d, #f59e0b); }
.reveal-ready .bento-feature:not(.is-revealed) .day-grid li { transform: scale(0.3); opacity: 0; }
.viz-legend { display: flex; gap: 16px; font-size: 0.78rem; color: rgb(255 255 255 / 0.6); }
.viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.viz-legend i { width: 9px; height: 9px; border-radius: 3px; }
.lg-ok { background: #22c55e; }
.lg-retry { background: #f59e0b; }
.viz-drill {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgb(52 211 153 / 0.1);
  border: 1px solid rgb(52 211 153 / 0.25);
  line-height: 1.4;
}
.viz-drill b { display: block; font-size: 0.93rem; }
.viz-drill small { display: block; font-size: 0.8rem; color: rgb(255 255 255 / 0.66); }
.viz-drill-ico {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok-bright);
  color: var(--navy-950);
  flex-shrink: 0;
}
.viz-drill-ico .i { width: 16px; height: 16px; stroke-width: 3; }

.bento-wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 28px;
}
.bento-wide-copy { flex: 1; min-width: 0; }
.channel-list { display: grid; gap: 8px; flex-shrink: 0; }
.channel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}
.channel-list .i { width: 18px; height: 18px; color: var(--brand); }

/* ---------- 03 Process ---------- */
.timeline { position: relative; }
.timeline-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.timeline-line {
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.15s linear;
}
.step { text-align: center; }
.step-dot {
  position: relative;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  transition: border-color 0.45s, background-color 0.45s, color 0.45s, box-shadow 0.45s, transform 0.45s var(--ease-out);
}
.step-dot .i { width: 23px; height: 23px; }
.step.is-active .step-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px rgb(11 111 232 / 0.12), 0 12px 24px -8px rgb(11 111 232 / 0.6);
  transform: scale(1.04);
}
.step-num { font-family: var(--font-num); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; color: var(--brand); }
.step h3 { margin: 6px 0 10px; font-size: 1.16rem; }
.step p { font-size: 0.95rem; line-height: 1.75; color: var(--muted); }

.principle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.principle-title { font-size: 1.12rem; font-weight: 800; }
.principle-sub { font-size: 0.95rem; color: var(--muted); }
.principle-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.principle-chain li {
  position: relative;
  padding: 8px 15px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}
.principle-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -19px; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.principle-chain li:last-child { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 04 Reports ---------- */
.reports-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 85% 20%, rgb(11 111 232 / 0.28), transparent 70%),
    radial-gradient(600px 500px at 0% 100%, rgb(6 58 140 / 0.5), transparent 70%);
}
.reports-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.reports-copy .section-head { margin-bottom: 32px; }
.report-tabs { display: grid; gap: 10px; }
.report-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.report-tab:hover { background: rgb(255 255 255 / 0.06); }
.report-tab[aria-selected="true"] { background: rgb(255 255 255 / 0.09); border-color: rgb(108 182 255 / 0.5); }
.report-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -1px; top: 18%; bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: var(--sky);
}
.tab-ico {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.07);
  color: rgb(255 255 255 / 0.7);
  transition: background-color 0.3s, color 0.3s;
}
.tab-ico .i { width: 21px; height: 21px; }
.report-tab[aria-selected="true"] .tab-ico { background: var(--brand); color: #fff; }
.report-tab strong { display: block; font-size: 1.04rem; line-height: 1.4; }
.report-tab small { display: block; margin-top: 2px; font-size: 0.88rem; color: rgb(255 255 255 / 0.6); line-height: 1.5; }

.report-doc {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.5), 0 60px 120px -40px rgb(0 0 0 / 0.8);
}
.doc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  font-size: 0.85rem;
}
.doc-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.doc-brand img { width: auto; height: 22px; }
.doc-meta { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.rc-tag--light { margin-left: 0; }

.doc-panel { padding: 26px 26px 28px; min-height: 400px; }
.doc-panel:focus-visible { outline-offset: -4px; }
.doc-panel.is-entering { animation: panel-in 0.5s var(--ease-out); }

.doc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doc-stat { padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.doc-stat b { display: block; font-family: var(--font-num); font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.doc-stat span { font-size: 0.85rem; color: var(--muted); }
.doc-stat--ok { background: var(--ok-soft); border-color: rgb(19 161 80 / 0.2); }
.doc-stat--ok b { color: var(--ok); }
.doc-stat--warn { background: var(--warn-soft); border-color: rgb(199 122 5 / 0.25); }
.doc-stat--warn b { color: var(--warn); }
.doc-note { margin-top: 18px; padding: 16px 18px; border-radius: 14px; border-left: 3px solid var(--brand); background: #f6f9fe; }
.doc-note-title { font-size: 0.85rem; font-weight: 800; color: var(--brand); margin-bottom: 4px; }
.doc-note p:last-child { font-size: 0.95rem; line-height: 1.75; color: var(--ink-2); }
.doc-checks { margin-top: 14px; display: grid; }
.doc-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.doc-checks li:last-child { border-bottom: 0; }
.doc-checks em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--ok); }
.doc-checks em.warn { color: var(--warn); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot--warn { background: #f59e0b; box-shadow: 0 0 0 3px var(--warn-soft); }

.doc-strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.ok-text { color: var(--ok); font-family: var(--font-num); }
.doc-strip { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; margin: 14px 0 20px; }
.doc-strip li { aspect-ratio: 1; border-radius: 4px; background: #22c55e; }
.doc-strip li.retry { background: #f59e0b; }
.doc-strip li[hidden] { display: none; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.doc-table th { padding: 8px 10px; text-align: left; font-size: 0.8rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.doc-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.res { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; }
.res::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.res--ok { color: var(--ok); }
.doc-foot-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ok-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  color: #0c5f31;
}
.doc-foot-note .i { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); stroke-width: 2.6; }

.doc-log { position: relative; display: grid; gap: 4px; }
.doc-log::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.doc-log li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0 12px 28px; }
.doc-log li::before {
  content: "";
  position: absolute;
  left: 2px; top: 19px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.doc-log li.is-alert::before { border-color: #f59e0b; background: var(--warn-soft); }
.doc-log time { font-family: var(--font-num); font-size: 0.85rem; font-weight: 700; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.doc-log b { display: block; font-size: 0.97rem; line-height: 1.5; }
.doc-log p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); }

.doc-advice { display: grid; gap: 12px; }
.doc-advice li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.doc-advice b { display: block; font-size: 1rem; line-height: 1.5; }
.doc-advice p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); margin-top: 2px; }
.prio { flex-shrink: 0; margin-top: 2px; padding: 3px 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
.prio--high { background: var(--risk-soft); color: var(--risk); }
.prio--mid { background: var(--warn-soft); color: var(--warn); }
.prio--low { background: var(--brand-soft); color: var(--brand); }

.report-principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.report-principles li { padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.03); }
.report-principles b { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--sky); }
.report-principles span { font-size: 0.95rem; color: rgb(255 255 255 / 0.72); }

/* ---------- 05 Compare ---------- */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 0.97rem; line-height: 1.65; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-soft); font-size: 1.02rem; font-weight: 800; vertical-align: bottom; }
.compare thead th:first-child { width: 17%; }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .is-us { background: rgb(11 111 232 / 0.045); color: var(--ink); font-weight: 600; }
.compare thead .is-us { background: var(--brand); color: #fff; font-size: 1.15rem; }
.us-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.8; }
.compare td.is-us { position: relative; padding-left: 50px; }
.compare td.is-us::before {
  content: "";
  position: absolute;
  left: 24px; top: 25px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.compare-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.7;
}
.compare-note .i { width: 21px; height: 21px; margin-top: 3px; color: var(--brand); }

/* ---------- 06 About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-copy .section-head { margin-bottom: 26px; }
.about-lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.85; color: var(--ink-2); font-weight: 500; }
.about-text { margin-top: 16px; font-size: 1.02rem; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.value { padding: 22px 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
@media (hover: hover) { .value:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.value-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.value-ico .i { width: 21px; height: 21px; }
.value h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.value p { font-size: 0.95rem; line-height: 1.7; color: var(--muted); }

.dont-card {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 34px 32px 30px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgb(11 111 232 / 0.3), transparent 70%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dont-kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; color: var(--sky); }
.dont-card h3 { margin: 8px 0 18px; font-size: 1.6rem; }
.dont-card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-size: 1rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.86);
}
.x-ico {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: rgb(248 113 113 / 0.14);
  color: #fca5a5;
}
.x-ico .i { width: 14px; height: 14px; stroke-width: 2.6; }
.dont-foot { margin-top: 22px; font-size: 1.05rem; font-weight: 700; }

/* ---------- 07 Quiz ---------- */
.section--quiz {
  background:
    radial-gradient(900px 500px at 90% 10%, rgb(11 111 232 / 0.1), transparent 70%),
    var(--bg-soft);
}
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.quiz-intro .section-head { margin-bottom: 26px; }
.quiz-meta { display: grid; gap: 10px; }
.quiz-meta li { display: flex; align-items: center; gap: 10px; font-size: 0.97rem; color: var(--ink-2); font-weight: 600; }
.quiz-meta .i { width: 20px; height: 20px; color: var(--brand); }

.quiz {
  position: relative;
  padding: clamp(24px, 3.6vw, 40px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.quiz-count { font-family: var(--font-num); font-size: 0.88rem; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.quiz-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.quiz-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}

.quiz-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-q + .quiz-q { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.quiz-q legend { padding: 0; margin-bottom: 20px; font-size: clamp(1.14rem, 1.02rem + 0.5vw, 1.38rem); font-weight: 800; line-height: 1.55; }
.q-no {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 800;
  vertical-align: 0.2em;
}
.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.opt-mark {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) { .quiz-option:hover { border-color: var(--brand); background: #f7faff; } }
.quiz-option:active { transform: scale(0.99); }
.quiz-option.is-checked, .quiz-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.quiz-option.is-checked .opt-mark, .quiz-option:has(input:checked) .opt-mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.quiz-option:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }

.quiz.is-stepper .quiz-q { display: none; }
.quiz.is-stepper .quiz-q + .quiz-q { margin-top: 0; padding-top: 0; border-top: 0; }
.quiz.is-stepper .quiz-q.is-current { display: block; animation: q-in 0.45s var(--ease-out); }
.quiz.is-stepper.is-done .quiz-q { display: none; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.quiz-nav[hidden] { display: none; }
#quizPrev[disabled] { visibility: hidden; }
#quizNext[disabled] { opacity: 0.4; cursor: not-allowed; }

.quiz-result { animation: q-in 0.5s var(--ease-out); }
.quiz-result:focus { outline: none; }
.result-head { display: flex; align-items: center; gap: 24px; }
.gauge { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge-track { stroke: var(--bg-soft); }
.gauge-fill { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.2s var(--ease-out), stroke 0.3s; }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; font-family: var(--font-num); }
.gauge-num b { font-size: 2.2rem; font-weight: 800; }
.gauge-num small { margin-top: 4px; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.result-level { font-size: 1.4rem; font-weight: 800; line-height: 1.35; }
.result-desc { margin-top: 6px; font-size: 0.97rem; line-height: 1.7; color: var(--muted); }
.quiz-result[data-level="good"] .gauge-fill { stroke: var(--ok); }
.quiz-result[data-level="good"] .result-level { color: var(--ok); }
.quiz-result[data-level="mid"] .gauge-fill { stroke: #f59e0b; }
.quiz-result[data-level="mid"] .result-level { color: var(--warn); }
.quiz-result[data-level="low"] .gauge-fill { stroke: var(--risk); }
.quiz-result[data-level="low"] .result-level { color: var(--risk); }
.result-body { margin-top: 24px; }
.result-sub { font-size: 0.9rem; font-weight: 800; color: var(--ink-2); margin-bottom: 10px; }
.result-advice { display: grid; gap: 10px; counter-reset: adv; }
.result-advice li { position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: var(--bg-soft); counter-increment: adv; }
.result-advice li::before {
  content: counter(adv);
  position: absolute;
  left: 14px; top: 15px;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-size: 0.75rem;
  font-weight: 800;
}
.result-advice b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1rem; line-height: 1.5; }
.result-advice b em { font-style: normal; font-size: 0.75rem; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.result-advice p { margin-top: 4px; font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; }
.quiz-noscript { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }

/* ---------- 08 FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 36px); margin-bottom: 0; }
.faq-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.faq-call .i { width: 19px; height: 19px; }
.faq-call:hover { background: var(--brand); color: #fff; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-icon {
  position: relative;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-out); }
.faq-item[open] .faq-icon { background: var(--brand); color: #fff; transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
.faq-body { padding: 0 52px 24px 4px; }
.faq-body p { font-size: 1rem; line-height: 1.85; color: var(--muted); }

/* ---------- 09 Contact ---------- */
.section--contact {
  color: #fff;
  background:
    radial-gradient(900px 600px at 0% 0%, rgb(11 111 232 / 0.32), transparent 65%),
    radial-gradient(800px 600px at 100% 100%, rgb(6 58 140 / 0.55), transparent 65%),
    var(--navy-950);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-copy .section-head { margin-bottom: 34px; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.045);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
a.contact-item:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(108 182 255 / 0.45); transform: translateX(4px); }
.ci-ico {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(140deg, #2f8bff, var(--brand-navy));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.ci-ico .i { width: 22px; height: 22px; }
.ci-text { display: grid; line-height: 1.4; min-width: 0; }
.ci-text small { font-size: 0.84rem; font-weight: 600; color: rgb(255 255 255 / 0.6); }
.ci-text strong { font-family: var(--font-num); font-size: 1.28rem; font-weight: 800; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.ci-text em { font-style: normal; font-size: 0.87rem; color: rgb(255 255 255 / 0.6); }
.ci-arrow { margin-left: auto; width: 20px; height: 20px; opacity: 0.4; transition: opacity 0.3s, transform 0.3s var(--ease); }
a.contact-item:hover .ci-arrow { opacity: 1; transform: translateX(3px); }
.contact-promises { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 0.93rem; color: rgb(255 255 255 / 0.74); }
.contact-promises li { display: inline-flex; align-items: center; gap: 8px; }
.contact-promises .i { width: 17px; height: 17px; color: var(--ok-bright); stroke-width: 2.4; }

.contact-form-wrap {
  position: relative;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.8);
}
.contact-form, .form-done, .form-fallback { padding: clamp(24px, 3.6vw, 40px); }
.form-head { margin-bottom: 24px; }
.form-head h3 { font-size: 1.45rem; }
.form-head p { margin-top: 4px; font-size: 0.95rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; min-width: 0; }
.field > label, .field legend { font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.field label b { color: var(--risk); }
.field label small, .field legend small { margin-left: 4px; font-weight: 500; color: var(--muted); font-size: 0.82rem; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa7b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgb(11 111 232 / 0.14); }
.field input[aria-invalid="true"] { border-color: var(--risk); box-shadow: 0 0 0 4px rgb(217 54 54 / 0.1); }
.field-error { min-height: 0; font-size: 0.85rem; font-weight: 600; color: var(--risk); }
.field-error:empty { display: none; }
.topics { padding: 0; border: 0; }
.topics legend { padding: 0; margin-bottom: 10px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.topic span:hover { border-color: var(--brand); color: var(--brand); }
.topic input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.topic input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-note { margin-top: 14px; font-size: 0.82rem; line-height: 1.65; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done, .form-fallback { text-align: center; animation: q-in 0.5s var(--ease-out); }
.form-done:focus, .form-fallback:focus { outline: none; }
.form-done h3, .form-fallback h3 { margin-top: 18px; font-size: 1.5rem; }
.form-done p, .form-fallback p { margin: 10px auto 0; max-width: 30em; color: var(--muted); }
.form-done a, .fallback-phone a { color: var(--brand); font-weight: 700; }
.form-done-local { font-size: 0.85rem; padding: 10px 14px; border-radius: 10px; background: var(--warn-soft); color: #7a4a02 !important; }
.done-ico {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  margin: 12px auto 0;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  animation: pop 0.6s var(--ease-out);
}
.done-ico .i { width: 34px; height: 34px; stroke-width: 2.6; }
.done-ico--warn { background: var(--brand-soft); color: var(--brand); }
.fallback-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.fallback-phone { font-size: 0.93rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; background: var(--navy-950); color: rgb(255 255 255 / 0.66); border-top: 1px solid rgb(255 255 255 / 0.06); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; }
.footer-brand img { width: auto; height: 44px; }
.footer-brand p { margin-top: 18px; font-size: 0.95rem; line-height: 1.85; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav h2 { margin-bottom: 14px; font-size: 0.95rem; color: #fff; letter-spacing: 0.06em; }
.footer-nav ul { display: grid; gap: 10px; font-size: 0.94rem; }
.footer-nav a { text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  font-size: 0.88rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgb(255 255 255 / 0.08);
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .i { width: 16px; height: 16px; }

/* ---------- Floating UI ---------- */
.mobile-bar { display: none; }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0.35s, background-color 0.2s, color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top > .i { width: 20px; height: 20px; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke-width: 2.5; stroke: var(--line); }
.to-top-ring .ring-fill { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
.to-top:hover .ring-fill { stroke: #fff; }

/* ---------- Simple pages (404 / thanks) ---------- */
.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(800px 500px at 85% 0%, rgb(11 111 232 / 0.35), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgb(6 58 140 / 0.55), transparent 70%),
    var(--navy-950);
}
.simple-card { max-width: 560px; }
.simple-card > a { display: inline-block; margin-bottom: 40px; }
.simple-card > a img { width: auto; height: 44px; }
.simple-code {
  font-family: var(--font-num);
  font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(100deg, #9ad5ff, #2f7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.simple-card h1 { margin-top: 18px; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.simple-card p:not(.simple-code) { margin-top: 14px; color: rgb(255 255 255 / 0.72); }
.simple-card .done-ico { margin: 0 auto 8px; }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes meter { to { transform: scaleX(0.82); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes chip-in { from { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ping { 0% { opacity: 0.7; transform: scale(0.6); } 80%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes glow-drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes q-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; }
  .nav-link.is-active::after { left: 10px; right: 10px; }
  .nav-trigger.is-active::after { right: 29px; }
  .utility-contact a:last-child { display: none; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 520px; }
  .float-chip--alert { right: -16px; }
  .float-chip--ok { left: -20px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-row: auto; }
  .reports-layout, .about-layout, .quiz-layout, .contact-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .report-doc { max-width: 680px; }
  .dont-card, .faq-head { position: static; }
  .timeline-steps { gap: 16px; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; --util-h: 0px; }
  .utility-bar { display: none; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .brand-logo { height: 34px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid li:nth-child(3)::before { display: none; }
  .trust-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .timeline-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline-line { top: 29px; bottom: 29px; left: 28px; right: auto; width: 2px; height: auto; }
  .timeline-fill { transform: scaleY(0); transform-origin: 50% 0; }
  .step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 20px; text-align: left; padding-bottom: 28px; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { grid-row: span 3; margin: 0; }
  .step h3 { margin-top: 2px; }
  .principle { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { min-height: auto; padding-bottom: 136px; }
  .hero h1 { margin-top: 22px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .hero-assurances { gap: 8px 18px; }
  .hero-visual { margin-top: 8px; }
  .report-card { --rx: 0deg; --ry: 0deg; padding: 16px 14px 14px; }
  .float-chip { padding: 9px 13px 9px 9px; gap: 10px; }
  .float-chip b { font-size: 0.8rem; }
  .float-chip small { font-size: 0.72rem; }
  .fc-ico { width: 28px; height: 28px; }
  .float-chip--alert { top: -60px; right: -4px; }
  .float-chip--ok { bottom: -66px; left: -4px; }
  .hero-visual { margin-block: 36px 40px; }

  .trust-grid li { padding: 20px 18px; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .pain-card { padding: 24px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-feature, .bento-wide { grid-column: auto; }
  .bento-wide { flex-direction: column; align-items: stretch; }
  .channel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel-list li { justify-content: center; padding: 9px 8px; }
  .doc-panel { padding: 20px 18px 22px; min-height: 0; }
  .doc-stats { gap: 8px; }
  .doc-stat { padding: 12px; }
  .doc-stat b { font-size: 1.5rem; }
  .doc-log li { grid-template-columns: minmax(0, 1fr); }
  .doc-strip { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .report-principles { grid-template-columns: minmax(0, 1fr); }

  .compare-wrap { border-radius: var(--radius); }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 20px 18px; border-bottom: 1px solid var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { padding: 0 0 10px; border: 0; font-size: 1.08rem; }
  .compare td { position: relative; padding: 7px 0 7px 82px; border: 0; font-size: 0.95rem; }
  .compare td::before {
    content: attr(data-label);
    position: absolute;
    left: 0; top: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
  }
  .compare td.is-us { margin-top: 6px; padding: 10px 12px 10px 94px; border-radius: 10px; background: var(--brand-soft); }
  .compare td.is-us::before {
    content: attr(data-label);
    left: 12px; top: 11px;
    width: auto; height: auto;
    border: 0;
    transform: none;
    color: var(--brand);
  }

  .values { grid-template-columns: minmax(0, 1fr); }
  .dont-card { padding: 28px 22px 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .faq-item summary { font-size: 1.02rem; padding: 20px 2px; }
  .faq-body { padding-right: 8px; }
  .result-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-top, .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { gap: 28px; }
  .site-footer { padding-top: 56px; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    background: rgb(6 20 46 / 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 16px 36px -10px rgb(0 0 0 / 0.5);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.45s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    border-radius: 13px;
    color: #fff;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-bar a .i { width: 19px; height: 19px; }
  .mobile-bar a.is-primary { background: var(--brand); }
  .to-top { display: none; }
}

/* 手機：橫向滑動卡片、分頁改成膠囊列、精簡卡片 */
@media (max-width: 760px) {
  .pain-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pain-grid::-webkit-scrollbar { display: none; }
  .pain-card { scroll-snap-align: start; }
  .reveal-ready .pain-card:not(.is-revealed) { opacity: 1; transform: none; }
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
  }
  .swipe-hint .i { width: 16px; height: 16px; animation: nudge 1.6s ease-in-out infinite; }
  .section-bridge { margin-top: 32px; }

  .reports-layout { gap: 28px; }
  .reports-copy .section-head { margin-bottom: 24px; }
  .report-tabs {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
  }
  .report-tabs::-webkit-scrollbar { display: none; }
  .report-tab { flex: 0 0 auto; width: auto; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; scroll-snap-align: start; }
  .report-tab small { display: none; }
  .report-tab strong { font-size: 0.93rem; white-space: nowrap; }
  .report-tab .tab-ico { width: 32px; height: 32px; border-radius: 50%; }
  .report-tab .tab-ico .i { width: 17px; height: 17px; }
  .report-tab[aria-selected="true"]::before { display: none; }

  .value { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .value-ico { grid-row: span 2; }
  .value h3 { margin: 0 0 2px; }
}
@media (min-width: 761px) { .swipe-hint { display: none; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (max-width: 420px) {
  .rc-row { gap: 10px; grid-template-columns: 30px minmax(0, 1fr) auto; }
  .rc-ico { width: 30px; height: 30px; }
  .rc-text b { font-size: 0.88rem; }
  .doc-stats { grid-template-columns: minmax(0, 1fr); }
  .doc-stat { display: flex; align-items: baseline; gap: 10px; }
  .trust-grid strong small { font-size: 0.85rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-ready [data-reveal]:not(.is-revealed) { opacity: 1; transform: none; }
  .report-card { --rx: 0deg; --ry: 0deg; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .to-top, .mobile-menu, .hero-bg, .float-chip { display: none !important; }
  .hero, .section--dark, .section--contact, .site-footer { background: #fff !important; color: #000 !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ===== 02-components.css ===== */
/* TOP-IT 官網 v3 — 多頁式共用元件 */

.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--line { border-top: 1px solid var(--line); }
.kicker--light { color: var(--sky); }
.kicker--light span { background: var(--sky-soft); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--brand-navy); box-shadow: 0 12px 28px -12px rgb(0 0 0 / 0.55); }
@media (hover: hover) { .btn-light:hover { --btn-bg: #eef5ff; transform: translateY(-1px); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .i { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.section--dark .link-arrow, .bento-feature .link-arrow { color: var(--sky); }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; }

.tbd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--warn-soft);
  color: #7a4a02;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 0.12em;
  white-space: nowrap;
}

/* ---------- 內頁 Hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--util-h) + var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 88% -10%, rgb(11 111 232 / 0.14), transparent 70%),
    linear-gradient(180deg, #edf3fc 0%, #f6f9fe 62%, #fff 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(11 19 36 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 19 36 / 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 82% 15%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 85% at 82% 15%, #000 20%, transparent 75%);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 20px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-top: 1.5px solid var(--line-strong);
  border-right: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.7rem); font-weight: 900; line-height: 1.16; letter-spacing: 0.01em; }
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero .lead { max-width: 38em; margin-top: 20px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); line-height: 1.85; color: var(--ink-2); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.hero-chips a .i { width: 16px; height: 16px; color: var(--brand); }
.hero-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: clamp(32px, 5vw, 60px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgb(11 111 232 / 0.55), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgb(6 58 140 / 0.6), transparent 70%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 20%, transparent 75%);
}
.cta-band-copy { flex: 1 1 360px; max-width: 640px; }
.cta-band h2 { margin-top: 2px; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.3; }
.cta-band p:not(.kicker) { margin-top: 12px; color: rgb(255 255 255 / 0.74); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .kicker { margin-bottom: 8px; }
.cta-band-mail a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* ---------- LINE 聯絡 ---------- */
.line-qr { flex: none; display: grid; justify-items: center; gap: 8px; width: 216px; margin: 0; padding: 16px; border-radius: 22px; background: #fff; color: var(--ink-2); box-shadow: var(--shadow); }
.line-qr img { display: block; width: 184px; height: 184px; }
.line-qr figcaption { font-size: 0.86rem; font-weight: 700; }
.line-qr .line-add { width: 100%; margin-top: 4px; }
.line-card { display: flex; align-items: center; justify-content: space-between; gap: 28px 36px; padding: clamp(24px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.line-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); line-height: 1.35; }
.line-card-copy > p { margin-top: 10px; color: var(--muted); line-height: 1.8; }
.line-card .ticks { margin-top: 16px; }
.line-card .line-qr { border: 1px solid var(--line); box-shadow: none; }

/* ---------- 卡片：服務、支援 ---------- */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.card-more .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
a:hover > .card-more .i, .card-more:hover .i { transform: translateX(3px); }
.bento-feature .card-more { color: var(--sky); }
a.bento-card { color: inherit; text-decoration: none; }
a.bento-card.bento-feature { color: #fff; }

/* ---------- 文章卡 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
@media (hover: hover) { a.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); } }
.article-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #0b6fe8), var(--c2, #06357f));
}
.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 75%);
}
.article-cover::after {
  content: "";
  position: absolute;
  width: 60%; height: 120%;
  right: -18%; top: -30%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.22), transparent);
}
.article-cover .i { width: 58px; height: 58px; stroke-width: 1.4; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 0.25)); }
.cover--backup { --c1: #1d7cf2; --c2: #06357f; }
.cover--security { --c1: #5b50e8; --c2: #1e1b4b; }
.cover--server { --c1: #0f8aa6; --c2: #083344; }
.cover--endpoint { --c1: #0ea5b7; --c2: #0c3b5e; }
.cover--manage { --c1: #52637a; --c2: #0f172a; }
.soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgb(3 11 26 / 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.article-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.article-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}
.article-card h3 { font-size: 1.12rem; line-height: 1.55; }
.article-card p:not(.article-meta) { font-size: 0.93rem; line-height: 1.75; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 8px; font-size: 0.82rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta .i { width: 14px; height: 14px; }
.article-card.is-soon { box-shadow: none; }
.article-card.is-soon .article-cover { filter: saturate(0.75); }

/* ---------- 文章內文 ---------- */
.prose { max-width: 720px; font-size: 1.08rem; line-height: 1.95; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-size: 1.55rem; line-height: 1.4; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin-top: 1.7em; font-size: 1.2rem; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.3em; list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-underline-offset: 3px; }
.prose .lead-p { font-size: 1.2rem; line-height: 1.9; color: var(--ink); }
.callout {
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--brand-soft);
}
.callout-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 800; color: var(--brand-navy); }
.callout-title .i { width: 19px; height: 19px; }
.callout p { font-size: 1rem; line-height: 1.85; }
.callout--warn { border-left-color: #f59e0b; background: var(--warn-soft); }
.callout--warn .callout-title { color: #7a4a02; }
.prose .checklist { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.checklist li { position: relative; margin: 0; padding: 12px 16px 12px 50px; border-radius: 12px; background: var(--bg-soft); line-height: 1.7; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 16px; top: 15px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ok);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 22px; top: 21px;
  width: 8px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- 篩選膠囊 ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chips button {
  padding: 8px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filter-chips button:hover { border-color: var(--ink); }
.filter-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 側欄卡 ---------- */
.side-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.side-card + .side-card { margin-top: 20px; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }

/* ---------- 步驟清單（編號） ---------- */
.num-steps { display: grid; gap: 16px; counter-reset: ns; }
.num-steps li { position: relative; padding-left: 46px; counter-increment: ns; }
.num-steps li::before {
  content: counter(ns);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 0.85rem;
  font-weight: 800;
}
.num-steps b { display: block; line-height: 1.5; }
.num-steps p { font-size: 0.93rem; line-height: 1.7; color: var(--muted); }

/* ---------- 表單：選項卡、膠囊 ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice > span .i { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.choice > span:hover { border-color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-navy); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(11 111 232 / 0.14); }
.field-hint { font-size: 0.84rem; color: var(--muted); }

.stepper { display: flex; gap: 8px; margin-bottom: 28px; }
.stepper li { position: relative; display: flex; flex: 1; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.stepper li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin-right: 6px; border-radius: 2px; background: var(--line); }
.stepper .num {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 0.8rem;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.stepper li.is-current { color: var(--ink); }
.stepper li.is-current .num { border-color: var(--brand); background: var(--brand); color: #fff; }
.stepper li.is-done .num { border-color: var(--ok); background: var(--ok); color: #fff; }
.stepper li.is-done:not(:last-child)::after { background: var(--ok); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step[hidden] { display: none; }
.form-step { animation: q-in 0.4s var(--ease-out); }
.form-step h3 { font-size: 1.3rem; margin-bottom: 18px; }
.form-step .field + .field { margin-top: 4px; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav .btn[hidden] { display: none; }

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px;
  border: 2px dashed var(--line-strong);
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.upload-box:hover { border-color: var(--brand); background: #f5f9ff; }
.upload-box .i { width: 26px; height: 26px; color: var(--brand); }
.upload-box b { color: var(--ink-2); }
.upload-box input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* ---------- 資訊列（圖示＋文字） ---------- */
.info-lines { display: grid; gap: 14px; }
.info-lines li { display: flex; gap: 14px; align-items: flex-start; }
.info-lines .ico {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.info-lines .ico .i { width: 20px; height: 20px; }
.info-lines small { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.info-lines a, .info-lines strong { font-family: var(--font-num); font-size: 1.08rem; font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.info-lines a:hover { color: var(--brand); }

@media (max-width: 1080px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { border-radius: 22px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .cta-band, .line-card { flex-direction: column; align-items: stretch; }
  .line-qr { width: min(100%, 264px); margin-inline: auto; }
  .line-qr img { width: 100%; height: auto; }
  .line-qr .line-add { order: -1; margin: 0 0 6px; }
  .stepper li span:not(.num) { display: none; }
  .prose { font-size: 1.02rem; }
}

/* ---------- 其他共用 ---------- */
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head--split > div { max-width: 720px; }
.section-foot--left { justify-content: flex-start; margin-top: 28px; }
.checkup-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.checkup-strip > div { flex: 1; min-width: 240px; }
.checkup-strip h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.checkup-strip p { margin-top: 6px; color: var(--muted); }
.checkup-strip-ico {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
}
.checkup-strip-ico .i { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .checkup-strip { padding: 24px; }
  .checkup-strip .btn { width: 100%; }
}
.layer { position: relative; }
.related-title { margin-bottom: 18px; font-size: 1.3rem; }
/* ===== 03-pages.css ===== */
/* TOP-IT 官網 v3 — 各頁專屬樣式 */

/* ---------- 首頁：月報預覽 ---------- */
.teaser-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.teaser-points { display: grid; gap: 14px; margin: 28px 0 32px; }
.teaser-points li { display: flex; gap: 12px; align-items: flex-start; color: rgb(255 255 255 / 0.82); line-height: 1.7; }
.teaser-points .i { width: 20px; height: 20px; margin-top: 4px; color: var(--ok-bright); stroke-width: 2.4; flex-shrink: 0; }

/* ---------- 維護合約 ---------- */
.included-card { padding: 26px 26px 20px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); }
.included-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.included-card-head b { font-size: 1.08rem; }
.included-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.included-list li:last-child { border-bottom: 0; }
.included-list .ok-dot {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.included-list .ok-dot .i { width: 14px; height: 14px; stroke-width: 3; }
.included-list small { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
@media (hover: hover) { .module:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.module .icon-badge { margin-bottom: 8px; }
.module h3 { font-size: 1.1rem; }
.module p { font-size: 0.94rem; line-height: 1.7; color: var(--muted); }
.module--note { justify-content: center; background: var(--bg-soft); border-style: dashed; }
.module--note h3 { font-size: 1rem; }

.factor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.factor { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.factor .num-tag { font-family: var(--font-num); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--brand); }
.factor h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.factor p { font-size: 0.93rem; line-height: 1.7; color: var(--muted); }
.pricing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--brand-soft);
}
.pricing-note p { max-width: 46em; color: var(--ink-2); }
.pricing-note b { color: var(--ink); }

.mini-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-faq div { padding: 22px; border-radius: 18px; background: var(--bg-soft); }
.mini-faq b { display: block; line-height: 1.55; }
.mini-faq p { margin-top: 8px; font-size: 0.93rem; line-height: 1.75; color: var(--muted); }

/* ---------- 服務項目 ---------- */
.svc-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgb(11 111 232 / 0.45), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.svc-feature h2 { margin-top: 8px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.svc-feature p { margin-top: 12px; color: rgb(255 255 255 / 0.74); }
.svc-feature .btn { margin-top: 24px; }
.svc-feature .ticks--dark { margin-top: 0; }

.svc-list { display: grid; gap: 20px; margin-top: 28px; }
.svc-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 20px 32px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.svc-item:target { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(11 111 232 / 0.12); }
.svc-ico {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
}
.svc-ico .i { width: 30px; height: 30px; }
.svc-main h2 { font-size: 1.45rem; line-height: 1.35; }
.svc-main .svc-tagline { margin-top: 4px; font-weight: 700; color: var(--brand); }
.svc-main p:not(.svc-tagline) { margin-top: 12px; color: var(--muted); }
.svc-main .link-arrow { margin-top: 16px; }
.svc-includes { padding: 20px 22px; border-radius: 18px; background: var(--bg-soft); }
.svc-includes > p { margin-bottom: 4px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); }
.svc-includes .ticks { margin-top: 10px; }
@media (max-width: 400px) { .svc-includes { padding: 18px 16px; } }

.projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.project { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 20px; background: #fff; }
.project h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.project p { font-size: 0.93rem; line-height: 1.7; color: var(--muted); }

/* ---------- 服務詳情：備份 ---------- */
.detail-visual {
  padding: 22px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgb(11 111 232 / 0.4), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.detail-visual .backup-viz { background: rgb(255 255 255 / 0.04); }
.detail-visual-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 16px; }
.detail-visual-head b { font-size: 1rem; }

.myth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.myth-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.myth-q { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; font-weight: 800; line-height: 1.5; }
.myth-badge {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.myth-badge--no { background: var(--risk-soft); color: var(--risk); }
.myth-badge--yes { background: var(--ok-soft); color: var(--ok); }
.myth-a { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px dashed var(--line-strong); color: var(--muted); line-height: 1.75; }

.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rule-card { position: relative; overflow: hidden; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.rule-num {
  font-family: var(--font-num);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #57a8ff, #0b4fc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule-card h3 { margin-top: 8px; font-size: 1.2rem; }
.rule-card p:not(.rule-num) { margin-top: 6px; font-size: 0.95rem; line-height: 1.75; color: var(--muted); }
.rule-icons { display: flex; gap: 8px; margin-top: 20px; }
.rule-icons span {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.rule-icons .i { width: 22px; height: 22px; }
.rule-plus {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid rgb(19 161 80 / 0.25);
  border-radius: 18px;
  background: var(--ok-soft);
  color: #0c5f31;
}
.rule-plus b { font-family: var(--font-num); font-size: 1.6rem; color: var(--ok); }
.rule-plus p { line-height: 1.7; }

.steps-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s4; }
.step-card { position: relative; padding: 26px 24px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 20px; background: rgb(255 255 255 / 0.04); counter-increment: s4; }
.step-card::before { content: "0" counter(s4); font-family: var(--font-num); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: var(--sky); }
.step-card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.step-card p { font-size: 0.94rem; line-height: 1.75; color: rgb(255 255 255 / 0.7); }

.deliver-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deliver-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: var(--bg-soft); }
.deliver-card .icon-badge { flex-shrink: 0; margin: 0; background: #fff; }
.deliver-card b { display: block; font-size: 1.05rem; }
.deliver-card p { margin-top: 4px; font-size: 0.93rem; line-height: 1.7; color: var(--muted); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.related-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.related-card .mega-ico { width: 44px; height: 44px; }
.related-card b { display: block; }
.related-card small { color: var(--muted); }
.related-card > .i { margin-left: auto; width: 18px; height: 18px; color: var(--brand); }

/* ---------- 關於我們 ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.story-text p + p { margin-top: 18px; }
.story-text .about-lead { margin-bottom: 18px; }
.story-stats { display: grid; gap: 14px; }
.story-stat { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.story-stat b { font-family: var(--font-num); font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--brand); white-space: nowrap; }
.story-stat span { color: var(--ink-2); line-height: 1.6; }
.dont-wide { position: static; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px 48px; align-items: start; }
.dont-wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

/* ---------- IT 知識列表 ---------- */
.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
@media (hover: hover) { .article-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.article-feature .article-cover { aspect-ratio: auto; min-height: 320px; }
.article-feature .article-cover .i { width: 96px; height: 96px; }
.article-feature .article-body { justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 48px); }
.article-feature h2, .article-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.4; }
.article-feature p:not(.article-meta) { color: var(--muted); line-height: 1.8; }
.article-feature .article-meta { margin-top: 6px; }
.article-card[hidden], .article-feature[hidden] { display: none; }

/* ---------- 文章頁 ---------- */
.article-hero .container { max-width: calc(980px + var(--gutter) * 2); }
.article-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.3; }
.article-meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 0.92rem; color: var(--muted); }
.article-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta-row .i { width: 16px; height: 16px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 64px;
  align-items: start;
  max-width: calc(1040px + var(--gutter) * 2);
}
.toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc > p { margin-bottom: 8px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); }
.toc nav a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.toc nav a:hover, .toc nav a.is-active { background: var(--bg-soft); color: var(--brand); }
.toc-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.author-box { display: flex; align-items: center; gap: 18px; margin-top: 48px; padding: 22px 24px; border-radius: 20px; background: var(--bg-soft); }
.author-box img { width: 64px; height: auto; flex-shrink: 0; }
.author-box b { display: block; }
.author-box p { font-size: 0.93rem; line-height: 1.7; color: var(--muted); }
.article-cta {
  margin-top: 28px;
  padding: 30px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgb(11 111 232 / 0.5), transparent 70%),
    var(--navy-900);
}
.article-cta h2 { margin: 0; font-size: 1.4rem; color: #fff; }
.article-cta p { margin-top: 10px; color: rgb(255 255 255 / 0.74); }
.article-cta .btn { margin-top: 20px; }

/* ---------- 常見問題頁 ---------- */
.faq-page-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 4px; }
.faq-side a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.faq-side a:hover, .faq-side a.is-active { background: var(--brand-soft); color: var(--brand); }
.faq-side a small { font-family: var(--font-num); font-size: 0.8rem; color: var(--muted); }
.faq-group + .faq-group { margin-top: 52px; }
.faq-group h2 { margin-bottom: 10px; font-size: 1.35rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-search { position: relative; max-width: 560px; margin-top: 28px; }
.faq-search .i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.faq-search input {
  width: 100%;
  padding: 15px 18px 15px 48px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.faq-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(11 111 232 / 0.14); }
.faq-empty { padding: 28px; border-radius: 18px; background: var(--bg-soft); color: var(--muted); text-align: center; }
.faq-item[hidden], .faq-group[hidden], .faq-empty[hidden] { display: none; }

/* ---------- 預約諮詢 ---------- */
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(24px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.form-card .form-done, .form-card .form-fallback { padding: 20px 0 8px; }

/* ---------- 既有客戶服務 ---------- */
.urgent-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid rgb(217 54 54 / 0.22);
  border-radius: 16px;
  background: var(--risk-soft);
  color: #7f1d1d;
}
.urgent-note .i { width: 24px; height: 24px; color: var(--risk); flex-shrink: 0; }
.urgent-note a { color: var(--risk); font-family: var(--font-num); font-weight: 800; }
.support-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.support-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
@media (hover: hover) { .support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(11 111 232 / 0.3); } }
.support-card .icon-badge { margin-bottom: 10px; }
.support-card h2 { font-size: 1.3rem; }
.support-card p { color: var(--muted); line-height: 1.75; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.remote-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.remote-step { padding: 28px 26px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 22px; background: rgb(255 255 255 / 0.04); }
.remote-step .num {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 800;
}
.remote-step h3 { margin: 16px 0 8px; font-size: 1.15rem; }
.remote-step p { font-size: 0.94rem; line-height: 1.75; color: rgb(255 255 255 / 0.7); }
.download-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.download-row p { font-size: 0.9rem; color: rgb(255 255 255 / 0.66); }
.security-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: rgb(52 211 153 / 0.08); border: 1px solid rgb(52 211 153 / 0.22); color: rgb(255 255 255 / 0.82); line-height: 1.7; }
.security-note .i { width: 22px; height: 22px; color: var(--ok-bright); flex-shrink: 0; margin-top: 2px; }

.portal-teaser { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mini-dash {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.mini-dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 0.85rem; color: var(--muted); }
.mini-dash-top b { color: var(--ink); font-size: 0.95rem; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-kpis div { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini-kpis small { display: block; font-size: 0.78rem; color: var(--muted); }
.mini-kpis b { font-family: var(--font-num); font-size: 1.35rem; }
.mini-rows { margin-top: 10px; padding: 6px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.mini-rows li:last-child { border-bottom: 0; }
.mini-rows em { margin-left: auto; font-style: normal; font-size: 0.8rem; font-weight: 700; }
.mini-rows .done { color: var(--ok); }
.mini-rows .doing { color: var(--brand); }

/* ---------- 隱私權 ---------- */
.privacy-layout { max-width: calc(820px + var(--gutter) * 2); }
.draft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--warn-soft);
  color: #7a4a02;
  line-height: 1.7;
}
.draft-note .i { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1080px) {
  .teaser-grid, .story-grid, .contact-page-grid, .ticket-grid, .portal-teaser, .svc-feature, .dont-wide { grid-template-columns: minmax(0, 1fr); }
  .module-grid, .factor-grid, .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-item { grid-template-columns: 64px minmax(0, 1fr); }
  .svc-includes { grid-column: 2; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .faq-page-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-side a { border: 1px solid var(--line-strong); border-radius: 99px; padding: 7px 14px; }
  .article-feature { grid-template-columns: minmax(0, 1fr); }
  .article-feature .article-cover { min-height: 220px; }
}
@media (max-width: 760px) {
  .module-grid, .factor-grid, .myth-grid, .rule-grid, .steps-4, .deliver-grid, .related-grid,
  .projects-grid, .mini-faq, .support-actions, .remote-steps, .dont-wide ul { grid-template-columns: minmax(0, 1fr); }
  .svc-item { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .svc-includes { grid-column: auto; }
  .svc-ico { width: 52px; height: 52px; border-radius: 15px; }
  .svc-ico .i { width: 26px; height: 26px; }
  .mini-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-kpis div:last-child { grid-column: span 2; }
  .story-stat b { font-size: 1.7rem; }
  .pricing-note .btn { width: 100%; }
  .rule-num { font-size: 3.6rem; }
}

/* ---------- 關於我們（補充） ---------- */
.story-title { margin-bottom: 20px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.35; }
.values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.principle--plain { margin-top: 0; background: #fff; }
.dont-wide h2 { margin: 8px 0 18px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: #fff; }
.dont-wide .dont-foot { margin-top: 0; color: rgb(255 255 255 / 0.8); }
@media (max-width: 1080px) { .values--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .values--4 { grid-template-columns: minmax(0, 1fr); } }
/* ---------- 預約諮詢（補充） ---------- */
.form-card .contact-form { padding: 0; }
.checkup-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ok-soft);
  color: #0c5f31;
  font-size: 0.93rem;
  font-weight: 600;
}
.checkup-banner .i { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; }
.checkup-banner[hidden] { display: none; }
.step-hint { margin-left: 10px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field--spaced { margin-top: 24px; }
.field-label { font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.side-card--soft { background: var(--bg-soft); box-shadow: none; }
.side-card--soft .ticks { margin-top: 0; }
.faq-search { display: block; }
.article-hero .article-tag { display: inline-block; margin-bottom: 14px; }
/* ---------- 支援、健檢（補充） ---------- */
.form-title { font-size: 1.45rem; }
.upload-files { font-size: 0.85rem; font-weight: 700; color: var(--brand); }
.upload-files:empty { display: none; }
.upload-box { position: relative; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.kicker .tbd { margin-left: 4px; }
.portal-teaser-title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.3; }
.portal-teaser-text { margin-top: 14px; color: var(--muted); }
.portal-ticks { margin: 22px 0 28px; }
.quiz-aside { margin-top: 28px; }
.quiz-aside p { color: var(--muted); line-height: 1.75; }
.page-checkup .quiz-intro .quiz-meta { gap: 14px; }
/* ---------- 維護合約：責任邊界 ---------- */
.scope { margin-top: clamp(40px, 5vw, 56px); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--bg-soft); }
.scope-head { max-width: 780px; margin-bottom: 22px; }
.scope-head h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
.scope-head p { margin-top: 8px; color: var(--muted); line-height: 1.8; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scope-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.scope-card h4 { margin: 12px 0 10px; font-size: 1.1rem; }
.scope-card .ticks { margin-top: 0; }
.scope-card .ticks li { font-size: 0.93rem; }
.scope-card > p { margin-top: 12px; font-size: 0.92rem; line-height: 1.75; color: var(--muted); }
.scope-card h4 + p { margin-top: 0; }
.scope-tag { display: inline-flex; padding: 3px 10px; border-radius: 99px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; }
.scope-tag--in { background: var(--ok-soft); color: var(--ok); }
.scope-tag--project { background: var(--warn-soft); color: var(--warn); }
.scope-tag--vendor { background: var(--brand-soft); color: var(--brand); }
.price-hint { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.price-hint b { color: var(--ink); font-weight: 800; }
.quiz-aside p + p { margin-top: 10px; }
@media (max-width: 1080px) { .scope-grid { grid-template-columns: minmax(0, 1fr); } }