/* ==========================================================================
   AnimateItNow — Design System
   One source of truth for tokens, typography, navigation, footer and the
   shared component primitives. Loaded last on every page so it wins over
   legacy page-level styles.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light;

  /* brand */
  --brand-50: #eef0ff;
  --brand-100: #e0e4ff;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --violet-500: #8b5cf6;
  --cyan-500: #06b6d4;
  --pink-500: #ec4899;
  --grad-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #d946ef 100%);
  --grad-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  --grad-text: linear-gradient(120deg, #4f46e5 0%, #8b5cf6 50%, #db2777 100%);

  /* surfaces + text */
  --bg: #ffffff;
  --bg-secondary: #f6f7fb;
  --bg-tertiary: #eceef6;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: #0f1226;
  --text-light: #565c75;
  --text-muted: #8a8fa6;
  --border: #e3e5f0;
  --border-strong: #cfd3e4;
  --ring: rgba(99, 102, 241, 0.35);

  /* semantic */
  --primary: var(--brand-500);
  --primary-light: var(--brand-400);
  --primary-dark: var(--brand-600);
  --primary-hover: var(--brand-600);
  --secondary: var(--pink-500);
  --accent: var(--cyan-500);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* elevation */
  --shadow-xs: 0 1px 2px rgba(15, 18, 38, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 18, 38, 0.06), 0 1px 2px rgba(15, 18, 38, 0.04);
  --shadow: 0 10px 30px -8px rgba(15, 18, 38, 0.12), 0 2px 6px rgba(15, 18, 38, 0.04);
  --shadow-lg: 0 24px 60px -12px rgba(15, 18, 38, 0.2);
  --shadow-hover: 0 18px 40px -10px rgba(79, 70, 229, 0.25);
  --shadow-glow: 0 10px 30px -6px rgba(99, 102, 241, 0.5);

  /* shape + motion */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: all 0.25s var(--ease);
  --transition-fast: all 0.15s ease;
  --header-height: 72px;

  /* fonts */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* legacy aliases — keep older page styles on-brand */
  --primary-color: var(--brand-500);
  --secondary-color: var(--pink-500);
  --accent-color: var(--cyan-500);
  --text-color: var(--text);
  --text-primary: var(--text);
  --text-secondary: var(--text-light);
  --bg-color: var(--bg);
  --bg-glass: rgba(255, 255, 255, 0.78);
  --background-primary: var(--bg);
  --background-secondary: var(--bg-secondary);
  --background-tertiary: var(--bg-tertiary);
  --border-color: var(--border);
  --card-bg: var(--surface);
  --card-shadow: rgba(15, 18, 38, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --footer-bg: #0b0d1c;
  --input-bg: var(--surface);
  --input-text: var(--text);
  --filter-bg: var(--bg-secondary);
  --filter-active: var(--brand-500);
  --filter-text: var(--text-light);
  --primary-bg: var(--bg);
  --primary-text: var(--text);
  --border-radius: var(--radius);
  --transition-default: var(--transition);
  --transition-speed: 0.25s;
}

:root[data-theme="dark"],
[data-theme="dark"],
body.dark,
body.dark-theme {
  color-scheme: dark;
  --brand-50: #1b1d3d;
  --brand-100: #25285a;
  --bg: #090b16;
  --bg-secondary: #0f1224;
  --bg-tertiary: #171b33;
  --surface: #121529;
  --surface-raised: #181c36;
  --text: #eceefb;
  --text-light: #a3a9c7;
  --text-muted: #727897;
  --border: #242946;
  --border-strong: #343b63;
  --ring: rgba(129, 140, 248, 0.45);
  --primary: var(--brand-400);
  --primary-light: #a5b4fc;
  --primary-dark: var(--brand-500);
  --primary-hover: #a5b4fc;
  --secondary: #f472b6;
  --accent: #22d3ee;
  --grad-text: linear-gradient(120deg, #a5b4fc 0%, #c4b5fd 50%, #f9a8d4 100%);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 18px 40px -10px rgba(129, 140, 248, 0.3);
  --bg-glass: rgba(18, 21, 41, 0.75);
  --card-shadow: rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(9, 11, 22, 0.8);
  --footer-bg: #060813;
  --primary-color: var(--brand-400);
  --text-color: var(--text);
}

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

html body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p { color: var(--text-light); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }
img, video, svg { max-width: 100%; }
::selection { background: rgba(99, 102, 241, 0.25); }

code, kbd, pre, samp { font-family: var(--font-mono); }
:not(pre) > code {
  font-size: 0.875em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}
body.dark :not(pre) > code, body.dark-theme :not(pre) > code, [data-theme="dark"] :not(pre) > code { color: var(--primary-light); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.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;
}

.gradient-text, .text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Pushes page content below the fixed navbar when the page has no hero offset */
.ds-offset { padding-top: var(--header-height); }

/* ---------- 3. Buttons --------------------------------------------------- */
.btn, .ds-btn,
button.btn, a.btn {
  --_bg: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font: 600 0.95rem/1.2 var(--font-sans);
  letter-spacing: -0.005em;
  color: #fff;
  background: var(--_bg);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn:hover, .ds-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 36px -8px rgba(99, 102, 241, 0.6); filter: brightness(1.05); }
.btn:active, .ds-btn:active { transform: translateY(0) scale(0.98); }

.btn-secondary, .btn.btn-secondary, .ds-btn--soft {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover, .ds-btn--soft:hover { color: var(--text); border-color: var(--primary); box-shadow: var(--shadow-sm); filter: none; }

.btn-outline, .btn.btn-outline, .ds-btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn-outline:hover, .ds-btn--ghost:hover { background: var(--brand-50); color: var(--primary-dark); border-color: var(--primary); box-shadow: none; filter: none; }

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- 4. Navbar ---------------------------------------------------- */
.ds-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.ds-nav.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 24px -16px rgba(15, 18, 38, 0.25); }
.ds-nav__inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ds-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.15rem/1 var(--font-sans);
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}
.ds-brand:hover { color: var(--text); }
.ds-brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.45); }
.ds-brand b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }

