:root {
  --blue-900: #05254a;
  --blue-800: #073d7a;
  --blue-700: #0b4f93;
  --blue-600: #0c78c7;
  --orange: #f39800;
  --orange-dark: #df6b00;
  --green: #16835a;
  --bg: #f3f6fa;
  --text: #1e293b;
  --muted: #64748b;
  --line: #dbe3ee;
  --card: #fff;
  --shadow: 0 8px 22px rgba(15, 35, 70, 0.09);
  --content-width: 1220px;

  /* V4 Classic Design Tokens（任務 29）：由 site-theme.css 使用；此處只新增，不改上方既有變數。 */
  --color-brand: #05254a;
  --color-brand-secondary: #073d7a;
  --color-brand-soft: #e8f1fb;
  --color-accent: #f39800;
  --color-accent-dark: #df6b00;
  --color-accent-soft: #fdf0db;
  --color-surface: #fff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #dbe3ee;
  --accent-bar-sm: 3px;
  --accent-bar-md: 4px;
  --accent-bar-lg: 6px;
  --accent-bar-xl: 10px;
  --radius-block: 0;
  --radius-pill: 999px;
  --radius-round: 50%;
  --shadow-flat: none;
  --shadow-hover: 0 12px 28px rgba(243, 152, 0, 0.14);
  --shadow-dialog: 14px 14px 0 rgba(23, 26, 29, 0.2);
  --font-weight-heading: 900;
  --kicker-size: 10px;
  --kicker-tracking: 0.2em;
  --header-height: 64px;
  --section-gap: 58px;
  --section-gap-mobile: 38px;
  --content-width-v4: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.7;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue-700);
}

.site-container {
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
}

.site-main {
  min-height: 50vh;
  padding: 34px 0 72px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 767px) {
  .site-container {
    width: min(100% - 32px, var(--content-width));
  }

  .site-main {
    padding: 24px 0 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
