@font-face {
  font-family: 'Ubuntu';
  src: url('/assets/fonts/ubuntu-400-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('/assets/fonts/ubuntu-700-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-ink: #2f2a6b;
  --brand-ink-deep: #1e1a4a;
  --analytics: #5b4fd6;
  --analytics-soft: #eeecfb;
  --analytics-border: #c9c3f5;
  --studio: #e0457b;
  --studio-soft: #fcebf1;
  --studio-border: #f5b9ce;
  --news: #f0a03c;
  --news-ink: #8a4a00;
  --news-soft: #fef4e6;
  --news-border: #f8d49d;
  --wash: #f7f7fc;
  --surface: #ffffff;
  --muted: #f2f1f9;
  --muted-foreground: #5c5785;
  --foreground: #252152;
  --border: #e4e2f0;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --danger: #be123c;
  --danger-soft: #ffe4e6;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --font-sans: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-card: 0 18px 45px -16px rgba(47, 42, 107, 0.16), 0 2px 10px -2px rgba(47, 42, 107, 0.06);
  --shadow-btn: 0 8px 20px -6px rgba(91, 79, 214, 0.42);
  --target-size: 24px;
}

@media (pointer: coarse) {
  :root {
    --target-size: 44px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--wash);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

img,
svg {
  max-inline-size: 100%;
  block-size: auto;
}

h1,
h2,
h3 {
  text-wrap: balance;
  color: var(--brand-ink);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p,
li {
  text-wrap: pretty;
}

:where(a, code) {
  overflow-wrap: anywhere;
}

:where(button, select, textarea, input:not([type='checkbox'], [type='radio']), [role='button'], nav a, label:has(input[type='checkbox'], input[type='radio'])) {
  min-block-size: var(--target-size);
  min-inline-size: var(--target-size);
}

:where(a:any-link, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--analytics);
  outline-offset: 3px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--analytics-soft);
  color: var(--analytics);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eyebrow--analytics {
  background: var(--analytics-soft);
  color: var(--analytics);
}

.eyebrow--studio {
  background: var(--studio-soft);
  color: var(--studio);
}

.eyebrow--news {
  background: var(--news-soft);
  color: var(--news-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--analytics);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--brand-ink);
}

.btn--studio {
  background: var(--studio);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(224, 69, 123, 0.42);
}

.btn--studio:hover {
  background: #bd2c61;
}

.btn--news {
  background: var(--news);
  color: var(--brand-ink-deep);
  box-shadow: 0 8px 20px -6px rgba(240, 160, 60, 0.42);
}

.btn--news:hover {
  background: #df8c24;
}

.btn--secondary {
  background: var(--surface);
  color: var(--brand-ink);
  border-color: var(--border);
}

.btn--secondary:hover {
  background: var(--wash);
  border-color: var(--analytics);
  color: var(--analytics);
}

.btn--ghost {
  background: transparent;
  color: var(--muted-foreground);
}

.btn--ghost:hover {
  background: var(--muted);
  color: var(--brand-ink);
}

.btn--danger {
  background: var(--danger);
  color: #ffffff;
}

.btn--danger:hover {
  background: #9f1239;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.15rem;
  min-block-size: 56px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.wys-waves {
  width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}
