/* FLOD Blog — shared tokens, header, footer */

:root {
  --flod-teal: #257180;
  --flod-teal-deep: #1a4f5c;
  --flod-teal-soft: #e6f4f7;
  --flod-teal-mid: #4394a4;
  --flod-teal-light: #86c4d0;
  --flod-teal-pale: #c7f1f9;
  --flod-accent: #fd8b51;
  --flod-accent-deep: #cb6040;
  --flod-accent-soft: #fff0e8;
  --flod-ink: #1a1a1a;
  --flod-ink-soft: #333333;
  --flod-muted: #6b6b6b;
  --flod-muted-mid: #666666;
  --flod-border: #e8e8e8;
  --flod-border-hover: #cfcfcf;
  --flod-border-strong: #dddddd;
  --flod-border-soft: #eeeeee;
  --flod-page: #ffffff;
  --flod-surface: #f7f7f7;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
  --header-height: 64px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--flod-ink);
  background: var(--flod-page);
  -webkit-font-smoothing: antialiased;
}

/* ── Site header (width 1440 / max 100% / pad 0 32px) ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  box-sizing: border-box;
  width: 1440px;
  max-width: 100%;
  margin-inline: auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--flod-border);
  backdrop-filter: saturate(180%) blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
  color: var(--flod-ink);
  border-bottom: none;
  background: transparent;
  font-weight: 400;
}

.brand:hover {
  color: var(--flod-ink);
  border-bottom: none;
  background: transparent;
}

.brand__logo {
  display: block;
  height: 22px;
  width: auto;
}

.brand__label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--flod-ink);
  line-height: 1;
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--flod-ink);
  text-decoration: none;
  padding: 0.4rem 0.15rem;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}

.nav-cta:hover {
  color: var(--flod-teal);
  border-bottom-color: var(--flod-teal);
  background: transparent;
}

/* ── Site footer ── */

.site-footer {
  box-sizing: border-box;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 32px 40px;
  border-top: 1px solid var(--flod-border);
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--flod-muted);
}
