/* Shared type, colors and motion for the workspace and public pages. */
:root {
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ink: #202228;
  --muted: #676c76;
  --line: #e7e8ec;
  --surface: #f7f8fa;
  --paper: #fff;
  --accent: #30343b;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.7 var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-underline-offset: 4px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
[hidden] { display: none !important; }
:where(button, a, input, select, summary):focus-visible { outline: 2px solid #66748d; outline-offset: 4px; }
:where(button, .button, input, select) { transition: background-color .16s, border-color .16s, box-shadow .16s, color .16s, transform .16s var(--ease-out); }
:where(button, .button):active:not(:disabled) { transform: translateY(1px); }
::selection { background: #e4e8ef; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1.4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.7px; text-decoration: none; white-space: nowrap; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 33px; height: 33px; border-radius: 9px; background: #202228; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -2px; }
.logo-mark span { font-size: 21px; font-weight: 400; margin-left: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 10px 17px; border: 1px solid #dedfe3; border-radius: 9px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 550; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.button:hover { background: #f5f5f7; border-color: #c9ccd2; }
.button.primary { background: #24262c; border-color: #24262c; color: #fff; box-shadow: 0 1px 2px #171a2312; }
.button.primary:hover { background: #3b3e46; border-color: #3b3e46; box-shadow: 0 3px 10px #171a2312; }
.language-control { display: inline-flex; flex-shrink: 0; }
.language-control select { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12px; cursor: pointer; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
html.i18n-loading body { visibility: hidden; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff5; border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 32px; max-width: 1200px; margin: auto; padding: 18px 32px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-size: 13px; color: var(--muted); white-space: nowrap; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current] { text-decoration: underline; text-decoration-color: #a2a7b2; text-underline-offset: 9px; }
.site-header-actions { display: flex; align-items: center; gap: 12px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; max-width: 1136px; border-top: 1px solid var(--line); margin: 0 auto; padding: 32px 0 44px; color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand { font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -.4px; }
.site-footer p { margin: 6px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-email { grid-column: 2; justify-self: end; }
@keyframes enter-view { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1100px) {
  .site-header-inner { gap: 20px; }
  .site-nav { gap: 16px; }
  .site-footer { margin-inline: 32px; }
}
@media (max-width: 850px) {
  .site-header-inner { flex-wrap: wrap; gap: 12px; padding: 14px 24px 0; }
  .site-header-actions { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; gap: 24px; overflow-x: auto; padding: 2px 0 12px; }
  .site-nav a { flex-shrink: 0; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 150px; }
  .site-header-inner { padding-inline: 20px; }
  .site-header .brand { font-size: 18px; gap: 8px; }
  .site-header .logo-mark { width: 28px; height: 28px; font-size: 16px; }
  .site-header-actions { gap: 8px; }
  .workspace-link { display: none; }
  .site-footer { display: flex; flex-direction: column; margin: 0 20px; gap: 24px; padding: 28px 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
