@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(/fonts/inter-v20-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(/fonts/inter-v20-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(/fonts/inter-v20-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Shared color contract. Page styles own layout and component selectors. */
:root {
  color-scheme: light;
  --goai-bg: #f7f9fc;
  --goai-surface: #ffffff;
  --goai-surface-2: #f0f4f9;
  --goai-sidebar: #edf2f8;
  --goai-text: #182333;
  --goai-muted: #566579;
  --goai-border: #dce4ee;
  --goai-accent: #2d5da9;
  --goai-accent-soft: #e9f0fc;
  --goai-accent-contrast: #ffffff;
  --goai-success: #16704b;
  --goai-success-soft: #e7f5ed;
  --goai-warning: #895714;
  --goai-warning-soft: #fff3db;
  --goai-danger: #b12e39;
  --goai-danger-soft: #fcebef;
  --goai-shadow: 0 16px 48px #1a243314;
  --goai-focus: #6494f5;
  --goai-radius: 12px;
  --goai-shadow-soft: 0 1px 3px #1a243306, 0 6px 20px #1a243306;
  --goai-shadow-raised: 0 2px 8px #1a243308, 0 16px 40px #1a243314;
  --goai-ease: cubic-bezier(.22, .68, .12, 1);
  --goai-duration: 180ms;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --goai-bg: #11161e;
  --goai-surface: #1a222d;
  --goai-surface-2: #222c39;
  --goai-sidebar: #151c26;
  --goai-text: #edf2f9;
  --goai-muted: #adb9c9;
  --goai-border: #334050;
  --goai-accent: #a3bdff;
  --goai-accent-soft: #27374f;
  --goai-accent-contrast: #14254a;
  --goai-success: #80d3ac;
  --goai-success-soft: #153b30;
  --goai-warning: #edc17d;
  --goai-warning-soft: #3d301b;
  --goai-danger: #ffa4ac;
  --goai-danger-soft: #46262e;
  --goai-shadow: 0 20px 60px #00000030;
  --goai-focus: #a5c4ff;
  --goai-shadow-soft: 0 2px 8px #00000015, 0 8px 24px #0000001f;
  --goai-shadow-raised: 0 4px 12px #0000001a, 0 24px 64px #00000038;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --goai-bg: #11161e;
    --goai-surface: #1a222d;
    --goai-surface-2: #222c39;
    --goai-sidebar: #151c26;
    --goai-text: #edf2f9;
    --goai-muted: #adb9c9;
    --goai-border: #334050;
    --goai-accent: #a3bdff;
    --goai-accent-soft: #27374f;
    --goai-accent-contrast: #14254a;
    --goai-success: #80d3ac;
    --goai-success-soft: #153b30;
    --goai-warning: #edc17d;
    --goai-warning-soft: #3d301b;
    --goai-danger: #ffa4ac;
    --goai-danger-soft: #46262e;
    --goai-shadow: 0 20px 60px #00000030;
    --goai-focus: #a5c4ff;
    --goai-shadow-soft: 0 2px 8px #00000015, 0 8px 24px #0000001f;
    --goai-shadow-raised: 0 4px 12px #0000001a, 0 24px 64px #00000038;
  }
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--goai-border);
  border-radius: 10px;
  background: var(--goai-surface);
  color: var(--goai-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--goai-surface-2); }
.theme-toggle { transition: background var(--goai-duration), border-color var(--goai-duration), box-shadow var(--goai-duration); }
.theme-toggle:focus-visible { outline: 3px solid var(--goai-focus); outline-offset: 3px; }
.theme-symbol { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.theme-symbol::before { content: "☀"; font-size: 19px; line-height: 1; }
:root[data-theme="dark"] .theme-symbol::before { content: "☾"; font-size: 22px; }

@keyframes goai-enter {
  from { opacity: .35; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes goai-pop {
  from { opacity: .4; transform: translateY(5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
