/* utilities.css
   Hand-written static replacement for the Tailwind CDN build.
   Implements exactly the utility classes used across the 9 site/public/*.html
   pages (static markup + classes built in <script> template strings).
   Values follow js/theme.js (custom colors/spacing/fontSize/fontFamily/
   borderRadius) and Tailwind v3 default scales for the standard utilities.
   Custom component classes (bento-cell, sidebar, toggle-*, input-field,
   hero-*, reveal-up, etc.) stay in each page's inline <style> and are NOT
   redefined here. */

/* ---------- Preflight-equivalent base reset ---------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Inter', sans-serif; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, blockquote, dl, dd, figure, hr { margin: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
:-moz-focusring { outline: auto; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
textarea { resize: vertical; }
::placeholder { opacity: 1; color: #9ca3af; }
[hidden] { display: none; }

/* Current-page state shared by desktop and mobile navigation. */
.nav-link.nav-active,
#mobile-menu a.nav-active {
  color: var(--primary) !important;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  font-weight: 650;
}
.nav-link.nav-active::after { transform: scaleX(1) !important; }

/* ---------- minimal @tailwindcss/forms-style reset (base strategy) ---------- */
:where(input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='search'],
input[type='tel'],
input[type='url'],
input[type='date'],
select,
textarea) {
  appearance: none;
  background-color: transparent;
  border: 1px solid var(--outline);
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: inherit;
}
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--on-surface);
  -webkit-box-shadow: 0 0 0px 1000px var(--surface-container-low) inset;
  box-shadow: 0 0 0px 1000px var(--surface-container-low) inset;
  transition: background-color 9999s ease-in-out 0s;
  caret-color: var(--on-surface);
}
:where([type='checkbox'],
[type='radio']) {
  appearance: none;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  background-color: transparent;
  border: 1px solid var(--outline);
}
:where([type='checkbox']) { border-radius: 0; }
:where([type='radio']) { border-radius: 100%; }
:where([type='checkbox']:checked,
[type='radio']:checked) {
  background-color: currentColor;
  border-color: transparent;
}

/* ===================== Layout / display ===================== */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid-rows-6 { grid-template-rows: repeat(6, minmax(0, 1fr)); }
.col-span-12 { grid-column: span 12 / span 12; }

