/* COMMEET shared basic settings. Enqueued before every COMMEET page stylesheet. */
:root {
  --color-canvas: #f8f9fd;
  --color-surface: #ffffff;
  --color-surface-subtle: #eef4f7;
  --color-text: #172033;
  --color-text-muted: #5f6b7c;
  --color-text-subtle: #7a8796;
  --color-border: #dbe4eb;
  --color-primary: #5f7890;
  --color-primary-dark: #3f5668;
  --color-teal: #008c95;
  --color-green: #1d8b5f;
  --color-amber: #a86700;
  --color-amber-dark: #7f5200;
  --color-amber-soft: #fff5df;
  --color-amber-border: #efd6a3;
  --color-red: #bd3f3f;
  --color-orange: #ef7a00;
  --color-orange-dark: #d86f00;
  --color-orange-light: #ffad54;
  --color-orange-soft: #fff7ed;
  --color-text-secondary: #475569;
}

.commeet-page {
  /* Shared design tokens */
  --bg: var(--color-canvas);
  --surface: var(--color-surface);
  --surface-2: var(--color-surface-subtle);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --muted-2: var(--color-text-subtle);
  --line: var(--color-border);
  --primary: var(--color-primary);
  --primary-dark: var(--color-primary-dark);
  --teal: var(--color-teal);
  --green: var(--color-green);
  --amber: var(--color-amber);
  --red: var(--color-red);
  --shadow: 0 20px 52px rgba(22, 34, 52, 0.1);
  --radius: 8px;
  --container: 1160px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Arial, sans-serif;
  --font-size-body: 16px;
  --font-size-h1: clamp(40px, 4.5vw, 50px);
  --font-size-h2: clamp(36px, 3.6vw, 42px);
  --font-size-h3: 24px;
  --font-size-h4: 20px;
  --font-size-h5: 18px;
  --font-size-h6: 16px;
  --font-weight-h1: 900;
  --font-weight-h2: 860;
  --font-weight-h3: 820;
  --font-weight-h4: 760;
  --font-weight-h5: 700;
  --font-weight-h6: 650;
  --space-section: 88px;
  --space-section-tight: 58px;
  --focus-ring: 0 0 0 3px rgba(0, 140, 149, 0.24);
  --accent-blue: var(--primary);
  --accent-blue-dark: var(--primary-dark);
  --accent-blue-soft: var(--surface-2);
  --accent-blue-line: var(--line);
  --accent-orange: var(--amber);
  --accent-orange-dark: var(--color-amber-dark);
  --accent-orange-soft: var(--color-amber-soft);
  --accent-orange-line: var(--color-amber-border);
  --bg-page: var(--bg);
  --bg-card: var(--surface);
  --text-main: var(--ink);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--muted);
  --border-light: var(--line);

  /* Shared page defaults */
  box-sizing: border-box;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: 1.7;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.commeet-page *,
.commeet-page *::before,
.commeet-page *::after { box-sizing: border-box; }
.commeet-page img,
.commeet-page svg,
.commeet-page video { max-width: 100%; height: auto; }
.commeet-page h1,
.commeet-page h2,
.commeet-page h3,
.commeet-page h4,
.commeet-page h5,
.commeet-page h6,
.commeet-page p,
.commeet-page figure { margin: 0; }
.commeet-page :where(h1) { font-size: var(--font-size-h1); font-weight: var(--font-weight-h1); line-height: 1.15; }
.commeet-page :where(h2) { font-size: var(--font-size-h2); font-weight: var(--font-weight-h2); line-height: 1.2; }
.commeet-page :where(h3) { font-size: var(--font-size-h3); font-weight: var(--font-weight-h3); line-height: 1.25; }
.commeet-page :where(h4) { font-size: var(--font-size-h4); font-weight: var(--font-weight-h4); line-height: 1.3; }
.commeet-page :where(h5) { font-size: var(--font-size-h5); font-weight: var(--font-weight-h5); line-height: 1.35; }
.commeet-page :where(h6) { font-size: var(--font-size-h6); font-weight: var(--font-weight-h6); line-height: 1.4; }
.commeet-page :is(p, li, label, input, select, textarea) { font-size: var(--font-size-body); }
.commeet-page a { color: inherit; text-decoration: none; }
.commeet-page p { color: var(--muted); }
.commeet-page button,
.commeet-page input,
.commeet-page select,
.commeet-page textarea { font: inherit; }
.commeet-page button { cursor: pointer; }
.commeet-page :focus-visible { outline: none; box-shadow: var(--focus-ring); }
.commeet-page .container {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin-inline: auto;
}
@media (max-width: 760px) {
  .commeet-page .container { width: min(var(--container), calc(100% - 32px)); }
}

