/* =====================================================================
  imageabc design system — tokens, base, components
   Direction: matches the real imageabc.com brand — a cool paper-blue
   light theme, navy dark theme, a single signal-amber accent and a
   blue brand gradient reserved for brand moments.
   ===================================================================== */

:root {
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --bg: #f5f8fc;
  --bg-elev: #eef4fc;
  --surface: #ffffff;
  --surface-2: #e8f0fb;
  --surface-3: #d7e6f7;
  --border: #e2e8f0;
  --border-strong: #c9d5e6;
  --text: #0f1b2d;
  --text-2: #33435a;
  --text-3: #5b6b82;
  --accent: #f2a33a;
  --accent-hover: #d98a1f;
  --accent-ink: #0f1b2d;
  --accent-soft: #fef3e2;
  --accent-text: #9a5700; /* amber for text on light surfaces: >= 4.5:1 (WCAG AA) */
  --brand: #1f5fad;
  --brand-dark: #16487f;
  --brand-soft: #e8f0fb;
  --brand-on-dark: #c9d5e6;
  --brand-gradient: linear-gradient(135deg, #1f5fad 0%, #16487f 100%);
  --success: #0f9d63;
  --success-soft: #e5f6ee;
  --warning: #c77c00;
  --warning-soft: #fdf3dd;
  --danger: #df3b41;
  --danger-soft: #fdeaea;
  --danger-text: #c62f35; /* red for small text: >= 4.5:1 on light surfaces */
  --info: #2f6fed;
  --info-soft: #e8efff;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow-md: 0 4px 16px rgba(15, 27, 45, .08), 0 1px 3px rgba(15, 27, 45, .06);
  --shadow-lg: 0 18px 50px rgba(15, 27, 45, .14), 0 4px 12px rgba(15, 27, 45, .08);
  --ring: 0 0 0 3px rgba(242, 163, 58, .35);

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 120ms;
  --t-med: 220ms;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1420;
  --bg-elev: #0f1b2d;
  --surface: #101c2c;
  --surface-2: #16263a;
  --surface-3: #1c3049;
  --border: #223348;
  --border-strong: #2e4661;
  --text: #eaf1fb;
  --text-2: #aec0d6;
  --text-3: #7e93ac;
  --accent: #f2a33a;
  --accent-hover: #ffb85c;
  --accent-ink: #0f1b2d;
  --accent-soft: #3a2a12;
  --accent-text: #f2a33a;
  --brand: #4b8fd6;
  --brand-dark: #1f5fad;
  --brand-soft: #16263a;
  --brand-on-dark: #c9d5e6;
  --success-soft: #0e2a1f;
  --warning-soft: #2b2110;
  --danger-soft: #2e1415;
  --danger-text: #ff6b6b;
  --info-soft: #121d33;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg: #0b1420; --bg-elev: #0f1b2d; --surface: #101c2c; --surface-2: #16263a; --surface-3: #1c3049;
    --border: #223348; --border-strong: #2e4661; --text: #eaf1fb; --text-2: #aec0d6; --text-3: #7e93ac;
    --accent: #f2a33a; --accent-hover: #ffb85c; --accent-ink: #0f1b2d; --accent-soft: #3a2a12; --accent-text: #f2a33a;
    --brand: #4b8fd6; --brand-dark: #1f5fad; --brand-soft: #16263a; --brand-on-dark: #c9d5e6;
    --success-soft: #0e2a1f; --warning-soft: #2b2110; --danger-soft: #2e1415; --info-soft: #121d33; --danger-text: #ff6b6b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow-md: 0 6px 20px rgba(0,0,0,.45); --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 var(--space-3); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 var(--space-4); color: var(--text-2); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-5) 0; }
code, kbd { font-family: var(--font-mono); font-size: .86em; }
kbd {
  padding: 1px 6px; border-radius: 6px; border: 1px solid var(--border-strong);
  background: var(--surface-2); box-shadow: inset 0 -1px 0 var(--border-strong);
}
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
.icon { flex-shrink: 0; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -40px; z-index: 1000; background: var(--text); color: var(--bg);
  padding: 8px 12px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); font-size: .88rem; }
.mono { font-family: var(--font-mono); }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack > * + * { margin-top: var(--space-4); }
.row { display: flex; align-items: center; gap: var(--space-3); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.grow { flex: 1; }
.hidden { display: none !important; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .92rem;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { --btn-bg: var(--surface-2); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: transparent; box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { --btn-bg: var(--accent-hover); }
.btn-brand { --btn-fg: #fff; --btn-bd: transparent; background: var(--brand-gradient); box-shadow: 0 10px 30px -12px #ff4d4d; }
.btn-brand:hover { filter: brightness(1.05); background: var(--brand-gradient); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--surface-2); }
.btn-danger { --btn-bg: var(--danger); --btn-fg: #fff; --btn-bd: transparent; }
.btn-danger:hover { --btn-bg: #c9302f; }
.btn-sm { height: 32px; padding: 0 12px; font-size: .85rem; border-radius: var(--r-sm); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-icon.btn-sm { width: 30px; height: 30px; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; }

.spinner { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field { margin-top: var(--space-4); }
.label { font-size: .85rem; font-weight: 600; color: var(--text); }
.hint { font-size: .8rem; color: var(--text-3); }
.error-text { font-size: .8rem; color: var(--danger-text); min-height: 0; }
/* Field message: icon + text, slides in when filled. */
.error-text:not(:empty) {
  display: flex; align-items: flex-start; gap: 6px; font-weight: 500; line-height: 1.35;
  animation: msg-in var(--t-med) var(--ease);
}
.error-text:not(:empty)::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-top: 1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Form-level error (modals, checkout): a soft red box rather than a single line. */
.error-text[role="alert"]:not(:empty), .error-text[data-err]:not(:empty) {
  margin: 12px 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); font-size: .85rem;
}
/* Status alerts sit between a form's fields and its buttons: keep clear space on both sides. */
.form-status:not(:empty) { margin: 16px 0; }
.form-status:empty { display: none; }
.row + .field { margin-top: var(--space-4); }
/* While a field shows an error, its hint would repeat the same advice. */
.field:has([aria-invalid="true"]) .hint:not([data-keep]) { display: none; }
[data-alert] .alert { margin-bottom: 18px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes field-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--r-md);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger); background-color: color-mix(in srgb, var(--danger-soft) 55%, var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent);
  animation: field-shake .32s ease-in-out;
}
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus {
  border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 24%, transparent);
}
.input-sm { height: 32px; font-size: .85rem; padding: 0 8px; border-radius: var(--r-sm); }
.select { appearance: none; padding-right: 32px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }
.input-group { position: relative; }
.input-group .input { padding-right: 44px; }
.input-group .btn { position: absolute; right: 4px; top: 4px; height: 34px; width: 34px; padding: 0; }

input[type="range"] { width: 100%; accent-color: var(--accent); height: 20px; cursor: pointer; }
input[type="color"] { width: 36px; height: 32px; padding: 2px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: var(--space-5); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); }
.card-header h3 { margin: 0; font-size: 1rem; }
.card-body { padding: var(--space-5); }

.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border);
}
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge-success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge-pro { background: var(--brand-gradient); color: #fff; border: 0; }

/* Alerts: tinted card, coloured edge and an icon badge. Markup: .alert.alert-{type} > svg.icon + content */
.alert {
  --alert-c: var(--info); --alert-soft: var(--info-soft);
  position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px 12px 16px;
  border-radius: var(--r-md); font-size: .9rem; line-height: 1.45; color: var(--text);
  background: var(--alert-soft); border: 1px solid color-mix(in srgb, var(--alert-c) 28%, transparent);
  overflow: hidden;
}
.alert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--alert-c); }
.alert > .icon:first-child {
  flex: none; box-sizing: content-box; width: 16px; height: 16px; padding: 5px; margin: -2px 0;
  border-radius: 50%; color: #fff; background: var(--alert-c); box-shadow: 0 4px 10px -4px var(--alert-c);
}
.alert .alert-title { display: block; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.alert a { color: var(--alert-c); font-weight: 600; text-decoration: underline; }
.alert-warning { --alert-c: var(--warning); --alert-soft: var(--warning-soft); }
.alert-danger { --alert-c: var(--danger); --alert-soft: var(--danger-soft); }
.alert-success { --alert-c: var(--success); --alert-soft: var(--success-soft); }
.alert-pop { animation: msg-in var(--t-med) var(--ease); }

.divider-text { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: .8rem; margin: var(--space-4) 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

/* meters */
.meter { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width var(--t-med) var(--ease); }
.meter.is-high > span { background: var(--danger); }

/* tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); font-weight: 600;
  padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-elev); }

/* tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-md); width: max-content; max-width: 100%; overflow-x: auto; }
.tab { height: 34px; padding: 0 14px; border-radius: var(--r-sm); border: 0; background: transparent; font-weight: 600; font-size: .88rem;
  color: var(--text-2); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* skeletons & empty states */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-md); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent);
  animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.empty { text-align: center; padding: var(--space-7) var(--space-5); color: var(--text-2); }