/* ===================== Position ===================== */
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-6 { top: 1.5rem; }
.top-1\/2 { top: 50%; }
.-top-24 { top: -6rem; }
.right-0 { right: 0; }
.right-1 { right: 0.25rem; }
.-right-24 { right: -6rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.left-6 { left: 1.5rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }
.z-\[100\] { z-index: 100; }

/* ===================== Sizing ===================== */
.w-0 { width: 0; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }
.w-\[98\.4\%\] { width: 98.4%; }
.min-w-\[120px\] { min-width: 120px; }

.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100dvh; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[600px\] { min-height: 600px; }
.max-h-64 { max-height: 16rem; }
.max-h-\[85vh\] { max-height: 85vh; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-\[440px\] { max-width: 440px; }
.max-w-\[540px\] { max-width: 540px; }
.max-w-\[1440px\] { max-width: 1440px; }

.aspect-square { aspect-ratio: 1 / 1; }
.object-cover { object-fit: cover; }

/* ===================== Spacing: padding ===================== */
.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-gutter { padding: 24px; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-margin-mobile { padding-left: 16px; padding-right: 16px; }
.px-margin-desktop { padding-left: 40px; padding-right: 40px; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-gutter { padding-top: 24px; padding-bottom: 24px; }

.pt-1 { padding-top: 0.25rem; }
.pt-4 { padding-top: 1rem; }
.pt-24 { padding-top: 6rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-gutter { padding-bottom: 24px; }
.pl-3 { padding-left: 0.75rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-4 { padding-right: 1rem; }

/* ===================== Spacing: margin ===================== */
.m-2 { margin: 0.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.ml-\[240px\] { margin-left: 240px; }
.mr-3 { margin-right: 0.75rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }

/* ===================== Gap ===================== */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-x-12 { column-gap: 3rem; }
.gap-y-10 { row-gap: 2.5rem; }
.gap-gutter { gap: 24px; }
.gap-bento-gap { gap: 16px; }

/* ===================== space-* (adjacent-sibling) ===================== */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-bento-gap > * + * { margin-top: 16px; }

/* ===================== divide-* ===================== */
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-outline-variant > * + * { border-color: var(--outline-variant); }

/* ===================== Border width / style ===================== */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; }
.border-none { border-style: none; }
.border-dashed { border-style: dashed; }
.border-collapse { border-collapse: collapse; }

/* ===================== Border radius (per theme.js) ===================== */
.rounded { border-radius: 0.375rem; }
.rounded-sm { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1.25rem; }
.rounded-full { border-radius: 9999px; }

/* ===================== Custom color: background ===================== */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-background { background-color: var(--background); }
.bg-surface { background-color: var(--surface); }
.bg-surface-dim { background-color: var(--surface-dim); }
.bg-surface-variant { background-color: var(--surface-variant); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface-container-lowest { background-color: var(--surface-container-lowest); }
.bg-surface-container-high { background-color: var(--surface-container-high); }
.bg-primary { background-color: var(--primary); }
.bg-primary-container { background-color: var(--primary-container); }
.bg-error { background-color: var(--error); }
.bg-outline-variant { background-color: var(--outline-variant); }
.bg-emerald-500 { background-color: #10b981; }

/* background with alpha (Tailwind /NN opacity) */
.bg-primary\/5 { background-color: color-mix(in srgb, var(--primary) 5%, transparent); }
.bg-primary\/10 { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
.bg-primary-container\/10 { background-color: color-mix(in srgb, var(--primary-container) 10%, transparent); }
.bg-primary-container\/20 { background-color: color-mix(in srgb, var(--primary-container) 20%, transparent); }
.bg-surface-container-highest\/20 { background-color: color-mix(in srgb, var(--surface-container-highest) 20%, transparent); }
.bg-on-surface-variant\/10 { background-color: color-mix(in srgb, var(--on-surface-variant) 10%, transparent); }
.bg-secondary-container\/50 { background-color: color-mix(in srgb, var(--secondary-container) 50%, transparent); }
.bg-error-container\/20 { background-color: color-mix(in srgb, var(--error-container) 20%, transparent); }
.bg-emerald-500\/10 { background-color: color-mix(in srgb, #10b981 10%, transparent); }
.bg-amber-500\/10 { background-color: color-mix(in srgb, #f59e0b 10%, transparent); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.3); }

/* ===================== Custom color: text ===================== */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-on-primary { color: var(--on-primary); }
.text-on-primary-container { color: var(--on-primary-container); }
.text-primary { color: var(--primary); }
.text-primary-container { color: var(--primary-container); }
.text-secondary { color: var(--secondary); }
.text-outline { color: var(--outline); }
.text-error { color: var(--error); }
.text-emerald-500 { color: #10b981; }
.text-amber-500 { color: #f59e0b; }

/* ===================== Custom color: border ===================== */
.border-transparent { border-color: transparent; }
.border-outline { border-color: var(--outline); }
.border-outline-variant { border-color: var(--outline-variant); }
.border-primary { border-color: var(--primary); }
.border-outline-variant\/30 { border-color: color-mix(in srgb, var(--outline-variant) 30%, transparent); }
.border-primary\/30 { border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.border-primary-container\/20 { border-color: color-mix(in srgb, var(--primary-container) 20%, transparent); }
.border-emerald-500\/20 { border-color: color-mix(in srgb, #10b981 20%, transparent); }
.border-amber-500\/20 { border-color: color-mix(in srgb, #f59e0b 20%, transparent); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

/* ===================== Selection ===================== */
.selection\:bg-primary-container ::selection,
.selection\:bg-primary-container::selection { background-color: var(--primary-container); }
.selection\:text-on-primary-container ::selection,
.selection\:text-on-primary-container::selection { color: var(--on-primary-container); }

/* ===================== Font family (per theme.js) ===================== */
.font-display-lg { font-family: 'Inter', sans-serif; }
.font-headline-md { font-family: 'Inter', sans-serif; }
.font-headline-sm { font-family: 'Inter', sans-serif; }
.font-body-sm { font-family: 'Inter', sans-serif; }
.font-body-md { font-family: 'Inter', sans-serif; }
.font-label-caps { font-family: 'Inter', sans-serif; }
.font-mono-data { font-family: 'Inter', sans-serif; }

/* ===================== Font weight ===================== */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* ===================== Custom font size tokens (per theme.js) ===================== */
.text-display-lg { font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 700; }
.text-headline-md { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; font-weight: 600; }
.text-headline-sm { font-size: 18px; line-height: 24px; font-weight: 600; }
.text-label-caps { font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 600; }
.text-body-sm { font-size: 14px; line-height: 20px; font-weight: 400; }
.text-body-md { font-size: 16px; line-height: 24px; font-weight: 400; }
.text-mono-data { font-size: 13px; line-height: 18px; font-weight: 400; }

/* ===================== Standard font sizes ===================== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-\[10vw\] { font-size: 10vw; }
.text-\[120px\] { font-size: 120px; }

/* ===================== Text align / decoration / transform ===================== */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.underline { text-decoration-line: underline; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.break-words { overflow-wrap: break-word; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===================== Lists ===================== */
.list-none { list-style: none; }

/* ===================== Overflow ===================== */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ===================== Misc ===================== */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.resize-none { resize: none; }
.grayscale { filter: grayscale(100%); }
.blur-\[80px\] { filter: blur(80px); }

.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-\[0\.03\] { opacity: 0.03; }

/* ===================== Shadows ===================== */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-primary-container\/20 { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--primary-container) 20%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--primary-container) 20%, transparent); }

/* ===================== Screen-reader only ===================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================== Transforms ===================== */
.rotate-12 { transform: rotate(12deg); }
.rotate-\[-30deg\] { transform: rotate(-30deg); }
.rotate-\[-35deg\] { transform: rotate(-35deg); }
.translate-x-10 { transform: translateX(2.5rem); }
.-translate-y-10 { transform: translateY(-2.5rem); }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* ===================== Transitions ===================== */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ===================== Core animations ===================== */
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }

/* ===================== hover: variants ===================== */
.hover\:bg-primary\/10:hover { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
.hover\:bg-secondary-container\/50:hover { background-color: color-mix(in srgb, var(--secondary-container) 50%, transparent); }
.hover\:bg-surface-container-high:hover { background-color: var(--surface-container-high); }
.hover\:bg-surface-container-highest:hover { background-color: var(--surface-container-highest); }
.hover\:bg-surface-variant:hover { background-color: var(--surface-variant); }
.hover\:bg-white\/30:hover { background-color: rgba(255, 255, 255, 0.3); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:text-error:hover { color: var(--error); }
.hover\:text-on-surface:hover { color: var(--on-surface); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.hover\:brightness-95:hover { filter: brightness(0.95); }
.hover\:grayscale-0:hover { filter: grayscale(0); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:no-underline:hover { text-decoration-line: none; }

/* ===================== focus: / focus-visible: / focus-within: ===================== */
.focus\:border-primary:focus { border-color: var(--primary); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-0:focus { box-shadow: none; }
.focus\:ring-primary:focus { box-shadow: 0 0 0 2px var(--primary); }
.focus\:ring-offset-background:focus { /* ring offset color; paired with ring above */ }
.focus-within\:border-primary-container:focus-within { border-color: var(--primary-container); }

/* ===================== active: ===================== */
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }

/* ===================== group / group-hover / group-open ===================== */
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-on-surface { color: var(--on-surface); }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }

/* ===================== Responsive: sm (min-width 640px) ===================== */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:pl-6 { padding-left: 1.5rem; }
  .sm\:text-display-lg { font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 700; }
}

/* ===================== Responsive: md (min-width 768px) ===================== */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:grid-cols-\[1\.3fr_1fr\] { grid-template-columns: 1.3fr 1fr; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:border-l { border-left-width: 1px; border-left-style: solid; }
  .md\:border-t-0 { border-top-width: 0; }
  .md\:pb-20 { padding-bottom: 5rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:px-margin-desktop { padding-left: 40px; padding-right: 40px; }
  .md\:w-64 { width: 16rem; }
  .md\:w-auto { width: auto; }
}

/* ===================== Responsive: lg (min-width 1024px) ===================== */
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
}

/* ===================== Backdrop filter ===================== */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.backdrop-saturate-180 { backdrop-filter: saturate(180%); -webkit-backdrop-filter: saturate(180%); }

/* ===================== Text wrap ===================== */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ===================== Missing border utilities ===================== */
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }

/* ===================== Glass surface ===================== */
.bg-surface-glass {
  background-color: color-mix(in srgb, var(--surface) 78%, transparent);
}

/* ===================== Scale interactions ===================== */
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:scale-95:active { transform: scale(0.95); }

/* ===================== Display XL token ===================== */
.text-display-xl { font-size: 72px; line-height: 76px; letter-spacing: -0.03em; font-weight: 800; }
.line-through { text-decoration-line: line-through; }

.brand-shimmer{margin-top:-3px}

/* ===================== Site footer ===================== */
.site-footer {
    border-top: 1px solid color-mix(in srgb, var(--outline-variant) 50%, transparent);
    background: var(--surface-container-lowest);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding: 52px 0 32px;
}
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 28px; }
}
.footer-brand-link {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; margin-bottom: 14px;
}
.footer-desc {
    font-size: 13px; line-height: 1.65;
    color: var(--on-surface-variant); opacity: 0.7;
    max-width: 320px; margin: 0;
}
.footer-col-title {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--on-surface-variant);
    opacity: 0.55; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
    font-size: 13px; color: var(--on-surface-variant);
    text-decoration: none; width: fit-content;
    transition: color 0.18s ease;
}
.footer-link:hover { color: var(--primary); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    padding: 20px 0;
    border-top: 1px solid color-mix(in srgb, var(--outline-variant) 40%, transparent);
}
.footer-copyright {
    font-size: 12px; color: var(--on-surface-variant); opacity: 0.55; margin: 0;
}