.ds-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto 0 8px; padding: 0; }
.ds-links > li { position: relative; margin: 0; }
.ds-links > li > a,
.ds-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px;
  font: 500 0.92rem/1 var(--font-sans);
  color: var(--text-light);
  background: none; border: 0; border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.ds-links > li > a:hover,
.ds-links > li > button:hover,
.ds-links > li:focus-within > button,
.ds-links > li.is-open > button { color: var(--text); background: var(--bg-tertiary); }
.ds-links > li > a.is-active, .ds-links > li > button.is-active { color: var(--primary); background: var(--brand-50); font-weight: 600; }
.ds-links .ds-caret { font-size: 0.62rem; opacity: 0.65; transition: transform 0.2s ease; }
.ds-links > li.is-open .ds-caret { transform: rotate(180deg); }

.ds-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; padding: 8px; margin: 0; list-style: none;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.ds-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.ds-links > li.is-open > .ds-menu,
.ds-links > li:hover > .ds-menu,
.ds-links > li:focus-within > .ds-menu { opacity: 1; visibility: visible; transform: none; }
.ds-menu a {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  border-radius: 10px; color: var(--text); transition: background 0.15s ease;
}
.ds-menu a:hover { background: var(--bg-tertiary); color: var(--text); }
.ds-menu a.is-active { background: var(--brand-50); }
.ds-menu .ds-ico {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 9px; background: var(--brand-50); color: var(--primary); font-size: 0.9rem;
}
.ds-menu strong { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.ds-menu small { display: block; font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; margin-top: 2px; }

.ds-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ds-links + .ds-actions { margin-left: 0; }
.ds-icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  color: var(--text-light); background: transparent;
  border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; font-size: 0.95rem; transition: var(--transition);
}
.ds-icon-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--brand-50); }
.ds-actions .btn { padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.ds-login { white-space: nowrap; font: 600 0.9rem/1 var(--font-sans); color: var(--text); padding: 10px 12px; border-radius: 10px; }
.ds-login:hover { color: var(--primary); background: var(--bg-tertiary); }
.ds-burger { display: none; }

@media (max-width: 1060px) {
  .ds-burger { display: inline-grid; }
  .ds-nav__inner { gap: 12px; }
  .ds-actions { margin-left: auto; }
  .ds-actions .ds-login, .ds-actions .btn { display: none; }
  .ds-links {
    /* absolute (not fixed): the header's backdrop-filter makes it the containing block */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-height)); height: calc(100dvh - var(--header-height));
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 16px 20px 40px;
    background: var(--bg);
    overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }
  .ds-nav.is-open .ds-links { transform: none; visibility: visible; }
  .ds-links > li > a, .ds-links > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .ds-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0 8px;
    display: none; min-width: 0;
  }
  .ds-links > li.is-open > .ds-menu { display: block; }
  .ds-links > li:hover > .ds-menu { opacity: 1; visibility: visible; }
  .ds-menu::before { display: none; }
  .ds-links li.ds-mobile-only { display: block; }
}
.ds-links li.ds-mobile-only { display: none; }
@media (max-width: 1060px) {
  .ds-mobile-cta { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .ds-mobile-cta .btn { display: inline-flex; width: 100%; padding: 0.9rem 1rem; font-size: 0.95rem; }
}
@media (max-width: 1060px) {
  .ds-links > li.ds-mobile-cta > a.btn { width: 100%; justify-content: center; padding: 0.9rem 1rem; font-size: 0.95rem; color: #fff; background: var(--grad-brand); border-radius: var(--radius-full); }
  .ds-links > li.ds-mobile-cta > a.btn.btn-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
}
body.ds-lock { overflow: hidden; }

/* ---------- 5. Footer ---------------------------------------------------- */
footer.ds-footer {
  position: relative;
  margin: 0;
  padding: 72px 0 0;
  background: var(--footer-bg);
  color: #a7adc8;
  border: 0;
  overflow: hidden;
}
footer.ds-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.6), transparent);
}
footer.ds-footer::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -380px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent);
  pointer-events: none;
}
.ds-footer .container { position: relative; z-index: 1; max-width: 1200px; }
.ds-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.ds-footer .ds-brand { color: #fff; margin-bottom: 16px; }
.ds-footer .ds-brand:hover { color: #fff; }
.ds-footer p { color: #a7adc8; font-size: 0.93rem; line-height: 1.7; margin: 0 0 20px; max-width: 34ch; }
.ds-footer h4 { margin: 0 0 18px; font: 600 0.78rem/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.ds-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ds-footer li { margin: 0; }
.ds-footer a { color: #a7adc8; font-size: 0.93rem; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.ds-footer a:hover { color: #fff; }
.ds-footer ul a:hover { transform: translateX(3px); }
.ds-social { display: flex; gap: 10px; }
.ds-social a {
  width: 38px; height: 38px; display: inline-grid; place-items: center; font-size: 1rem;
  color: #c7cbe0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px; transition: var(--transition);
}
.ds-social a:hover { color: #fff; background: var(--grad-brand); border-color: transparent; transform: translateY(-3px); }
.ds-newsletter {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 28px 32px; margin-bottom: 56px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(217, 70, 239, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg);
}
.ds-newsletter h3 { margin: 0 0 4px; color: #fff; font-size: 1.15rem; letter-spacing: -0.02em; }
.ds-newsletter p { margin: 0; max-width: none; font-size: 0.9rem; }
.ds-newsletter form { display: flex; gap: 8px; min-width: min(420px, 100%); }
.ds-newsletter input {
  flex: 1; min-width: 0; padding: 0.8rem 1.1rem; font: 0.92rem var(--font-sans); color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-full);
}
.ds-newsletter input::placeholder { color: #8a90ad; }
.ds-newsletter input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.25); background: rgba(255, 255, 255, 0.12); }
.ds-newsletter .btn { padding: 0.8rem 1.4rem; white-space: nowrap; }
.ds-newsletter__ok { color: #6ee7b7; font-weight: 600; font-size: 0.95rem; }
.ds-footer__bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem; color: #868cab;
}
.ds-footer__bar p { margin: 0; max-width: none; color: #868cab; font-size: 0.86rem; }
.ds-footer__bar nav { display: flex; gap: 20px; }
.ds-footer__bar a { font-size: 0.86rem; color: #868cab; }
.ds-footer__bar a:hover { color: #fff; }

@media (max-width: 900px) {
  .ds-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ds-footer__grid > :first-child { grid-column: 1 / -1; }
  .ds-newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ds-footer__grid { grid-template-columns: 1fr; }
  .ds-newsletter { padding: 22px; }
  .ds-newsletter form { flex-direction: column; min-width: 0; }
}

/* ---------- 6. Floating helpers ----------------------------------------- */
.ds-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: #fff; background: var(--grad-brand); border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: var(--shadow-glow); font-size: 1rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition);
}
.ds-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ds-top:hover { transform: translateY(-3px); }

.ds-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; background: var(--grad-brand); transition: width 0.1s linear; }

/* ---------- 7. Scroll reveal -------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 8. Shared page primitives ----------------------------------- */
.ds-hero {
  position: relative;
  padding: calc(var(--header-height) + 72px) 0 72px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% -10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(40% 60% at 90% 10%, rgba(217, 70, 239, 0.1), transparent 70%),
    var(--bg);
}
.ds-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; margin: 0 0 16px; }
.ds-hero p { max-width: 640px; margin: 0 auto; font-size: 1.12rem; }
.ds-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; font: 600 0.8rem/1 var(--font-sans); letter-spacing: 0.02em;
  color: var(--primary); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-full);
}

/* ---------- 9. Form + card + table polish for legacy markup ------------ */
/* Zero-specificity defaults so page styles can still override */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="submit"]):not([type="button"]), textarea, select) {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), textarea, select):focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}
::placeholder { color: var(--text-muted); opacity: 1; }

table { border-collapse: collapse; }
th { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--border); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