.empty .empty-icon { width: 56px; height: 56px; margin: 0 auto var(--space-4); display: grid; place-items: center;
  border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.empty h3 { margin-bottom: 6px; }

/* toasts */
/* Toasts: card with coloured edge, icon badge, title, close button and countdown bar. */
.toast-region { position: fixed; z-index: 2000; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px;
  width: min(380px, calc(100vw - 32px)); }
.toast {
  --toast-c: var(--info);
  position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 40px 16px 16px;
  border-radius: var(--r-lg); background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: .9rem; overflow: hidden;
  animation: toast-in .32s cubic-bezier(.2, .9, .3, 1.2);
}
.toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--toast-c); }
.toast-success { --toast-c: var(--success); } .toast-error { --toast-c: var(--danger); }
.toast-warning { --toast-c: var(--warning); } .toast-info { --toast-c: var(--info); }
.toast-icon {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: #fff; background: var(--toast-c); box-shadow: 0 6px 14px -6px var(--toast-c);
}
.toast-body { min-width: 0; padding-top: 1px; }
.toast-title { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.toast-msg { color: var(--text-2); line-height: 1.4; overflow-wrap: anywhere; }
.toast-close {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-3); cursor: pointer;
}
.toast-close:hover { background: var(--surface-2); color: var(--text); }
.toast-progress {
  position: absolute; left: 4px; right: 0; bottom: 0; height: 3px; background: var(--toast-c); opacity: .55;
  transform-origin: left; animation: toast-countdown var(--toast-ms, 4200ms) linear forwards;
}
.toast:hover .toast-progress, .toast:focus-within .toast-progress { animation-play-state: paused; }
.toast.leaving { opacity: 0; transform: translateX(24px); transition: all var(--t-med); }
@keyframes toast-in { from { opacity: 0; transform: translateX(32px) scale(.98); } }
@keyframes toast-countdown { to { transform: scaleX(0); } }
@media (max-width: 600px) {
  .toast-region { left: 16px; right: 16px; bottom: 16px; width: auto; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(16px); } }
}
@media (prefers-reduced-motion: reduce) {
  .toast, .alert-pop, .error-text:not(:empty), .input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { animation: none; }
  .toast-progress { animation: none; display: none; }
}

/* modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 1500; background: rgba(12, 12, 15, .55); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px; animation: fade-in var(--t-fast); }
.modal { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border-radius: var(--r-xl);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: pop-in var(--t-med) var(--ease); }
.modal-lg { width: min(760px, 100%); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.modal-header h3 { margin: 0; }
.modal-body { padding: 16px 22px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 20px; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* tooltip (CSS only, from data-tip) */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-2px);
  padding: 5px 8px; border-radius: 6px; background: var(--text); color: var(--bg); font-size: .74rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); z-index: 50;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); transition-delay: 350ms; }
[data-tip-pos="right"]::after { left: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(-2px); }
[data-tip-pos="right"]:hover::after { transform: translateY(-50%) translateX(0); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-gradient); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px #ff4d4d; }
.logo-mark svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
